heroku_san 4.2.2 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/heroku_san/version.rb +1 -1
- data/spec/heroku_san/parser_spec.rb +3 -3
- metadata +141 -146
data/lib/heroku_san/version.rb
CHANGED
@@ -53,13 +53,13 @@ describe HerokuSan::Parser do
|
|
53
53
|
end
|
54
54
|
|
55
55
|
describe "#merge_external_config" do
|
56
|
-
let(:stages) { [stub(name
|
56
|
+
let(:stages) { [stub(:name => 'production', :config => prod_config), stub(:name => 'staging', :config => staging_config)] }
|
57
57
|
let(:prod_config) { mock('Production Config') }
|
58
58
|
let(:staging_config) { {'EXTRA' => 'bar'} }
|
59
59
|
let(:extras) { {'production' => {'EXTRA' => 'bar'}, 'staging' => {'EXTRA' => 'foo'}} }
|
60
60
|
|
61
61
|
context "with no extras" do
|
62
|
-
let(:parseable) { stub external_configuration
|
62
|
+
let(:parseable) { stub :external_configuration => nil }
|
63
63
|
|
64
64
|
it "doesn't change prod_config" do
|
65
65
|
prod_config.should_not_receive :merge!
|
@@ -68,7 +68,7 @@ describe HerokuSan::Parser do
|
|
68
68
|
end
|
69
69
|
|
70
70
|
context "with extra" do
|
71
|
-
let(:parseable) { stub external_configuration
|
71
|
+
let(:parseable) { stub :external_configuration => 'config_repos' }
|
72
72
|
before(:each) do
|
73
73
|
parser.should_receive(:git_clone).with('config_repos', anything)
|
74
74
|
parser.should_receive(:parse_yaml).and_return(extras)
|
metadata
CHANGED
@@ -1,10 +1,15 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_san
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 4
|
8
|
+
- 2
|
9
|
+
- 3
|
10
|
+
version: 4.2.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Elijah Miller
|
9
14
|
- Glenn Roberts
|
10
15
|
- Ryan Ahearn
|
@@ -12,175 +17,161 @@ authors:
|
|
12
17
|
autorequire:
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
requirement: !ruby/object:Gem::Requirement
|
20
|
+
|
21
|
+
date: 2013-02-09 00:00:00 Z
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
25
|
none: false
|
21
|
-
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 31
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 1
|
33
|
+
- 2
|
24
34
|
version: 0.1.2
|
35
|
+
version_requirements: *id001
|
36
|
+
name: heroku-api
|
25
37
|
type: :runtime
|
26
38
|
prerelease: false
|
27
|
-
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
41
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
33
|
-
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
version_requirements: *id002
|
34
50
|
name: rake
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
|
-
requirements:
|
38
|
-
- - ! '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
51
|
type: :runtime
|
42
52
|
prerelease: false
|
43
|
-
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
44
55
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 7
|
60
|
+
segments:
|
61
|
+
- 2
|
62
|
+
version: "2"
|
63
|
+
version_requirements: *id003
|
50
64
|
name: rails
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
|
-
requirements:
|
54
|
-
- - ! '>='
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: '2'
|
57
65
|
type: :development
|
58
66
|
prerelease: false
|
59
|
-
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
60
69
|
none: false
|
61
|
-
requirements:
|
62
|
-
- -
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
76
|
+
version: "0"
|
77
|
+
version_requirements: *id004
|
66
78
|
name: rspec
|
67
|
-
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ! '>='
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0'
|
73
79
|
type: :development
|
74
80
|
prerelease: false
|
75
|
-
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
76
83
|
none: false
|
77
|
-
requirements:
|
78
|
-
- -
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
|
81
|
-
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
91
|
+
version_requirements: *id005
|
82
92
|
name: aruba
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
|
-
requirements:
|
86
|
-
- - ! '>='
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
89
93
|
type: :development
|
90
94
|
prerelease: false
|
91
|
-
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
92
97
|
none: false
|
93
|
-
requirements:
|
94
|
-
- -
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
|
97
|
-
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 3
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
105
|
+
version_requirements: *id006
|
98
106
|
name: cucumber
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
|
-
requirements:
|
102
|
-
- - ! '>='
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
107
|
type: :development
|
106
108
|
prerelease: false
|
107
|
-
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
108
111
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
version: "0"
|
119
|
+
version_requirements: *id007
|
114
120
|
name: rake
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
|
-
requirements:
|
118
|
-
- - ! '>='
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
124
125
|
none: false
|
125
|
-
requirements:
|
126
|
-
- - ! '>='
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: '0'
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
name: bundler
|
131
|
-
requirement: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
|
-
requirements:
|
126
|
+
requirements:
|
134
127
|
- - ~>
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 13
|
130
|
+
segments:
|
131
|
+
- 1
|
132
|
+
- 1
|
133
|
+
version: "1.1"
|
134
|
+
version_requirements: *id008
|
135
|
+
name: bundler
|
137
136
|
type: :development
|
138
137
|
prerelease: false
|
139
|
-
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
140
140
|
none: false
|
141
|
-
requirements:
|
142
|
-
- -
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
|
145
|
-
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
hash: 3
|
145
|
+
segments:
|
146
|
+
- 0
|
147
|
+
version: "0"
|
148
|
+
version_requirements: *id009
|
146
149
|
name: git-smart
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
|
-
requirements:
|
150
|
-
- - ! '>='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
150
|
type: :development
|
154
151
|
prerelease: false
|
155
|
-
|
152
|
+
- !ruby/object:Gem::Dependency
|
153
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
156
154
|
none: false
|
157
|
-
requirements:
|
158
|
-
- -
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
|
161
|
-
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
hash: 3
|
159
|
+
segments:
|
160
|
+
- 0
|
161
|
+
version: "0"
|
162
|
+
version_requirements: *id010
|
162
163
|
name: godot
|
163
|
-
requirement: !ruby/object:Gem::Requirement
|
164
|
-
none: false
|
165
|
-
requirements:
|
166
|
-
- - ! '>='
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: '0'
|
169
164
|
type: :development
|
170
165
|
prerelease: false
|
171
|
-
version_requirements: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
|
-
requirements:
|
174
|
-
- - ! '>='
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
version: '0'
|
177
166
|
description: Manage multiple Heroku instances/apps for a single Rails app using Rake
|
178
167
|
email: elijah.miller@gmail.com
|
179
168
|
executables: []
|
169
|
+
|
180
170
|
extensions: []
|
181
|
-
|
171
|
+
|
172
|
+
extra_rdoc_files:
|
182
173
|
- README.md
|
183
|
-
files:
|
174
|
+
files:
|
184
175
|
- .gitignore
|
185
176
|
- .travis.yml
|
186
177
|
- CHANGELOG.md
|
@@ -231,35 +222,39 @@ files:
|
|
231
222
|
- spec/support/heroku.rb
|
232
223
|
- spec/support/mocks.rb
|
233
224
|
homepage: http://github.com/fastestforward/heroku_san
|
234
|
-
licenses:
|
225
|
+
licenses:
|
235
226
|
- MIT
|
236
227
|
post_install_message:
|
237
228
|
rdoc_options: []
|
238
|
-
|
229
|
+
|
230
|
+
require_paths:
|
239
231
|
- lib
|
240
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
241
233
|
none: false
|
242
|
-
requirements:
|
243
|
-
- -
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
|
246
|
-
segments:
|
234
|
+
requirements:
|
235
|
+
- - ">="
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
hash: 3
|
238
|
+
segments:
|
247
239
|
- 0
|
248
|
-
|
249
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
version: "0"
|
241
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
250
242
|
none: false
|
251
|
-
requirements:
|
252
|
-
- -
|
253
|
-
- !ruby/object:Gem::Version
|
254
|
-
|
243
|
+
requirements:
|
244
|
+
- - ">="
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
hash: 3
|
247
|
+
segments:
|
248
|
+
- 0
|
249
|
+
version: "0"
|
255
250
|
requirements: []
|
251
|
+
|
256
252
|
rubyforge_project:
|
257
|
-
rubygems_version: 1.8.
|
253
|
+
rubygems_version: 1.8.17
|
258
254
|
signing_key:
|
259
255
|
specification_version: 3
|
260
|
-
summary:
|
261
|
-
|
262
|
-
test_files:
|
256
|
+
summary: "A bunch of useful Rake tasks for managing your Heroku apps. NOTE: The Heroku Toolbelt must be installed to use this gem. https://toolbelt.heroku.com/"
|
257
|
+
test_files:
|
263
258
|
- features/config.feature
|
264
259
|
- features/extended-config.feature
|
265
260
|
- features/issue_113.feature
|