awspec 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/awspec/toolbox.rb +2 -2
- data/lib/awspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd66c5998ff792bc57b289b71b8f44011f38e865
|
4
|
+
data.tar.gz: 7d66ddffc3463330c2a5fe4c5f17cbe58d9932fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfc8a2ec45b19e6db2a92e6b4fafb7643bb941c603c9a67881057d89bc884d09fef79c093571ceb0ee9b14f0d52c6ef5f87f75d24724123b1caf67f7628b1b5b
|
7
|
+
data.tar.gz: 98287787ce01a141a5fb6cb2f00477b50dcc7a7e1d0c5beedf62622288ed846fbd903b785652f85feebb999262279f73efe187ce111ca607398c275736662fd2
|
data/README.md
CHANGED
@@ -116,7 +116,7 @@ $ awspec generate ec2 vpc-ab123cde >> spec/ec2_spec.rb
|
|
116
116
|
1. Create your feature branch (`git checkout -b add-type-redshift`)
|
117
117
|
2. Generate template files (`bundle exec awspec/bin/toolbox template redshift`)
|
118
118
|
3. Fill files with code.
|
119
|
-
4. Generate [doc/resource_types.md](doc/resource_types.md) (`bundle exec awspec/bin/toolbox docgen`)
|
119
|
+
4. Generate [doc/resource_types.md](doc/resource_types.md) (`bundle exec awspec/bin/toolbox docgen > doc/resource_type.md`)
|
120
120
|
5. Run test (`bundle exec rake spec`)
|
121
121
|
6. Push to the branch (`git push origin add-type-redshift`)
|
122
122
|
7. Create a new Pull Request
|
data/lib/awspec/toolbox.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Awspec
|
2
2
|
class Toolbox < Thor
|
3
|
-
desc 'docgen', 'Generate
|
3
|
+
desc 'docgen > doc/resource_type.md', 'Generate doc/resource_type.md document'
|
4
4
|
def docgen
|
5
5
|
puts Awspec::Generator::Doc::Type.generate_doc
|
6
6
|
end
|
7
7
|
|
8
|
-
desc 'template [resource_type_name]', 'Generate
|
8
|
+
desc 'template [resource_type_name]', 'Generate template files'
|
9
9
|
def template(type)
|
10
10
|
puts Awspec::Generator::Template.generate(type)
|
11
11
|
end
|
data/lib/awspec/version.rb
CHANGED