Skip to content

Commit 0402c4d

Browse files
md5suprnova32
authored andcommitted
chore: Require Ruby 2.1 or higher
1 parent 628afe8 commit 0402c4d

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

Diff for: .travis.yml

-12
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ script:
1616
- bundle exec rspec
1717

1818
rvm:
19-
- 1.9.3
20-
- jruby-19mode
21-
- 2.0.0
2219
- 2.1.10
2320
- 2.2.2
2421
- 2.3.1
@@ -36,14 +33,5 @@ matrix:
3633
fast_finish: true
3734

3835
exclude:
39-
- rvm: 1.9.3
40-
gemfile: gemfiles/rack_2.gemfile
41-
42-
- rvm: jruby-19mode
43-
gemfile: gemfiles/rack_2.gemfile
44-
45-
- rvm: 2.0.0
46-
gemfile: gemfiles/rack_2.gemfile
47-
4836
- rvm: 2.1.10
4937
gemfile: gemfiles/rack_2.gemfile

Diff for: omniauth-saml.gemspec

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Gem::Specification.new do |gem|
1111
gem.email = '[email protected]'
1212
gem.homepage = 'https://github.com/omniauth/omniauth-saml'
1313

14+
gem.required_ruby_version = '>= 2.1'
15+
1416
gem.add_runtime_dependency 'omniauth', '~> 1.3'
1517
gem.add_runtime_dependency 'ruby-saml', '~> 1.4'
1618

Diff for: spec/spec_helper.rb

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
if RUBY_VERSION >= '1.9'
2-
require 'simplecov'
1+
require 'simplecov'
32

4-
if ENV['TRAVIS']
5-
require 'coveralls'
6-
Coveralls.wear!
7-
end
8-
9-
SimpleCov.start
3+
if ENV['TRAVIS']
4+
require 'coveralls'
5+
Coveralls.wear!
106
end
117

8+
SimpleCov.start
9+
1210
require 'omniauth-saml'
1311
require 'rack/test'
1412
require 'rexml/document'

0 commit comments

Comments
 (0)