bora 1.0.0.beta1 → 1.0.0.beta2

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: 0274ebd129ad2e2c1e96f6c93accc024628bb960
4
- data.tar.gz: 0b5b69a386da693777967af8692b4ba87cecb648
3
+ metadata.gz: aaba2dea11a48fb48b3d09b310db47f1e9ba8969
4
+ data.tar.gz: e2b8692cb23a26672a6d1a2a1f8554f4efda1c4c
5
5
  SHA512:
6
- metadata.gz: 3de20877d9013f467d4fe4a95656586234f6bf9383d40db73b8bb4f118224449683ceb8ba1701a585bc28f8fa51089c6227dc1d34d6c9b142622948f1eddc256
7
- data.tar.gz: 48257c8f06b1d56a3d952b40135ae72b7c72ddd472b5da9b0c2a845676e9cdc1e1bb05ec969fd05f48cd313e2110d242e8b2fbd4a8be5270caa1fa6946090109
6
+ metadata.gz: 46c40e27b574844e6231c9037f59bb2c510dc70d2eaf6033549c59e842ea3d68bcd86f5ff851f749550afabb612fe84be06147402261a9050a114a15b90241bd
7
+ data.tar.gz: 270e4438dfe9084b5e50b42efb81b3a2ce1bc27f5f495de1c901bac5efa18dafcb07d76fb89927c707a645360a4d09ef0132de52e1f725f8dc4e7e4d05b0de46
data/LICENSE ADDED
@@ -0,0 +1,8 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2016 Charles Blaxland
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -26,11 +26,9 @@ And then run `bundle install`.
26
26
  Alternatively, install directly with `gem install bora`.
27
27
 
28
28
 
29
- ## Usage
29
+ ## Quick Start
30
30
 
31
- ### Quick Start
32
-
33
- Create a file `bora.yml` in your home directory, something like this:
31
+ Create a file `bora.yml` in your project directory, something like this:
34
32
  ```yaml
35
33
  templates:
36
34
  example:
@@ -152,6 +150,22 @@ params:
152
150
  This will look up the `Domain` output from the stack named `api-stack` and substitute it into the `api_url` parameter.
153
151
 
154
152
 
153
+ ## Command Reference
154
+
155
+ The following commands are available through the command line and rake tasks.
156
+
157
+ * **apply** - Creates the stack if it doesn't exist, or updates it otherwise
158
+ * **delete** - Deletes the stack
159
+ * **diff** - Provides a visual diff between the local template and the currently applied template in AWS
160
+ * **events** - Outputs the latest events from the stack
161
+ * **outputs** - Shows the outputs from the stack
162
+ * **recreate** - Recreates (deletes then creates) the stack
163
+ * **show** - Shows the local template in JSON, generating it if necessary
164
+ * **show_current** - Shows the currently applied template in AWS
165
+ * **status** - Displays the current status of the stack
166
+ * **validate** - Validates the template using the AWS CloudFormation "validate" API call
167
+
168
+
155
169
  ## Command Line
156
170
 
157
171
  Run `bora help` to see all available commands.
@@ -152,6 +152,7 @@ class Bora
152
152
  end
153
153
 
154
154
  def process_param_substitutions(val)
155
+ return val unless val.is_a? String
155
156
  old_val = nil
156
157
  while old_val != val
157
158
  old_val = val
@@ -1,3 +1,3 @@
1
1
  class Bora
2
- VERSION = "1.0.0.beta1"
2
+ VERSION = "1.0.0.beta2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bora
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta1
4
+ version: 1.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Blaxland
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-04 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -134,6 +134,7 @@ files:
134
134
  - ".rspec"
135
135
  - ".travis.yml"
136
136
  - Gemfile
137
+ - LICENSE
137
138
  - README.md
138
139
  - Rakefile
139
140
  - bin/console