-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathscimitar.gemspec
43 lines (37 loc) · 1.81 KB
/
scimitar.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
$:.push File.expand_path('../lib', __FILE__)
require 'scimitar/version'
Gem::Specification.new do |s|
s.name = 'scimitar'
s.version = Scimitar::VERSION
s.date = Scimitar::DATE
s.summary = 'SCIM v2 for Rails'
s.description = 'SCIM v2 support for Users and Groups in Ruby On Rails'
s.authors = ['RIPA Global', 'Andrew David Hodgkinson']
s.email = ['[email protected]']
s.license = 'MIT'
s.files = Dir['{app,config,db,lib}/**/*', 'LICENSE.txt', 'Rakefile', 'README.md']
s.test_files = Dir.glob('spec/**/*.rb')
s.homepage = 'https://github.com/pond/scimitar/'
s.metadata['homepage_uri' ] = s.homepage
s.metadata['source_code_uri'] = 'https://github.com/pond/scimitar/'
s.metadata['bug_tracker_uri'] = 'https://github.com/pond/scimitar/issues/'
s.metadata['changelog_uri' ] = 'https://github.com/pond/scimitar/blob/main/CHANGELOG.md'
s.required_ruby_version = '>= 2.7.0'
# Rails 8 requires Ruby 3.2.0 or later, but Rails 7 has a much wider range of
# Ruby versions. GitHub CI tests against a wide matrix to make sure that the
# gem functions well for older Rubies so long as the minimum supported Rails
# version also works with that.
#
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.2.0')
s.add_dependency 'rails', '~> 7.0' # Major version 7 only
else
s.add_dependency 'rails', '>= 7.0' # Major version 7 or later
end
s.add_development_dependency 'debug', '~> 1.10'
s.add_development_dependency 'rake', '~> 13.2'
s.add_development_dependency 'pg', '~> 1.5'
s.add_development_dependency 'simplecov-rcov', '~> 0.3'
s.add_development_dependency 'rdoc', '~> 6.12'
s.add_development_dependency 'rspec-rails', '~> 7.1'
s.add_development_dependency 'doggo', '~> 1.4'
end