cfn-flow 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/lib/cfn-flow/template.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc660f95c7b3db9463a85875e038d11df8529c2b
4
- data.tar.gz: daf4c92f76fd32d889657202e9cff7fe06921e23
3
+ metadata.gz: bfae865724c3b9d32f3254e2c9bf07336c5310c1
4
+ data.tar.gz: 11e3cd2ac10a802a71ad05a6bbea258964eac7eb
5
5
  SHA512:
6
- metadata.gz: 4b64abbf2f0a958b7afacac581e3d10d0fe59b133700692024f33323f4de73010ea6608bab7fc5208ea6812cc7c1280ec97bd80f78cefb452c748a8a2d74a4bf
7
- data.tar.gz: f6cf53f021602ef8906f20c82fd1dae26b8bfe0830c8e98821aae9675800f2ac2aedc039f8db046eba204b0217b951842a9fe023e64fec64991593eb993c134f
6
+ metadata.gz: b193e0f55e1fbee80302eaf4799b96f04a9e562b170f26a19a1cbaab1d1f4fa5651a925feb5b23b8d77e486cc20d9a44216c200d096466882905aed9e11db6bd
7
+ data.tar.gz: 9b5d1be8fcff1c25e36051af5995206fb058d17a770040ce72bf616fb2f5217fbd807b3856853206ce56cfb780e70ea1f5857116c74a3c90b6f8b06b9411f853
data/README.md CHANGED
@@ -43,7 +43,7 @@ s3://my-bucket/dev/aaron/*
43
43
  # NB that this overwrites existing templates in your CFN_FLOW_DEV_NAME
44
44
  namespace.
45
45
 
46
- cfn-init
46
+ cfn-flow
47
47
  ```
48
48
 
49
49
  You can launch or update test stacks using your dev template path to quickly test your
@@ -55,13 +55,13 @@ Release mode publishes your templates to a versioned S3 path, and pushes a git
55
55
  tag of the version.
56
56
 
57
57
  ```
58
- # uploads templates to `s3://my-bucket/release/1.0.0/*` and pushes a 1.0.0 git
58
+ # uploads templates to `s3://my-bucket/release/<git sha>/*`
59
59
  tag
60
- cfn-flow --release 1.0.0
60
+ cfn-flow --release
61
61
  ```
62
62
 
63
63
  Release mode ensures there are no uncommitted changes in your git working
64
- directory, and pushes a `1.0.0` git tag.
64
+ directory.
65
65
 
66
66
  Inspecting the differences between releases is possible using `git log` and `git
67
67
  diff`.
@@ -133,7 +133,7 @@ resources](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-pro
133
133
  }
134
134
  ```
135
135
 
136
- While testing, set the `prefix` parameter to a dev prefix like `dev/aaron`. When you're confident your changes work, release them with cfn-flow and change the `prefix` parameter to `release/1.0.0` for production.
136
+ While testing, set the `prefix` parameter to a dev prefix like `dev/aaron`. When you're confident your changes work, release them with cfn-flow and change the `prefix` parameter to `release/<git sha>` for production.
137
137
 
138
138
  #### Continuous integration
139
139
 
@@ -54,11 +54,11 @@ class CfnFlow::Template
54
54
 
55
55
  private
56
56
  def cfn
57
- Thread.current[:aws_cfn_client] ||= Aws::CloudFormation::Client.new
57
+ Aws::CloudFormation::Client.new
58
58
  end
59
59
 
60
60
  def s3_object
61
- Thread.current[:aws_s3_object] ||= Aws::S3::Object.new(bucket, key)
61
+ Aws::S3::Object.new(bucket, key)
62
62
  end
63
63
 
64
64
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Suggs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-06 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk