2018-03-28 21:57:06 -04:00
|
|
|
lib = File.expand_path("lib", __dir__)
|
2018-03-22 18:01:53 -04:00
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
require "psenv/version"
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
2020-02-19 07:52:46 -05:00
|
|
|
spec.name = "psenv-rails"
|
|
|
|
spec.version = Psenv::VERSION
|
|
|
|
spec.authors = ["Andrew Tomaka"]
|
|
|
|
spec.email = ["atomaka@gmail.com"]
|
2018-03-22 18:01:53 -04:00
|
|
|
|
2020-02-19 07:52:46 -05:00
|
|
|
spec.summary = "Load AWS SSM Parameter Store values into your Rails environment."
|
|
|
|
spec.homepage = "https://github.com/atomaka/psenv"
|
|
|
|
spec.license = "MIT"
|
2018-03-22 18:01:53 -04:00
|
|
|
|
2020-02-19 07:52:46 -05:00
|
|
|
spec.files = `git ls-files lib | grep rails`
|
|
|
|
.split($OUTPUT_RECORD_SEPARATOR)
|
|
|
|
.reject do |f|
|
2018-03-22 18:01:53 -04:00
|
|
|
f.match(%r{^(test|spec|features)/})
|
|
|
|
end + ["README.md", "LICENSE.txt"]
|
2020-02-19 07:52:46 -05:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
2018-03-22 18:01:53 -04:00
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
|
|
|
spec.add_dependency "psenv", Psenv::VERSION
|
2022-10-04 21:47:43 -04:00
|
|
|
spec.add_dependency "railties", ">= 3.2", "< 7.1"
|
2018-03-22 18:01:53 -04:00
|
|
|
end
|