awspec 0.2.0 → 0.2.1

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: eb7c243a9fcad6c31ac22a4f8d66f1bff11e6b66
4
- data.tar.gz: 6af37940f727d37bbde405cde5973b4364f5fc19
3
+ metadata.gz: ab608f52dd1ca60d7c92f33c9f7b9631a6242075
4
+ data.tar.gz: d6a58efb30e3b4658f468d6a64ae45cf45c36390
5
5
  SHA512:
6
- metadata.gz: 19de496aad11f977031078076db13d590ed151c22ca363157c4feec97dee1555ec26d8ff01709aa02081aecd3491145fac1b8b925eef891ad71a981df9fe5454
7
- data.tar.gz: e9a60c8719d3585f7dbd058bc4f3b2d940e6803093a9de060f9ba8f709dc4e440cfaeb2835130ae6e2a52282157b8e028826691f1d707b208eab2682a8302ed5
6
+ metadata.gz: e6c6d3902e746c8e29bff09b84fa474e03256b14c1d604f2507f330dfdf2a16dcd32b18eb14b50891f921f154d259fe44a86be7f2db3dd650b0d61a7031a3786
7
+ data.tar.gz: 7973597d58f071fc976a9d1cd6af702c8e85dfe2b45b48ac8d2b63c1ba2aff38b74c65245a35329cfcd7fa9ed2d89bd121e423d62a789d5ef2f7978e710fcd67
data/README.md CHANGED
@@ -24,7 +24,19 @@ Or install it yourself as:
24
24
 
25
25
  $ awspec init
26
26
 
27
- ### 2. Set AWS region/aws_access_key_id/aws_secret_access_key
27
+ ### 2. Set AWS credentials
28
+
29
+ #### 2-1. Use Shared Credentials
30
+
31
+ ```sh
32
+ $ aws configure
33
+
34
+ ...
35
+
36
+ $ export AWS_REGION='ap-northeast-1'
37
+ ```
38
+
39
+ #### 2-2. Use spec/secrets.yml
28
40
 
29
41
  ```sh
30
42
  $ cat <<EOF > spec/secrets.yml
@@ -49,6 +61,10 @@ describe ec2('my-ec2-tag-name') do
49
61
  end
50
62
  ```
51
63
 
64
+ ### 4. Run tests
65
+
66
+ $ bundle exec rake spec
67
+
52
68
  ### Advanced Usage: Spec generate command
53
69
 
54
70
  Generate spec from AWS resources already exists.
data/awspec.gemspec CHANGED
@@ -15,8 +15,8 @@ Gem::Specification.new do |spec|
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = 'exe'
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.bindir = 'bin'
19
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_runtime_dependency 'rspec', '~> 3.0'
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-05 00:00:00.000000000 Z
11
+ date: 2015-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -111,7 +111,8 @@ dependencies:
111
111
  description: RSpec tests for your AWS resources.
112
112
  email:
113
113
  - k1lowxb@gmail.com
114
- executables: []
114
+ executables:
115
+ - awspec
115
116
  extensions: []
116
117
  extra_rdoc_files: []
117
118
  files: