Skip to content

Commit

Permalink
Merge pull request #161 from skalee/fixed-sinatra-dep
Browse files Browse the repository at this point in the history
Fixed problematic Sinatra dependency
  • Loading branch information
thinkingserious authored May 2, 2017
2 parents 9e4b38b + 92d177c commit b518327
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: ruby
rvm:
- 2.2
gemfile:
- gemfiles/Sinatra_1.gemfile
- gemfiles/Sinatra_2.gemfile
before_script:
- mkdir prism
- mkdir prism/bin
Expand Down
6 changes: 6 additions & 0 deletions gemfiles/Sinatra_1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'http://rubygems.org'

gemspec path: '..'

gem 'ruby_http_client'
gem 'sinatra', '~> 1.4'
6 changes: 6 additions & 0 deletions gemfiles/Sinatra_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'http://rubygems.org'

gemspec path: '..'

gem 'ruby_http_client'
gem 'sinatra', '>= 2.0.0.rc2'
2 changes: 1 addition & 1 deletion sendgrid-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(/^(test|spec|features)/)
spec.require_paths = ['lib']
spec.add_dependency 'ruby_http_client', '~> 3.0'
spec.add_dependency 'sinatra', '2.0.0.rc2'
spec.add_dependency 'sinatra', '>= 1.4.7', '< 3'
spec.add_development_dependency 'rake', '~> 0'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'pry'
Expand Down

0 comments on commit b518327

Please sign in to comment.