awspec 0.2.0 → 0.2.1
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 +17 -1
- data/awspec.gemspec +2 -2
- data/lib/awspec/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab608f52dd1ca60d7c92f33c9f7b9631a6242075
|
4
|
+
data.tar.gz: d6a58efb30e3b4658f468d6a64ae45cf45c36390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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 = '
|
19
|
-
spec.executables = spec.files.grep(%r{^
|
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'
|
data/lib/awspec/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
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:
|