app_store_connect 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 513dc52bf5480a65562d7ddeb78e974869a25e4a9692318f2b80f83674409dcd
4
- data.tar.gz: f3066573d1db092a69afe8fed6af086cce0e00dbd3a381d2e08f1e925e47517f
3
+ metadata.gz: 37ed8ee635b7f33d434705ab2877efcf9ef383be0e750fe35cdd6befd7d19993
4
+ data.tar.gz: 4be9ed411aa13f76d0849b1a5f1ef46669cb1471995ba829af880649dbc64c28
5
5
  SHA512:
6
- metadata.gz: ce5132700e8643296e6f3dda8f9ca6566cc1587f204e33561c25c848e1f4e32c2d5a97c18236d384a332dc10344a3c3b3ef487c36144cc7717d42f813a7b38d4
7
- data.tar.gz: e8e14c9e489121ef2017d541dfb9d467eda1f586311fafc75dd5cac1c6cf76d61550ab7969785ec91b401705693ce4e06225cbba429a9eacf172740ce5393613
6
+ metadata.gz: e5e793027cf899ccaebd30e4ace151e3c25166e671ae95203cab2f14a0d2d31b81f09ea74be64108116ceaf0e6f9de1e591146ce0a0d1debf321aa9681770972
7
+ data.tar.gz: eee8a1653f94e319fe6cd8df2dde1c9764987c77f3bf132b175e17bbb020a5d48d0e8acc6af2d6072c673ef4f62b208ddbdbf729a0ba0b6da8cc1dc52b87e3f2
@@ -19,4 +19,4 @@ jobs:
19
19
  gem install bundler
20
20
  bundle install --jobs=3 --retry=3
21
21
  - name: Run rubocop
22
- run: rubocop
22
+ run: bundle exec rubocop -P -fq
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_store_connect (0.17.0)
4
+ app_store_connect (0.18.0)
5
5
  activesupport
6
6
  jwt (>= 1.4, <= 2.2.1)
7
7
  mixpanel-ruby (<= 2.2.0)
@@ -59,8 +59,8 @@ GEM
59
59
  notiffany (0.1.1)
60
60
  nenv (~> 0.1)
61
61
  shellany (~> 0.0)
62
- parallel (1.17.0)
63
- parser (2.6.3.0)
62
+ parallel (1.18.0)
63
+ parser (2.6.5.0)
64
64
  ast (~> 2.4.0)
65
65
  pry (0.12.2)
66
66
  coderay (~> 1.1.0)
@@ -83,7 +83,7 @@ GEM
83
83
  diff-lcs (>= 1.2.0, < 2.0)
84
84
  rspec-support (~> 3.8.0)
85
85
  rspec-support (3.8.0)
86
- rubocop (0.71.0)
86
+ rubocop (0.75.1)
87
87
  jaro_winkler (~> 1.5.1)
88
88
  parallel (~> 1.10)
89
89
  parser (>= 2.6)
@@ -120,7 +120,7 @@ DEPENDENCIES
120
120
  guard-rspec (~> 4.7.3)
121
121
  pry (~> 0.12)
122
122
  rspec (~> 3.0)
123
- rubocop (~> 0.71.0)
123
+ rubocop (~> 0.75.0)
124
124
  simplecov (~> 0.16.1)
125
125
  timecop (~> 0.9.1)
126
126
  webmock (~> 3.6.0)
data/README.md CHANGED
@@ -35,215 +35,6 @@ app_store_connect.app(id: '1234')
35
35
  app_store_connect.builds(id: '1234')
