pogo 2.39.2.2 → 2.39.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/bin/pogo +1 -1
- data/lib/heroku/auth.rb +1 -1
- data/lib/heroku/client.rb +1 -0
- data/lib/heroku/command.rb +2 -2
- data/lib/heroku/command/account.rb +1 -1
- data/lib/heroku/command/addons.rb +6 -6
- data/lib/heroku/command/apps.rb +17 -17
- data/lib/heroku/command/auth.rb +4 -4
- data/lib/heroku/command/base.rb +1 -1
- data/lib/heroku/command/certs.rb +5 -5
- data/lib/heroku/command/config.rb +10 -10
- data/lib/heroku/command/domains.rb +6 -6
- data/lib/heroku/command/drains.rb +2 -2
- data/lib/heroku/command/git.rb +4 -4
- data/lib/heroku/command/help.rb +7 -7
- data/lib/heroku/command/keys.rb +7 -7
- data/lib/heroku/command/labs.rb +7 -7
- data/lib/heroku/command/logs.rb +5 -5
- data/lib/heroku/command/maintenance.rb +3 -3
- data/lib/heroku/command/pg.rb +4 -4
- data/lib/heroku/command/pgbackups.rb +6 -6
- data/lib/heroku/command/plugins.rb +6 -6
- data/lib/heroku/command/ps.rb +19 -19
- data/lib/heroku/command/regions.rb +1 -1
- data/lib/heroku/command/releases.rb +5 -5
- data/lib/heroku/command/run.rb +12 -12
- data/lib/heroku/command/sharing.rb +7 -7
- data/lib/heroku/command/ssl.rb +3 -3
- data/lib/heroku/command/stack.rb +3 -3
- data/lib/heroku/command/status.rb +5 -5
- data/lib/heroku/command/update.rb +2 -2
- data/lib/heroku/command/version.rb +1 -1
- data/lib/heroku/plugin.rb +1 -1
- data/lib/heroku/version.rb +1 -1
- data/spec/heroku/client/pgbackups_spec.rb +2 -2
- data/spec/heroku/command/addons_spec.rb +11 -11
- data/spec/heroku/command/certs_spec.rb +1 -1
- data/spec/heroku/command/help_spec.rb +6 -6
- data/spec/heroku/command/pg_spec.rb +1 -1
- data/spec/heroku/command/pgbackups_spec.rb +4 -4
- data/spec/heroku/command/ps_spec.rb +6 -6
- data/spec/heroku/command/run_spec.rb +3 -3
- data/spec/heroku/command/status_spec.rb +1 -1
- data/spec/heroku/command_spec.rb +4 -4
- data/spec/heroku/plugin_spec.rb +1 -1
- metadata +14 -28
@@ -204,7 +204,7 @@ STDOUT
|
|
204
204
|
{"name"=>"PG Version", "values"=>["9.1.4"]},
|
205
205
|
{"name"=>"Fork/Follow", "values"=>["Available"]},
|
206
206
|
{"name"=>"Created", "values"=>["2011-12-13 00:00 UTC"]},
|
207
|
-
{"name"=>"Conn Info", "values"=>["[Deprecated] Please use `
|
207
|
+
{"name"=>"Conn Info", "values"=>["[Deprecated] Please use `pogo pg:credentials HEROKU_POSTGRESQL_RONIN` to view connection info"]},
|
208
208
|
{"name"=>"Maintenance", "values"=>["not required"]}
|
209
209
|
]
|
210
210
|
)
|
@@ -165,7 +165,7 @@ STDERR
|
|
165
165
|
stderr, stdout = execute("pgbackups:capture")
|
166
166
|
stderr.should == <<-STDERR
|
167
167
|
! An error occurred and your backup did not finish.
|
168
|
-
! Please run `
|
168
|
+
! Please run `pogo logs --ps pgbackups` for details.
|
169
169
|
STDERR
|
170
170
|
stdout.should == <<-STDOUT
|
171
171
|
|
@@ -180,7 +180,7 @@ STDOUT
|
|
180
180
|
stderr, stdout = execute("pgbackups:capture")
|
181
181
|
stderr.should == <<-STDERR
|
182
182
|
! An error occurred and your backup did not finish.
|
183
|
-
! Please run `
|
183
|
+
! Please run `pogo logs --ps pgbackups` for details.
|
184
184
|
! The database is not yet online. Please try again.
|
185
185
|
STDERR
|
186
186
|
stdout.should == <<-STDOUT
|
@@ -196,7 +196,7 @@ STDOUT
|
|
196
196
|
stderr, stdout = execute("pgbackups:capture")
|
197
197
|
stderr.should == <<-STDERR
|
198
198
|
! An error occurred and your backup did not finish.
|
199
|
-
! Please run `
|
199
|
+
! Please run `pogo logs --ps pgbackups` for details.
|
200
200
|
! The database credentials are incorrect.
|
201
201
|
STDERR
|
202
202
|
stdout.should == <<-STDOUT
|
@@ -292,7 +292,7 @@ STDOUT
|
|
292
292
|
|
293
293
|
it 'aborts for a generic error' do
|
294
294
|
stub_error_backup_with_log 'something generic'
|
295
|
-
@pgbackups.should_receive(:error).with("An error occurred and your restore did not finish.\nPlease run `
|
295
|
+
@pgbackups.should_receive(:error).with("An error occurred and your restore did not finish.\nPlease run `pogo logs --ps pgbackups` for details.")
|
296
296
|
@pgbackups.restore
|
297
297
|
end
|
298
298
|
|
@@ -18,11 +18,11 @@ describe Heroku::Command::Ps do
|
|
18
18
|
end
|
19
19
|
|
20
20
|
it "ps:dynos errors out on cedar apps" do
|
21
|
-
lambda { execute("ps:dynos") }.should raise_error(Heroku::Command::CommandFailed, "For Cedar apps, use `
|
21
|
+
lambda { execute("ps:dynos") }.should raise_error(Heroku::Command::CommandFailed, "For Cedar apps, use `pogo ps`")
|
22
22
|
end
|
23
23
|
|
24
24
|
it "ps:workers errors out on cedar apps" do
|
25
|
-
lambda { execute("ps:workers") }.should raise_error(Heroku::Command::CommandFailed, "For Cedar apps, use `
|
25
|
+
lambda { execute("ps:workers") }.should raise_error(Heroku::Command::CommandFailed, "For Cedar apps, use `pogo ps`")
|
26
26
|
end
|
27
27
|
|
28
28
|
describe "ps" do
|
@@ -152,7 +152,7 @@ STDOUT
|
|
152
152
|
stderr, stdout = execute("ps:dynos")
|
153
153
|
stderr.should == ""
|
154
154
|
stdout.should == <<-STDOUT
|
155
|
-
~ `
|
155
|
+
~ `pogo ps:dynos QTY` has been deprecated and replaced with `pogo ps:scale dynos=QTY`
|
156
156
|
example is running 0 dynos
|
157
157
|
STDOUT
|
158
158
|
end
|
@@ -161,7 +161,7 @@ STDOUT
|
|
161
161
|
stderr, stdout = execute("ps:dynos 5")
|
162
162
|
stderr.should == ""
|
163
163
|
stdout.should == <<-STDOUT
|
164
|
-
~ `
|
164
|
+
~ `pogo ps:dynos QTY` has been deprecated and replaced with `pogo ps:scale dynos=QTY`
|
165
165
|
Scaling dynos... done, now running 5
|
166
166
|
STDOUT
|
167
167
|
end
|
@@ -174,7 +174,7 @@ STDOUT
|
|
174
174
|
stderr, stdout = execute("ps:workers")
|
175
175
|
stderr.should == ""
|
176
176
|
stdout.should == <<-STDOUT
|
177
|
-
~ `
|
177
|
+
~ `pogo ps:workers QTY` has been deprecated and replaced with `pogo ps:scale workers=QTY`
|
178
178
|
example is running 0 workers
|
179
179
|
STDOUT
|
180
180
|
end
|
@@ -183,7 +183,7 @@ STDOUT
|
|
183
183
|
stderr, stdout = execute("ps:workers 5")
|
184
184
|
stderr.should == ""
|
185
185
|
stdout.should == <<-STDOUT
|
186
|
-
~ `
|
186
|
+
~ `pogo ps:workers QTY` has been deprecated and replaced with `pogo ps:scale workers=QTY`
|
187
187
|
Scaling workers... done, now running 5
|
188
188
|
STDOUT
|
189
189
|
end
|
@@ -34,7 +34,7 @@ STDOUT
|
|
34
34
|
stderr.should == ""
|
35
35
|
stdout.should == <<-STDOUT
|
36
36
|
Running `bin/foo` detached... up, run.1
|
37
|
-
Use `
|
37
|
+
Use `pogo logs -p run.1` to view the output.
|
38
38
|
STDOUT
|
39
39
|
end
|
40
40
|
|
@@ -54,7 +54,7 @@ STDOUT
|
|
54
54
|
stderr, stdout = execute("run:rake foo")
|
55
55
|
stderr.should == ""
|
56
56
|
stdout.should == <<-STDOUT
|
57
|
-
WARNING: `
|
57
|
+
WARNING: `pogo run:rake` has been deprecated. Please use `pogo run rake` instead.
|
58
58
|
Running `rake foo` attached to terminal... up, run.1
|
59
59
|
rake_output
|
60
60
|
STDOUT
|
@@ -66,7 +66,7 @@ STDOUT
|
|
66
66
|
stderr, stdout = execute("rake foo")
|
67
67
|
stderr.should == ""
|
68
68
|
stdout.should == <<-STDOUT
|
69
|
-
WARNING: `
|
69
|
+
WARNING: `pogo rake` has been deprecated. Please use `pogo run rake` instead.
|
70
70
|
Running `rake foo` attached to terminal... up, run.1
|
71
71
|
rake_output
|
72
72
|
STDOUT
|
data/spec/heroku/command_spec.rb
CHANGED
@@ -117,12 +117,12 @@ describe Heroku::Command do
|
|
117
117
|
end
|
118
118
|
|
119
119
|
it "shows Internal Server Error when the response doesn't contain a XML or JSON" do
|
120
|
-
Heroku::Command.extract_error('<h1>HTTP 500</h1>').should == "Internal server error.\nRun `
|
120
|
+
Heroku::Command.extract_error('<h1>HTTP 500</h1>').should == "Internal server error.\nRun `pogo status` to check for known platform issues."
|
121
121
|
end
|
122
122
|
|
123
123
|
it "shows Internal Server Error when the response is not plain text" do
|
124
124
|
response = FakeResponse.new(:body => "Foobar", :headers => { :content_type => "application/xml" })
|
125
|
-
Heroku::Command.extract_error(response).should == "Internal server error.\nRun `
|
125
|
+
Heroku::Command.extract_error(response).should == "Internal server error.\nRun `pogo status` to check for known platform issues."
|
126
126
|
end
|
127
127
|
|
128
128
|
it "allows a block to redefine the default error" do
|
@@ -185,7 +185,7 @@ STDOUT
|
|
185
185
|
captured_stderr.string.should == <<-STDERR
|
186
186
|
! `aps` is not a heroku command.
|
187
187
|
! Perhaps you meant `apps` or `ps`.
|
188
|
-
! See `
|
188
|
+
! See `pogo help` for a list of available commands.
|
189
189
|
STDERR
|
190
190
|
captured_stdout.string.should == ""
|
191
191
|
$stderr, $stdout = original_stderr, original_stdout
|
@@ -201,7 +201,7 @@ STDERR
|
|
201
201
|
end
|
202
202
|
captured_stderr.string.should == <<-STDERR
|
203
203
|
! `sandwich` is not a heroku command.
|
204
|
-
! See `
|
204
|
+
! See `pogo help` for a list of available commands.
|
205
205
|
STDERR
|
206
206
|
captured_stdout.string.should == ""
|
207
207
|
$stderr, $stdout = original_stderr, original_stdout
|
data/spec/heroku/plugin_spec.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pogo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.39.2.
|
5
|
-
prerelease:
|
4
|
+
version: 2.39.2.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
7
|
+
- Pogoapp
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-03 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: pogoapp-api
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: netrc
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rest-client
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,33 +55,29 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: launchy
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 0.3.2
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 0.3.2
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rubyzip
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - '>='
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - '>='
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
description: Client library and command-line tool to deploy and manage apps on Pogoapp.
|
@@ -198,29 +187,26 @@ files:
|
|
198
187
|
homepage: http://pogoapp.com/
|
199
188
|
licenses:
|
200
189
|
- MIT
|
201
|
-
|
202
|
-
|
203
|
-
|
190
|
+
metadata: {}
|
191
|
+
post_install_message: |2
|
192
|
+
! Thanks for installing the `pogo` gem and using Pogoapp
|
204
193
|
rdoc_options: []
|
205
194
|
require_paths:
|
206
195
|
- lib
|
207
196
|
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
-
none: false
|
209
197
|
requirements:
|
210
|
-
- -
|
198
|
+
- - '>='
|
211
199
|
- !ruby/object:Gem::Version
|
212
200
|
version: '0'
|
213
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
|
-
none: false
|
215
202
|
requirements:
|
216
|
-
- -
|
203
|
+
- - '>='
|
217
204
|
- !ruby/object:Gem::Version
|
218
205
|
version: '0'
|
219
206
|
requirements: []
|
220
207
|
rubyforge_project:
|
221
|
-
rubygems_version:
|
208
|
+
rubygems_version: 2.0.3
|
222
209
|
signing_key:
|
223
|
-
specification_version:
|
210
|
+
specification_version: 4
|
224
211
|
summary: Client library and CLI to deploy apps on Pogoapp.
|
225
212
|
test_files: []
|
226
|
-
has_rdoc:
|