aws-profile_parser 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -12
- data/aws-profile_parser.gemspec +1 -1
- data/lib/aws/profile_parser/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3c2ae4c057b6b3a4b7e0e7f9cd1278ec77764ac
|
|
4
|
+
data.tar.gz: 2b46bc7a559f249b8c08887dc87befcae2b64f2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6bd6ef29739855bb3afd17ddf05703699e67e2726024a639402b7acbda492695d9a8916fff0878bd36d3d66603e614c8d714a3a09cdfd799a288bfcdefeb9e4
|
|
7
|
+
data.tar.gz: 732d71c55b15cb9ebacfdd97391c2aaad11cd56b823dbf71537086dd61ae08f2d0563e5c6c75f9a1a96b738a3caa5c66491879c0b5362a2149f9d965828e8773
|
data/README.md
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
# Aws::ProfileParser
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
gem 'aws-profileparser'
|
|
6
|
-
|
|
7
|
-
And then execute:
|
|
8
|
-
|
|
9
|
-
$ bundle
|
|
10
|
-
|
|
11
|
-
Or install it yourself as:
|
|
12
|
-
|
|
13
|
-
$ gem install aws-profileparser
|
|
3
|
+
This gem enables you to use AWS_CONFIG_FILE used by AWS CLI in Python.
|
|
14
4
|
|
|
15
5
|
## Installation
|
|
16
6
|
|
|
@@ -32,6 +22,8 @@ You have to set ENV['AWS_CONFIG_FILE'] beofre using this gem.
|
|
|
32
22
|
|
|
33
23
|
$ export AWS_CONFIG_FILE=/path/to/your/config
|
|
34
24
|
|
|
25
|
+
For more information about AWS_CONFIG_FILE, see [official documentation](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) by AWS.
|
|
26
|
+
|
|
35
27
|
And write simple code as below.
|
|
36
28
|
|
|
37
29
|
```ruby
|
|
@@ -44,7 +36,7 @@ ARGV.options do |opt|
|
|
|
44
36
|
opt.on('--profile PROFILE') { |v| profile = v}
|
|
45
37
|
opt.parse!
|
|
46
38
|
|
|
47
|
-
parser = ProfileParser.new
|
|
39
|
+
parser = AWS::ProfileParser.new
|
|
48
40
|
options = parser.get(profile)
|
|
49
41
|
|
|
50
42
|
AWS.config(options)
|
data/aws-profile_parser.gemspec
CHANGED
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
|
-
spec.require_paths = ["lib"]
|
|
19
|
+
spec.require_paths = ["lib/aws"]
|
|
20
20
|
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.6"
|
|
22
22
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-profile_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Masao Mochizuki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-05-
|
|
11
|
+
date: 2014-05-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -79,7 +79,7 @@ metadata: {}
|
|
|
79
79
|
post_install_message:
|
|
80
80
|
rdoc_options: []
|
|
81
81
|
require_paths:
|
|
82
|
-
- lib
|
|
82
|
+
- lib/aws
|
|
83
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
|
85
85
|
- - '>='
|