36
36
  ```
37
37
 
38
- ## Web Service Endpoints
39
-
40
-
41
- ### Users
42
- - [X] List Users
43
- - [X] Read User Information
44
- - [X] Remove a User Account
45
- - [X] Modify a User Account
46
- - [X] Get All Visible App Resource IDs for a User
47
- - [X] List All Apps Visible to a User
48
- - [X] Remove Visible Apps from a User
49
- - [X] Add Visible Apps to a User
50
- - [X] Replace the List of Visible Apps for a User
51
-
52
- ### Bundle IDs
53
- - [X] Register a New Bundle ID
54
- - [X] Modify a Bundle ID
55
- - [X] Delete a Bundle ID
56
- - [X] Read Bundle ID Information
57
- - [X] List Bundle IDs
58
- - [X] Get All Profile IDs for a Bundle ID
59
- - [X] Get All Capabilility IDs for a Bundle ID
60
- - [X] List All Profiles for a Bundle ID
61
- - [X] List All Capabilities for a Bundle ID
62
-
63
- ### Certificates
64
- - [X] List and Download Certificates
65
- - [X] Create a Certificate
66
- - [X] Read and Download Certificate Information
67
- - [X] Revoke a Certificate
68
-
69
- ### User Invitations
70
- - [X] Read User Invitation Information
71
- - [X] List Invited Users
72
- - [X] Invite a User
73
- - [X] Cancel a User Invitation
74
- - [X] Get All App Resource IDs Visible to an Invited User
75
- - [X] List All Apps Visible to an Invited User
76
-
77
- ### Bundle ID Capabilities
78
- - [ ] Enable a Capability
79
- - [X] Disable a Capability
80
- - [X] Modify a Capability Configuration
81
-
82
- ### Devices
83
- - [X] List Devices
84
- - [X] Read Device Information
85
- - [X] Register a New Device
86
- - [X] Modify a Registered Device
87
-
88
- ### Sales and Finance Reports
89
- - [X] Download Sales and Trends Reports
90
- - [X] Download Finance Reports
91
-
92
- ### Profiles
93
- - [X] Create a Profile
94
- - [X] Delete a Profile
95
- - [X] List and Download Profiles
96
- - [X] Get the Bundle Resource ID in a Profile
97
- - [X] Read the Bundle ID in a Profile
98
- - [X] Read and Download Profile Information
99
- - [X] List All Certificates in a Profile
100
- - [X] Get All Certificate IDs in a Profile
101
- - [X] Get All Device Resource IDs in a Profile
102
- - [X] List All Devices in a Profile
103
-
104
- ### Beta Testers
105
- - [X] Create a Beta Tester
106
- - [X] Delete a Beta Tester
107
- - [X] Add a Beta Tester to Beta Groups
108
- - [X] List Beta Testers
109
- - [X] Read Beta Tester Information
110
- - [X] Individually Assign a Beta Tester to Builds
111
- - [X] Remove a Beta Tester from Beta Groups
112
- - [X] Remove a Beta Tester’s Access to Apps
113
- - [X] Get All App Resource IDs for a Beta Tester
114
- - [X] List All Builds Individually Assigned to a Beta Tester
115
- - [X] List All Apps for a Beta Tester
116
- - [X] Get All IDs of Builds Individually Assigned to a Beta Tester
117
- - [X] List All Beta Groups to Which a Beta Tester Belongs
118
- - [X] Get All Beta Group IDs of a Beta Tester's Groups
119
- - [X] Individually Unassign a Beta Tester from Builds
120
-
121
- ### Beta Tester Invitations
122
- - [ ] Send an Invitation to a Beta Tester
123
-
124
- ### Apps
125
- - [X] Remove Beta Testers from All Groups and Builds of an App
126
- - [X] Read App Information
127
- - [X] List All Beta Groups for an App
128
- - [X] List Apps
129
- - [X] Get All Build IDs of an App
130
- - [X] List All Builds of an App
131
- - [X] Get All Beta Group IDs for an App
132
- - [X] Get All Prerelease Version IDs for an App
133
- - [X] List All Prerelease Versions for an App
134
- - [X] Get the Beta App Review Details Resource ID for an App
135
- - [X] Read the Beta App Review Details Resource of an App
136
- - [X] List All Beta App Localizations of an App
137
- - [X] Read the Beta License Agreement of an App
138
- - [X] Get the Beta License Agreement ID for an App
139
- - [X] Get All Beta App Localization IDs of an App
140
-
141
- ### Beta Groups
142
- - [X] Create a Beta Group
143
- - [X] Modify a Beta Group
144
- - [X] List Beta Groups
145
- - [X] Read Beta Group Information
146
- - [X] Delete a Beta Group
147
- - [X] Read the App Information of a Beta Group
148
- - [X] Get the App Resource ID for a Beta Group
149
- - [X] Add Beta Testers to a Beta Group
150
- - [X] Remove Beta Testers from a Beta Group
151
- - [X] Remove Builds from a Beta Group
152
- - [X] List All Builds for a BetaGroup
153
- - [X] Add Builds to a Beta Group
154
- - [X] Get All Build IDs in a Beta Group
155
- - [X] Get All Beta Tester IDs in a Beta Group
156
- - [X] List All Beta Testers in a BetaGroup
157
-
158
- ### Prerelease Versions
159
- - [X] List Prerelease Versions
160
- - [X] Get the App Resource ID for a Prerelease Version
161
- - [X] Read Prerelease Version Information
162
- - [X] Read the App Information of a Prerelease Version
163
- - [X] List All Builds of a Prerelease Version
164
- - [X] Get All Build IDs of a Prerelease Version
165
-
166
- ### Beta App Localizations
167
- - [X] List Beta App Localizations
168
- - [X] Read Beta App Localization Information
169
- - [X] Read the App Information of a Beta App Localization
170
- - [X] Get the App Resource ID for a Beta App Localization
171
- - [X] Create a Beta App Localization
172
- - [X] Modify a Beta App Localization
173
- - [X] Delete a Beta App Localization
174
-
175
- ### App Encryption Declarations
176
- - [X] List App Encryption Declarations
177
- - [X] Read App Encryption Declaration Information
178
- - [X] Get the App Resource ID for an App Encryption Declaration
179
- - [X] Read the App Information of an App Encryption Declaration
180
- - [ ] Assign Builds to an App Encryption Declaration
181
-
182
- ### Build Beta Details
183
- - [X] Read Build Beta Detail Information
184
- - [X] List Build Beta Details
185
- - [X] Get the Build ID for a Build Beta Detail
186
- - [X] Modify a Build Beta Detail
187
- - [X] Read the Build Information of a Build Beta Detail
188
-
189
- ### Beta Build Localizations
190
- - [X] List Beta Build Localizations
191
- - [X] Read Beta Build Localization Information
192
- - [X] Read the Build Information of a Beta Build Localization
193
- - [X] Create a Beta Build Localization
194
- - [X] Delete a Beta Build Localization
195
- - [X] Modify a Beta Build Localization
196
- - [X] Get the Build ID for a Beta Build Localization
197
-
198
- ### Builds
199
- - [X] Read Build Information
200
- - [X] Get the App Resource ID for a Build
201
- - [X] List Builds
202
- - [X] Read the App Information of a Build
203
- - [X] Modify a Build
204
- - [X] Read the Prerelease Version of a Build
205
- - [X] Get All Resource IDs of Prerelease Versions for a Build
206
- - [X] Assign the App Encryption Declaration for a Build
207
- - [X] Remove Individual Testers from a Build
208
- - [X] Add Access for Beta Groups to a Build
209
- - [X] Remove Access for Beta Groups to a Build
210
- - [X] List All Individual Testers for a Build
211
- - [X] Assign Individual Testers to a Build
212
- - [X] Get All Resource IDs of Individual Testers for a Build
213
- - [X] Get the Beta App Review Submission ID of a Build
214
- - [X] Read the Beta App Review Submission of a Build
215
- - [X] Read the Build Beta Details Information of a Build
216
- - [X] Get the Build Beta Details Resource ID for a Build
217
- - [X] Get the App Encryption Declaration ID for a Build
218
- - [X] Get All Beta Build Localization IDs of a Build
219
- - [X] Read the App Encryption Declaration of a Build
220
- - [X] List All Beta Build Localizations of a Build
221
-
222
- ### Beta App Review Detail
223
- - [X] List Beta App Review Details
224
- - [X] Read Beta App Review Detail Information
225
- - [X] Read the App Information of a Beta App Review Detail
226
- - [X] Get the App Resource ID for a Beta App Review Details Resource
227
- - [X] Modify a Beta App Review Detail
228
-
229
- ### Beta App Review Submissions
230
- - [X] Read Beta App Review Submission Information
231
- - [X] Submit an App for Beta Review
232
- - [X] Read the Build Information of a Beta App Review Submission
233
- - [X] List Beta App Review Submissions
234
- - [X] Get the Build ID for a Beta App Review Submission
235
-
236
- ### Build Beta Notifications
237
- - [ ] Send Notification of an Available Build
238
-
239
- ### Beta License Agreements
240
- - [X] Read Beta License Agreement Information
241
- - [X] Read the App Information of a Beta License Agreement
242
- - [X] Get the App Resource ID for a Beta License Agreement
243
- - [X] Modify a Beta License Agreement
244
- - [X] List Beta License Agreements
245
-
246
-
247
38
  ### Create Bundle ID
248
39
 
249
40
  ```ruby
