@@ -20,85 +20,9 @@ Gem::Specification.new do |s|
2020 s . rdoc_options = [ "--charset=UTF-8" ]
2121 s . require_paths = [ "lib" ]
2222 s . rubygems_version = %q{1.3.7}
23- s . required_ruby_version = '>= 1.8.7 '
23+ s . required_ruby_version = '>= 2.6.0 '
2424 s . summary = %q{SAML Ruby Tookit}
2525
26- # Because runtime dependencies are determined at build time, we cannot make
27- # Nokogiri's version dependent on the Ruby version, even though we would
28- # have liked to constrain Ruby 1.8.7 to install only the 1.5.x versions.
29- if defined? ( JRUBY_VERSION )
30- if JRUBY_VERSION < '9.1.7.0'
31- s . add_runtime_dependency ( 'nokogiri' , '>= 1.8.2' , '<= 1.8.5' )
32- s . add_runtime_dependency ( 'jruby-openssl' , '>= 0.9.8' )
33- s . add_runtime_dependency ( 'json' , '< 2.3.0' )
34- elsif JRUBY_VERSION < '9.2.0.0'
35- s . add_runtime_dependency ( 'nokogiri' , '>= 1.9.1' , '< 1.10.0' )
36- elsif JRUBY_VERSION < '9.3.2.0'
37- s . add_runtime_dependency ( 'nokogiri' , '>= 1.11.4' )
38- s . add_runtime_dependency ( 'rexml' )
39- else
40- s . add_runtime_dependency ( 'nokogiri' , '>= 1.13.10' )
41- s . add_runtime_dependency ( 'rexml' )
42- end
43- elsif RUBY_VERSION < '1.9'
44- s . add_runtime_dependency ( 'uuid' )
45- s . add_runtime_dependency ( 'nokogiri' , '<= 1.5.11' )
46- elsif RUBY_VERSION < '2.1'
47- s . add_runtime_dependency ( 'nokogiri' , '>= 1.5.10' , '<= 1.6.8.1' )
48- s . add_runtime_dependency ( 'json' , '< 2.3.0' )
49- elsif RUBY_VERSION < '2.3'
50- s . add_runtime_dependency ( 'nokogiri' , '>= 1.9.1' , '< 1.10.0' )
51- elsif RUBY_VERSION < '2.5'
52- s . add_runtime_dependency ( 'nokogiri' , '>= 1.10.10' , '< 1.11.0' )
53- s . add_runtime_dependency ( 'rexml' )
54- elsif RUBY_VERSION < '2.6'
55- s . add_runtime_dependency ( 'nokogiri' , '>= 1.11.4' )
56- s . add_runtime_dependency ( 'rexml' )
57- else
58- s . add_runtime_dependency ( 'nokogiri' , '>= 1.13.10' )
59- s . add_runtime_dependency ( 'rexml' )
60- end
61-
62- s . add_development_dependency ( 'simplecov' , '<0.22.0' )
63- if RUBY_VERSION < '2.4.1'
64- s . add_development_dependency ( 'simplecov-lcov' , '<0.8.0' )
65- else
66- s . add_development_dependency ( 'simplecov-lcov' , '>0.7.0' )
67- end
68-
69- s . add_development_dependency ( 'minitest' , '~> 5.5' )
70- s . add_development_dependency ( 'mocha' , '~> 0.14' )
71-
72- if RUBY_VERSION < '2.0'
73- s . add_development_dependency ( 'rake' , '~> 10' )
74- else
75- s . add_development_dependency ( 'rake' , '>= 12.3.3' )
76- end
77-
78- s . add_development_dependency ( 'shoulda' , '~> 2.11' )
79- s . add_development_dependency ( 'systemu' , '~> 2' )
80-
81- if RUBY_VERSION < '2.1'
82- s . add_development_dependency ( 'timecop' , '<= 0.6.0' )
83- else
84- s . add_development_dependency ( 'timecop' , '~> 0.9' )
85- end
86-
87- if defined? ( JRUBY_VERSION )
88- # All recent versions of JRuby play well with pry
89- s . add_development_dependency ( 'pry' )
90- elsif RUBY_VERSION < '1.9'
91- # 1.8.7
92- s . add_development_dependency ( 'ruby-debug' , '~> 0.10.4' )
93- elsif RUBY_VERSION < '2.0'
94- # 1.9.x
95- s . add_development_dependency ( 'debugger-linecache' , '~> 1.2.0' )
96- s . add_development_dependency ( 'debugger' , '~> 1.6.4' )
97- elsif RUBY_VERSION < '2.1'
98- # 2.0.x
99- s . add_development_dependency ( 'byebug' , '~> 2.1.1' )
100- else
101- # 2.1.x, 2.2.x
102- s . add_development_dependency ( 'pry-byebug' )
103- end
26+ s . add_dependency ( 'nokogiri' , '>= 1.13.10' )
27+ s . add_dependency ( 'rexml' )
10428end
0 commit comments