diff --git a/.gitignore b/.gitignore index af948e3..a487163 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ .rvmrc .yardoc Gemfile.lock +Gemfile.*.lock coverage/* doc/* log/* diff --git a/.travis.yml b/.travis.yml index ca24055..07c1787 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,9 +18,13 @@ rvm: - rbx-2 - ruby-head matrix: + include: + - rvm: 2.2.2 + gemfile: Gemfile.rack-master allow_failures: - rvm: jruby-head - rvm: rbx-2 - rvm: ruby-head + - gemfile: Gemfile.rack-master fast_finish: true sudo: false diff --git a/Gemfile.rack-master b/Gemfile.rack-master new file mode 100644 index 0000000..5d78e74 --- /dev/null +++ b/Gemfile.rack-master @@ -0,0 +1,29 @@ +source 'https://rubygems.org' + +gem 'jruby-openssl', :platforms => :jruby +gem 'rack', github: 'rack/rack' +gem 'rake' +gem 'yard' + +group :development do + gem 'growl' + gem 'kramdown' + gem 'plymouth', :platforms => [:ruby_19, :ruby_20, :ruby_21] + gem 'pry' + gem 'pry-debugger', :platforms => [:mri_19, :mri_20] + gem 'pry-byebug', :platforms => [:mri_21] + gem 'rb-fsevent' +end + +group :test do + gem 'coveralls' + gem 'json', '>= 1.8.1', :platforms => [:jruby, :ruby_18, :ruby_19] + gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18] + gem 'rack-test' + gem 'rest-client', '~> 1.6.0', :platforms => [:jruby, :ruby_18] + gem 'rspec', '~> 3.0' + gem 'rubocop', '>= 0.25', :platforms => [:ruby_19, :ruby_20, :ruby_21] + gem 'simplecov', '>= 0.9' +end + +gemspec diff --git a/omniauth.gemspec b/omniauth.gemspec index b365f11..0dc89ad 100644 --- a/omniauth.gemspec +++ b/omniauth.gemspec @@ -5,7 +5,7 @@ require 'omniauth/version' Gem::Specification.new do |spec| spec.add_dependency 'hashie', ['>= 1.2', '< 4'] - spec.add_dependency 'rack', '~> 1.0' + spec.add_dependency 'rack', ['>= 1.0', '< 2.0'] spec.add_development_dependency 'bundler', '~> 1.0' spec.authors = ['Michael Bleigh', 'Erik Michaels-Ober', 'Tom Milewski'] spec.description = 'A generalized Rack framework for multiple-provider authentication.'