platform-api 3.3.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +18 -0
- data/CHANGELOG.md +12 -0
- data/CODEOWNERS +2 -0
- data/README.md +6 -6
- data/Rakefile +2 -1
- data/lib/platform-api/client.rb +1212 -1613
- data/lib/platform-api/version.rb +1 -1
- data/schema.json +1061 -1365
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1af5f1f76825ffbdc9460cb85953237ab56777c24a5e151f0f828bbbd0bc76ea
|
4
|
+
data.tar.gz: b143b936b40dc12b0c5825ce2caa8c0500289a92409237b8790e8bdc9e89370d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1713dd8c04e817daf7b4cd0e5ba69d6f7405a8b2d4c92d4d61283ded59156d12e0a6ebff46293e48aa257e2829b85f80be2fcca4a2ef10a424bdc3ecb633b18
|
7
|
+
data.tar.gz: 9b2517360fa97fa69b52b68b6d64bd92c10d4409bb551ec6dae6cb8798aab80bfa087b7c1e090d5116623061e4a53e083b2fcd85dc85da8e28444cd065503d93
|
data/.circleci/config.yml
CHANGED
@@ -63,6 +63,22 @@ jobs:
|
|
63
63
|
- <<: *bundle
|
64
64
|
- <<: *hatchet_setup
|
65
65
|
- <<: *unit
|
66
|
+
"ruby-3.0":
|
67
|
+
docker:
|
68
|
+
- image: circleci/ruby:3.0
|
69
|
+
steps:
|
70
|
+
- checkout
|
71
|
+
- <<: *bundle
|
72
|
+
- <<: *hatchet_setup
|
73
|
+
- <<: *unit
|
74
|
+
"ruby-3.1":
|
75
|
+
docker:
|
76
|
+
- image: circleci/ruby:3.1
|
77
|
+
steps:
|
78
|
+
- checkout
|
79
|
+
- <<: *bundle
|
80
|
+
- <<: *hatchet_setup
|
81
|
+
- <<: *unit
|
66
82
|
|
67
83
|
workflows:
|
68
84
|
version: 2
|
@@ -74,3 +90,5 @@ workflows:
|
|
74
90
|
- "ruby-2.5"
|
75
91
|
- "ruby-2.6"
|
76
92
|
- "ruby-2.7"
|
93
|
+
- "ruby-3.0"
|
94
|
+
- "ruby-3.1"
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
## Master (unreleased)
|
2
2
|
|
3
|
+
## 3.6.0
|
4
|
+
|
5
|
+
- Pull latest JSON Schema and regenerated API.
|
6
|
+
|
7
|
+
## 3.5.0
|
8
|
+
|
9
|
+
- Pull latest JSON Schema and regenerated API.
|
10
|
+
|
11
|
+
## 3.4.0
|
12
|
+
|
13
|
+
- Pull latest JSON Schema and regenerated API.
|
14
|
+
|
3
15
|
## 3.3.0
|
4
16
|
|
5
17
|
- Pull latest JSON Schema and regenerated API.
|
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
|
|
data/Rakefile
CHANGED
@@ -15,9 +15,10 @@ task :publish_docs => [:build] do
|
|
15
15
|
sh 'rake yard'
|
16
16
|
sh 'cp -R doc /tmp/platform-api-doc'
|
17
17
|
sh 'git checkout gh-pages'
|
18
|
+
sh 'rm -rf *'
|
18
19
|
sh 'cp -R /tmp/platform-api-doc/* .'
|
19
20
|
sh 'rm -rf /tmp/platform-api-doc'
|
20
|
-
sh 'git add .'
|
21
|
+
sh 'git add -A .'
|
21
22
|
sh 'git commit -am "Rebuild documentation"'
|
22
23
|
sh 'git push origin gh-pages'
|
23
24
|
sh 'git checkout master'
|