app_store_dev_api 0.1.7 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +0 -0
- data/LICENSE +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app_store_dev_api.gemspec +7 -8
- data/bin/.DS_Store +0 -0
- data/bin/setup +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/app_store_dev_api/base.rb +0 -0
- data/lib/app_store_dev_api/client/authorization.rb +0 -0
- data/lib/app_store_dev_api/client/builder.rb +0 -0
- data/lib/app_store_dev_api/client/options.rb +0 -0
- data/lib/app_store_dev_api/client/registry.rb +0 -0
- data/lib/app_store_dev_api/client/utils.rb +0 -0
- data/lib/app_store_dev_api/client.rb +0 -0
- data/lib/app_store_dev_api/object/attributes.rb +0 -0
- data/lib/app_store_dev_api/object/data.rb +0 -0
- data/lib/app_store_dev_api/object/data_type.rb +0 -0
- data/lib/app_store_dev_api/object/id.rb +0 -0
- data/lib/app_store_dev_api/object/included.rb +0 -0
- data/lib/app_store_dev_api/object/properties.rb +0 -0
- data/lib/app_store_dev_api/object/type.rb +0 -0
- data/lib/app_store_dev_api/request/body.rb +0 -0
- data/lib/app_store_dev_api/request/builder/create.rb +0 -0
- data/lib/app_store_dev_api/request/user_invitation_create_request.rb +0 -0
- data/lib/app_store_dev_api/request.rb +0 -0
- data/lib/app_store_dev_api/requests/delete_with_body.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_availability/delete.rb +21 -0
- data/lib/app_store_dev_api/requests/v1/app_availability/update.rb +6 -2
- data/lib/app_store_dev_api/requests/v1/app_info/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_info_localization/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_info_localization/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_price_schedule/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_promoted_purchases/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_review_detail/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_review_detail/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_localization/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_localization/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_promotion/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_releases_request/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/beta_build_localization/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/beta_build_localization/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/build_beta_detail/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/build_beta_groups/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/build_beta_groups/delete.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/builds/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/bundle_id/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/bundle_id_capability/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/certificate/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/customer_review_response/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/device/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/{in_app_purchase_territory → in_app_purchase_availability}/create.rb +1 -1
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_localization/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_localization/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_price_schedule/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_submission/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/profile/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases_image/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/promoted_purchases_image/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission_item/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription/create.rb +0 -1
- data/lib/app_store_dev_api/requests/v1/subscription/update.rb +0 -1
- data/lib/app_store_dev_api/requests/v1/subscription_availability/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_grace_period/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_localization/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_localization/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_submission/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/delete.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_localization/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_localization/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_price/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_promotional_offer/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_promotional_offer/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_review_screenshot/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_review_screenshot/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_submission/create.rb +0 -0
- data/lib/app_store_dev_api/requests/v2/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v2/app_availability/create.rb +21 -0
- data/lib/app_store_dev_api/requests/v2/in_app_purchase/create.rb +0 -1
- data/lib/app_store_dev_api/requests/v2/in_app_purchase/update.rb +0 -1
- data/lib/app_store_dev_api/requests/v2/sandbox_tester/create.rb +23 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester/update.rb +0 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/update.rb +0 -0
- data/lib/app_store_dev_api/schema/object.rb +0 -0
- data/lib/app_store_dev_api/schema/type.rb +0 -0
- data/lib/app_store_dev_api/schema/web_service_endpoint.rb +0 -0
- data/lib/app_store_dev_api/schema.rb +0 -0
- data/lib/app_store_dev_api/specification/component/schema.rb +0 -0
- data/lib/app_store_dev_api/specification.rb +0 -0
- data/lib/app_store_dev_api/version.rb +1 -1
- data/lib/app_store_dev_api.rb +0 -0
- data/lib/config/schema.json +22 -10
- data/lib/tasks/build.rake +0 -0
- data/lib/tasks/bundle.rake +0 -0
- data/lib/tasks/changelog.rake +0 -0
- data/lib/tasks/console.rake +0 -0
- data/lib/tasks/git.rake +0 -0
- data/lib/tasks/push.rake +0 -0
- data/lib/tasks/release.rake +0 -0
- data/lib/tasks/version.rake +0 -0
- data/release.sh +55 -0
- data/sig/app_store_connect_api.rbs +0 -0
- metadata +40 -49
- data/lib/app_store_dev_api/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_availability/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_info/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_price_schedule/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_promoted_purchases/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_promotion/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/app_store_version_releases_request/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/beta_build_localization/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/builds/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/customer_review_response/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/in_app_purchase_territory/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/profile/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/review_submission_item/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_availability/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_grace_period/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_group_submission/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_price/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v1/subscription_submission/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester/.DS_Store +0 -0
- data/lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c0944be414e92c74620d040bbc9a341bc62be6f71cacd1839a4e669430c17d1
|
4
|
+
data.tar.gz: 5052d1a348ae9bb62b5d7aeeafaa75d708e82e53beeef7e02d0af03309144473
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f03d1422226cc10a52ecfd9e05e4b17896bccf2cfaf13c67ea3798899c04c7a7787d5cd7bb4eb7e720b050f0b96becbafa1e27a545462b9c30a30124f32f2bac
|
7
|
+
data.tar.gz: 04e2b88489f202cdb9b2a74c7564a19a2119191a1528b79104b0b41c93912d861e2fd31fdd01176f8727abdce6ca3d2581e6949e67a49bcff07075a2b41a38db
|
data/.DS_Store
CHANGED
Binary file
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/app_store_dev_api.gemspec
CHANGED
@@ -31,12 +31,11 @@ Gem::Specification.new do |spec|
|
|
31
31
|
end
|
32
32
|
|
33
33
|
|
34
|
+
spec.add_runtime_dependency 'activesupport', '~> 7.0'
|
35
|
+
spec.add_runtime_dependency 'jwt', '~> 2.0', '>= 2.0.0'
|
36
|
+
spec.add_runtime_dependency 'zeitwerk', '~> 2.6'
|
34
37
|
|
35
|
-
spec.
|
36
|
-
spec.add_runtime_dependency 'jwt', '>= 1.4'
|
37
|
-
spec.add_runtime_dependency 'zeitwerk', '>= 2.6.7'
|
38
|
-
|
39
|
-
spec.add_development_dependency 'bundler'
|
38
|
+
spec.add_development_dependency 'bundler', '~> 2.4', '>= 2.4.0'
|
40
39
|
spec.add_development_dependency 'erb', '~> 4.0.2'
|
41
40
|
spec.add_development_dependency 'factory_bot', '~> 6.2.1'
|
42
41
|
spec.add_development_dependency 'github_changelog_generator', '1.16.4'
|
@@ -44,11 +43,11 @@ Gem::Specification.new do |spec|
|
|
44
43
|
spec.add_development_dependency 'pry', '~> 0.14.1'
|
45
44
|
spec.add_development_dependency 'rake', '~> 13.0.6'
|
46
45
|
spec.add_development_dependency 'rspec', '~> 3.12.0'
|
47
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
48
|
-
spec.add_development_dependency 'rubyzip'
|
46
|
+
spec.add_development_dependency 'rubocop', '~> 1.56.4'
|
47
|
+
spec.add_development_dependency 'rubyzip', '~> 2.3'
|
49
48
|
spec.add_development_dependency 'semantic', '~> 1.6.1'
|
50
49
|
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
51
|
-
spec.add_development_dependency 'timecop', '~> 0.9.
|
50
|
+
spec.add_development_dependency 'timecop', '~> 0.9.8'
|
52
51
|
spec.add_development_dependency 'webmock', '~> 3.18.1'
|
53
52
|
|
54
53
|
end
|
data/bin/.DS_Store
CHANGED
File without changes
|
data/bin/setup
CHANGED
File without changes
|
data/lib/.DS_Store
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module AppAvailability
|
7
|
+
class Delete < Request::Body
|
8
|
+
data do
|
9
|
+
|
10
|
+
type 'endAppAvailabilityPreOrders'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :available_in_new_territories, required: true
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -7,10 +7,14 @@ module AppStoreDevApi
|
|
7
7
|
class Update < Request::Body
|
8
8
|
data do
|
9
9
|
|
10
|
-
|
10
|
+
id
|
11
|
+
|
12
|
+
type 'territoryAvailabilities'
|
11
13
|
|
12
14
|
attributes do
|
13
|
-
property :
|
15
|
+
property :available
|
16
|
+
property :pre_order_enabled
|
17
|
+
property :release_date
|
14
18
|
end
|
15
19
|
|
16
20
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V1
|
6
|
+
module AppAvailability
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
|
10
|
+
type 'appAvailabilities'
|
11
|
+
|
12
|
+
attributes do
|
13
|
+
property :available_in_new_territories, required: true
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module AppStoreDevApi
|
4
|
+
module Requests
|
5
|
+
module V2
|
6
|
+
module SandboxTester
|
7
|
+
class Create < Request::Body
|
8
|
+
data do
|
9
|
+
type 'sandboxTesters'
|
10
|
+
|
11
|
+
attributes do
|
12
|
+
property :first_name
|
13
|
+
property :last_name
|
14
|
+
property :ac_account_name
|
15
|
+
property :ac_account_password
|
16
|
+
property :store_front
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/app_store_dev_api.rb
CHANGED
File without changes
|
data/lib/config/schema.json
CHANGED
@@ -342,27 +342,39 @@
|
|
342
342
|
"http_method": "post",
|
343
343
|
"http_body_type": "Requests::V1::AppPriceSchedule::Update",
|
344
344
|
"url": "https://api.appstoreconnect.apple.com/v1/appPriceSchedules"
|
345
|
-
},
|
345
|
+
},
|
346
346
|
{
|
347
|
-
"alias": "
|
347
|
+
"alias": "list_all_availability",
|
348
348
|
"http_method": "get",
|
349
|
-
"url": "https://api.appstoreconnect.apple.com/v1/
|
349
|
+
"url": "https://api.appstoreconnect.apple.com/v1/territories"
|
350
350
|
},
|
351
351
|
{
|
352
352
|
"alias": "read_app_availability",
|
353
353
|
"http_method": "get",
|
354
|
-
"url": "https://api.appstoreconnect.apple.com/
|
354
|
+
"url": "https://api.appstoreconnect.apple.com/v2/appAvailabilities/{id}"
|
355
355
|
},
|
356
356
|
{
|
357
|
-
"alias": "
|
357
|
+
"alias": "read_app_availability_territories",
|
358
358
|
"http_method": "get",
|
359
|
-
"url": "https://api.appstoreconnect.apple.com/
|
359
|
+
"url": "https://api.appstoreconnect.apple.com/v2/appAvailabilities/{id}/territoryAvailabilities"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"alias": "create_apppreordery",
|
363
|
+
"http_method": "post",
|
364
|
+
"http_body_type": "Requests::V2::AppAvailability::Create",
|
365
|
+
"url": "https://api.appstoreconnect.apple.com/v2/appAvailabilities"
|
360
366
|
},
|
361
367
|
{
|
362
|
-
"alias": "
|
368
|
+
"alias": "modify_territory_availabilty_for_apppreorder",
|
363
369
|
"http_method": "patch",
|
364
370
|
"http_body_type": "Requests::V1::AppAvailability::Update",
|
365
|
-
"url": "https://api.appstoreconnect.apple.com/v1/
|
371
|
+
"url": "https://api.appstoreconnect.apple.com/v1/territoryAvailabilities/{id}"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"alias": "end_apppreorder",
|
375
|
+
"http_method": "post",
|
376
|
+
"http_body_type": "Requests::V1::AppAvailability::Delete",
|
377
|
+
"url": "https://api.appstoreconnect.apple.com/v1/endAppAvailabilityPreOrders"
|
366
378
|
},
|
367
379
|
{
|
368
380
|
"alias": "read_app_infos",
|
@@ -654,7 +666,7 @@
|
|
654
666
|
},
|
655
667
|
{
|
656
668
|
"alias": "modify_in_app_purchase_territory_availablity",
|
657
|
-
"http_body_type": "Requests::V1::
|
669
|
+
"http_body_type": "Requests::V1::InAppPurchaseAvailability::Create",
|
658
670
|
"http_method": "post",
|
659
671
|
"url": "https://api.appstoreconnect.apple.com/v1/inAppPurchaseAvailabilities"
|
660
672
|
},
|
@@ -948,7 +960,7 @@
|
|
948
960
|
"url": "https://api.appstoreconnect.apple.com/v1/subscriptionGracePeriods/{id}"
|
949
961
|
},
|
950
962
|
{
|
951
|
-
"alias": "
|
963
|
+
"alias": "modify_subscription_grace_period",
|
952
964
|
"http_body_type": "Requests::V1::SubscriptionGracePeriod::Create",
|
953
965
|
"http_method": "patch",
|
954
966
|
"url": "https://api.appstoreconnect.apple.com/v1/subscriptionGracePeriods/{id}"
|
data/lib/tasks/build.rake
CHANGED
File without changes
|
data/lib/tasks/bundle.rake
CHANGED
File without changes
|
data/lib/tasks/changelog.rake
CHANGED
File without changes
|
data/lib/tasks/console.rake
CHANGED
File without changes
|
data/lib/tasks/git.rake
CHANGED
File without changes
|
data/lib/tasks/push.rake
CHANGED
File without changes
|
data/lib/tasks/release.rake
CHANGED
File without changes
|
data/lib/tasks/version.rake
CHANGED
File without changes
|
data/release.sh
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
#当前脚本目录
|
4
|
+
CURRENT_DIR=$(dirname $(readlink -f $0))
|
5
|
+
echo $CURRENT_DIR
|
6
|
+
|
7
|
+
|
8
|
+
# Make all files and directories in the current directory readable, writable, and executable for all users.
|
9
|
+
/bin/chmod -R a+rwx $CURRENT_DIR
|
10
|
+
# Change the owner of the current directory to the current user.
|
11
|
+
/usr/sbin/chown $(whoami) $CURRENT_DIR
|
12
|
+
# Change the group of the current directory to "admin".
|
13
|
+
/usr/bin/chgrp admin $CURRENT_DIR
|
14
|
+
|
15
|
+
gem_files=$(find $CURRENT_DIR -name "*.gemspec")
|
16
|
+
for gemspec_file in $gem_files
|
17
|
+
do
|
18
|
+
|
19
|
+
gem_name=${gemspec_file##*/}
|
20
|
+
gem_name=${gem_name%.gemspec}
|
21
|
+
# echo $gem_name
|
22
|
+
|
23
|
+
rm -rf $CURRENT_DIR/*$gem_name-*.gem
|
24
|
+
gem build $CURRENT_DIR/$gem_name.gemspec
|
25
|
+
|
26
|
+
GEM_VERSION_FILE=${CURRENT_DIR}/lib/$gem_name/version.rb
|
27
|
+
GEM_VERSION_KEY="VERSION"
|
28
|
+
TAG_NAME=`grep "[ ].${GEM_VERSION_KEY}[ ]." ${GEM_VERSION_FILE} | cut -d'"' -f2`
|
29
|
+
# echo $TAG_NAME
|
30
|
+
|
31
|
+
COMMIT_FILE_LIST=$(git -C $CURRENT_DIR ls-files --other --modified --exclude-standard)
|
32
|
+
echo $COMMIT_FILE_LIST
|
33
|
+
|
34
|
+
if [ -z "$COMMIT_FILE_LIST" ]; then
|
35
|
+
echo "没有需要提交的文件!"
|
36
|
+
else
|
37
|
+
git -C $CURRENT_DIR add -A
|
38
|
+
git -C $CURRENT_DIR commit -m "add code for ${TAG_NAME}"
|
39
|
+
git -C $CURRENT_DIR push
|
40
|
+
fi
|
41
|
+
|
42
|
+
if [[ -f $CURRENT_DIR/$gem_name-${TAG_NAME}.gem ]]; then
|
43
|
+
gem install --local $CURRENT_DIR/$gem_name-${TAG_NAME}.gem
|
44
|
+
gem cleanup
|
45
|
+
fi
|
46
|
+
# gem push $CURRENT_DIR/$gem_name-${TAG_NAME}.gem
|
47
|
+
done
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
File without changes
|
metadata
CHANGED
@@ -1,71 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_store_dev_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '7.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '7.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jwt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
31
34
|
- - ">="
|
32
35
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
36
|
+
version: 2.0.0
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '2.0'
|
38
44
|
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
46
|
+
version: 2.0.0
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: zeitwerk
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - "
|
51
|
+
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.6
|
53
|
+
version: '2.6'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- - "
|
58
|
+
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.6
|
60
|
+
version: '2.6'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: bundler
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '2.4'
|
59
68
|
- - ">="
|
60
69
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
70
|
+
version: 2.4.0
|
62
71
|
type: :development
|
63
72
|
prerelease: false
|
64
73
|
version_requirements: !ruby/object:Gem::Requirement
|
65
74
|
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.4'
|
66
78
|
- - ">="
|
67
79
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
80
|
+
version: 2.4.0
|
69
81
|
- !ruby/object:Gem::Dependency
|
70
82
|
name: erb
|
71
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,28 +182,28 @@ dependencies:
|
|
170
182
|
requirements:
|
171
183
|
- - "~>"
|
172
184
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
185
|
+
version: 1.56.4
|
174
186
|
type: :development
|
175
187
|
prerelease: false
|
176
188
|
version_requirements: !ruby/object:Gem::Requirement
|
177
189
|
requirements:
|
178
190
|
- - "~>"
|
179
191
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
192
|
+
version: 1.56.4
|
181
193
|
- !ruby/object:Gem::Dependency
|
182
194
|
name: rubyzip
|
183
195
|
requirement: !ruby/object:Gem::Requirement
|
184
196
|
requirements:
|
185
|
-
- - "
|
197
|
+
- - "~>"
|
186
198
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
199
|
+
version: '2.3'
|
188
200
|
type: :development
|
189
201
|
prerelease: false
|
190
202
|
version_requirements: !ruby/object:Gem::Requirement
|
191
203
|
requirements:
|
192
|
-
- - "
|
204
|
+
- - "~>"
|
193
205
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
206
|
+
version: '2.3'
|
195
207
|
- !ruby/object:Gem::Dependency
|
196
208
|
name: semantic
|
197
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,14 +238,14 @@ dependencies:
|
|
226
238
|
requirements:
|
227
239
|
- - "~>"
|
228
240
|
- !ruby/object:Gem::Version
|
229
|
-
version: 0.9.
|
241
|
+
version: 0.9.8
|
230
242
|
type: :development
|
231
243
|
prerelease: false
|
232
244
|
version_requirements: !ruby/object:Gem::Requirement
|
233
245
|
requirements:
|
234
246
|
- - "~>"
|
235
247
|
- !ruby/object:Gem::Version
|
236
|
-
version: 0.9.
|
248
|
+
version: 0.9.8
|
237
249
|
- !ruby/object:Gem::Dependency
|
238
250
|
name: webmock
|
239
251
|
requirement: !ruby/object:Gem::Requirement
|
@@ -271,7 +283,6 @@ files:
|
|
271
283
|
- bin/setup
|
272
284
|
- lib/.DS_Store
|
273
285
|
- lib/app_store_dev_api.rb
|
274
|
-
- lib/app_store_dev_api/.DS_Store
|
275
286
|
- lib/app_store_dev_api/base.rb
|
276
287
|
- lib/app_store_dev_api/client.rb
|
277
288
|
- lib/app_store_dev_api/client/authorization.rb
|
@@ -290,79 +301,61 @@ files:
|
|
290
301
|
- lib/app_store_dev_api/request/body.rb
|
291
302
|
- lib/app_store_dev_api/request/builder/create.rb
|
292
303
|
- lib/app_store_dev_api/request/user_invitation_create_request.rb
|
293
|
-
- lib/app_store_dev_api/requests/.DS_Store
|
294
304
|
- lib/app_store_dev_api/requests/delete_with_body.rb
|
295
305
|
- lib/app_store_dev_api/requests/v1/.DS_Store
|
296
|
-
- lib/app_store_dev_api/requests/v1/app/.DS_Store
|
297
306
|
- lib/app_store_dev_api/requests/v1/app/update.rb
|
298
|
-
- lib/app_store_dev_api/requests/v1/app_availability
|
307
|
+
- lib/app_store_dev_api/requests/v1/app_availability/delete.rb
|
299
308
|
- lib/app_store_dev_api/requests/v1/app_availability/update.rb
|
300
|
-
- lib/app_store_dev_api/requests/v1/app_info/.DS_Store
|
301
309
|
- lib/app_store_dev_api/requests/v1/app_info/update.rb
|
302
310
|
- lib/app_store_dev_api/requests/v1/app_info_localization/create.rb
|
303
311
|
- lib/app_store_dev_api/requests/v1/app_info_localization/update.rb
|
304
|
-
- lib/app_store_dev_api/requests/v1/app_price_schedule/.DS_Store
|
305
312
|
- lib/app_store_dev_api/requests/v1/app_price_schedule/update.rb
|
306
|
-
- lib/app_store_dev_api/requests/v1/app_promoted_purchases/.DS_Store
|
307
313
|
- lib/app_store_dev_api/requests/v1/app_promoted_purchases/update.rb
|
308
314
|
- lib/app_store_dev_api/requests/v1/app_store_review_detail/create.rb
|
309
315
|
- lib/app_store_dev_api/requests/v1/app_store_review_detail/update.rb
|
310
316
|
- lib/app_store_dev_api/requests/v1/app_store_version/create.rb
|
311
317
|
- lib/app_store_dev_api/requests/v1/app_store_version/update.rb
|
312
|
-
- lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/.DS_Store
|
313
318
|
- lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/update.rb
|
314
319
|
- lib/app_store_dev_api/requests/v1/app_store_version_localization/create.rb
|
315
320
|
- lib/app_store_dev_api/requests/v1/app_store_version_localization/update.rb
|
316
321
|
- lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/create.rb
|
317
322
|
- lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/update.rb
|
318
|
-
- lib/app_store_dev_api/requests/v1/app_store_version_promotion/.DS_Store
|
319
323
|
- lib/app_store_dev_api/requests/v1/app_store_version_promotion/create.rb
|
320
|
-
- lib/app_store_dev_api/requests/v1/app_store_version_releases_request/.DS_Store
|
321
324
|
- lib/app_store_dev_api/requests/v1/app_store_version_releases_request/create.rb
|
322
|
-
- lib/app_store_dev_api/requests/v1/beta_build_localization/.DS_Store
|
323
325
|
- lib/app_store_dev_api/requests/v1/beta_build_localization/create.rb
|
324
326
|
- lib/app_store_dev_api/requests/v1/beta_build_localization/update.rb
|
325
327
|
- lib/app_store_dev_api/requests/v1/build_beta_detail/update.rb
|
326
328
|
- lib/app_store_dev_api/requests/v1/build_beta_groups/create.rb
|
327
329
|
- lib/app_store_dev_api/requests/v1/build_beta_groups/delete.rb
|
328
|
-
- lib/app_store_dev_api/requests/v1/builds/.DS_Store
|
329
330
|
- lib/app_store_dev_api/requests/v1/builds/update.rb
|
330
331
|
- lib/app_store_dev_api/requests/v1/bundle_id/create.rb
|
331
332
|
- lib/app_store_dev_api/requests/v1/bundle_id_capability/create.rb
|
332
333
|
- lib/app_store_dev_api/requests/v1/certificate/create.rb
|
333
|
-
- lib/app_store_dev_api/requests/v1/customer_review_response/.DS_Store
|
334
334
|
- lib/app_store_dev_api/requests/v1/customer_review_response/create.rb
|
335
335
|
- lib/app_store_dev_api/requests/v1/device/create.rb
|
336
|
+
- lib/app_store_dev_api/requests/v1/in_app_purchase_availability/create.rb
|
336
337
|
- lib/app_store_dev_api/requests/v1/in_app_purchase_localization/create.rb
|
337
338
|
- lib/app_store_dev_api/requests/v1/in_app_purchase_localization/update.rb
|
338
339
|
- lib/app_store_dev_api/requests/v1/in_app_purchase_price_schedule/create.rb
|
339
340
|
- lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/create.rb
|
340
341
|
- lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/update.rb
|
341
342
|
- lib/app_store_dev_api/requests/v1/in_app_purchase_submission/create.rb
|
342
|
-
- lib/app_store_dev_api/requests/v1/in_app_purchase_territory/.DS_Store
|
343
|
-
- lib/app_store_dev_api/requests/v1/in_app_purchase_territory/create.rb
|
344
|
-
- lib/app_store_dev_api/requests/v1/profile/.DS_Store
|
345
343
|
- lib/app_store_dev_api/requests/v1/profile/create.rb
|
346
344
|
- lib/app_store_dev_api/requests/v1/promoted_purchases/create.rb
|
347
345
|
- lib/app_store_dev_api/requests/v1/promoted_purchases/update.rb
|
348
346
|
- lib/app_store_dev_api/requests/v1/promoted_purchases_image/create.rb
|
349
347
|
- lib/app_store_dev_api/requests/v1/promoted_purchases_image/update.rb
|
350
|
-
- lib/app_store_dev_api/requests/v1/review_submission/.DS_Store
|
351
348
|
- lib/app_store_dev_api/requests/v1/review_submission/create.rb
|
352
349
|
- lib/app_store_dev_api/requests/v1/review_submission/update.rb
|
353
|
-
- lib/app_store_dev_api/requests/v1/review_submission_item/.DS_Store
|
354
350
|
- lib/app_store_dev_api/requests/v1/review_submission_item/create.rb
|
355
351
|
- lib/app_store_dev_api/requests/v1/subscription/create.rb
|
356
352
|
- lib/app_store_dev_api/requests/v1/subscription/update.rb
|
357
|
-
- lib/app_store_dev_api/requests/v1/subscription_availability/.DS_Store
|
358
353
|
- lib/app_store_dev_api/requests/v1/subscription_availability/create.rb
|
359
|
-
- lib/app_store_dev_api/requests/v1/subscription_grace_period/.DS_Store
|
360
354
|
- lib/app_store_dev_api/requests/v1/subscription_grace_period/update.rb
|
361
355
|
- lib/app_store_dev_api/requests/v1/subscription_group/create.rb
|
362
356
|
- lib/app_store_dev_api/requests/v1/subscription_group/update.rb
|
363
357
|
- lib/app_store_dev_api/requests/v1/subscription_group_localization/create.rb
|
364
358
|
- lib/app_store_dev_api/requests/v1/subscription_group_localization/update.rb
|
365
|
-
- lib/app_store_dev_api/requests/v1/subscription_group_submission/.DS_Store
|
366
359
|
- lib/app_store_dev_api/requests/v1/subscription_group_submission/create.rb
|
367
360
|
- lib/app_store_dev_api/requests/v1/subscription_introductory_offer/create.rb
|
368
361
|
- lib/app_store_dev_api/requests/v1/subscription_introductory_offer/delete.rb
|
@@ -375,22 +368,19 @@ files:
|
|
375
368
|
- lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/update.rb
|
376
369
|
- lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/create.rb
|
377
370
|
- lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/update.rb
|
378
|
-
- lib/app_store_dev_api/requests/v1/subscription_price/.DS_Store
|
379
371
|
- lib/app_store_dev_api/requests/v1/subscription_price/create.rb
|
380
|
-
- lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/.DS_Store
|
381
372
|
- lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/create.rb
|
382
373
|
- lib/app_store_dev_api/requests/v1/subscription_promotional_offer/create.rb
|
383
374
|
- lib/app_store_dev_api/requests/v1/subscription_promotional_offer/update.rb
|
384
375
|
- lib/app_store_dev_api/requests/v1/subscription_review_screenshot/create.rb
|
385
376
|
- lib/app_store_dev_api/requests/v1/subscription_review_screenshot/update.rb
|
386
|
-
- lib/app_store_dev_api/requests/v1/subscription_submission/.DS_Store
|
387
377
|
- lib/app_store_dev_api/requests/v1/subscription_submission/create.rb
|
388
378
|
- lib/app_store_dev_api/requests/v2/.DS_Store
|
379
|
+
- lib/app_store_dev_api/requests/v2/app_availability/create.rb
|
389
380
|
- lib/app_store_dev_api/requests/v2/in_app_purchase/create.rb
|
390
381
|
- lib/app_store_dev_api/requests/v2/in_app_purchase/update.rb
|
391
|
-
- lib/app_store_dev_api/requests/v2/sandbox_tester
|
382
|
+
- lib/app_store_dev_api/requests/v2/sandbox_tester/create.rb
|
392
383
|
- lib/app_store_dev_api/requests/v2/sandbox_tester/update.rb
|
393
|
-
- lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/.DS_Store
|
394
384
|
- lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/update.rb
|
395
385
|
- lib/app_store_dev_api/schema.rb
|
396
386
|
- lib/app_store_dev_api/schema/object.rb
|
@@ -408,6 +398,7 @@ files:
|
|
408
398
|
- lib/tasks/push.rake
|
409
399
|
- lib/tasks/release.rake
|
410
400
|
- lib/tasks/version.rake
|
401
|
+
- release.sh
|
411
402
|
- sig/app_store_connect_api.rbs
|
412
403
|
homepage: https://github.com/wade0317/app_store_dev_api.git.
|
413
404
|
licenses:
|
@@ -431,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
431
422
|
- !ruby/object:Gem::Version
|
432
423
|
version: '0'
|
433
424
|
requirements: []
|
434
|
-
rubygems_version: 3.4.
|
425
|
+
rubygems_version: 3.4.10
|
435
426
|
signing_key:
|
436
427
|
specification_version: 4
|
437
428
|
summary: easy work for app_store_dev_api work
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|