app_store_connect 0.28.0 → 0.30.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: 5ef9f9632eeaad4a816afb0d83fcaa7ff57e794246d596a5c915336574bfa99c
4
- data.tar.gz: 0b428bdd0afd39c066a49bf43fc5471710c70db5e24dd2f65b54d00235db6ef7
3
+ metadata.gz: 46d75330d8f45544239511328cc4506fc789d32742e03362a35145d8a30cd057
4
+ data.tar.gz: 33f8845d2784d1e8de83806d85d7aa6fff4b69129a1200d4f6a392f88b17ed6d
5
5
  SHA512:
6
- metadata.gz: 9b47b98cc719f0a1b94ea6feecd68f714a4078f24059e9619bc2ae1bfc92f8e3bbf79432f101e4fbdbf2f3e024501e9c9d9b44ad635074f00426c18007b7b5b1
7
- data.tar.gz: 6f23cbefcc7dee9f6ca0d7b2f6795c8111b0b9acfbbfdfbef75d4ff0d9ef6d90fa007d30ac4305881e6b1d102c9bb0ccfe3c835918af5e68d0e23cba9f00c6c8
6
+ metadata.gz: 871d8d12b3e8005bef55a51f424715c00eea185ad19fd8d647de1d3632529d4d0b8a5b883ee893c73f36d0f52b9e2c6cba689db43d7e1963098f15e127a8b859
7
+ data.tar.gz: 6f1a6d0c3c5bb66a9e101d1d266465c90515c0210b1d0863e8197e2a44e1c122e5d63621287722aa131fd26c389d553a31a471a23cbc1020ade4eac24024e0e6
@@ -0,0 +1,3 @@
1
+ ---
2
+
3
+ github: kyledecot
@@ -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@v2
14
- - name: Set up Ruby 2.7
15
- uses: actions/setup-ruby@v1
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: 2.7.x
18
- - uses: actions/cache@v1
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@v1
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@v2
46
- - name: Set up Ruby 2.7
47
- uses: actions/setup-ruby@v1
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: 2.7.x
50
- - uses: actions/cache@v1
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@v2
71
- - name: Set up Ruby 2.7
72
- uses: actions/setup-ruby@v1
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: 2.7.x
75
- - uses: actions/cache@v1
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') }}
@@ -91,14 +100,17 @@ jobs:
91
100
  runs-on: ubuntu-latest
92
101
  if: ${{ startsWith(github.ref, 'refs/tags/v') }}
93
102
  needs: [test, lint]
103
+ strategy:
104
+ matrix:
105
+ ruby_versions: [2.7, 3.0, 3.1, 3.2]
94
106
 
95
107
  steps:
96
- - uses: actions/checkout@v2
97
- - name: Set up Ruby 2.7
98
- uses: actions/setup-ruby@v1
108
+ - uses: actions/checkout@v3
109
+ - name: Set up Ruby ${{ matrix.ruby_versions }}
110
+ uses: ruby/setup-ruby@v1
99
111
  with:
100
- ruby-version: 2.7.x
101
- - uses: actions/cache@v1
112
+ ruby-version: ${{ matrix.ruby_versions }}
113
+ - uses: actions/cache@v3
102
114
  with:
103
115
  path: vendor/bundle
104
116
  key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
@@ -119,7 +131,7 @@ jobs:
119
131
  run: bundle install --jobs 4 --retry 3
120
132
  - name: Set APP_STORE_CONNECT_VERSION
121
133
  run: echo "APP_STORE_CONNECT_VERSION=$(bundle exec rake version:current)" >> $GITHUB_ENV
122
- - uses: actions/download-artifact@v1
134
+ - uses: actions/download-artifact@v3
123
135
  with:
124
136
  name: app_store_connect-${{ env.APP_STORE_CONNECT_VERSION }}.gem
125
137
  path: /tmp
data/.gitignore CHANGED
@@ -10,4 +10,3 @@
10
10
  .rspec_status
11
11
  .DS_Store
12
12
  *.gem
13
- Gemfile.lock
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
- Metrics/LineLength:
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.30.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)
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.1.10)
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.16.3)
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.5)
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.22
@@ -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', '<= 2.5.0'
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,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'app_store_connect/create_request'
4
+
5
+ module AppStoreConnect
6
+ class AppStoreVersionReleaseRequestCreateRequest < CreateRequest
7
+ data do
8
+ type 'appStoreVersionReleaseRequests'
9
+ end
10
+ end
11
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreConnect
4
- VERSION = '0.28.0'
4
+ VERSION = '0.30.0'
5
5
  end
@@ -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'
@@ -714,6 +714,13 @@
714
714
  "alias": "app_store_version"
715
715
  },
716
716
 
717
+ {
718
+ "url": "https://api.appstoreconnect.apple.com/v1/appStoreVersionReleaseRequests",
719
+ "http_body_type": "AppStoreVersionReleaseRequestCreateRequest",
720
+ "http_method": "post",
721
+ "alias": "create_app_store_version_release_request"
722
+ },
723
+
717
724
  {
718
725
  "url": "https://api.appstoreconnect.apple.com/v1/appStoreVersionPhasedReleases",
719
726
  "http_body_type": "AppStoreVersionPhasedReleaseCreateRequest",
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.28.0
4
+ version: 0.30.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: 2022-10-28 00:00:00.000000000 Z
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
@@ -205,6 +199,7 @@ executables: []
205
199
  extensions: []
206
200
  extra_rdoc_files: []
207
201
  files:
202
+ - ".github/FUNDING.yml"
208
203
  - ".github/ISSUE_TEMPLATE/bug_report.md"
209
204
  - ".github/ISSUE_TEMPLATE/feature_request.md"
210
205
  - ".github/workflows/default.yml"
@@ -214,6 +209,7 @@ files:
214
209
  - ".ruby-version"
215
210
  - CODE_OF_CONDUCT.md
216
211
  - Gemfile
212
+ - Gemfile.lock
217
213
  - Guardfile
218
214
  - LICENSE.txt
219
215
  - README.md
@@ -224,6 +220,7 @@ files:
224
220
  - lib/app_store_connect/app_store_version_create_request.rb
225
221
  - lib/app_store_connect/app_store_version_phased_release_create_request.rb
226
222
  - lib/app_store_connect/app_store_version_phased_release_update_request.rb
223
+ - lib/app_store_connect/app_store_version_release_request_create_request.rb
227
224
  - lib/app_store_connect/app_store_version_update_request.rb
228
225
  - lib/app_store_connect/build_update_request.rb
229
226
  - lib/app_store_connect/bundle_id_capability_create_request.rb
@@ -276,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
273
  - !ruby/object:Gem::Version
277
274
  version: '0'
278
275
  requirements: []
279
- rubygems_version: 3.1.6
276
+ rubygems_version: 3.4.1
280
277
  signing_key:
281
278
  specification_version: 4
282
279
  summary: A Ruby interface to the App Store Connect API