Skip to content

Commit

Permalink
Merge pull request #104 from asm256/fix-for-ci
Browse files Browse the repository at this point in the history
fix badge and ci.
  • Loading branch information
ConradIrwin committed Feb 16, 2017
2 parents f2e1ea1 + 6fc6f2a commit ca8b055
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- rbx
- 2.2.2
- ruby-head
before_install:
- "gem update --system"
- "gem update bundler"
20 changes: 19 additions & 1 deletion pry-rescue.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,25 @@ Gem::Specification.new do |s|

s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.add_development_dependency 'yard'
s.add_development_dependency 'redcarpet'
s.add_development_dependency 'capybara'

# SPECIAL DEVELOPMENT GEM FOR OLD RUBY
# DONT USE THIS TRICK FOR RUNTIME GEM
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
s.add_development_dependency 'yard', '< 0.9.6'
s.add_development_dependency 'rack', ['~> 1.6', '< 1.7']
else
s.add_development_dependency 'yard'
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.1")
# capybara > nokogiri
s.add_development_dependency 'nokogiri', ['~> 1.6', '< 1.7.0']
end
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.0")
# capybara > addressable > public_suffix
s.add_development_dependency 'public_suffix', ['~> 1.4', '< 1.5']
# capybara > mime-types
s.add_development_dependency 'mime-types', ['~> 2.6', '< 2.99']
end
end

0 comments on commit ca8b055

Please sign in to comment.