Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Gemspec allows for higher versions of method_source as for example th…

…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...
commit a5cc99ba9ce8ad58807ad10e067c5904d9fced07 1 parent 2c0de2e
Robert Starsi authored July 11, 2012

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  lib/m.rb
  2. 2  m.gemspec
2  lib/m.rb
@@ -98,7 +98,7 @@
98 98
 ### M, your metal test runner
99 99
 # Maybe this gem should have a longer name? Metal?
100 100
 module M
101  
-  VERSION = "1.1.0"
  101
+  VERSION = "1.1.0" unless defined?(VERSION)
102 102
 
103 103
   # Accept arguments coming from bin/m and run tests.
104 104
   def self.run(argv)
2  m.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12 12
   gem.require_paths = ["lib"]
13 13
   gem.version       = M::VERSION
14 14
 
15  
-  gem.add_runtime_dependency "method_source", "~> 0.6.7"
  15
+  gem.add_runtime_dependency "method_source", ">= 0.6.7"
16 16
   gem.add_runtime_dependency "rake", ">= 0.9.2.2", "< 1.0.0"
17 17
   gem.add_development_dependency "activesupport"
18 18
   gem.add_development_dependency "rdiscount"

0 notes on commit a5cc99b

Please sign in to comment.
Something went wrong with that request. Please try again.