Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix dependencies for ruby versions

  • Loading branch information...
commit 11cc6b3d8c873abccdbbec330d7e383ef7a01d7e 1 parent 2759efd
@dwillis dwillis authored
Showing with 14 additions and 4 deletions.
  1. +5 −2 Gemfile.lock
  2. +0 −1  Rakefile
  3. +9 −1 fech.gemspec
View
7 Gemfile.lock
@@ -1,19 +1,20 @@
PATH
remote: .
specs:
- fech (0.3.0)
+ fech (0.9.5)
fastercsv
people
GEM
remote: http://rubygems.org/
specs:
- columnize (0.3.2)
+ columnize (0.3.6)
diff-lcs (1.1.2)
fastercsv (1.5.4)
linecache (0.43)
mocha (0.9.12)
people (0.2.1)
+ rake (0.8.7)
rcov (0.9.9)
rdoc (3.9.2)
rspec (2.6.0)
@@ -37,7 +38,9 @@ PLATFORMS
DEPENDENCIES
bundler
fech!
+ linecache (= 0.43)
mocha
+ rake (= 0.8.7)
rcov
rdoc
rspec (~> 2.6)
View
1  Rakefile
@@ -1,4 +1,3 @@
require 'bundler'
-include Rake::DSL
Bundler::GemHelper.install_tasks
Dir.glob('tasks/*.rake').each { |r| import r }
View
10 fech.gemspec
@@ -21,9 +21,17 @@ Gem::Specification.new do |s|
s.add_dependency "fastercsv"
s.add_dependency "people"
+ if RUBY_VERSION < "1.9"
+ s.add_development_dependency "linecache", "0.43"
+ s.add_development_dependency "ruby-debug"
+ end
+ if RUBY_VERSION >= "1.9"
+ s.add_development_dependency "ruby-debug19"
+ s.add_development_dependency "linecache19"
+ end
+ s.add_development_dependency "rake", "0.8.7"
s.add_development_dependency "rspec", "~> 2.6"
s.add_development_dependency "mocha"
- s.add_development_dependency "ruby-debug"
s.add_development_dependency "bundler"
s.add_development_dependency "rcov"
s.add_development_dependency "rdoc"
Please sign in to comment.
Something went wrong with that request. Please try again.