-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdry-credentials.gemspec
59 lines (49 loc) · 2.15 KB
/
dry-credentials.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
# frozen_string_literal: true
require_relative 'lib/dry/credentials/version'
Gem::Specification.new do |spec|
spec.name = 'dry-credentials'
spec.version = Dry::Credentials::VERSION
spec.summary = 'A mixin to use encrypted credentials in your classes'
spec.description = <<~END
Manage and deploy secrets (access keys, API tokens etc) in encrypted
files which can safely be committed to the code repository. To decrypt and
and use them, only one environment variable containing the corresponding key
is required.
While similar to ActiveSupport::EncryptedConfiguration, this lightweight
implementation introduces as few dependencies as necessary.
END
spec.authors = ['Sven Schwyn']
spec.email = ['[email protected]']
spec.homepage = 'https://github.com/svoop/dry-credentials'
spec.license = 'MIT'
spec.metadata = {
'homepage_uri' => spec.homepage,
'changelog_uri' => 'https://github.com/svoop/dry-credentials/blob/main/CHANGELOG.md',
'source_code_uri' => 'https://github.com/svoop/dry-credentials',
'documentation_uri' => 'https://www.rubydoc.info/gems/dry-credentials',
'bug_tracker_uri' => 'https://github.com/svoop/dry-credentials/issues'
}
spec.files = Dir['lib/**/*']
spec.require_paths = %w(lib)
spec.cert_chain = ["certs/svoop.pem"]
spec.signing_key = File.expand_path(ENV['GEM_SIGNING_KEY']) if ENV['GEM_SIGNING_KEY']
spec.extra_rdoc_files = Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt']
spec.rdoc_options += [
'--title', 'Dry::Credentials',
'--main', 'README.md',
'--line-numbers',
'--inline-source',
'--quiet'
]
spec.required_ruby_version = '>= 3.0.0'
spec.add_runtime_dependency 'base64', '~> 0'
spec.add_development_dependency 'debug'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'minitest'
spec.add_development_dependency 'minitest-substitute'
spec.add_development_dependency 'minitest-flash'
spec.add_development_dependency 'minitest-focus'
spec.add_development_dependency 'guard'
spec.add_development_dependency 'guard-minitest'
spec.add_development_dependency 'yard'
end