Skip to content

Commit

Permalink
Merge ede5164 into de1e00a
Browse files Browse the repository at this point in the history
  • Loading branch information
sonodar committed Jan 16, 2018
2 parents de1e00a + ede5164 commit cbceb08
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ require: rubocop-rspec

AllCops:
DisplayCopNames: true
Exclude:
- vendor/**/*
- aws-ssm-env.gemspec

AsciiComments:
Enabled: false
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ rvm:
- 2.2
- 2.3
- 2.4
- 2.5
before_script:
- gem update --system
- gem update --remote bundler
script:
- bundle exec rspec
- bundle exec rubocop
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# CHANGELOG

## 0.1.1 (2018-01-16)

- Translate README.
- Added ruby 2.5 tests.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ The naming of environment variables is optional and can be customized.

## Installation

This gem has been tested with ruby version 2.2 to 2.5.

```
gem install aws-ssm-env
```
Expand Down Expand Up @@ -327,7 +329,7 @@ Specify the number of parameters to be acquired with one execution of AWS API.
If `:path` is specified, the maximum value is `10` and the default is `10`.
If `:begins_with` is specified, the maximum value is `50` and the default is `50`.
Usually this parameter is never specified.

## Security

Because you must grant authority to acquire secret information,
Expand Down
2 changes: 2 additions & 0 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ AWS EC2 Parameter Storeから取得したパラメータを環境変数として

## Installation

このgemはRuby2.2から2.5まででテストされています。

```
gem install aws-ssm-env
```
Expand Down
47 changes: 30 additions & 17 deletions aws-ssm-env.gemspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
require File.expand_path('../lib/aws-ssm-env/version', __FILE__)

Gem::Specification.new 'aws-ssm-env', AwsSsmEnv::VERSION do |gem|
gem.authors = ['Ryohei Sonoda']
gem.email = ['ryohei-sonoda@m3.com']
gem.description = gem.summary = 'Loads environment variables from AWS EC2 System Parameters.'
gem.homepage = 'https://github.com/sonodar/aws-ssm-env-ruby'
gem.license = 'Apache License 2.0'

gem.files = `git ls-files README.md README_en.md LICENSE lib`.split($OUTPUT_RECORD_SEPARATOR)

gem.add_dependency 'aws-sdk-ssm', '~>1'

gem.add_development_dependency 'rake'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'rubocop', '~>0.48.1'
gem.add_development_dependency 'rubocop-rspec'
gem.add_development_dependency 'simplecov'
gem.add_development_dependency 'simplecov-console'
Gem::Specification.new do |spec|

spec.name = 'aws-ssm-env'
spec.version = AwsSsmEnv::VERSION
spec.summary = spec.description = 'Set parameters acquired from AWS EC2 Parameter Store as environment variables.'

spec.homepage = 'https://github.com/sonodar/aws-ssm-env-ruby'
spec.authors = [ 'Ryohei Sonoda' ]
spec.email = [ 'ryohei-sonoda@m3.com' ]
spec.license = 'Apache-2.0'

spec.files = `git ls-files README.md README_ja.md CHANGELOG.md LICENSE lib`.split($OUTPUT_RECORD_SEPARATOR)
spec.test_files = `git ls-files spec`.split($OUTPUT_RECORD_SEPARATOR)
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.2'
spec.metadata = {
'source_code_uri' => 'https://github.com/sonodar/aws-ssm-env-ruby',
'changelog_uri' => 'https://github.com/sonodar/aws-ssm-env-ruby/tree/master/aws-ssm-env-ruby/CHANGELOG.md'
}

spec.add_dependency 'aws-sdk-ssm', '~>1'

spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop', '~>0.48.1'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov-console'

end
2 changes: 1 addition & 1 deletion lib/aws-ssm-env/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module AwsSsmEnv
VERSION = '0.1.0'.freeze
VERSION = '0.1.1'.freeze
end

0 comments on commit cbceb08

Please sign in to comment.