platform-api 3.7.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4df90c15a3a7108112d47c4a8912f2c0cc0c133f220f9b7b18a90f5f81b8eb84
4
- data.tar.gz: 6466930cc95ffab375021eb6a3442aaf320d72cfaec9f2f8b78548c9798ffbaf
3
+ metadata.gz: 52250589350e16aa52fe43d0540f27128e092885cfb546738a094c970809ca02
4
+ data.tar.gz: 801a2ce042978af42acd27e4eb9876dda2bac633bbfc0fd4512ce07af5cc798f
5
5
  SHA512:
6
- metadata.gz: 63e2ae18a43482dc82198b1b189048820530d0ec59d17b4a9f8836b7cfe5e9e448b772bfc7f063455abc2b15c7c05a67feb8eae72bfa57dc0bb31c54e2af2d57
7
- data.tar.gz: 7787d7c3d99164a0d6737250f66b29e0fb1a755292a67c5e62da8c84452ab7bcfac1380318bc1e5ed3b4cd54c7e7bd83484134eb1accf9c6014c17b7144eb995
6
+ metadata.gz: 60b3f38af31cf1231b84a01dd0fdb5cc4499f5c54ce9c0c9d174f605fc888db6b29c2b3deecb5fd864ad23134a9482753058a46ec958459d15beb379e1dbe807
7
+ data.tar.gz: 025f9f9f5bc3f55a2bb09052ca81a8dee8fbfb4ba5a55fc71bd96a143981cbef9cc26128eb15613883abbf7064940a5448081de9d222966e609c0da23203500c
@@ -0,0 +1,31 @@
1
+ name: CI tests
2
+ on:
3
+ push:
4
+ jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ ruby: [ '3.2', '3.3', '3.4', '4.0' ]
10
+ env:
11
+ HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
12
+ HEROKU_API_USER: ${{ secrets.HEROKU_API_USER }}
13
+
14
+ name: Setup env & run tests with Ruby ${{ matrix.ruby }}
15
+ steps:
16
+ - name: Checkout repo
17
+ uses: actions/checkout@v3
18
+
19
+ - name: Setup Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby }}
23
+
24
+ - name: "Set bundler path"
25
+ run: bundle config set path 'vendor/bundle'
26
+ - name: "Install dependencies"
27
+ run: bundle install --jobs=4 --retry=3
28
+ - name: "Hatchet setup"
29
+ run: bundle exec hatchet ci:setup
30
+ - name: "Run tests"
31
+ run: bundle exec rspec
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
- ## Master (unreleased)
1
+ ## Main (unreleased)
2
2
 
3
- ## 3.6.0
3
+ ## 3.9.0
4
+
5
+ - Pull latest JSON Schema and regenerated API.
6
+
7
+ ## 3.8.0
8
+
9
+ - Pull latest JSON Schema and regenerated API.
10
+
11
+ ## 3.7.0
4
12
 
5
13
  - Pull latest JSON Schema and regenerated API.
6
14
 
data/README.md CHANGED
@@ -26,7 +26,7 @@ gem install platform-api
26
26
 
27
27
  ## API documentation
28
28
 
29
- Jump right to the [API documentation](http://heroku.github.io/platform-api/_index.html)
29
+ Jump right to the [API documentation](https://www.rubydoc.info/gems/platform-api)
30
30
  for the nitty gritty details.
31
31
 
32
32
  ## Usage guide
@@ -51,7 +51,7 @@ For example, to get information about the `web` formation on the `sushi` app
51
51
  you'd invoke `heroku.formation.info('sushi', 'web')` and it would return a
52
52
  Ruby object that matches the one given in the [response example](https://devcenter.heroku.com/articles/platform-api-reference#formation-info).
53
53
 
54
- The [API documentation](http://heroku.github.io/platform-api/_index.html) contains a
54
+ The [API documentation](https://www.rubydoc.info/gems/platform-api) contains a
55
55
  description of all available resources and methods.
56
56
 
57
57
  ### Handling errors
@@ -217,7 +217,7 @@ $ heroku labs:enable websockets
217
217
  $ heroku addons:add openredis:micro # $10/month
218
218
  Adding openredis:micro on floating-retreat-4255... done, v10 ($10/mo)
219
219
  Use `heroku addons:docs openredis` to view documentation.
220
- $ git push heroku master
220
+ $ git push heroku main
221
221
  Initializing repository, done.
222
222
  Counting objects: 489, done.
223
223
  Delta compression using up to 4 threads.
@@ -370,23 +370,6 @@ Remember to commit and push the changes to Github.
370
370
  * `git commit -m 'vX.Y.Z' to stage the version and Gemfile.lock changes
371
371
  * `rake release` to push git changes and to release to Rubygems
372
372
 
373
- ### Building API documentation
374
-
375
- Build documentation with:
376
-
377
- ```
378
- rake yard
379
- ```
380
-
381
- And then visit `doc/index.html` to read it. Alternately, build and publish
382
- it to Github Pages in one step with:
383
-
384
- ```
385
- rake publish_docs
386
- ```
387
-
388
- You can see it live on [Github Pages](http://heroku.github.io/platform-api/).
389
-
390
373
  ## Contributing
391
374
 
392
375
  1. [Fork the repository](https://github.com/heroku/platform-api/fork).
@@ -404,7 +387,7 @@ $ git clone https://github.com/heroku/ruby-getting-started.git
404
387
  $ cd ruby-getting-started/
405
388
  $ heroku create <memorable-name-here>
406
389
  $ heroku webhooks:add -i api:dyno -l notify -u https://example.com/hooks
407
- $ git push heroku master
390
+ $ git push heroku main
408
391
  ```
409
392
 
410
393
  Now you can specify your app name while you run tests:
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ task :publish_docs => [:build] do
21
21
  sh 'git add -A .'
22
22
  sh 'git commit -am "Rebuild documentation"'
23
23
  sh 'git push origin gh-pages'
24
- sh 'git checkout master'
24
+ sh 'git checkout main'
25
25
  end
26
26
 
27
27
  # After releasing publish the docs