platform-api 3.3.0 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/CODEOWNERS +2 -0
- data/README.md +6 -6
- data/lib/platform-api/client.rb +1151 -1666
- data/lib/platform-api/version.rb +1 -1
- data/schema.json +837 -1261
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1383efaefd3565fdcbee73f42d9dbb2149d83d57a267a5370339c747b48bf117
|
4
|
+
data.tar.gz: 7ce7b087648836e4c4d45168f58aaa84c775ae23a94544833f483aa1288b7370
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 421275c5af1466282481910d4b83b4e92ec75d1e4888b652db0de76dd8aec0f26ffaf7c12176adafe4cf03e0a4e6b748fad9975efd0432f136bbbc77301d8f3e
|
7
|
+
data.tar.gz: bff00809ee73304d3b144aef3b966333c3ee57c118b32f200a26cb8f0c6504de72f99259d470c13cd55265a8db7f82ace091de203edb103d68deace172e6ab5d
|
data/CHANGELOG.md
CHANGED
data/CODEOWNERS
ADDED
data/README.md
CHANGED
@@ -159,7 +159,7 @@ heroku.app.info('floating-retreat-4255')
|
|
159
159
|
Let's add a Heroku PostgreSQL database to our app now:
|
160
160
|
|
161
161
|
```ruby
|
162
|
-
heroku.addon.create('floating-retreat-4255', {'plan' => 'heroku-postgresql:dev'})
|
162
|
+
heroku.addon.create('floating-retreat-4255', {'plan' => 'heroku-postgresql:hobby-dev'})
|
163
163
|
=> {"config_vars"=>["HEROKU_POSTGRESQL_COBALT_URL"],
|
164
164
|
"created_at"=>"2014-03-13T00:28:55Z",
|
165
165
|
"id"=>"79a0c826-06be-4dcd-8bb5-f2c1b1bc2beb",
|
@@ -236,7 +236,7 @@ heroku.formation.list('floating-retreat-4255')
|
|
236
236
|
"id"=>"f682b260-8089-4e18-b792-688cc02bf923",
|
237
237
|
"type"=>"web",
|
238
238
|
"quantity"=>1,
|
239
|
-
"size"=>"1X",
|
239
|
+
"size"=>"Standard-1X",
|
240
240
|
"updated_at"=>"2014-03-13T04:13:37Z"}]
|
241
241
|
```
|
242
242
|
|
@@ -246,13 +246,13 @@ Let's change `web` process to run on a 2X dyno:
|
|
246
246
|
heroku.formation.batch_update('floating-retreat-4255',
|
247
247
|
{"updates" => [{"process" => "web",
|
248
248
|
"quantity" => 1,
|
249
|
-
"size" => "2X"}]})
|
249
|
+
"size" => "Standard-2X"}]})
|
250
250
|
=> [{"command"=>"coffee index.coffee",
|
251
251
|
"created_at"=>"2014-03-13T04:13:37Z",
|
252
252
|
"id"=>"f682b260-8089-4e18-b792-688cc02bf923",
|
253
253
|
"type"=>"web",
|
254
254
|
"quantity"=>1,
|
255
|
-
"size"=>"2X",
|
255
|
+
"size"=>"Standard-2X",
|
256
256
|
"updated_at"=>"2014-03-13T04:22:15Z"}]
|
257
257
|
```
|
258
258
|
|
@@ -261,13 +261,13 @@ command. We can use the singular update action to modify a single formation
|
|
261
261
|
type:
|
262
262
|
|
263
263
|
```ruby
|
264
|
-
heroku.formation.update('floating-retreat-4255', 'web', {"size" => "1X"})
|
264
|
+
heroku.formation.update('floating-retreat-4255', 'web', {"size" => "Standard-1X"})
|
265
265
|
=> {"command"=>"coffee index.coffee",
|
266
266
|
"created_at"=>"2014-03-13T04:13:37Z",
|
267
267
|
"id"=>"f682b260-8089-4e18-b792-688cc02bf923",
|
268
268
|
"type"=>"web",
|
269
269
|
"quantity"=>1,
|
270
|
-
"size"=>"1X",
|
270
|
+
"size"=>"Standard-1X",
|
271
271
|
"updated_at"=>"2014-03-13T04:24:46Z"}
|
272
272
|
```
|
273
273
|
|