|
| 1 | +# frozen_string_literal: true |
| 2 | + |
| 3 | +require_relative "lib/aws/app/settings/version" |
| 4 | + |
| 5 | +Gem::Specification.new do |spec| |
| 6 | + spec.name = "aws-app-settings" |
| 7 | + spec.version = Aws::App::Setting::VERSION |
| 8 | + spec.authors = ["Ryan Alyn Porter"] |
| 9 | + spec.email = ["[email protected]"] |
| 10 | + |
| 11 | + spec.summary = |
| 12 | + 'A Ruby gem for cloud applications to use for managing configuration ' + |
| 13 | + 'settings and secrets with AWS Secrets Manager and AWS Systems Manager.' |
| 14 | + spec.description = <<-DESC |
| 15 | +This gem provides a caching mechanism with a configurable time-to-live, enabling |
| 16 | +you to rotate your application secrets or change your configuration settings |
| 17 | +without re-deploying your app. |
| 18 | +
|
| 19 | +It will create and retrieve settings using a pattern that includes the |
| 20 | +application and environment names, for enabling the separation of environments. |
| 21 | + DESC |
| 22 | + spec.homepage = "https://github.com/VenueDriver/aws-app-settings" |
| 23 | + spec.license = "MIT" |
| 24 | + spec.required_ruby_version = ">= 2.6.0" |
| 25 | + |
| 26 | + spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" |
| 27 | + |
| 28 | + spec.metadata["homepage_uri"] = spec.homepage |
| 29 | + spec.metadata["source_code_uri"] = "https://github.com/VenueDriver/aws-app-settings" |
| 30 | + # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." |
| 31 | + |
| 32 | + # Specify which files should be added to the gem when it is released. |
| 33 | + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. |
| 34 | + spec.files = Dir.chdir(__dir__) do |
| 35 | + `git ls-files -z`.split("\x0").reject do |f| |
| 36 | + (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) |
| 37 | + end |
| 38 | + end |
| 39 | + spec.bindir = "exe" |
| 40 | + spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } |
| 41 | + spec.require_paths = ["lib"] |
| 42 | + |
| 43 | + # Uncomment to register a new dependency of your gem |
| 44 | + spec.add_dependency 'pry', '~> 0.14.1' |
| 45 | + spec.add_dependency 'vcr', '~> 6.1' |
| 46 | + spec.add_dependency 'byebug', '~> 11.1', '>= 11.1.3' |
| 47 | + spec.add_dependency 'awesome_print', '~> 2.0.0.pre2' |
| 48 | + |
| 49 | + # For more information and examples about making a new gem, check out our |
| 50 | + # guide at: https://bundler.io/guides/creating_gem.html |
| 51 | +end |
0 commit comments