-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaserto-rails.gemspec
35 lines (28 loc) · 1.38 KB
/
aserto-rails.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
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "aserto-rails"
spec.version = File.read(File.join(__dir__, "VERSION")).chomp
spec.authors = ["Aserto"]
spec.email = ["[email protected]"]
spec.summary = "Aserto authorization library for Ruby and Ruby on Rails"
spec.description = "Aserto authorization library for Ruby and Ruby on Rails"
spec.homepage = "https://www.aserto.com"
spec.license = "Apache-2.0"
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/aserto-dev/aserto-rails"
spec.metadata["changelog_uri"] = "https://github.com/aserto-dev/aserto-rails"
spec.metadata["documentation_uri"] = "https://docs.aserto.com/docs/software-development-kits/ruby/rails"
dirs =
Dir[File.join(__dir__, "README.md")] +
Dir[File.join(__dir__, "CHANGELOG.md")] +
Dir[File.join(__dir__, "LICENSE")] +
Dir[File.join(__dir__, "VERSION")] +
Dir[File.join(__dir__, "lib/**/*.rb")]
spec.files = dirs.map { |path| path.sub("#{__dir__}#{File::SEPARATOR}", "") }
spec.require_paths = %w[lib]
spec.metadata["rubygems_mfa_required"] = "true"
# runtime dependencies
spec.add_runtime_dependency "aserto", "~> 0.31.0"
end