Skip to content

Commit

Permalink
chore: Require Ruby 2.1 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
md5 authored and suprnova32 committed Mar 22, 2017
1 parent 628afe8 commit 0402c4d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
12 changes: 0 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ script:
- bundle exec rspec

rvm:
- 1.9.3
- jruby-19mode
- 2.0.0
- 2.1.10
- 2.2.2
- 2.3.1
Expand All @@ -36,14 +33,5 @@ matrix:
fast_finish: true

exclude:
- rvm: 1.9.3
gemfile: gemfiles/rack_2.gemfile

- rvm: jruby-19mode
gemfile: gemfiles/rack_2.gemfile

- rvm: 2.0.0
gemfile: gemfiles/rack_2.gemfile

- rvm: 2.1.10
gemfile: gemfiles/rack_2.gemfile
2 changes: 2 additions & 0 deletions omniauth-saml.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Gem::Specification.new do |gem|
gem.email = '[email protected]'
gem.homepage = 'https://github.com/omniauth/omniauth-saml'

gem.required_ruby_version = '>= 2.1'

gem.add_runtime_dependency 'omniauth', '~> 1.3'
gem.add_runtime_dependency 'ruby-saml', '~> 1.4'

Expand Down
14 changes: 6 additions & 8 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
if RUBY_VERSION >= '1.9'
require 'simplecov'
require 'simplecov'

if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end

SimpleCov.start
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end

SimpleCov.start

require 'omniauth-saml'
require 'rack/test'
require 'rexml/document'
Expand Down

0 comments on commit 0402c4d

Please sign in to comment.