app_store_connect 0.29.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/default.yml +31 -22
- data/.gitignore +0 -1
- data/.rubocop.yml +6 -2
- data/Gemfile.lock +136 -0
- data/app_store_connect.gemspec +1 -1
- data/lib/app_store_connect/beta_build_localization_create_request.rb +16 -0
- data/lib/app_store_connect/beta_build_localization_modify_request.rb +15 -0
- data/lib/app_store_connect/modify_request.rb +14 -0
- data/lib/app_store_connect/version.rb +1 -1
- data/lib/app_store_connect.rb +3 -0
- data/lib/config/schema.json +12 -0
- metadata +7 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b0cf3a6465aade091a98df88de13c46aa7b121ec1a0b50b7f9b0caf69980155
|
4
|
+
data.tar.gz: af3b403667fcd3cf3fe70365e18051b735574bc598f7fa1567d1013a957ff752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d25d79565e2b8dcd71fe15a29537f81155144738b1271d493666e9a89935b0635bc81583d0909bf246e2cb10003610ac1d86fd0417994dcc724b651067a15c9
|
7
|
+
data.tar.gz: f272e5b4fce17fc8d871f5f6466d5c33427bac9c013e71bf0c55e2b3ec71eab4eb57c7e4cdffc1a46eb2dab21dcce8266d0824c32a408f2ae396a8e46bdbe9f1
|
@@ -8,14 +8,17 @@ jobs:
|
|
8
8
|
build:
|
9
9
|
name: Build
|
10
10
|
runs-on: ubuntu-latest
|
11
|
+
strategy:
|
12
|
+
matrix:
|
13
|
+
ruby_versions: [2.7, 3.0, 3.1, 3.2]
|
11
14
|
|
12
15
|
steps:
|
13
|
-
- uses: actions/checkout@
|
14
|
-
- name: Set up Ruby
|
15
|
-
uses:
|
16
|
+
- uses: actions/checkout@v3
|
17
|
+
- name: Set up Ruby ${{ matrix.ruby_versions }}
|
18
|
+
uses: ruby/setup-ruby@v1
|
16
19
|
with:
|
17
|
-
ruby-version:
|
18
|
-
- uses: actions/cache@
|
20
|
+
ruby-version: ${{ matrix.ruby_versions }}
|
21
|
+
- uses: actions/cache@v3
|
19
22
|
with:
|
20
23
|
path: vendor/bundle
|
21
24
|
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
@@ -31,7 +34,7 @@ jobs:
|
|
31
34
|
- name: Build
|
32
35
|
run: bundle exec rake build
|
33
36
|
- name: Upload Gem
|
34
|
-
uses: actions/upload-artifact@
|
37
|
+
uses: actions/upload-artifact@v3
|
35
38
|
with:
|
36
39
|
name: app_store_connect-${{ env.APP_STORE_CONNECT_VERSION }}.gem
|
37
40
|
path: app_store_connect-${{ env.APP_STORE_CONNECT_VERSION }}.gem
|
@@ -40,14 +43,17 @@ jobs:
|
|
40
43
|
name: Lint
|
41
44
|
runs-on: ubuntu-latest
|
42
45
|
needs: [build]
|
46
|
+
strategy:
|
47
|
+
matrix:
|
48
|
+
ruby_versions: [2.7, 3.0, 3.1, 3.2]
|
43
49
|
|
44
50
|
steps:
|
45
|
-
- uses: actions/checkout@
|
46
|
-
- name: Set up Ruby
|
47
|
-
uses:
|
51
|
+
- uses: actions/checkout@v3
|
52
|
+
- name: Set up Ruby ${{ matrix.ruby_versions }}
|
53
|
+
uses: ruby/setup-ruby@v1
|
48
54
|
with:
|
49
|
-
ruby-version:
|
50
|
-
- uses: actions/cache@
|
55
|
+
ruby-version: ${{ matrix.ruby_versions }}
|
56
|
+
- uses: actions/cache@v3
|
51
57
|
with:
|
52
58
|
path: vendor/bundle
|
53
59
|
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
@@ -65,14 +71,17 @@ jobs:
|
|
65
71
|
name: Test
|
66
72
|
runs-on: ubuntu-latest
|
67
73
|
needs: [build]
|
74
|
+
strategy:
|
75
|
+
matrix:
|
76
|
+
ruby_versions: [2.7, 3.0, 3.1, 3.2]
|
68
77
|
|
69
78
|
steps:
|
70
|
-
- uses: actions/checkout@
|
71
|
-
- name: Set up Ruby
|
72
|
-
uses:
|
79
|
+
- uses: actions/checkout@v3
|
80
|
+
- name: Set up Ruby ${{ matrix.ruby_versions }}
|
81
|
+
uses: ruby/setup-ruby@v1
|
73
82
|
with:
|
74
|
-
ruby-version:
|
75
|
-
- uses: actions/cache@
|
83
|
+
ruby-version: ${{ matrix.ruby_versions }}
|
84
|
+
- uses: actions/cache@v3
|
76
85
|
with:
|
77
86
|
path: vendor/bundle
|
78
87
|
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
@@ -93,12 +102,12 @@ jobs:
|
|
93
102
|
needs: [test, lint]
|
94
103
|
|
95
104
|
steps:
|
96
|
-
- uses: actions/checkout@
|
97
|
-
- name: Set up Ruby 2
|
98
|
-
uses:
|
105
|
+
- uses: actions/checkout@v3
|
106
|
+
- name: Set up Ruby 3.2
|
107
|
+
uses: ruby/setup-ruby@v1
|
99
108
|
with:
|
100
|
-
ruby-version: 2
|
101
|
-
- uses: actions/cache@
|
109
|
+
ruby-version: 3.2
|
110
|
+
- uses: actions/cache@v3
|
102
111
|
with:
|
103
112
|
path: vendor/bundle
|
104
113
|
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
@@ -119,7 +128,7 @@ jobs:
|
|
119
128
|
run: bundle install --jobs 4 --retry 3
|
120
129
|
- name: Set APP_STORE_CONNECT_VERSION
|
121
130
|
run: echo "APP_STORE_CONNECT_VERSION=$(bundle exec rake version:current)" >> $GITHUB_ENV
|
122
|
-
- uses: actions/download-artifact@
|
131
|
+
- uses: actions/download-artifact@v3
|
123
132
|
with:
|
124
133
|
name: app_store_connect-${{ env.APP_STORE_CONNECT_VERSION }}.gem
|
125
134
|
path: /tmp
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -9,6 +9,10 @@
|
|
9
9
|
#
|
10
10
|
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
|
11
11
|
#
|
12
|
+
AllCops:
|
13
|
+
NewCops: disable
|
14
|
+
TargetRubyVersion: 2.7
|
15
|
+
|
12
16
|
Metrics/MethodLength:
|
13
17
|
Enabled: false
|
14
18
|
|
@@ -18,9 +22,9 @@ Metrics/BlockLength:
|
|
18
22
|
Style/Documentation:
|
19
23
|
Enabled: false
|
20
24
|
|
21
|
-
|
25
|
+
Layout/LineLength:
|
22
26
|
Enabled: false
|
23
27
|
|
24
|
-
Metrics/ClassLength:
|
28
|
+
Metrics/ClassLength:
|
25
29
|
Enabled: false
|
26
30
|
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
app_store_connect (0.32.0)
|
5
|
+
activesupport (>= 6.0.0)
|
6
|
+
jwt (>= 1.4)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (7.0.4.2)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
addressable (2.8.1)
|
17
|
+
public_suffix (>= 2.0.2, < 6.0)
|
18
|
+
ast (2.4.2)
|
19
|
+
coderay (1.1.3)
|
20
|
+
concurrent-ruby (1.2.0)
|
21
|
+
crack (0.4.5)
|
22
|
+
rexml
|
23
|
+
diff-lcs (1.5.0)
|
24
|
+
docile (1.4.0)
|
25
|
+
factory_bot (6.2.1)
|
26
|
+
activesupport (>= 5.0.0)
|
27
|
+
ffi (1.15.5)
|
28
|
+
formatador (1.1.0)
|
29
|
+
guard (2.18.0)
|
30
|
+
formatador (>= 0.2.4)
|
31
|
+
listen (>= 2.7, < 4.0)
|
32
|
+
lumberjack (>= 1.0.12, < 2.0)
|
33
|
+
nenv (~> 0.1)
|
34
|
+
notiffany (~> 0.0)
|
35
|
+
pry (>= 0.13.0)
|
36
|
+
shellany (~> 0.0)
|
37
|
+
thor (>= 0.18.1)
|
38
|
+
guard-compat (1.2.1)
|
39
|
+
guard-rspec (4.7.3)
|
40
|
+
guard (~> 2.1)
|
41
|
+
guard-compat (~> 1.1)
|
42
|
+
rspec (>= 2.99.0, < 4.0)
|
43
|
+
hashdiff (1.0.1)
|
44
|
+
i18n (1.12.0)
|
45
|
+
concurrent-ruby (~> 1.0)
|
46
|
+
json (2.6.2)
|
47
|
+
jwt (2.7.0)
|
48
|
+
listen (3.7.1)
|
49
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
50
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
51
|
+
lumberjack (1.2.8)
|
52
|
+
method_source (1.0.0)
|
53
|
+
minitest (5.17.0)
|
54
|
+
nenv (0.3.0)
|
55
|
+
notiffany (0.1.3)
|
56
|
+
nenv (~> 0.1)
|
57
|
+
shellany (~> 0.0)
|
58
|
+
parallel (1.22.1)
|
59
|
+
parser (3.1.2.1)
|
60
|
+
ast (~> 2.4.1)
|
61
|
+
pry (0.14.1)
|
62
|
+
coderay (~> 1.1)
|
63
|
+
method_source (~> 1.0)
|
64
|
+
public_suffix (5.0.0)
|
65
|
+
rainbow (3.1.1)
|
66
|
+
rake (13.0.6)
|
67
|
+
rb-fsevent (0.11.2)
|
68
|
+
rb-inotify (0.10.1)
|
69
|
+
ffi (~> 1.0)
|
70
|
+
regexp_parser (2.5.0)
|
71
|
+
rexml (3.2.5)
|
72
|
+
rspec (3.11.0)
|
73
|
+
rspec-core (~> 3.11.0)
|
74
|
+
rspec-expectations (~> 3.11.0)
|
75
|
+
rspec-mocks (~> 3.11.0)
|
76
|
+
rspec-core (3.11.0)
|
77
|
+
rspec-support (~> 3.11.0)
|
78
|
+
rspec-expectations (3.11.1)
|
79
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
+
rspec-support (~> 3.11.0)
|
81
|
+
rspec-mocks (3.11.1)
|
82
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
+
rspec-support (~> 3.11.0)
|
84
|
+
rspec-support (3.11.1)
|
85
|
+
rubocop (1.36.0)
|
86
|
+
json (~> 2.3)
|
87
|
+
parallel (~> 1.10)
|
88
|
+
parser (>= 3.1.2.1)
|
89
|
+
rainbow (>= 2.2.2, < 4.0)
|
90
|
+
regexp_parser (>= 1.8, < 3.0)
|
91
|
+
rexml (>= 3.2.5, < 4.0)
|
92
|
+
rubocop-ast (>= 1.20.1, < 2.0)
|
93
|
+
ruby-progressbar (~> 1.7)
|
94
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
95
|
+
rubocop-ast (1.21.0)
|
96
|
+
parser (>= 3.1.1.0)
|
97
|
+
ruby-progressbar (1.11.0)
|
98
|
+
semantic (1.6.1)
|
99
|
+
shellany (0.0.1)
|
100
|
+
simplecov (0.21.2)
|
101
|
+
docile (~> 1.1)
|
102
|
+
simplecov-html (~> 0.11)
|
103
|
+
simplecov_json_formatter (~> 0.1)
|
104
|
+
simplecov-html (0.12.3)
|
105
|
+
simplecov_json_formatter (0.1.4)
|
106
|
+
thor (1.2.1)
|
107
|
+
timecop (0.9.5)
|
108
|
+
tzinfo (2.0.6)
|
109
|
+
concurrent-ruby (~> 1.0)
|
110
|
+
unicode-display_width (2.3.0)
|
111
|
+
webmock (3.18.1)
|
112
|
+
addressable (>= 2.8.0)
|
113
|
+
crack (>= 0.3.2)
|
114
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
115
|
+
|
116
|
+
PLATFORMS
|
117
|
+
arm64-darwin-21
|
118
|
+
x86_64-darwin-22
|
119
|
+
x86_64-linux
|
120
|
+
|
121
|
+
DEPENDENCIES
|
122
|
+
app_store_connect!
|
123
|
+
bundler
|
124
|
+
factory_bot (~> 6.2.1)
|
125
|
+
guard-rspec (~> 4.7.3)
|
126
|
+
pry (~> 0.14.1)
|
127
|
+
rake (~> 13.0.6)
|
128
|
+
rspec (~> 3.11.0)
|
129
|
+
rubocop (~> 1.36.0)
|
130
|
+
semantic (~> 1.6.1)
|
131
|
+
simplecov (~> 0.21.2)
|
132
|
+
timecop (~> 0.9.5)
|
133
|
+
webmock (~> 3.18.1)
|
134
|
+
|
135
|
+
BUNDLED WITH
|
136
|
+
2.3.24
|
data/app_store_connect.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.required_ruby_version = '>= 2.7.0'
|
25
25
|
|
26
26
|
spec.add_runtime_dependency 'activesupport', '>= 6.0.0'
|
27
|
-
spec.add_runtime_dependency 'jwt', '>= 1.4'
|
27
|
+
spec.add_runtime_dependency 'jwt', '>= 1.4'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'bundler'
|
30
30
|
spec.add_development_dependency 'factory_bot', '~> 6.2.1'
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'app_store_connect/create_request'
|
4
|
+
|
5
|
+
module AppStoreConnect
|
6
|
+
class BetaBuildLocalizationCreateRequest < CreateRequest
|
7
|
+
data do
|
8
|
+
type 'betaBuildLocalizations'
|
9
|
+
|
10
|
+
attributes do
|
11
|
+
property :locale, required: true
|
12
|
+
property :whats_new
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'app_store_connect/modify_request'
|
4
|
+
|
5
|
+
module AppStoreConnect
|
6
|
+
class BetaBuildLocalizationModifyRequest < ModifyRequest
|
7
|
+
data do
|
8
|
+
type 'betaBuildLocalizations'
|
9
|
+
|
10
|
+
attributes do
|
11
|
+
property :whats_new
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/app_store_connect.rb
CHANGED
@@ -12,6 +12,7 @@ require 'app_store_connect/app_store_version_build_linkage_request'
|
|
12
12
|
require 'app_store_connect/app_store_version_create_request'
|
13
13
|
require 'app_store_connect/app_store_version_phased_release_create_request'
|
14
14
|
require 'app_store_connect/app_store_version_phased_release_update_request'
|
15
|
+
require 'app_store_connect/app_store_version_release_request_create_request'
|
15
16
|
require 'app_store_connect/app_store_version_update_request'
|
16
17
|
require 'app_store_connect/build_update_request'
|
17
18
|
require 'app_store_connect/bundle_id_capability_create_request'
|
@@ -19,6 +20,8 @@ require 'app_store_connect/bundle_id_create_request'
|
|
19
20
|
require 'app_store_connect/certificate_create_request'
|
20
21
|
require 'app_store_connect/device_create_request'
|
21
22
|
require 'app_store_connect/profile_create_request'
|
23
|
+
require 'app_store_connect/beta_build_localization_create_request'
|
24
|
+
require 'app_store_connect/beta_build_localization_modify_request'
|
22
25
|
require 'app_store_connect/review_submission_create_request'
|
23
26
|
require 'app_store_connect/review_submission_item_create_request'
|
24
27
|
require 'app_store_connect/review_submission_update_request'
|
data/lib/config/schema.json
CHANGED
@@ -132,6 +132,18 @@
|
|
132
132
|
"http_body_type": "BundleIdCapabilityCreateRequest",
|
133
133
|
"http_method": "post"
|
134
134
|
},
|
135
|
+
{
|
136
|
+
"alias": "create_beta_build_localization",
|
137
|
+
"url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations",
|
138
|
+
"http_body_type": "BetaBuildLocalizationCreateRequest",
|
139
|
+
"http_method": "post"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"alias": "modify_beta_build_localization",
|
143
|
+
"url": "https://api.appstoreconnect.apple.com/v1/betaBuildLocalizations/{id}",
|
144
|
+
"http_body_type": "BetaBuildLocalizationModifyRequest",
|
145
|
+
"http_method": "patch"
|
146
|
+
},
|
135
147
|
{
|
136
148
|
"http_method": "get",
|
137
149
|
"url": "https://api.appstoreconnect.apple.com/v1/users",
|
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.32.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:
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -31,9 +31,6 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.4'
|
34
|
-
- - "<="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 2.5.0
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -41,9 +38,6 @@ dependencies:
|
|
41
38
|
- - ">="
|
42
39
|
- !ruby/object:Gem::Version
|
43
40
|
version: '1.4'
|
44
|
-
- - "<="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 2.5.0
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: bundler
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -215,6 +209,7 @@ files:
|
|
215
209
|
- ".ruby-version"
|
216
210
|
- CODE_OF_CONDUCT.md
|
217
211
|
- Gemfile
|
212
|
+
- Gemfile.lock
|
218
213
|
- Guardfile
|
219
214
|
- LICENSE.txt
|
220
215
|
- README.md
|
@@ -227,6 +222,8 @@ files:
|
|
227
222
|
- lib/app_store_connect/app_store_version_phased_release_update_request.rb
|
228
223
|
- lib/app_store_connect/app_store_version_release_request_create_request.rb
|
229
224
|
- lib/app_store_connect/app_store_version_update_request.rb
|
225
|
+
- lib/app_store_connect/beta_build_localization_create_request.rb
|
226
|
+
- lib/app_store_connect/beta_build_localization_modify_request.rb
|
230
227
|
- lib/app_store_connect/build_update_request.rb
|
231
228
|
- lib/app_store_connect/bundle_id_capability_create_request.rb
|
232
229
|
- lib/app_store_connect/bundle_id_create_request.rb
|
@@ -238,6 +235,7 @@ files:
|
|
238
235
|
- lib/app_store_connect/client/utils.rb
|
239
236
|
- lib/app_store_connect/create_request.rb
|
240
237
|
- lib/app_store_connect/device_create_request.rb
|
238
|
+
- lib/app_store_connect/modify_request.rb
|
241
239
|
- lib/app_store_connect/object/attributes.rb
|
242
240
|
- lib/app_store_connect/object/data.rb
|
243
241
|
- lib/app_store_connect/object/id.rb
|
@@ -278,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
278
276
|
- !ruby/object:Gem::Version
|
279
277
|
version: '0'
|
280
278
|
requirements: []
|
281
|
-
rubygems_version: 3.1
|
279
|
+
rubygems_version: 3.4.1
|
282
280
|
signing_key:
|
283
281
|
specification_version: 4
|
284
282
|
summary: A Ruby interface to the App Store Connect API
|