platform-api 3.8.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.
@@ -1,3 +1,3 @@
1
1
  module PlatformAPI
2
- VERSION = '3.8.0'
2
+ VERSION = '3.9.1'
3
3
  end
data/schema.json CHANGED
@@ -738,6 +738,21 @@
738
738
  "string"
739
739
  ]
740
740
  },
741
+ "namespace_config": {
742
+ "description": "attachment namespace config, used to specify namespace via key-value pairs",
743
+ "example": {
744
+ "cred": "analyst"
745
+ },
746
+ "type": [
747
+ "null",
748
+ "object"
749
+ ],
750
+ "additionalProperties": {
751
+ "type": [
752
+ "string"
753
+ ]
754
+ }
755
+ },
741
756
  "updated_at": {
742
757
  "description": "when add-on attachment was updated",
743
758
  "example": "2012-01-01T12:00:00Z",
@@ -789,6 +804,9 @@
789
804
  },
790
805
  "namespace": {
791
806
  "$ref": "#/definitions/add-on-attachment/definitions/namespace"
807
+ },
808
+ "namespace_config": {
809
+ "$ref": "#/definitions/add-on-attachment/definitions/namespace_config"
792
810
  }
793
811
  },
794
812
  "required": [
@@ -1881,46 +1899,52 @@
1881
1899
  },
