Skip to content

Commit

Permalink
Gemspec allows for higher versions of method_source as for example th…
Browse files Browse the repository at this point in the history
…e latest pry gem requires this higher version; VERSION constant in M module is only defined unless it already exists (running test with bundler gives already defined constant error otherwise)
  • Loading branch information
klevo committed Jul 11, 2012
1 parent 2c0de2e commit a5cc99b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/m.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
### M, your metal test runner ### M, your metal test runner
# Maybe this gem should have a longer name? Metal? # Maybe this gem should have a longer name? Metal?
module M module M
VERSION = "1.1.0" VERSION = "1.1.0" unless defined?(VERSION)


# Accept arguments coming from bin/m and run tests. # Accept arguments coming from bin/m and run tests.
def self.run(argv) def self.run(argv)
Expand Down
2 changes: 1 addition & 1 deletion m.gemspec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"] gem.require_paths = ["lib"]
gem.version = M::VERSION gem.version = M::VERSION


gem.add_runtime_dependency "method_source", "~> 0.6.7" gem.add_runtime_dependency "method_source", ">= 0.6.7"
gem.add_runtime_dependency "rake", ">= 0.9.2.2", "< 1.0.0" gem.add_runtime_dependency "rake", ">= 0.9.2.2", "< 1.0.0"
gem.add_development_dependency "activesupport" gem.add_development_dependency "activesupport"
gem.add_development_dependency "rdiscount" gem.add_development_dependency "rdiscount"
Expand Down

0 comments on commit a5cc99b

Please sign in to comment.