Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Gemspec allows for higher versions of method_source as for example the latest pry gem requires this higher version #17

Merged
merged 1 commit into from

3 participants

@klevo

...VERSION constant in M module is only defined unless it already exists (running test with bundler gives already defined constant error otherwise)

@klevo klevo 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)
a5cc99b
@stringbot

:+1: yes please

@qrush qrush merged commit fca7b59 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 11, 2012
  1. @klevo

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

    klevo authored
    …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)
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/m.rb
  2. +1 −1  m.gemspec
View
2  lib/m.rb
@@ -98,7 +98,7 @@
### M, your metal test runner
# Maybe this gem should have a longer name? Metal?
module M
- VERSION = "1.1.0"
+ VERSION = "1.1.0" unless defined?(VERSION)
# Accept arguments coming from bin/m and run tests.
def self.run(argv)
View
2  m.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
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_development_dependency "activesupport"
gem.add_development_dependency "rdiscount"
Something went wrong with that request. Please try again.