aws-profile_parser 0.0.1 → 0.0.2

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: e691e46e5a2aa76a5edcc2394ef56d4425dfa290
4
- data.tar.gz: 42988ff662413b11b8f57387fda1f51aae461139
3
+ metadata.gz: a3c2ae4c057b6b3a4b7e0e7f9cd1278ec77764ac
4
+ data.tar.gz: 2b46bc7a559f249b8c08887dc87befcae2b64f2f
5
5
  SHA512:
6
- metadata.gz: 8a29484e6817a39c40ffd3f631ab9e259849b6d565790f465aa370b8880b0547deea643a0eb5505ce387cb9b698f371d87bc2150c4208f4e8b2b225fd550cba5
7
- data.tar.gz: b638d65d7e9586e753414769d3c630def899d8784abe2db89d56d841a68ff7c6d566558c0a612c005914663d388504173d569eb08d52aa3b105e6dbc248a69a4
6
+ metadata.gz: f6bd6ef29739855bb3afd17ddf05703699e67e2726024a639402b7acbda492695d9a8916fff0878bd36d3d66603e614c8d714a3a09cdfd799a288bfcdefeb9e4
7
+ data.tar.gz: 732d71c55b15cb9ebacfdd97391c2aaad11cd56b823dbf71537086dd61ae08f2d0563e5c6c75f9a1a96b738a3caa5c66491879c0b5362a2149f9d965828e8773
data/README.md CHANGED
@@ -1,16 +1,6 @@
1
1
  # Aws::ProfileParser
2
2
 
3
- Add this line to your application's Gemfile:
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)
@@ -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"
@@ -1,5 +1,5 @@
1
1
  module AWS
2
2
  class ProfileParser
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
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.1
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-07 00:00:00.000000000 Z
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
  - - '>='