@@ -271,8 +62,6 @@ app_store_connect.sales_reports(
271
62
 
272
63
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
273
64
 
274
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
275
-
276
65
  ## Contributing
277
66
 
278
67
  Bug reports and pull requests are welcome on GitHub at https://github.com/kyledecot/app_store_connect.
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency 'guard-rspec', '~> 4.7.3'
30
30
  spec.add_development_dependency 'pry', '~> 0.12'
31
31
  spec.add_development_dependency 'rspec', '~> 3.0'
32
- spec.add_development_dependency 'rubocop', '~> 0.71.0'
32
+ spec.add_development_dependency 'rubocop', '~> 0.75.0'
33
33
  spec.add_development_dependency 'simplecov', '~> 0.16.1'
34
34
  spec.add_development_dependency 'timecop', '~> 0.9.1'
35
35
  spec.add_development_dependency 'webmock', '~> 3.6.0'
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'mixpanel-ruby'
4
4
  require 'securerandom'
5
+ require 'app_store_connect/version'
5
6
 
6
7
  module AppStoreConnect
7
8
  class Client
@@ -20,7 +21,7 @@ module AppStoreConnect
20
21
  def track
21
22
  return false unless @enabled
22
23
 
23
- @tracker.track(@distinct_id, 'usage')
24
+ @tracker.track(@distinct_id, 'usage', version: VERSION)
24
25
  end
25
26
  end
26
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreConnect
4
- VERSION = '0.17.0'
4
+ VERSION = '0.18.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_store_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Decot
@@ -134,14 +134,14 @@ dependencies:
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: 0.71.0
137
+ version: 0.75.0
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: 0.71.0
144
+ version: 0.75.0
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: simplecov
147
147
  requirement: !ruby/object:Gem::Requirement