1882
1900
  "addon_service": {
1883
1901
  "description": "identity of add-on service",
1884
- "anyOf": [
1885
- {
1886
- "properties": {
1887
- "id": {
1888
- "$ref": "#/definitions/add-on-service/definitions/id"
1889
- },
1890
- "name": {
1891
- "$ref": "#/definitions/add-on-service/definitions/name"
1892
- }
1902
+ "identity": {
1903
+ "anyOf": [
1904
+ {
1905
+ "$ref": "#/definitions/add-on-service/definitions/id"
1893
1906
  },
1894
- "strictProperties": true,
1895
- "type": [
1896
- "object"
1897
- ]
1907
+ {
1908
+ "$ref": "#/definitions/add-on-service/definitions/name"
1909
+ }
1910
+ ]
1911
+ },
1912
+ "properties": {
1913
+ "id": {
1914
+ "$ref": "#/definitions/add-on-service/definitions/id"
1898
1915
  },
1899
- {
1900
- "$ref": "#/definitions/add-on-service"
1916
+ "name": {
1917
+ "$ref": "#/definitions/add-on-service/definitions/name"
1901
1918
  }
1919
+ },
1920
+ "strictProperties": true,
1921
+ "type": [
1922
+ "object"
1902
1923
  ]
1903
1924
  },
1904
1925
  "plan": {
1905
1926
  "description": "identity of add-on plan",
1906
- "anyOf": [
1907
- {
1908
- "properties": {
1909
- "id": {
1910
- "$ref": "#/definitions/plan/definitions/id"
1911
- },
1912
- "name": {
1913
- "$ref": "#/definitions/plan/definitions/name"
1914
- }
1927
+ "identity": {
1928
+ "anyOf": [
1929
+ {
1930
+ "$ref": "#/definitions/plan/definitions/id"
1915
1931
  },
1916
- "strictProperties": true,
1917
- "type": [
1918
- "object"
1919
- ]
1932
+ {
1933
+ "$ref": "#/definitions/plan/definitions/name"
1934
+ }
1935
+ ]
1936
+ },
1937
+ "properties": {
1938
+ "id": {
1939
+ "$ref": "#/definitions/plan/definitions/id"
1920
1940
  },
1921
- {
1922
- "$ref": "#/definitions/plan"
1941
+ "name": {
1942
+ "$ref": "#/definitions/plan/definitions/name"
1923
1943
  }
1944
+ },
1945
+ "strictProperties": true,
1946
+ "type": [
1947
+ "object"
1924
1948
  ]
1925
1949
  },
1926
1950
  "provision_message": {
@@ -4643,6 +4667,14 @@
4643
4667
  "string"
4644
4668
  ]
4645
4669
  },
4670
+ "generation": {
4671
+ "description": "generation of build",
4672
+ "example": "cedar",
4673
+ "readOnly": true,
4674
+ "type": [
4675
+ "string"
4676
+ ]
4677
+ },
4646
4678
  "id": {
4647
4679
  "description": "unique identifier of build",
4648
4680
  "example": "01234567-89ab-cdef-0123-456789abcdef",
@@ -4861,6 +4893,9 @@
4861
4893
  "created_at": {
4862
4894
  "$ref": "#/definitions/build/definitions/created_at"
4863
4895
  },
4896
+ "generation": {
4897
+ "$ref": "#/definitions/build/definitions/generation"
4898
+ },
4864
4899
  "id": {
4865
4900
  "$ref": "#/definitions/build/definitions/id"
4866
4901
  },
@@ -7038,6 +7073,14 @@
7038
7073
  "type": [
7039
7074
  "boolean"
7040
7075
  ]
7076
+ },
7077
+ "partner_benefits": {
7078
+ "description": "whether the enterprise account is part of the Salesforce Partner Program",
7079
+ "example": false,
7080
+ "readOnly": true,
7081
+ "type": [
7082
+ "boolean"
7083
+ ]
7041
7084
  }
7042
7085
  },
7043
7086
  "links": [
@@ -7105,6 +7148,9 @@
7105
7148
  "trial": {
7106
7149
  "$ref": "#/definitions/enterprise-account/definitions/trial"
7107
7150
  },
7151
+ "partner_benefits": {
7152
+ "$ref": "#/definitions/enterprise-account/definitions/partner_benefits"
7153
+ },
7108
7154
  "identity_provider": {
7109
7155
  "$ref": "#/definitions/enterprise-account/definitions/identity_provider"
7110
7156
  }
@@ -7206,18 +7252,16 @@
7206
7252
  "example": {
7207
7253
  "id": "01234567-89ab-cdef-0123-456789abcdef"
7208
7254
  },
7209
- "oneOf": [
7210
- {
7211
- "required": [
7212
- "id"
7213
- ]
7214
- },
7215
- {
7216
- "required": [
7217
- "name"
7218
- ]
7219
- }
7220
- ],
7255
+ "identity": {
7256
+ "anyOf": [
7257
+ {
7258
+ "$ref": "#/definitions/dyno_size/definitions/id"
7259
+ },
7260
+ {
7261
+ "$ref": "#/definitions/dyno_size/definitions/name"
7262
+ }
7263
+ ]
7264
+ },
7221
7265
  "properties": {
7222
7266
  "id": {
7223
7267
  "description": "unique identifier of the dyno size",
@@ -7238,9 +7282,6 @@
7238
7282
  }
7239
7283
  },
7240
7284
  "readOnly": false,
7241
- "required": [
7242
- "id"
7243
- ],
7244
7285
  "type": [
7245
7286
  "object"
7246
7287
  ]
@@ -9883,6 +9924,16 @@
9883
9924
  "type": [
9884
9925
  "string"
9885
9926
  ]
9927
+ },
9928
+ "deleted_at": {
9929
+ "description": "when OCI image was deleted",
9930
+ "example": "2012-01-01T12:00:00Z",
9931
+ "format": "date-time",
9932
+ "readOnly": true,
9933
+ "type": [
9934
+ "string",
9935
+ "null"
9936
+ ]
9886
9937
  }
9887
9938
  },
9888
9939
  "links": [
@@ -9996,6 +10047,9 @@
9996
10047
  },
9997
10048
  "architecture": {
9998
10049
  "$ref": "#/definitions/oci-image/definitions/architecture"
10050
+ },
10051
+ "deleted_at": {
10052
+ "$ref": "#/definitions/oci-image/definitions/deleted_at"
9999
10053
  }
10000
10054
  }
10001
10055
  },
@@ -11271,6 +11325,18 @@
11271
11325
  "type": [
11272
11326
  "object"
11273
11327
  ]
11328
+ },
11329
+ "release": {
11330
+ "description": "the specific release to promote from (optional, defaults to current release)",
11331
+ "properties": {
11332
+ "id": {
11333
+ "$ref": "#/definitions/release/definitions/id"
11334
+ }
11335
+ },
11336
+ "strictProperties": true,
11337
+ "type": [
11338
+ "object"
11339
+ ]
11274
11340
  }
11275
11341
  },
11276
11342
  "type": [
@@ -12459,7 +12525,8 @@
12459
12525
  "enum": [
12460
12526
  "failed",
12461
12527
  "pending",
12462
- "succeeded"
12528
+ "succeeded",
12529
+ "expired"
12463
12530
  ],
12464
12531
  "example": "succeeded",
12465
12532
  "readOnly": true,
@@ -13426,6 +13493,16 @@
13426
13493
  "type": [
13427
13494
  "string"
13428
13495
  ]
13496
+ },
13497
+ "deleted_at": {
13498
+ "description": "when slug was deleted",
13499
+ "example": "2012-01-01T12:00:00Z",
13500
+ "format": "date-time",
13501
+ "readOnly": true,
13502
+ "type": [
13503
+ "string",
13504
+ "null"
13505
+ ]
13429
13506
  }
13430
13507
  },
