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.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -1
  3. data/bin/pogo +1 -1
  4. data/lib/heroku/auth.rb +1 -1
  5. data/lib/heroku/client.rb +1 -0
  6. data/lib/heroku/command.rb +2 -2
  7. data/lib/heroku/command/account.rb +1 -1
  8. data/lib/heroku/command/addons.rb +6 -6
  9. data/lib/heroku/command/apps.rb +17 -17
  10. data/lib/heroku/command/auth.rb +4 -4
  11. data/lib/heroku/command/base.rb +1 -1
  12. data/lib/heroku/command/certs.rb +5 -5
  13. data/lib/heroku/command/config.rb +10 -10
  14. data/lib/heroku/command/domains.rb +6 -6
  15. data/lib/heroku/command/drains.rb +2 -2
  16. data/lib/heroku/command/git.rb +4 -4
  17. data/lib/heroku/command/help.rb +7 -7
  18. data/lib/heroku/command/keys.rb +7 -7
  19. data/lib/heroku/command/labs.rb +7 -7
  20. data/lib/heroku/command/logs.rb +5 -5
  21. data/lib/heroku/command/maintenance.rb +3 -3
  22. data/lib/heroku/command/pg.rb +4 -4
  23. data/lib/heroku/command/pgbackups.rb +6 -6
  24. data/lib/heroku/command/plugins.rb +6 -6
  25. data/lib/heroku/command/ps.rb +19 -19
  26. data/lib/heroku/command/regions.rb +1 -1
  27. data/lib/heroku/command/releases.rb +5 -5
  28. data/lib/heroku/command/run.rb +12 -12
  29. data/lib/heroku/command/sharing.rb +7 -7
  30. data/lib/heroku/command/ssl.rb +3 -3
  31. data/lib/heroku/command/stack.rb +3 -3
  32. data/lib/heroku/command/status.rb +5 -5
  33. data/lib/heroku/command/update.rb +2 -2
  34. data/lib/heroku/command/version.rb +1 -1
  35. data/lib/heroku/plugin.rb +1 -1
  36. data/lib/heroku/version.rb +1 -1
  37. data/spec/heroku/client/pgbackups_spec.rb +2 -2
  38. data/spec/heroku/command/addons_spec.rb +11 -11
  39. data/spec/heroku/command/certs_spec.rb +1 -1
  40. data/spec/heroku/command/help_spec.rb +6 -6
  41. data/spec/heroku/command/pg_spec.rb +1 -1
  42. data/spec/heroku/command/pgbackups_spec.rb +4 -4
  43. data/spec/heroku/command/ps_spec.rb +6 -6
  44. data/spec/heroku/command/run_spec.rb +3 -3
  45. data/spec/heroku/command/status_spec.rb +1 -1
  46. data/spec/heroku/command_spec.rb +4 -4
  47. data/spec/heroku/plugin_spec.rb +1 -1
  48. 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 `heroku pg:credentials HEROKU_POSTGRESQL_RONIN` to view connection info"]},
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 `heroku logs --ps pgbackups` for details.
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 `heroku logs --ps pgbackups` for details.
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 `heroku logs --ps pgbackups` for details.
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 `heroku logs --ps pgbackups` for details.")
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 `heroku ps`")
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 `heroku ps`")
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
- ~ `heroku ps:dynos QTY` has been deprecated and replaced with `heroku ps:scale dynos=QTY`
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
- ~ `heroku ps:dynos QTY` has been deprecated and replaced with `heroku ps:scale dynos=QTY`
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
- ~ `heroku ps:workers QTY` has been deprecated and replaced with `heroku ps:scale workers=QTY`
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
- ~ `heroku ps:workers QTY` has been deprecated and replaced with `heroku ps:scale workers=QTY`
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 `heroku logs -p run.1` to view the output.
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: `heroku run:rake` has been deprecated. Please use `heroku run rake` instead.
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: `heroku rake` has been deprecated. Please use `heroku run rake` instead.
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
@@ -26,7 +26,7 @@ module Heroku::Command
26
26
  stderr, stdout = execute("status")
27
27
  stderr.should == ''
28
28
  stdout.should == <<-STDOUT
29
- === Heroku Status
29
+ === Pogoapp Status
30
30
  Development: red
31
31
  Production: red
32
32
 
@@ -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 `heroku status` to check for known platform issues."
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 `heroku status` to check for known platform issues."
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 `heroku help` for a list of available commands.
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 `heroku help` for a list of available commands.
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
@@ -78,7 +78,7 @@ module Heroku
78
78
  end
79
79
  stderr.should == <<-STDERR
80
80
  ! heroku_plugin is a legacy plugin installation.
81
- ! Enable updating by reinstalling with `heroku plugins:install`.
81
+ ! Enable updating by reinstalling with `pogo plugins:install`.
82
82
  STDERR
83
83
  end
84
84
 
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.2
5
- prerelease:
4
+ version: 2.39.2.3
6
5
  platform: ruby
7
6
  authors:
8
- - Heroku
7
+ - Pogoapp
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-17 00:00:00.000000000 Z
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
- post_install_message: ! " ! The `heroku` gem has been deprecated and replaced with
202
- the Heroku Toolbelt.\n ! Download and install from: https://toolbelt.heroku.com\n
203
- ! For API access, see: https://github.com/heroku/heroku.rb\n"
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: 1.8.23
208
+ rubygems_version: 2.0.3
222
209
  signing_key:
223
- specification_version: 3
210
+ specification_version: 4
224
211
  summary: Client library and CLI to deploy apps on Pogoapp.
225
212
  test_files: []
226
- has_rdoc: