forked from SAML-Toolkits/ruby-saml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruby-saml.gemspec
68 lines (63 loc) · 2.46 KB
/
ruby-saml.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'onelogin/ruby-saml/version'
Gem::Specification.new do |s|
s.name = 'ruby-saml'
s.version = OneLogin::RubySaml::VERSION
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["OneLogin LLC"]
s.date = Time.now.strftime("%Y-%m-%d")
s.description = %q{SAML toolkit for Ruby on Rails}
s.email = %q{support@onelogin.com}
s.license = 'MIT'
s.extra_rdoc_files = [
"LICENSE",
"README.md"
]
s.files = `git ls-files`.split("\n")
s.homepage = %q{http://github.com/onelogin/ruby-saml}
s.rubyforge_project = %q{http://www.rubygems.org/gems/ruby-saml}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.required_ruby_version = '>= 1.8.7'
s.summary = %q{SAML Ruby Tookit}
s.test_files = `git ls-files test/*`.split("\n")
# Because runtime dependencies are determined at build time, we cannot make
# Nokogiri's version dependent on the Ruby version, even though we would
# have liked to constrain Ruby 1.8.7 to install only the 1.5.x versions.
if defined?(JRUBY_VERSION)
s.add_runtime_dependency('nokogiri', '>= 1.6.0')
s.add_runtime_dependency('jruby-openssl', '>= 0.9.8')
elsif RUBY_VERSION < '1.9'
s.add_runtime_dependency('uuid')
s.add_runtime_dependency('nokogiri', '<= 1.5.11')
elsif RUBY_VERSION < '2.1'
s.add_runtime_dependency('nokogiri', '>= 1.5.10', '<= 1.6.8.1')
else
s.add_runtime_dependency('nokogiri', '>= 1.5.10')
end
s.add_development_dependency('minitest', '~> 5.5')
s.add_development_dependency('mocha', '~> 0.14')
s.add_development_dependency('rake', '~> 10')
s.add_development_dependency('shoulda', '~> 2.11')
s.add_development_dependency('simplecov','~> 0.9.0')
s.add_development_dependency('systemu', '~> 2')
s.add_development_dependency('timecop', '<= 0.6.0')
if defined?(JRUBY_VERSION)
# All recent versions of JRuby play well with pry
s.add_development_dependency('pry')
elsif RUBY_VERSION < '1.9'
# 1.8.7
s.add_development_dependency('ruby-debug', '~> 0.10.4')
elsif RUBY_VERSION < '2.0'
# 1.9.x
s.add_development_dependency('debugger-linecache', '~> 1.2.0')
s.add_development_dependency('debugger', '~> 1.6.4')
elsif RUBY_VERSION < '2.1'
# 2.0.x
s.add_development_dependency('byebug', '~> 2.1.1')
else
# 2.1.x, 2.2.x
s.add_development_dependency('pry-byebug')
end
end