app_store_connect 0.30.0 → 0.32.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46d75330d8f45544239511328cc4506fc789d32742e03362a35145d8a30cd057
4
- data.tar.gz: 33f8845d2784d1e8de83806d85d7aa6fff4b69129a1200d4f6a392f88b17ed6d
3
+ metadata.gz: 1b0cf3a6465aade091a98df88de13c46aa7b121ec1a0b50b7f9b0caf69980155
4
+ data.tar.gz: af3b403667fcd3cf3fe70365e18051b735574bc598f7fa1567d1013a957ff752
5
5
  SHA512:
6
- metadata.gz: 871d8d12b3e8005bef55a51f424715c00eea185ad19fd8d647de1d3632529d4d0b8a5b883ee893c73f36d0f52b9e2c6cba689db43d7e1963098f15e127a8b859
7
- data.tar.gz: 6f1a6d0c3c5bb66a9e101d1d266465c90515c0210b1d0863e8197e2a44e1c122e5d63621287722aa131fd26c389d553a31a471a23cbc1020ade4eac24024e0e6
6
+ metadata.gz: 6d25d79565e2b8dcd71fe15a29537f81155144738b1271d493666e9a89935b0635bc81583d0909bf246e2cb10003610ac1d86fd0417994dcc724b651067a15c9
7
+ data.tar.gz: f272e5b4fce17fc8d871f5f6466d5c33427bac9c013e71bf0c55e2b3ec71eab4eb57c7e4cdffc1a46eb2dab21dcce8266d0824c32a408f2ae396a8e46bdbe9f1
@@ -100,16 +100,13 @@ jobs:
100
100
  runs-on: ubuntu-latest
101
101
  if: ${{ startsWith(github.ref, 'refs/tags/v') }}
102
102
  needs: [test, lint]
103
- strategy:
104
- matrix:
105
- ruby_versions: [2.7, 3.0, 3.1, 3.2]
106
103
 
107
104
  steps:
108
105
  - uses: actions/checkout@v3
109
- - name: Set up Ruby ${{ matrix.ruby_versions }}
106
+ - name: Set up Ruby 3.2
110
107
  uses: ruby/setup-ruby@v1
111
108
  with:
112
- ruby-version: ${{ matrix.ruby_versions }}
109
+ ruby-version: 3.2
113
110
  - uses: actions/cache@v3
114
111
  with:
115
112
  path: vendor/bundle
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_store_connect (0.30.0)
4
+ app_store_connect (0.32.0)
5
5
  activesupport (>= 6.0.0)
6
6
  jwt (>= 1.4)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4)
11
+ activesupport (7.0.4.2)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
@@ -17,7 +17,7 @@ GEM
17
17
  public_suffix (>= 2.0.2, < 6.0)
18
18
  ast (2.4.2)
19
19
  coderay (1.1.3)
20
- concurrent-ruby (1.1.10)
20
+ concurrent-ruby (1.2.0)
21
21
  crack (0.4.5)
22
22
  rexml
23
23
  diff-lcs (1.5.0)
@@ -50,7 +50,7 @@ GEM
50
50
  rb-inotify (~> 0.9, >= 0.9.10)
51
51
  lumberjack (1.2.8)
52
52
  method_source (1.0.0)
53
- minitest (5.16.3)
53
+ minitest (5.17.0)
54
54
  nenv (0.3.0)
55
55
  notiffany (0.1.3)
56
56
  nenv (~> 0.1)
@@ -105,7 +105,7 @@ GEM
105
105
  simplecov_json_formatter (0.1.4)
106
106
  thor (1.2.1)
107
107
  timecop (0.9.5)
108
- tzinfo (2.0.5)
108
+ tzinfo (2.0.6)
109
109
  concurrent-ruby (~> 1.0)
110
110
  unicode-display_width (2.3.0)
111
111
  webmock (3.18.1)
@@ -133,4 +133,4 @@ DEPENDENCIES
133
133
  webmock (~> 3.18.1)
134
134
 
135
135
  BUNDLED WITH
136
- 2.3.22
136
+ 2.3.24
@@ -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
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AppStoreConnect
4
+ class ModifyRequest
5
+ def self.inherited(klass)
6
+ super
7
+ klass.include(Object::Data)
8
+ end
9
+
10
+ def initialize(**kwargs)
11
+ @data = self.class::Data.new(kwargs)
12
+ end
13
+ end
14
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreConnect
4
- VERSION = '0.30.0'
4
+ VERSION = '0.32.0'
5
5
  end
@@ -20,6 +20,8 @@ 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
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'
23
25
  require 'app_store_connect/review_submission_create_request'
24
26
  require 'app_store_connect/review_submission_item_create_request'
25
27
  require 'app_store_connect/review_submission_update_request'
@@ -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,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.30.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Decot
@@ -222,6 +222,8 @@ files:
222
222
  - lib/app_store_connect/app_store_version_phased_release_update_request.rb
223
223
  - lib/app_store_connect/app_store_version_release_request_create_request.rb
224
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
225
227
  - lib/app_store_connect/build_update_request.rb
226
228
  - lib/app_store_connect/bundle_id_capability_create_request.rb
227
229
  - lib/app_store_connect/bundle_id_create_request.rb
@@ -233,6 +235,7 @@ files:
233
235
  - lib/app_store_connect/client/utils.rb
234
236
  - lib/app_store_connect/create_request.rb
235
237
  - lib/app_store_connect/device_create_request.rb
238
+ - lib/app_store_connect/modify_request.rb
236
239
  - lib/app_store_connect/object/attributes.rb
237
240
  - lib/app_store_connect/object/data.rb
238
241
  - lib/app_store_connect/object/id.rb