forked from mbleigh/omniauth-jwt
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathomniauth-jwt2.gemspec
41 lines (35 loc) · 2.09 KB
/
omniauth-jwt2.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
# Get the GEMFILE_VERSION without *require* "my_gem/version", for code coverage accuracy
# See: https://github.com/simplecov-ruby/simplecov/issues/557#issuecomment-825171399
load "lib/omniauth/jwt/version.rb"
gem_version = Omniauth::JWT::Version::VERSION
Omniauth::JWT::Version.send(:remove_const, :VERSION)
Gem::Specification.new do |spec|
spec.name = "omniauth-jwt2"
spec.version = gem_version
spec.authors = ["Michael Bleigh", "Robin Ward", "Peter Boling"]
spec.description = "An OmniAuth strategy to accept JWT-based single sign-on."
spec.summary = "An OmniAuth strategy to accept JWT-based single sign-on."
spec.homepage = "http://github.com/pboling/omniauth-jwt2"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.2"
spec.files = %x(git ls-files).split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# TODO: Since this gem supports Ruby >= 2.2 we need to ensure no gems are
# added here that require a newer version. Once this gem progresses to
# only support non-EOL Rubies, all dependencies can be listed in this
# gemspec, and the gemfiles/* pattern can be dispensed with.
spec.add_dependency("jwt", "~> 2.2", ">= 2.2.1") # ruby 2.1
spec.add_dependency("omniauth", ">= 1.1") # ruby 2.2
# Utilities
spec.add_dependency("version_gem", "~> 1.1", ">= 1.1.3") # ruby 2.2
spec.add_development_dependency("rake", "~> 13.0") # ruby 2.2, v13.1 is >= 2.3
# Hot reload
spec.add_development_dependency("guard", "~> 2.18", ">= 2.18.1") # ruby 1.9.3
spec.add_development_dependency("guard-rspec", "~> 4.7", ">= 4.7.3") # ruby *
# Testing
spec.add_development_dependency("rack-test", "~> 2.1") # ruby 2.0
spec.add_development_dependency("rspec", "~> 3.12") # ruby *
spec.add_development_dependency("rspec-pending_for", "~> 0.1") # ruby *
end