simple_deploy 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{CHANGELOG → CHANGELOG.md} +4 -0
- data/lib/simple_deploy/cli/clone.rb +8 -4
- data/lib/simple_deploy/version.rb +1 -1
- metadata +17 -17
data/{CHANGELOG → CHANGELOG.md}
RENAMED
@@ -37,17 +37,21 @@ EOS
|
|
37
37
|
new_attributes = merge_attributes cloned_attributes, override_attributes
|
38
38
|
new_attributes += add_attributes cloned_attributes, override_attributes
|
39
39
|
|
40
|
+
template_file = Tempfile.new("#{@opts[:new_name]}_template.json")
|
41
|
+
template_file_path = template_file.path
|
42
|
+
|
40
43
|
if @opts[:template]
|
41
|
-
|
44
|
+
template_file_path = @opts[:template]
|
42
45
|
else
|
43
|
-
template_file
|
44
|
-
File::open(template_file, 'w') { |f| f.write source_stack.template.to_json }
|
46
|
+
template_file.write source_stack.template.to_json
|
45
47
|
end
|
46
48
|
|
47
49
|
rescue_stackster_exceptions_and_exit do
|
48
50
|
new_stack.create :attributes => new_attributes,
|
49
|
-
:template =>
|
51
|
+
:template => template_file_path
|
50
52
|
end
|
53
|
+
|
54
|
+
template_file.close
|
51
55
|
end
|
52
56
|
|
53
57
|
def command_summary
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70288269566680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70288269566680
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &70288269565580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.11.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70288269565580
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: capistrano
|
38
|
-
requirement: &
|
38
|
+
requirement: &70288269564640 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - =
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.13.5
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70288269564640
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: stackster
|
49
|
-
requirement: &
|
49
|
+
requirement: &70288269563960 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - =
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.4.2
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70288269563960
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: tinder
|
60
|
-
requirement: &
|
60
|
+
requirement: &70288269563140 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - =
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.8.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70288269563140
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: trollop
|
71
|
-
requirement: &
|
71
|
+
requirement: &70288269561540 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - =
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: '2.0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70288269561540
|
80
80
|
description: Opinionated gem for Managing AWS Cloud Formation stacks and deploying
|
81
81
|
updates to Instances.
|
82
82
|
email:
|
@@ -89,7 +89,7 @@ files:
|
|
89
89
|
- .gitignore
|
90
90
|
- .rvmrc
|
91
91
|
- .travis.yml
|
92
|
-
- CHANGELOG
|
92
|
+
- CHANGELOG.md
|
93
93
|
- Gemfile
|
94
94
|
- LICENSE
|
95
95
|
- README.md
|
@@ -175,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
segments:
|
177
177
|
- 0
|
178
|
-
hash:
|
178
|
+
hash: 4487749581548664579
|
179
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
180
|
none: false
|
181
181
|
requirements:
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
segments:
|
186
186
|
- 0
|
187
|
-
hash:
|
187
|
+
hash: 4487749581548664579
|
188
188
|
requirements: []
|
189
189
|
rubyforge_project: simple_deploy
|
190
190
|
rubygems_version: 1.8.16
|