GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixing tests! · mdolon/gemtastic@757b9b9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib/gemtastic
    • gemfile.rb
  • spec
    • gemtastic_spec.rb
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/gemtastic/gemfile.rb‎

Copy file name to clipboardExpand all lines: lib/gemtastic/gemfile.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def parse_gemfile
1919
else
2020
row
2121
end
22-
en d
22+
end
2323
end
2424

2525
def to_s
Collapse file

‎spec/gemtastic_spec.rb‎

Copy file name to clipboardExpand all lines: spec/gemtastic_spec.rb
+50-30Lines changed: 50 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,46 @@ def annotated_string
2323
# This is another comment
2424
2525
# The bundler gem - my own comment
26-
################################################################################
27-
# Name: bundler
28-
# Description: Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
29-
# Homepage: http://bundler.io
30-
# Source: http://github.com/carlhuda/bundler/
31-
# Documentation: http://gembundler.com
32-
################################################################################
26+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
27+
#~#
28+
#~# bundler:
29+
#~#
30+
#~# Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
31+
#~#
32+
#~# Homepage: http://bundler.io
33+
#~# Source: http://github.com/carlhuda/bundler/
34+
#~# Documentation: http://gembundler.com
35+
#~#
36+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
37+
#~#
3338
gem 'bundler'
3439
35-
################################################################################
36-
# Name: rspec
37-
# Description: BDD for Ruby
38-
# Homepage: http://github.com/rspec
39-
# Source: http://github.com/rspec/rspec
40-
# Documentation: http://relishapp.com/rspec
41-
################################################################################
40+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
41+
#~#
42+
#~# rspec:
43+
#~#
44+
#~# BDD for Ruby
45+
#~#
46+
#~# Homepage: http://github.com/rspec
47+
#~# Source: http://github.com/rspec/rspec
48+
#~# Documentation: http://relishapp.com/rspec
49+
#~#
50+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
51+
#~#
4252
gem 'rspec' # Rspec gem
4353
44-
################################################################################
45-
# Name: rails
46-
# Description: Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
47-
# Homepage: http://www.rubyonrails.org
48-
# Source: http://github.com/rails/rails
49-
# Documentation: http://api.rubyonrails.org
50-
################################################################################
54+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
55+
#~#
56+
#~# rails:
57+
#~#
58+
#~# Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
59+
#~#
60+
#~# Homepage: http://www.rubyonrails.org
61+
#~# Source: http://github.com/rails/rails
62+
#~# Documentation: http://api.rubyonrails.org
63+
#~#
64+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
65+
#~#
5166
gem 'rails', require: 'rails', branch: 'develop' # With options
5267
EOL
5368
end
@@ -103,11 +118,11 @@ module Gemtastic
103118

104119
describe ".gem_string?" do
105120
it "should return true for: gem 'something'" do
106-
expect(Gem.gem_string?('gem: "something"')).to be true
121+
expect(Gem.gem_string?('gem "something"')).to be true
107122
end
108123

109124
it 'should return false for: xgem "something"' do
110-
expect(Gem.gem_string?('xgem: "something"')).to be false
125+
expect(Gem.gem_string?('xgem "something"')).to be false
111126
end
112127
end
113128

@@ -171,13 +186,18 @@ module Gemtastic
171186
describe "#to_s" do
172187
it "should have the proper fields" do
173188
expect(annotation.to_s).to eq <<-EOL.chomp
174-
################################################################################
175-
# Name: bundler
176-
# Description: Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
177-
# Homepage: http://bundler.io
178-
# Source: http://github.com/carlhuda/bundler/
179-
# Documentation: http://gembundler.com
180-
################################################################################
189+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
190+
#~#
191+
#~# bundler:
192+
#~#
193+
#~# Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
194+
#~#
195+
#~# Homepage: http://bundler.io
196+
#~# Source: http://github.com/carlhuda/bundler/
197+
#~# Documentation: http://gembundler.com
198+
#~#
199+
#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~
200+
#~#
181201
EOL
182202
end
183203
end

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.