platform-api 3.9.0 → 3.9.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Rakefile +5 -1
- data/lib/platform-api/client.rb +1891 -14
- data/lib/platform-api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 729061eedce3c85e42d36edc8727e2635dc42a437e6dab1fe572a9314589a3fe
|
|
4
|
+
data.tar.gz: be2319e97c9520d86e5e88d4bd1b515cd3bb71370f55d7e905896e4df6bb9297
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 815ffb6677b221ea337c0eac3e2c458ac2cc0cf5bdf4e84d75883a84186cc44a2b203bb676274fc52df7d754eef1270ae89b3bdf2a73e3b29d7e2477e85889f4
|
|
7
|
+
data.tar.gz: 83fdf958909fa7f0aa7d9dc81ce2dd3cf251fb220f0c9aa7e7016cffdbc28222b5d0ddb0e61258fd183062bb96ca8154cea23ddb077e96efbda84a55a3cb01a5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
## Main (unreleased)
|
|
2
2
|
|
|
3
|
+
## 3.9.1
|
|
4
|
+
|
|
5
|
+
- Fix `NameError: uninitialized constant PlatformAPI::MultiJson` caused by heroics 0.1.4 dropping its multi_json dependency. Uses `JSON.parse` from the standard library instead. (#152)
|
|
6
|
+
|
|
3
7
|
## 3.9.0
|
|
4
8
|
|
|
5
9
|
- Pull latest JSON Schema and regenerated API.
|
data/Rakefile
CHANGED
|
@@ -6,8 +6,12 @@ YARD::Rake::YardocTask.new
|
|
|
6
6
|
|
|
7
7
|
desc 'Download the latest schema and build a new client'
|
|
8
8
|
task :build do
|
|
9
|
+
path = "lib/platform-api/client.rb"
|
|
9
10
|
sh 'curl -o schema.json -H "Accept: application/vnd.heroku+json; version=3" https://api.heroku.com/schema'
|
|
10
|
-
sh
|
|
11
|
+
sh "bundle exec heroics-generate ./config/client-config.rb > #{path}"
|
|
12
|
+
|
|
13
|
+
# Strip trailing whitespace (heroics ERB emits it after dropping erubis)
|
|
14
|
+
File.write(path, File.read(path).gsub(/[ \t]+$/, ''))
|
|
11
15
|
end
|
|
12
16
|
|
|
13
17
|
desc 'Publish API documentation'
|