13431
13508
  "links": [
@@ -13556,6 +13633,9 @@
13556
13633
  },
13557
13634
  "updated_at": {
13558
13635
  "$ref": "#/definitions/slug/definitions/updated_at"
13636
+ },
13637
+ "deleted_at": {
13638
+ "$ref": "#/definitions/slug/definitions/deleted_at"
13559
13639
  }
13560
13640
  }
13561
13641
  },
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platform-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.0
4
+ version: 3.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jkakar
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-11 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler
@@ -170,8 +170,8 @@ executables: []
170
170
  extensions: []
171
171
  extra_rdoc_files: []
172
172
  files:
173
- - ".circleci/config.yml"
174
173
  - ".github/workflows/check_changelog.yml"
174
+ - ".github/workflows/rspec.yml"
175
175
  - ".gitignore"
176
176
  - ".rspec"
177
177
  - ".yardopts"
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.6.5
213
+ rubygems_version: 3.6.9
214
214
  specification_version: 4
215
215
  summary: Ruby HTTP client for the Heroku API.
216
216
  test_files: []
data/.circleci/config.yml DELETED
@@ -1,94 +0,0 @@
1
- version: 2
2
- references:
3
- unit: &unit
4
- run:
5
- name: Run test suite
6
- command: bundle exec rspec ./spec
7
- hatchet_setup: &hatchet_setup
8
- run:
9
- name: Hatchet setup
10
- command: |
11
- bundle exec hatchet ci:setup
12
- bundle: &bundle
13
- run:
14
- name: install dependencies
15
- command: |
16
- bundle install --jobs=4 --retry=3 --path vendor/bundle
17
- jobs:
18
- "ruby-2.2":
19
- docker:
20
- - image: circleci/ruby:2.2
21
- steps:
22
- - checkout
23
- - <<: *bundle
24
- - <<: *hatchet_setup
25
- - <<: *unit
26
- "ruby-2.3":
27
- docker:
28
- - image: circleci/ruby:2.3
29
- steps:
30
- - checkout
31
- - <<: *bundle
32
- - <<: *hatchet_setup
33
- - <<: *unit
34
- "ruby-2.4":
35
- docker:
36
- - image: circleci/ruby:2.4
37
- steps:
38
- - checkout
39
- - <<: *bundle
40
- - <<: *hatchet_setup
41
- - <<: *unit
42
- "ruby-2.5":
43
- docker:
44
- - image: circleci/ruby:2.5
45
- steps:
46
- - checkout
47
- - <<: *bundle
48
- - <<: *hatchet_setup
49
- - <<: *unit
50
- "ruby-2.6":
51
- docker:
52
- - image: circleci/ruby:2.6
53
- steps:
54
- - checkout
55
- - <<: *bundle
56
- - <<: *hatchet_setup
57
- - <<: *unit
58
- "ruby-2.7":
59
- docker:
60
- - image: circleci/ruby:2.7
61
- steps:
62
- - checkout
63
- - <<: *bundle
64
- - <<: *hatchet_setup
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
82
-
83
- workflows:
84
- version: 2
85
- build:
86
- jobs:
87
- - "ruby-2.2"
88
- - "ruby-2.3"
89
- - "ruby-2.4"
90
- - "ruby-2.5"
91
- - "ruby-2.6"
92
- - "ruby-2.7"
93
- - "ruby-3.0"
94
- - "ruby-3.1"