app_store_connect 0.32.0 → 0.34.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 +4 -4
- data/.github/workflows/default.yml +3 -3
- data/CHANGELOG.md +387 -0
- data/Gemfile.lock +57 -1
- data/README.md +39 -10
- data/app_store_connect.gemspec +1 -0
- data/assets/banner.png +0 -0
- data/bin/console +15 -0
- data/lib/app_store_connect/requests/v2/in_app_purchase/create.rb +26 -0
- data/lib/app_store_connect/requests/v2/in_app_purchase/update.rb +25 -0
- data/lib/app_store_connect/version.rb +1 -1
- data/lib/app_store_connect.rb +2 -0
- data/lib/config/schema.json +53 -3
- data/lib/tasks/bundle.rake +7 -0
- data/lib/tasks/changelog.rake +17 -0
- data/lib/tasks/git.rake +11 -0
- data/lib/tasks/push.rake +18 -0
- data/lib/tasks/release.rake +9 -13
- data/lib/tasks/version.rake +4 -1
- metadata +26 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 647af433d8af65ffbbe9b8d07a2c2cd873c1b22ef0507947a80219dc4d94eae8
|
|
4
|
+
data.tar.gz: ac13c8a0495d285593dc68740f574a93d564e9c07871b3885bef606f625e2d69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ade22769a919c328da5adbc9dc8b1ea66450750f875befdbbb8564758b39ed0aa3bcbb84d9e39a7d8be5e457e8f0c37292485765b5a2ba172ae933319b90e100
|
|
7
|
+
data.tar.gz: 922079b3831956f829613761afa8381dc56ca625e1cf123bf192882570f37f4cdd08cc439df698083314f220f319afb99c84f0a0003c93302512a61ce80258a8
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: CI/CD
|
|
3
3
|
|
|
4
4
|
on:
|
|
5
5
|
push:
|
|
@@ -134,10 +134,10 @@ jobs:
|
|
|
134
134
|
path: /tmp
|
|
135
135
|
- run: mv /tmp/app_store_connect-${{ env.APP_STORE_CONNECT_VERSION }}.gem .
|
|
136
136
|
- name: Push Gem to Rubygems
|
|
137
|
-
run: bundle exec rake
|
|
137
|
+
run: bundle exec rake push[rubygems]
|
|
138
138
|
continue-on-error: true
|
|
139
139
|
- name: Push Gem to Github Package Registry
|
|
140
|
-
run: bundle exec rake
|
|
140
|
+
run: bundle exec rake push[github]
|
|
141
141
|
continue-on-error: true
|
|
142
142
|
- name: Create Release
|
|
143
143
|
id: create_release
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [v0.34.0](https://github.com/kyledecot/app_store_connect/tree/v0.34.0) (2023-02-08)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.33.0...v0.34.0)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Readme [\#132](https://github.com/kyledecot/app_store_connect/pull/132) ([kyledecot](https://github.com/kyledecot))
|
|
10
|
+
|
|
11
|
+
## [v0.33.0](https://github.com/kyledecot/app_store_connect/tree/v0.33.0) (2023-02-07)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.32.0...v0.33.0)
|
|
14
|
+
|
|
15
|
+
**Merged pull requests:**
|
|
16
|
+
|
|
17
|
+
- Manage in app purchases [\#131](https://github.com/kyledecot/app_store_connect/pull/131) ([gregg-platogo](https://github.com/gregg-platogo))
|
|
18
|
+
|
|
19
|
+
## [v0.32.0](https://github.com/kyledecot/app_store_connect/tree/v0.32.0) (2023-02-02)
|
|
20
|
+
|
|
21
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.31.0...v0.32.0)
|
|
22
|
+
|
|
23
|
+
## [v0.31.0](https://github.com/kyledecot/app_store_connect/tree/v0.31.0) (2023-02-02)
|
|
24
|
+
|
|
25
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.30.0...v0.31.0)
|
|
26
|
+
|
|
27
|
+
**Merged pull requests:**
|
|
28
|
+
|
|
29
|
+
- Bump activesupport from 7.0.4 to 7.0.4.2 [\#130](https://github.com/kyledecot/app_store_connect/pull/130) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
30
|
+
- Add `create_beta_build_localization` & `modify_beta_build_localization` support [\#106](https://github.com/kyledecot/app_store_connect/pull/106) ([RishatShamsutdinov](https://github.com/RishatShamsutdinov))
|
|
31
|
+
|
|
32
|
+
## [v0.30.0](https://github.com/kyledecot/app_store_connect/tree/v0.30.0) (2023-02-02)
|
|
33
|
+
|
|
34
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.29.0...v0.30.0)
|
|
35
|
+
|
|
36
|
+
**Merged pull requests:**
|
|
37
|
+
|
|
38
|
+
- Support Ruby versions 3.x [\#129](https://github.com/kyledecot/app_store_connect/pull/129) ([tmarkanov](https://github.com/tmarkanov))
|
|
39
|
+
- Remove max version limit for jwt dependency [\#127](https://github.com/kyledecot/app_store_connect/pull/127) ([darbyfrey](https://github.com/darbyfrey))
|
|
40
|
+
- Fix bug where manual app release failed because of missing required class [\#126](https://github.com/kyledecot/app_store_connect/pull/126) ([zormandi](https://github.com/zormandi))
|
|
41
|
+
|
|
42
|
+
## [v0.29.0](https://github.com/kyledecot/app_store_connect/tree/v0.29.0) (2022-11-17)
|
|
43
|
+
|
|
44
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.28.0...v0.29.0)
|
|
45
|
+
|
|
46
|
+
**Merged pull requests:**
|
|
47
|
+
|
|
48
|
+
- Add new endpoint for creating App Store Version Release Requests [\#125](https://github.com/kyledecot/app_store_connect/pull/125) ([zormandi](https://github.com/zormandi))
|
|
49
|
+
- Create FUNDING.yml [\#124](https://github.com/kyledecot/app_store_connect/pull/124) ([kyledecot](https://github.com/kyledecot))
|
|
50
|
+
|
|
51
|
+
## [v0.28.0](https://github.com/kyledecot/app_store_connect/tree/v0.28.0) (2022-10-28)
|
|
52
|
+
|
|
53
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.27.0...v0.28.0)
|
|
54
|
+
|
|
55
|
+
**Closed issues:**
|
|
56
|
+
|
|
57
|
+
- Can we remove tracking? [\#121](https://github.com/kyledecot/app_store_connect/issues/121)
|
|
58
|
+
- How does use it? [\#119](https://github.com/kyledecot/app_store_connect/issues/119)
|
|
59
|
+
|
|
60
|
+
**Merged pull requests:**
|
|
61
|
+
|
|
62
|
+
- Add new endpoints and remove MixPanel [\#123](https://github.com/kyledecot/app_store_connect/pull/123) ([zormandi](https://github.com/zormandi))
|
|
63
|
+
- Update README.md [\#120](https://github.com/kyledecot/app_store_connect/pull/120) ([RbBtSn0w](https://github.com/RbBtSn0w))
|
|
64
|
+
|
|
65
|
+
## [v0.27.0](https://github.com/kyledecot/app_store_connect/tree/v0.27.0) (2022-09-30)
|
|
66
|
+
|
|
67
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.26.0...v0.27.0)
|
|
68
|
+
|
|
69
|
+
**Merged pull requests:**
|
|
70
|
+
|
|
71
|
+
- Add new endpoints [\#118](https://github.com/kyledecot/app_store_connect/pull/118) ([zormandi](https://github.com/zormandi))
|
|
72
|
+
|
|
73
|
+
## [v0.26.0](https://github.com/kyledecot/app_store_connect/tree/v0.26.0) (2022-09-28)
|
|
74
|
+
|
|
75
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.25.0...v0.26.0)
|
|
76
|
+
|
|
77
|
+
**Closed issues:**
|
|
78
|
+
|
|
79
|
+
- Ruby 2.7 compatibility [\#111](https://github.com/kyledecot/app_store_connect/issues/111)
|
|
80
|
+
|
|
81
|
+
**Merged pull requests:**
|
|
82
|
+
|
|
83
|
+
- Use Ruby 2.7 in GHA [\#117](https://github.com/kyledecot/app_store_connect/pull/117) ([kyledecot](https://github.com/kyledecot))
|
|
84
|
+
- Bring back Ruby 2.7 compatibility [\#116](https://github.com/kyledecot/app_store_connect/pull/116) ([zormandi](https://github.com/zormandi))
|
|
85
|
+
- Updates for Ruby 3 [\#110](https://github.com/kyledecot/app_store_connect/pull/110) ([kyledecot](https://github.com/kyledecot))
|
|
86
|
+
- Bump jwt version to 2.5.0 [\#109](https://github.com/kyledecot/app_store_connect/pull/109) ([bejczib](https://github.com/bejczib))
|
|
87
|
+
|
|
88
|
+
## [v0.25.0](https://github.com/kyledecot/app_store_connect/tree/v0.25.0) (2022-06-25)
|
|
89
|
+
|
|
90
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.23.0...v0.25.0)
|
|
91
|
+
|
|
92
|
+
**Merged pull requests:**
|
|
93
|
+
|
|
94
|
+
- Bump addressable from 2.6.0 to 2.8.0 [\#103](https://github.com/kyledecot/app_store_connect/pull/103) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
95
|
+
- Add `create_bundle_id` & `create_bundle_id_capability` support [\#101](https://github.com/kyledecot/app_store_connect/pull/101) ([pranav-g10](https://github.com/pranav-g10))
|
|
96
|
+
- Bump json from 2.2.0 to 2.3.1 [\#99](https://github.com/kyledecot/app_store_connect/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
97
|
+
|
|
98
|
+
## [v0.23.0](https://github.com/kyledecot/app_store_connect/tree/v0.23.0) (2020-06-16)
|
|
99
|
+
|
|
100
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.22.0...v0.23.0)
|
|
101
|
+
|
|
102
|
+
## [v0.22.0](https://github.com/kyledecot/app_store_connect/tree/v0.22.0) (2020-06-16)
|
|
103
|
+
|
|
104
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.21.0...v0.22.0)
|
|
105
|
+
|
|
106
|
+
**Merged pull requests:**
|
|
107
|
+
|
|
108
|
+
- Refactor Workflows [\#98](https://github.com/kyledecot/app_store_connect/pull/98) ([kyledecot](https://github.com/kyledecot))
|
|
109
|
+
|
|
110
|
+
## [v0.21.0](https://github.com/kyledecot/app_store_connect/tree/v0.21.0) (2020-06-16)
|
|
111
|
+
|
|
112
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.20.0...v0.21.0)
|
|
113
|
+
|
|
114
|
+
**Closed issues:**
|
|
115
|
+
|
|
116
|
+
- require 'app\_store\_connect' is not working [\#96](https://github.com/kyledecot/app_store_connect/issues/96)
|
|
117
|
+
|
|
118
|
+
**Merged pull requests:**
|
|
119
|
+
|
|
120
|
+
- Require ActiveSupport \>= 6.0.3.1 [\#97](https://github.com/kyledecot/app_store_connect/pull/97) ([kyledecot](https://github.com/kyledecot))
|
|
121
|
+
- Bump activesupport from 5.2.3 to 6.0.3.1 [\#95](https://github.com/kyledecot/app_store_connect/pull/95) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
122
|
+
|
|
123
|
+
## [v0.20.0](https://github.com/kyledecot/app_store_connect/tree/v0.20.0) (2020-02-17)
|
|
124
|
+
|
|
125
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.19.0...v0.20.0)
|
|
126
|
+
|
|
127
|
+
**Merged pull requests:**
|
|
128
|
+
|
|
129
|
+
- add support for parsing gzip responses [\#93](https://github.com/kyledecot/app_store_connect/pull/93) ([addbrick](https://github.com/addbrick))
|
|
130
|
+
|
|
131
|
+
## [v0.19.0](https://github.com/kyledecot/app_store_connect/tree/v0.19.0) (2019-10-26)
|
|
132
|
+
|
|
133
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.18.0...v0.19.0)
|
|
134
|
+
|
|
135
|
+
**Closed issues:**
|
|
136
|
+
|
|
137
|
+
- How do I set GET query parameters? [\#90](https://github.com/kyledecot/app_store_connect/issues/90)
|
|
138
|
+
|
|
139
|
+
**Merged pull requests:**
|
|
140
|
+
|
|
141
|
+
- Symbolize/Underscore Response [\#91](https://github.com/kyledecot/app_store_connect/pull/91) ([kyledecot](https://github.com/kyledecot))
|
|
142
|
+
- Add Client::Utils [\#88](https://github.com/kyledecot/app_store_connect/pull/88) ([kyledecot](https://github.com/kyledecot))
|
|
143
|
+
|
|
144
|
+
## [v0.18.0](https://github.com/kyledecot/app_store_connect/tree/v0.18.0) (2019-10-22)
|
|
145
|
+
|
|
146
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.17.0...v0.18.0)
|
|
147
|
+
|
|
148
|
+
**Merged pull requests:**
|
|
149
|
+
|
|
150
|
+
- Track Version [\#87](https://github.com/kyledecot/app_store_connect/pull/87) ([kyledecot](https://github.com/kyledecot))
|
|
151
|
+
- Update Rubocop [\#86](https://github.com/kyledecot/app_store_connect/pull/86) ([kyledecot](https://github.com/kyledecot))
|
|
152
|
+
|
|
153
|
+
## [v0.17.0](https://github.com/kyledecot/app_store_connect/tree/v0.17.0) (2019-10-22)
|
|
154
|
+
|
|
155
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.16.0...v0.17.0)
|
|
156
|
+
|
|
157
|
+
**Implemented enhancements:**
|
|
158
|
+
|
|
159
|
+
- Adds Script to Publish to Github Package Registry/Rubygems.org [\#81](https://github.com/kyledecot/app_store_connect/pull/81) ([kyledecot](https://github.com/kyledecot))
|
|
160
|
+
|
|
161
|
+
**Fixed bugs:**
|
|
162
|
+
|
|
163
|
+
- Fix Client Option Merging [\#85](https://github.com/kyledecot/app_store_connect/pull/85) ([kyledecot](https://github.com/kyledecot))
|
|
164
|
+
|
|
165
|
+
**Closed issues:**
|
|
166
|
+
|
|
167
|
+
- Key Not Found :schema [\#84](https://github.com/kyledecot/app_store_connect/issues/84)
|
|
168
|
+
|
|
169
|
+
**Merged pull requests:**
|
|
170
|
+
|
|
171
|
+
- Use bin/publish in Workflow [\#83](https://github.com/kyledecot/app_store_connect/pull/83) ([kyledecot](https://github.com/kyledecot))
|
|
172
|
+
- Update Workflows [\#82](https://github.com/kyledecot/app_store_connect/pull/82) ([kyledecot](https://github.com/kyledecot))
|
|
173
|
+
|
|
174
|
+
## [v0.16.0](https://github.com/kyledecot/app_store_connect/tree/v0.16.0) (2019-10-18)
|
|
175
|
+
|
|
176
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.15.0...v0.16.0)
|
|
177
|
+
|
|
178
|
+
**Fixed bugs:**
|
|
179
|
+
|
|
180
|
+
- Use send for \#define\_method [\#80](https://github.com/kyledecot/app_store_connect/pull/80) ([kyledecot](https://github.com/kyledecot))
|
|
181
|
+
|
|
182
|
+
**Closed issues:**
|
|
183
|
+
|
|
184
|
+
- require 'app\_store\_connect' failed [\#78](https://github.com/kyledecot/app_store_connect/issues/78)
|
|
185
|
+
|
|
186
|
+
## [v0.15.0](https://github.com/kyledecot/app_store_connect/tree/v0.15.0) (2019-09-25)
|
|
187
|
+
|
|
188
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.14.0...v0.15.0)
|
|
189
|
+
|
|
190
|
+
**Merged pull requests:**
|
|
191
|
+
|
|
192
|
+
- Update publish.yml [\#79](https://github.com/kyledecot/app_store_connect/pull/79) ([kyledecot](https://github.com/kyledecot))
|
|
193
|
+
|
|
194
|
+
## [v0.14.0](https://github.com/kyledecot/app_store_connect/tree/v0.14.0) (2019-09-20)
|
|
195
|
+
|
|
196
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.13.0...v0.14.0)
|
|
197
|
+
|
|
198
|
+
**Merged pull requests:**
|
|
199
|
+
|
|
200
|
+
- ActiveSupport [\#77](https://github.com/kyledecot/app_store_connect/pull/77) ([kyledecot](https://github.com/kyledecot))
|
|
201
|
+
- Add Schema::Object [\#76](https://github.com/kyledecot/app_store_connect/pull/76) ([kyledecot](https://github.com/kyledecot))
|
|
202
|
+
- Remove Rake [\#75](https://github.com/kyledecot/app_store_connect/pull/75) ([kyledecot](https://github.com/kyledecot))
|
|
203
|
+
- Extract Usage from Client [\#74](https://github.com/kyledecot/app_store_connect/pull/74) ([kyledecot](https://github.com/kyledecot))
|
|
204
|
+
|
|
205
|
+
## [v0.13.0](https://github.com/kyledecot/app_store_connect/tree/v0.13.0) (2019-09-13)
|
|
206
|
+
|
|
207
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.12.2...v0.13.0)
|
|
208
|
+
|
|
209
|
+
**Merged pull requests:**
|
|
210
|
+
|
|
211
|
+
- Remove Dynamic Type Classes [\#73](https://github.com/kyledecot/app_store_connect/pull/73) ([kyledecot](https://github.com/kyledecot))
|
|
212
|
+
- Replaces Travis CI w/ Github Actions [\#72](https://github.com/kyledecot/app_store_connect/pull/72) ([kyledecot](https://github.com/kyledecot))
|
|
213
|
+
- Renames Workflows [\#71](https://github.com/kyledecot/app_store_connect/pull/71) ([kyledecot](https://github.com/kyledecot))
|
|
214
|
+
- Add Lint Workflow [\#70](https://github.com/kyledecot/app_store_connect/pull/70) ([kyledecot](https://github.com/kyledecot))
|
|
215
|
+
- Adds Test Workflow [\#69](https://github.com/kyledecot/app_store_connect/pull/69) ([kyledecot](https://github.com/kyledecot))
|
|
216
|
+
|
|
217
|
+
## [v0.12.2](https://github.com/kyledecot/app_store_connect/tree/v0.12.2) (2019-09-04)
|
|
218
|
+
|
|
219
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.12.1...v0.12.2)
|
|
220
|
+
|
|
221
|
+
**Merged pull requests:**
|
|
222
|
+
|
|
223
|
+
- Fix Open Ended Dependencies [\#68](https://github.com/kyledecot/app_store_connect/pull/68) ([kyledecot](https://github.com/kyledecot))
|
|
224
|
+
|
|
225
|
+
## [v0.12.1](https://github.com/kyledecot/app_store_connect/tree/v0.12.1) (2019-09-04)
|
|
226
|
+
|
|
227
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.12.0...v0.12.1)
|
|
228
|
+
|
|
229
|
+
**Merged pull requests:**
|
|
230
|
+
|
|
231
|
+
- Add Action [\#58](https://github.com/kyledecot/app_store_connect/pull/58) ([kyledecot](https://github.com/kyledecot))
|
|
232
|
+
|
|
233
|
+
## [v0.12.0](https://github.com/kyledecot/app_store_connect/tree/v0.12.0) (2019-08-28)
|
|
234
|
+
|
|
235
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.11.0...v0.12.0)
|
|
236
|
+
|
|
237
|
+
**Merged pull requests:**
|
|
238
|
+
|
|
239
|
+
- Add Analytics [\#65](https://github.com/kyledecot/app_store_connect/pull/65) ([kyledecot](https://github.com/kyledecot))
|
|
240
|
+
- Add GET Endpoints [\#64](https://github.com/kyledecot/app_store_connect/pull/64) ([kyledecot](https://github.com/kyledecot))
|
|
241
|
+
- Add Remaining DELETE Endpoints [\#63](https://github.com/kyledecot/app_store_connect/pull/63) ([kyledecot](https://github.com/kyledecot))
|
|
242
|
+
- Delete User [\#62](https://github.com/kyledecot/app_store_connect/pull/62) ([kyledecot](https://github.com/kyledecot))
|
|
243
|
+
- Add Finance Reports [\#61](https://github.com/kyledecot/app_store_connect/pull/61) ([kyledecot](https://github.com/kyledecot))
|
|
244
|
+
|
|
245
|
+
## [v0.11.0](https://github.com/kyledecot/app_store_connect/tree/v0.11.0) (2019-08-23)
|
|
246
|
+
|
|
247
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.10.0...v0.11.0)
|
|
248
|
+
|
|
249
|
+
**Merged pull requests:**
|
|
250
|
+
|
|
251
|
+
- Add Sales Reports [\#60](https://github.com/kyledecot/app_store_connect/pull/60) ([kyledecot](https://github.com/kyledecot))
|
|
252
|
+
- Add CamelCase Support to Query [\#59](https://github.com/kyledecot/app_store_connect/pull/59) ([kyledecot](https://github.com/kyledecot))
|
|
253
|
+
- Refactors Client [\#57](https://github.com/kyledecot/app_store_connect/pull/57) ([kyledecot](https://github.com/kyledecot))
|
|
254
|
+
- Adds Schema::Type [\#56](https://github.com/kyledecot/app_store_connect/pull/56) ([kyledecot](https://github.com/kyledecot))
|
|
255
|
+
|
|
256
|
+
## [v0.10.0](https://github.com/kyledecot/app_store_connect/tree/v0.10.0) (2019-08-20)
|
|
257
|
+
|
|
258
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.9.0...v0.10.0)
|
|
259
|
+
|
|
260
|
+
**Merged pull requests:**
|
|
261
|
+
|
|
262
|
+
- Rename invite\_user to create\_user\_invitation [\#55](https://github.com/kyledecot/app_store_connect/pull/55) ([kyledecot](https://github.com/kyledecot))
|
|
263
|
+
- Add Certificate/Device/Profile Create [\#54](https://github.com/kyledecot/app_store_connect/pull/54) ([kyledecot](https://github.com/kyledecot))
|
|
264
|
+
- Config -\> Schema [\#53](https://github.com/kyledecot/app_store_connect/pull/53) ([kyledecot](https://github.com/kyledecot))
|
|
265
|
+
|
|
266
|
+
## [v0.9.0](https://github.com/kyledecot/app_store_connect/tree/v0.9.0) (2019-08-19)
|
|
267
|
+
|
|
268
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.8.0...v0.9.0)
|
|
269
|
+
|
|
270
|
+
**Merged pull requests:**
|
|
271
|
+
|
|
272
|
+
- Add List/Show for Devices [\#52](https://github.com/kyledecot/app_store_connect/pull/52) ([kyledecot](https://github.com/kyledecot))
|
|
273
|
+
- Add List/Delete Bundle ID Capabilities [\#51](https://github.com/kyledecot/app_store_connect/pull/51) ([kyledecot](https://github.com/kyledecot))
|
|
274
|
+
- Add DELETE support [\#50](https://github.com/kyledecot/app_store_connect/pull/50) ([kyledecot](https://github.com/kyledecot))
|
|
275
|
+
|
|
276
|
+
## [v0.8.0](https://github.com/kyledecot/app_store_connect/tree/v0.8.0) (2019-08-14)
|
|
277
|
+
|
|
278
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.7.0...v0.8.0)
|
|
279
|
+
|
|
280
|
+
**Merged pull requests:**
|
|
281
|
+
|
|
282
|
+
- Use inherited hook [\#49](https://github.com/kyledecot/app_store_connect/pull/49) ([kyledecot](https://github.com/kyledecot))
|
|
283
|
+
- Add .DS\_Store to .gitignore [\#48](https://github.com/kyledecot/app_store_connect/pull/48) ([kyledecot](https://github.com/kyledecot))
|
|
284
|
+
- Cleanup [\#47](https://github.com/kyledecot/app_store_connect/pull/47) ([kyledecot](https://github.com/kyledecot))
|
|
285
|
+
- Remove HTTParty [\#46](https://github.com/kyledecot/app_store_connect/pull/46) ([kyledecot](https://github.com/kyledecot))
|
|
286
|
+
- Use Net/HTTP for GET Requests [\#45](https://github.com/kyledecot/app_store_connect/pull/45) ([kyledecot](https://github.com/kyledecot))
|
|
287
|
+
|
|
288
|
+
## [v0.7.0](https://github.com/kyledecot/app_store_connect/tree/v0.7.0) (2019-08-13)
|
|
289
|
+
|
|
290
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.6.0...v0.7.0)
|
|
291
|
+
|
|
292
|
+
**Implemented enhancements:**
|
|
293
|
+
|
|
294
|
+
- Read ENVs [\#44](https://github.com/kyledecot/app_store_connect/pull/44) ([kyledecot](https://github.com/kyledecot))
|
|
295
|
+
|
|
296
|
+
**Merged pull requests:**
|
|
297
|
+
|
|
298
|
+
- Add WebServiceEndpoint [\#43](https://github.com/kyledecot/app_store_connect/pull/43) ([kyledecot](https://github.com/kyledecot))
|
|
299
|
+
- Dynamic Client [\#42](https://github.com/kyledecot/app_store_connect/pull/42) ([kyledecot](https://github.com/kyledecot))
|
|
300
|
+
- Add Config [\#41](https://github.com/kyledecot/app_store_connect/pull/41) ([kyledecot](https://github.com/kyledecot))
|
|
301
|
+
- Add Property Module [\#38](https://github.com/kyledecot/app_store_connect/pull/38) ([kyledecot](https://github.com/kyledecot))
|
|
302
|
+
|
|
303
|
+
## [v0.6.0](https://github.com/kyledecot/app_store_connect/tree/v0.6.0) (2019-07-06)
|
|
304
|
+
|
|
305
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.5.0...v0.6.0)
|
|
306
|
+
|
|
307
|
+
**Merged pull requests:**
|
|
308
|
+
|
|
309
|
+
- Remove CLI [\#37](https://github.com/kyledecot/app_store_connect/pull/37) ([kyledecot](https://github.com/kyledecot))
|
|
310
|
+
|
|
311
|
+
## [v0.5.0](https://github.com/kyledecot/app_store_connect/tree/v0.5.0) (2019-07-05)
|
|
312
|
+
|
|
313
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.4.0...v0.5.0)
|
|
314
|
+
|
|
315
|
+
**Merged pull requests:**
|
|
316
|
+
|
|
317
|
+
- Refactor FactoryNotRegistered [\#36](https://github.com/kyledecot/app_store_connect/pull/36) ([kyledecot](https://github.com/kyledecot))
|
|
318
|
+
- Add B Builder Concept [\#35](https://github.com/kyledecot/app_store_connect/pull/35) ([kyledecot](https://github.com/kyledecot))
|
|
319
|
+
- Add Factory spec [\#34](https://github.com/kyledecot/app_store_connect/pull/34) ([kyledecot](https://github.com/kyledecot))
|
|
320
|
+
- Add CapabilityType [\#32](https://github.com/kyledecot/app_store_connect/pull/32) ([kyledecot](https://github.com/kyledecot))
|
|
321
|
+
- Add CertificateType [\#31](https://github.com/kyledecot/app_store_connect/pull/31) ([kyledecot](https://github.com/kyledecot))
|
|
322
|
+
- Add UserRole and Shared Example [\#30](https://github.com/kyledecot/app_store_connect/pull/30) ([kyledecot](https://github.com/kyledecot))
|
|
323
|
+
- Add Config [\#29](https://github.com/kyledecot/app_store_connect/pull/29) ([kyledecot](https://github.com/kyledecot))
|
|
324
|
+
- Add Enum Type Factory [\#28](https://github.com/kyledecot/app_store_connect/pull/28) ([kyledecot](https://github.com/kyledecot))
|
|
325
|
+
- Move fixtures and factories into spec/support [\#27](https://github.com/kyledecot/app_store_connect/pull/27) ([kyledecot](https://github.com/kyledecot))
|
|
326
|
+
- Update .travis.yml [\#25](https://github.com/kyledecot/app_store_connect/pull/25) ([kyledecot](https://github.com/kyledecot))
|
|
327
|
+
- Update authorization.rb [\#24](https://github.com/kyledecot/app_store_connect/pull/24) ([kyledecot](https://github.com/kyledecot))
|
|
328
|
+
- Configures simplecov [\#23](https://github.com/kyledecot/app_store_connect/pull/23) ([kyledecot](https://github.com/kyledecot))
|
|
329
|
+
- Adds CodeClimate Test Coverage Integration Travis [\#22](https://github.com/kyledecot/app_store_connect/pull/22) ([kyledecot](https://github.com/kyledecot))
|
|
330
|
+
- Adds specs for Authorization\#token [\#21](https://github.com/kyledecot/app_store_connect/pull/21) ([kyledecot](https://github.com/kyledecot))
|
|
331
|
+
- Updates BundleIdRequest\#to\_h to conditionally include seed\_id [\#20](https://github.com/kyledecot/app_store_connect/pull/20) ([kyledecot](https://github.com/kyledecot))
|
|
332
|
+
- Adds spec for Authorization\#payload [\#19](https://github.com/kyledecot/app_store_connect/pull/19) ([kyledecot](https://github.com/kyledecot))
|
|
333
|
+
- Update issue templates [\#18](https://github.com/kyledecot/app_store_connect/pull/18) ([kyledecot](https://github.com/kyledecot))
|
|
334
|
+
- Removes sudo: false from .travis.yml [\#17](https://github.com/kyledecot/app_store_connect/pull/17) ([kyledecot](https://github.com/kyledecot))
|
|
335
|
+
- Updates .ruby-version [\#16](https://github.com/kyledecot/app_store_connect/pull/16) ([kyledecot](https://github.com/kyledecot))
|
|
336
|
+
- Uses Default Travis Settings [\#15](https://github.com/kyledecot/app_store_connect/pull/15) ([kyledecot](https://github.com/kyledecot))
|
|
337
|
+
- Adds spec for /users [\#14](https://github.com/kyledecot/app_store_connect/pull/14) ([kyledecot](https://github.com/kyledecot))
|
|
338
|
+
- Adds Webmock [\#13](https://github.com/kyledecot/app_store_connect/pull/13) ([kyledecot](https://github.com/kyledecot))
|
|
339
|
+
|
|
340
|
+
## [v0.4.0](https://github.com/kyledecot/app_store_connect/tree/v0.4.0) (2019-06-21)
|
|
341
|
+
|
|
342
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.3.2...v0.4.0)
|
|
343
|
+
|
|
344
|
+
**Merged pull requests:**
|
|
345
|
+
|
|
346
|
+
- Adds limit query param to users [\#10](https://github.com/kyledecot/app_store_connect/pull/10) ([coreycarvalho](https://github.com/coreycarvalho))
|
|
347
|
+
- Adds Guard [\#9](https://github.com/kyledecot/app_store_connect/pull/9) ([kyledecot](https://github.com/kyledecot))
|
|
348
|
+
|
|
349
|
+
## [v0.3.2](https://github.com/kyledecot/app_store_connect/tree/v0.3.2) (2019-06-21)
|
|
350
|
+
|
|
351
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.3.1...v0.3.2)
|
|
352
|
+
|
|
353
|
+
**Merged pull requests:**
|
|
354
|
+
|
|
355
|
+
- Fix error in sending user invitations [\#8](https://github.com/kyledecot/app_store_connect/pull/8) ([atareshawty](https://github.com/atareshawty))
|
|
356
|
+
|
|
357
|
+
## [v0.3.1](https://github.com/kyledecot/app_store_connect/tree/v0.3.1) (2019-06-21)
|
|
358
|
+
|
|
359
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.3.0...v0.3.1)
|
|
360
|
+
|
|
361
|
+
**Merged pull requests:**
|
|
362
|
+
|
|
363
|
+
- Adds Rubygems Description [\#7](https://github.com/kyledecot/app_store_connect/pull/7) ([kyledecot](https://github.com/kyledecot))
|
|
364
|
+
|
|
365
|
+
## [v0.3.0](https://github.com/kyledecot/app_store_connect/tree/v0.3.0) (2019-06-21)
|
|
366
|
+
|
|
367
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.2.0...v0.3.0)
|
|
368
|
+
|
|
369
|
+
**Merged pull requests:**
|
|
370
|
+
|
|
371
|
+
- Update client to take private\_key string [\#6](https://github.com/kyledecot/app_store_connect/pull/6) ([atareshawty](https://github.com/atareshawty))
|
|
372
|
+
- Adds Build Status to README.md [\#5](https://github.com/kyledecot/app_store_connect/pull/5) ([kyledecot](https://github.com/kyledecot))
|
|
373
|
+
- Adds Rubocop [\#4](https://github.com/kyledecot/app_store_connect/pull/4) ([kyledecot](https://github.com/kyledecot))
|
|
374
|
+
- Adds BundleIdCreateRequest [\#2](https://github.com/kyledecot/app_store_connect/pull/2) ([kyledecot](https://github.com/kyledecot))
|
|
375
|
+
- Adds ability to invite users [\#1](https://github.com/kyledecot/app_store_connect/pull/1) ([coreycarvalho](https://github.com/coreycarvalho))
|
|
376
|
+
|
|
377
|
+
## [v0.2.0](https://github.com/kyledecot/app_store_connect/tree/v0.2.0) (2019-06-06)
|
|
378
|
+
|
|
379
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/v0.1.0...v0.2.0)
|
|
380
|
+
|
|
381
|
+
## [v0.1.0](https://github.com/kyledecot/app_store_connect/tree/v0.1.0) (2019-03-01)
|
|
382
|
+
|
|
383
|
+
[Full Changelog](https://github.com/kyledecot/app_store_connect/compare/f462ff35c61e0d95bf987b9915df9488c68512c7...v0.1.0)
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
app_store_connect (0.
|
|
4
|
+
app_store_connect (0.34.0)
|
|
5
5
|
activesupport (>= 6.0.0)
|
|
6
6
|
jwt (>= 1.4)
|
|
7
7
|
|
|
@@ -16,16 +16,53 @@ GEM
|
|
|
16
16
|
addressable (2.8.1)
|
|
17
17
|
public_suffix (>= 2.0.2, < 6.0)
|
|
18
18
|
ast (2.4.2)
|
|
19
|
+
async (1.30.3)
|
|
20
|
+
console (~> 1.10)
|
|
21
|
+
nio4r (~> 2.3)
|
|
22
|
+
timers (~> 4.1)
|
|
23
|
+
async-http (0.60.1)
|
|
24
|
+
async (>= 1.25)
|
|
25
|
+
async-io (>= 1.28)
|
|
26
|
+
async-pool (>= 0.2)
|
|
27
|
+
protocol-http (~> 0.24.0)
|
|
28
|
+
protocol-http1 (~> 0.15.0)
|
|
29
|
+
protocol-http2 (~> 0.15.0)
|
|
30
|
+
traces (>= 0.8.0)
|
|
31
|
+
async-http-faraday (0.11.0)
|
|
32
|
+
async-http (~> 0.42)
|
|
33
|
+
faraday
|
|
34
|
+
async-io (1.34.3)
|
|
35
|
+
async
|
|
36
|
+
async-pool (0.3.12)
|
|
37
|
+
async (>= 1.25)
|
|
19
38
|
coderay (1.1.3)
|
|
20
39
|
concurrent-ruby (1.2.0)
|
|
40
|
+
console (1.16.2)
|
|
41
|
+
fiber-local
|
|
21
42
|
crack (0.4.5)
|
|
22
43
|
rexml
|
|
23
44
|
diff-lcs (1.5.0)
|
|
24
45
|
docile (1.4.0)
|
|
25
46
|
factory_bot (6.2.1)
|
|
26
47
|
activesupport (>= 5.0.0)
|
|
48
|
+
faraday (2.7.4)
|
|
49
|
+
faraday-net_http (>= 2.0, < 3.1)
|
|
50
|
+
ruby2_keywords (>= 0.0.4)
|
|
51
|
+
faraday-http-cache (2.4.1)
|
|
52
|
+
faraday (>= 0.8)
|
|
53
|
+
faraday-net_http (3.0.2)
|
|
27
54
|
ffi (1.15.5)
|
|
55
|
+
fiber-local (1.0.0)
|
|
28
56
|
formatador (1.1.0)
|
|
57
|
+
github_changelog_generator (1.16.4)
|
|
58
|
+
activesupport
|
|
59
|
+
async (>= 1.25.0)
|
|
60
|
+
async-http-faraday
|
|
61
|
+
faraday-http-cache
|
|
62
|
+
multi_json
|
|
63
|
+
octokit (~> 4.6)
|
|
64
|
+
rainbow (>= 2.2.1)
|
|
65
|
+
rake (>= 10.0)
|
|
29
66
|
guard (2.18.0)
|
|
30
67
|
formatador (>= 0.2.4)
|
|
31
68
|
listen (>= 2.7, < 4.0)
|
|
@@ -51,13 +88,25 @@ GEM
|
|
|
51
88
|
lumberjack (1.2.8)
|
|
52
89
|
method_source (1.0.0)
|
|
53
90
|
minitest (5.17.0)
|
|
91
|
+
multi_json (1.15.0)
|
|
54
92
|
nenv (0.3.0)
|
|
93
|
+
nio4r (2.5.8)
|
|
55
94
|
notiffany (0.1.3)
|
|
56
95
|
nenv (~> 0.1)
|
|
57
96
|
shellany (~> 0.0)
|
|
97
|
+
octokit (4.25.1)
|
|
98
|
+
faraday (>= 1, < 3)
|
|
99
|
+
sawyer (~> 0.9)
|
|
58
100
|
parallel (1.22.1)
|
|
59
101
|
parser (3.1.2.1)
|
|
60
102
|
ast (~> 2.4.1)
|
|
103
|
+
protocol-hpack (1.4.2)
|
|
104
|
+
protocol-http (0.24.0)
|
|
105
|
+
protocol-http1 (0.15.0)
|
|
106
|
+
protocol-http (~> 0.22)
|
|
107
|
+
protocol-http2 (0.15.0)
|
|
108
|
+
protocol-hpack (~> 1.4)
|
|
109
|
+
protocol-http (~> 0.18)
|
|
61
110
|
pry (0.14.1)
|
|
62
111
|
coderay (~> 1.1)
|
|
63
112
|
method_source (~> 1.0)
|
|
@@ -95,6 +144,10 @@ GEM
|
|
|
95
144
|
rubocop-ast (1.21.0)
|
|
96
145
|
parser (>= 3.1.1.0)
|
|
97
146
|
ruby-progressbar (1.11.0)
|
|
147
|
+
ruby2_keywords (0.0.5)
|
|
148
|
+
sawyer (0.9.2)
|
|
149
|
+
addressable (>= 2.3.5)
|
|
150
|
+
faraday (>= 0.17.3, < 3)
|
|
98
151
|
semantic (1.6.1)
|
|
99
152
|
shellany (0.0.1)
|
|
100
153
|
simplecov (0.21.2)
|
|
@@ -105,6 +158,8 @@ GEM
|
|
|
105
158
|
simplecov_json_formatter (0.1.4)
|
|
106
159
|
thor (1.2.1)
|
|
107
160
|
timecop (0.9.5)
|
|
161
|
+
timers (4.3.5)
|
|
162
|
+
traces (0.8.0)
|
|
108
163
|
tzinfo (2.0.6)
|
|
109
164
|
concurrent-ruby (~> 1.0)
|
|
110
165
|
unicode-display_width (2.3.0)
|
|
@@ -122,6 +177,7 @@ DEPENDENCIES
|
|
|
122
177
|
app_store_connect!
|
|
123
178
|
bundler
|
|
124
179
|
factory_bot (~> 6.2.1)
|
|
180
|
+
github_changelog_generator (= 1.16.4)
|
|
125
181
|
guard-rspec (~> 4.7.3)
|
|
126
182
|
pry (~> 0.14.1)
|
|
127
183
|
rake (~> 13.0.6)
|
data/README.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
<img src="assets/banner.png">
|
|
5
|
+
|
|
6
|
+
<h1>App Store Connect for Ruby</h1>
|
|
7
|
+
|
|
8
|
+
[](https://github.com/kyledecot/app_store_connect/actions/workflows/default.yml)
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
|
|
3
12
|
|
|
4
13
|
A Ruby interface to the [App Store Connect API](https://developer.apple.com/app-store-connect/api/)
|
|
5
14
|
|
|
@@ -66,40 +75,60 @@ app_store_connect.sales_reports(
|
|
|
66
75
|
|
|
67
76
|
```ruby
|
|
68
77
|
|
|
69
|
-
|
|
70
|
-
puts JSON.pretty_generate(
|
|
78
|
+
devices = app_store_connect.devices
|
|
79
|
+
puts JSON.pretty_generate(devices)
|
|
71
80
|
|
|
72
81
|
```
|
|
73
82
|
|
|
74
83
|
### Register a New Device
|
|
75
84
|
|
|
76
85
|
```ruby
|
|
77
|
-
|
|
86
|
+
created_device = app_store_connect.create_device(
|
|
78
87
|
name: 'name',
|
|
79
88
|
platform: 'IOS',
|
|
80
89
|
udid: 'udid'
|
|
81
90
|
)
|
|
82
91
|
|
|
83
|
-
puts JSON.pretty_generate(
|
|
92
|
+
puts JSON.pretty_generate(created_device)
|
|
84
93
|
```
|
|
85
94
|
|
|
86
95
|
### Update an App Store Version
|
|
87
96
|
|
|
88
97
|
```ruby
|
|
89
|
-
app_store_connect.update_app_store_version
|
|
98
|
+
app_store_connect.update_app_store_version(
|
|
99
|
+
id: '<app-store-version-id>',
|
|
100
|
+
version_string: '1.0'
|
|
101
|
+
)
|
|
90
102
|
```
|
|
91
103
|
|
|
92
104
|
### Link a Build to an App Store Version
|
|
93
105
|
|
|
94
106
|
```ruby
|
|
95
|
-
app_store_connect.update_app_store_version_build
|
|
107
|
+
app_store_connect.update_app_store_version_build(
|
|
108
|
+
id: '<app-store-version-id>',
|
|
109
|
+
build_id: '<build-id>'
|
|
110
|
+
)
|
|
96
111
|
```
|
|
97
112
|
|
|
98
113
|
### Create a Review Submission Item
|
|
99
114
|
|
|
100
115
|
```ruby
|
|
101
|
-
app_store_connect.create_review_submission_item
|
|
102
|
-
|
|
116
|
+
app_store_connect.create_review_submission_item(
|
|
117
|
+
relationships: {
|
|
118
|
+
reviewSubmission: {
|
|
119
|
+
data: {
|
|
120
|
+
id: '<review-submission-id>',
|
|
121
|
+
type: 'reviewSubmissions'
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
appStoreVersion: {
|
|
125
|
+
data: {
|
|
126
|
+
id: '<app-store-version-id>',
|
|
127
|
+
type: 'appStoreVersions'
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
)
|
|
103
132
|
```
|
|
104
133
|
|
|
105
134
|
## Q&A
|
data/app_store_connect.gemspec
CHANGED
|
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
|
|
29
29
|
spec.add_development_dependency 'bundler'
|
|
30
30
|
spec.add_development_dependency 'factory_bot', '~> 6.2.1'
|
|
31
|
+
spec.add_development_dependency 'github_changelog_generator', '1.16.4'
|
|
31
32
|
spec.add_development_dependency 'guard-rspec', '~> 4.7.3'
|
|
32
33
|
spec.add_development_dependency 'pry', '~> 0.14.1'
|
|
33
34
|
spec.add_development_dependency 'rake', '~> 13.0.6'
|
data/assets/banner.png
ADDED
|
Binary file
|
data/bin/console
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require 'bundler/setup'
|
|
5
|
+
require 'app_store_connect'
|
|
6
|
+
|
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
+
|
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
+
# require "pry"
|
|
12
|
+
# Pry.start
|
|
13
|
+
|
|
14
|
+
require 'irb'
|
|
15
|
+
IRB.start(__FILE__)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'app_store_connect/create_request'
|
|
4
|
+
|
|
5
|
+
module AppStoreConnect
|
|
6
|
+
module Requests
|
|
7
|
+
module V2
|
|
8
|
+
module InAppPurchase
|
|
9
|
+
class Create < CreateRequest
|
|
10
|
+
data do
|
|
11
|
+
type 'inAppPurchases'
|
|
12
|
+
|
|
13
|
+
attributes do
|
|
14
|
+
property :name, required: true
|
|
15
|
+
property :product_id, required: true
|
|
16
|
+
property :in_app_purchase_type, required: true
|
|
17
|
+
property :available_in_all_territories
|
|
18
|
+
property :family_sharable
|
|
19
|
+
property :review_note
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'app_store_connect/create_request'
|
|
4
|
+
|
|
5
|
+
module AppStoreConnect
|
|
6
|
+
module Requests
|
|
7
|
+
module V2
|
|
8
|
+
module InAppPurchase
|
|
9
|
+
class Update < CreateRequest
|
|
10
|
+
data do
|
|
11
|
+
id
|
|
12
|
+
type 'inAppPurchases'
|
|
13
|
+
|
|
14
|
+
attributes do
|
|
15
|
+
property :name
|
|
16
|
+
property :available_in_all_territories
|
|
17
|
+
property :family_sharable
|
|
18
|
+
property :review_note
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
data/lib/app_store_connect.rb
CHANGED
|
@@ -19,6 +19,8 @@ require 'app_store_connect/bundle_id_capability_create_request'
|
|
|
19
19
|
require 'app_store_connect/bundle_id_create_request'
|
|
20
20
|
require 'app_store_connect/certificate_create_request'
|
|
21
21
|
require 'app_store_connect/device_create_request'
|
|
22
|
+
require 'app_store_connect/requests/v2/in_app_purchase/create'
|
|
23
|
+
require 'app_store_connect/requests/v2/in_app_purchase/update'
|
|
22
24
|
require 'app_store_connect/profile_create_request'
|
|
23
25
|
require 'app_store_connect/beta_build_localization_create_request'
|
|
24
26
|
require 'app_store_connect/beta_build_localization_modify_request'
|
data/lib/config/schema.json
CHANGED
|
@@ -334,6 +334,48 @@
|
|
|
334
334
|
"url": "https://api.appstoreconnect.apple.com/v1/apps/{id}",
|
|
335
335
|
"alias": "app"
|
|
336
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"http_method": "get",
|
|
339
|
+
"url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/pricePoints",
|
|
340
|
+
"alias": "app_price_points"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"alias": "create_in_app_purchase",
|
|
344
|
+
"http_body_type": "Requests::V2::InAppPurchase::Create",
|
|
345
|
+
"http_method": "post",
|
|
346
|
+
"url": "https://api.appstoreconnect.apple.com/v2/inAppPurchases"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"alias": "update_in_app_purchase",
|
|
350
|
+
"http_body_type": "Requests::V2::InAppPurchase::Update",
|
|
351
|
+
"http_method": "patch",
|
|
352
|
+
"url": "https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"alias": "delete_in_app_purchase",
|
|
356
|
+
"http_method": "delete",
|
|
357
|
+
"url": "https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"http_method": "get",
|
|
361
|
+
"url": "https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}",
|
|
362
|
+
"alias": "in_app_purchase"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"http_method": "get",
|
|
366
|
+
"url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/inAppPurchasesV2",
|
|
367
|
+
"alias": "app_in_app_purchases"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"http_method": "get",
|
|
371
|
+
"url": "https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}/pricePoints",
|
|
372
|
+
"alias": "in_app_purchase_price_points"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"http_method": "get",
|
|
376
|
+
"url": "https://api.appstoreconnect.apple.com/v2/inAppPurchases/{id}/inAppPurchaseLocalizations",
|
|
377
|
+
"alias": "in_app_purchase_localizations"
|
|
378
|
+
},
|
|
337
379
|
{
|
|
338
380
|
"http_method": "get",
|
|
339
381
|
"url": "https://api.appstoreconnect.apple.com/v1/apps/{id}/betaGroups",
|
|
@@ -792,6 +834,13 @@
|
|
|
792
834
|
}
|
|
793
835
|
],
|
|
794
836
|
"types": [
|
|
837
|
+
{
|
|
838
|
+
"type": "BundleIdPlatform",
|
|
839
|
+
"values": [
|
|
840
|
+
"IOS",
|
|
841
|
+
"MAC_OS"
|
|
842
|
+
]
|
|
843
|
+
},
|
|
795
844
|
{
|
|
796
845
|
"type": "CapabilityType",
|
|
797
846
|
"values": [
|
|
@@ -833,10 +882,11 @@
|
|
|
833
882
|
]
|
|
834
883
|
},
|
|
835
884
|
{
|
|
836
|
-
"type": "
|
|
885
|
+
"type": "InAppPurchaseType",
|
|
837
886
|
"values": [
|
|
838
|
-
"
|
|
839
|
-
"
|
|
887
|
+
"CONSUMABLE",
|
|
888
|
+
"NON_CONSUMABLE",
|
|
889
|
+
"NON_RENEWING_SUBSCRIPTION"
|
|
840
890
|
]
|
|
841
891
|
},
|
|
842
892
|
{
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'github_changelog_generator'
|
|
4
|
+
|
|
5
|
+
task :changelog, [:release] do |_task, args|
|
|
6
|
+
options = GitHubChangelogGenerator::Parser.default_options
|
|
7
|
+
options[:user] = 'kyledecot'
|
|
8
|
+
options[:project] = 'app_store_connect'
|
|
9
|
+
options[:future_release] = args[:release]
|
|
10
|
+
|
|
11
|
+
generator = GitHubChangelogGenerator::Generator.new(options)
|
|
12
|
+
|
|
13
|
+
log = generator.compound_changelog
|
|
14
|
+
|
|
15
|
+
output_filename = 'CHANGELOG.md'
|
|
16
|
+
File.open(output_filename, 'w') { |file| file.write(log) }
|
|
17
|
+
end
|
data/lib/tasks/git.rake
ADDED
data/lib/tasks/push.rake
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'app_store_connect/version'
|
|
4
|
+
|
|
5
|
+
version = AppStoreConnect::VERSION
|
|
6
|
+
|
|
7
|
+
desc "Push app_store_connect-#{version}.gem"
|
|
8
|
+
task :push, [:key] do |_task, args|
|
|
9
|
+
args.with_defaults(key: 'rubygems')
|
|
10
|
+
|
|
11
|
+
key = args.key.to_sym
|
|
12
|
+
host = {
|
|
13
|
+
rubygems: 'https://rubygems.org',
|
|
14
|
+
github: 'https://rubygems.pkg.github.com/kyledecot'
|
|
15
|
+
}.fetch(key)
|
|
16
|
+
|
|
17
|
+
sh %(gem push --key=#{key} --host=#{host} app_store_connect-#{version}.gem)
|
|
18
|
+
end
|
data/lib/tasks/release.rake
CHANGED
|
@@ -2,17 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
require 'app_store_connect/version'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
github: 'https://rubygems.pkg.github.com/kyledecot'
|
|
15
|
-
}.fetch(key)
|
|
16
|
-
|
|
17
|
-
sh %(gem push --key=#{key} --host=#{host} app_store_connect-#{version}.gem)
|
|
5
|
+
desc 'Release'
|
|
6
|
+
task :release do
|
|
7
|
+
version_increment, = Rake::Task['version:increment'].invoke
|
|
8
|
+
version = version_increment.call
|
|
9
|
+
|
|
10
|
+
Rake::Task['bundle:install'].invoke
|
|
11
|
+
Rake::Task['changelog'].invoke("v#{version}")
|
|
12
|
+
Rake::Task['git:add'].invoke('-A')
|
|
13
|
+
Rake::Task['git:commit'].invoke("v#{version}")
|
|
18
14
|
end
|
data/lib/tasks/version.rake
CHANGED
|
@@ -13,13 +13,16 @@ namespace :version do
|
|
|
13
13
|
task :increment do
|
|
14
14
|
version = Semantic::Version.new(AppStoreConnect::VERSION)
|
|
15
15
|
path = File.expand_path(File.join('..', 'app_store_connect', 'version.rb'), __dir__)
|
|
16
|
+
new_version = version.increment!(:minor).to_s
|
|
16
17
|
|
|
17
18
|
File.open(path, 'r+') do |file|
|
|
18
19
|
contents = file.read
|
|
19
|
-
contents.gsub!(AppStoreConnect::VERSION,
|
|
20
|
+
contents.gsub!(AppStoreConnect::VERSION, new_version)
|
|
20
21
|
|
|
21
22
|
file.rewind
|
|
22
23
|
file.write(contents)
|
|
24
|
+
|
|
25
|
+
new_version
|
|
23
26
|
end
|
|
24
27
|
end
|
|
25
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: app_store_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.34.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Decot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -66,6 +66,20 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: 6.2.1
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: github_changelog_generator
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - '='
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: 1.16.4
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - '='
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 1.16.4
|
|
69
83
|
- !ruby/object:Gem::Dependency
|
|
70
84
|
name: guard-rspec
|
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -207,6 +221,7 @@ files:
|
|
|
207
221
|
- ".rspec"
|
|
208
222
|
- ".rubocop.yml"
|
|
209
223
|
- ".ruby-version"
|
|
224
|
+
- CHANGELOG.md
|
|
210
225
|
- CODE_OF_CONDUCT.md
|
|
211
226
|
- Gemfile
|
|
212
227
|
- Gemfile.lock
|
|
@@ -215,6 +230,8 @@ files:
|
|
|
215
230
|
- README.md
|
|
216
231
|
- Rakefile
|
|
217
232
|
- app_store_connect.gemspec
|
|
233
|
+
- assets/banner.png
|
|
234
|
+
- bin/console
|
|
218
235
|
- lib/app_store_connect.rb
|
|
219
236
|
- lib/app_store_connect/app_store_version_build_linkage_request.rb
|
|
220
237
|
- lib/app_store_connect/app_store_version_create_request.rb
|
|
@@ -243,6 +260,8 @@ files:
|
|
|
243
260
|
- lib/app_store_connect/object/type.rb
|
|
244
261
|
- lib/app_store_connect/profile_create_request.rb
|
|
245
262
|
- lib/app_store_connect/request.rb
|
|
263
|
+
- lib/app_store_connect/requests/v2/in_app_purchase/create.rb
|
|
264
|
+
- lib/app_store_connect/requests/v2/in_app_purchase/update.rb
|
|
246
265
|
- lib/app_store_connect/review_submission_create_request.rb
|
|
247
266
|
- lib/app_store_connect/review_submission_item_create_request.rb
|
|
248
267
|
- lib/app_store_connect/review_submission_update_request.rb
|
|
@@ -254,7 +273,11 @@ files:
|
|
|
254
273
|
- lib/app_store_connect/version.rb
|
|
255
274
|
- lib/config/schema.json
|
|
256
275
|
- lib/tasks/build.rake
|
|
276
|
+
- lib/tasks/bundle.rake
|
|
277
|
+
- lib/tasks/changelog.rake
|
|
257
278
|
- lib/tasks/console.rake
|
|
279
|
+
- lib/tasks/git.rake
|
|
280
|
+
- lib/tasks/push.rake
|
|
258
281
|
- lib/tasks/release.rake
|
|
259
282
|
- lib/tasks/version.rake
|
|
260
283
|
homepage: https://github.com/kyledecot/app_store_connect
|
|
@@ -276,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
276
299
|
- !ruby/object:Gem::Version
|
|
277
300
|
version: '0'
|
|
278
301
|
requirements: []
|
|
279
|
-
rubygems_version: 3.
|
|
302
|
+
rubygems_version: 3.3.26
|
|
280
303
|
signing_key:
|
|
281
304
|
specification_version: 4
|
|
282
305
|
summary: A Ruby interface to the App Store Connect API
|