awsecrets 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fed5b34eb7498cd0fe6382d3732a37c04d084d7
4
- data.tar.gz: 5d0131d55fde6f07bed51b67148a01492dd420b0
3
+ metadata.gz: c29dad4f0bd8650501761e00a49f27dbd12fe6fc
4
+ data.tar.gz: 103c6541fbb299a1797568244453116dd74e665f
5
5
  SHA512:
6
- metadata.gz: a1c7add3852a1f5211c9e40db543b262268037f59ee24dabe8b34b0944c5ea921c292c64db66e09a383d8e9cb490f46adf2d3bb0740c61bbcd0bd3d8337b191c
7
- data.tar.gz: fe1823759700519230619a8b5033610f595e4fdd73adcf702e3288a1d7f16dd291a3f9f462ff2ba30a0a5a04edf6911d21a4f22760d3aed445a1c71d3d4a24fd
6
+ metadata.gz: 1ea8c0062f11c4a21b29a9079c0c196ed3d7b3292bc4322c1f18be772e87fdf4ec5d9f7e1f49b29a202385ce77cacc268ad174e5df6df0e575242245e53444ae
7
+ data.tar.gz: 6653379bc0220dc0d61485b68a786c1f4ff5e8f2a109c87ddf3127fec25caea5f90cfce070c80f19db1c3c8d223ff55f0c98ea2fce9aa87a94aa48d0383f6343
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
- # Awsecrets
1
+ # awsecrets
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/awsecrets`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ AWS credentials loader
6
4
 
7
5
  ## Installation
8
6
 
@@ -20,19 +18,9 @@ Or install it yourself as:
20
18
 
21
19
  $ gem install awsecrets
22
20
 
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
21
  ## Contributing
34
22
 
35
- 1. Fork it ( https://github.com/[my-github-username]/awsecrets/fork )
23
+ 1. Fork it ( https://github.com/k1LoW/awsecrets/fork )
36
24
  2. Create your feature branch (`git checkout -b my-new-feature`)
37
25
  3. Commit your changes (`git commit -am 'Add some feature'`)
38
26
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,3 +1,3 @@
1
1
  module Awsecrets
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
data/lib/awsecrets.rb CHANGED
@@ -4,7 +4,7 @@ require 'aws_config'
4
4
  require 'yaml'
5
5
 
6
6
  module Awsecrets
7
- def self.load(profile = nil, secrets_path = 'secrets.yml')
7
+ def self.load(profile: nil, secrets_path: 'secrets.yml')
8
8
  profile = ENV['AWS_PROFILE'] if profile.nil?
9
9
  if profile
10
10
  # SharedCredentials
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awsecrets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW