app_store_dev_api 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/.gitignore +2 -0
  4. data/1.txt +457 -0
  5. data/CHANGELOG.md +0 -0
  6. data/CODE_OF_CONDUCT.md +0 -0
  7. data/Gemfile +0 -0
  8. data/Gemfile.lock +0 -0
  9. data/LICENSE +0 -0
  10. data/LICENSE.txt +0 -0
  11. data/README.md +0 -0
  12. data/Rakefile +0 -0
  13. data/app_store_dev_api.gemspec +3 -3
  14. data/bin/.DS_Store +0 -0
  15. data/bin/setup +0 -0
  16. data/lib/.DS_Store +0 -0
  17. data/lib/app_store_dev_api/.DS_Store +0 -0
  18. data/lib/app_store_dev_api/base.rb +0 -0
  19. data/lib/app_store_dev_api/client/authorization.rb +0 -0
  20. data/lib/app_store_dev_api/client/builder.rb +0 -0
  21. data/lib/app_store_dev_api/client/options.rb +0 -0
  22. data/lib/app_store_dev_api/client/registry.rb +0 -0
  23. data/lib/app_store_dev_api/client/utils.rb +0 -0
  24. data/lib/app_store_dev_api/client.rb +0 -0
  25. data/lib/app_store_dev_api/object/attributes.rb +0 -0
  26. data/lib/app_store_dev_api/object/data.rb +0 -0
  27. data/lib/app_store_dev_api/object/data_type.rb +0 -0
  28. data/lib/app_store_dev_api/object/id.rb +0 -0
  29. data/lib/app_store_dev_api/object/included.rb +0 -0
  30. data/lib/app_store_dev_api/object/properties.rb +0 -0
  31. data/lib/app_store_dev_api/object/type.rb +0 -0
  32. data/lib/app_store_dev_api/request/body.rb +0 -0
  33. data/lib/app_store_dev_api/request/builder/create.rb +0 -0
  34. data/lib/app_store_dev_api/request/user_invitation_create_request.rb +0 -0
  35. data/lib/app_store_dev_api/request.rb +0 -0
  36. data/lib/app_store_dev_api/requests/.DS_Store +0 -0
  37. data/lib/app_store_dev_api/requests/delete_with_body.rb +0 -0
  38. data/lib/app_store_dev_api/requests/v1/.DS_Store +0 -0
  39. data/lib/app_store_dev_api/requests/v1/app/.DS_Store +0 -0
  40. data/lib/app_store_dev_api/requests/v1/app/update.rb +0 -0
  41. data/lib/app_store_dev_api/requests/v1/app_availability/.DS_Store +0 -0
  42. data/lib/app_store_dev_api/requests/v1/app_availability/update.rb +0 -0
  43. data/lib/app_store_dev_api/requests/v1/app_info/.DS_Store +0 -0
  44. data/lib/app_store_dev_api/requests/v1/app_info/update.rb +0 -0
  45. data/lib/app_store_dev_api/requests/v1/app_info_localization/create.rb +0 -0
  46. data/lib/app_store_dev_api/requests/v1/app_info_localization/update.rb +0 -0
  47. data/lib/app_store_dev_api/requests/v1/app_price_schedule/.DS_Store +0 -0
  48. data/lib/app_store_dev_api/requests/v1/app_price_schedule/update.rb +0 -0
  49. data/lib/app_store_dev_api/requests/v1/app_promoted_purchases/.DS_Store +0 -0
  50. data/lib/app_store_dev_api/requests/v1/app_promoted_purchases/update.rb +0 -0
  51. data/lib/app_store_dev_api/requests/v1/app_store_review_detail/create.rb +0 -0
  52. data/lib/app_store_dev_api/requests/v1/app_store_review_detail/update.rb +0 -0
  53. data/lib/app_store_dev_api/requests/v1/app_store_version/create.rb +0 -0
  54. data/lib/app_store_dev_api/requests/v1/app_store_version/update.rb +0 -0
  55. data/lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/.DS_Store +0 -0
  56. data/lib/app_store_dev_api/requests/v1/app_store_version_build_linkage_request/update.rb +0 -0
  57. data/lib/app_store_dev_api/requests/v1/app_store_version_localization/create.rb +0 -0
  58. data/lib/app_store_dev_api/requests/v1/app_store_version_localization/update.rb +0 -0
  59. data/lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/create.rb +0 -0
  60. data/lib/app_store_dev_api/requests/v1/app_store_version_phased_releases/update.rb +0 -0
  61. data/lib/app_store_dev_api/requests/v1/app_store_version_promotion/.DS_Store +0 -0
  62. data/lib/app_store_dev_api/requests/v1/app_store_version_promotion/create.rb +0 -0
  63. data/lib/app_store_dev_api/requests/v1/app_store_version_releases_request/.DS_Store +0 -0
  64. data/lib/app_store_dev_api/requests/v1/app_store_version_releases_request/create.rb +0 -0
  65. data/lib/app_store_dev_api/requests/v1/beta_build_localization/.DS_Store +0 -0
  66. data/lib/app_store_dev_api/requests/v1/beta_build_localization/create.rb +0 -0
  67. data/lib/app_store_dev_api/requests/v1/beta_build_localization/update.rb +0 -0
  68. data/lib/app_store_dev_api/requests/v1/build_beta_detail/update.rb +0 -0
  69. data/lib/app_store_dev_api/requests/v1/build_beta_groups/create.rb +0 -0
  70. data/lib/app_store_dev_api/requests/v1/build_beta_groups/delete.rb +0 -0
  71. data/lib/app_store_dev_api/requests/v1/builds/.DS_Store +0 -0
  72. data/lib/app_store_dev_api/requests/v1/builds/update.rb +0 -0
  73. data/lib/app_store_dev_api/requests/v1/bundle_id/create.rb +0 -0
  74. data/lib/app_store_dev_api/requests/v1/bundle_id_capability/create.rb +0 -0
  75. data/lib/app_store_dev_api/requests/v1/certificate/create.rb +0 -0
  76. data/lib/app_store_dev_api/requests/v1/customer_review_response/.DS_Store +0 -0
  77. data/lib/app_store_dev_api/requests/v1/customer_review_response/create.rb +0 -0
  78. data/lib/app_store_dev_api/requests/v1/device/create.rb +0 -0
  79. data/lib/app_store_dev_api/requests/v1/in_app_purchase_localization/create.rb +0 -0
  80. data/lib/app_store_dev_api/requests/v1/in_app_purchase_localization/update.rb +0 -0
  81. data/lib/app_store_dev_api/requests/v1/in_app_purchase_price_schedule/create.rb +0 -0
  82. data/lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/create.rb +0 -0
  83. data/lib/app_store_dev_api/requests/v1/in_app_purchase_review_screenshot/update.rb +0 -0
  84. data/lib/app_store_dev_api/requests/v1/in_app_purchase_submission/create.rb +0 -0
  85. data/lib/app_store_dev_api/requests/v1/in_app_purchase_territory/.DS_Store +0 -0
  86. data/lib/app_store_dev_api/requests/v1/in_app_purchase_territory/create.rb +0 -0
  87. data/lib/app_store_dev_api/requests/v1/profile/.DS_Store +0 -0
  88. data/lib/app_store_dev_api/requests/v1/profile/create.rb +0 -0
  89. data/lib/app_store_dev_api/requests/v1/promoted_purchases/create.rb +0 -0
  90. data/lib/app_store_dev_api/requests/v1/promoted_purchases/update.rb +0 -0
  91. data/lib/app_store_dev_api/requests/v1/promoted_purchases_image/create.rb +0 -0
  92. data/lib/app_store_dev_api/requests/v1/promoted_purchases_image/update.rb +0 -0
  93. data/lib/app_store_dev_api/requests/v1/review_submission/.DS_Store +0 -0
  94. data/lib/app_store_dev_api/requests/v1/review_submission/create.rb +0 -0
  95. data/lib/app_store_dev_api/requests/v1/review_submission/update.rb +0 -0
  96. data/lib/app_store_dev_api/requests/v1/review_submission_item/.DS_Store +0 -0
  97. data/lib/app_store_dev_api/requests/v1/review_submission_item/create.rb +0 -0
  98. data/lib/app_store_dev_api/requests/v1/subscription/create.rb +0 -0
  99. data/lib/app_store_dev_api/requests/v1/subscription/update.rb +0 -0
  100. data/lib/app_store_dev_api/requests/v1/subscription_availability/.DS_Store +0 -0
  101. data/lib/app_store_dev_api/requests/v1/subscription_availability/create.rb +0 -0
  102. data/lib/app_store_dev_api/requests/v1/subscription_grace_period/.DS_Store +0 -0
  103. data/lib/app_store_dev_api/requests/v1/subscription_grace_period/update.rb +0 -0
  104. data/lib/app_store_dev_api/requests/v1/subscription_group/create.rb +0 -0
  105. data/lib/app_store_dev_api/requests/v1/subscription_group/update.rb +0 -0
  106. data/lib/app_store_dev_api/requests/v1/subscription_group_localization/create.rb +0 -0
  107. data/lib/app_store_dev_api/requests/v1/subscription_group_localization/update.rb +0 -0
  108. data/lib/app_store_dev_api/requests/v1/subscription_group_submission/.DS_Store +0 -0
  109. data/lib/app_store_dev_api/requests/v1/subscription_group_submission/create.rb +0 -0
  110. data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/create.rb +0 -0
  111. data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/delete.rb +0 -0
  112. data/lib/app_store_dev_api/requests/v1/subscription_introductory_offer/update.rb +0 -0
  113. data/lib/app_store_dev_api/requests/v1/subscription_localization/create.rb +0 -0
  114. data/lib/app_store_dev_api/requests/v1/subscription_localization/update.rb +0 -0
  115. data/lib/app_store_dev_api/requests/v1/subscription_offer_code/create.rb +0 -0
  116. data/lib/app_store_dev_api/requests/v1/subscription_offer_code/update.rb +0 -0
  117. data/lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/create.rb +0 -0
  118. data/lib/app_store_dev_api/requests/v1/subscription_offer_code_cunstom_code/update.rb +0 -0
  119. data/lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/create.rb +0 -0
  120. data/lib/app_store_dev_api/requests/v1/subscription_offer_code_one_time_use_code/update.rb +0 -0
  121. data/lib/app_store_dev_api/requests/v1/subscription_price/.DS_Store +0 -0
  122. data/lib/app_store_dev_api/requests/v1/subscription_price/create.rb +0 -0
  123. data/lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/.DS_Store +0 -0
  124. data/lib/app_store_dev_api/requests/v1/subscription_price_change_consent_reason/create.rb +0 -0
  125. data/lib/app_store_dev_api/requests/v1/subscription_promotional_offer/create.rb +0 -0
  126. data/lib/app_store_dev_api/requests/v1/subscription_promotional_offer/update.rb +0 -0
  127. data/lib/app_store_dev_api/requests/v1/subscription_review_screenshot/create.rb +0 -0
  128. data/lib/app_store_dev_api/requests/v1/subscription_review_screenshot/update.rb +0 -0
  129. data/lib/app_store_dev_api/requests/v1/subscription_submission/.DS_Store +0 -0
  130. data/lib/app_store_dev_api/requests/v1/subscription_submission/create.rb +0 -0
  131. data/lib/app_store_dev_api/requests/v2/.DS_Store +0 -0
  132. data/lib/app_store_dev_api/requests/v2/in_app_purchase/create.rb +0 -0
  133. data/lib/app_store_dev_api/requests/v2/in_app_purchase/update.rb +0 -0
  134. data/lib/app_store_dev_api/requests/v2/sandbox_tester/.DS_Store +0 -0
  135. data/lib/app_store_dev_api/requests/v2/sandbox_tester/create.rb +23 -0
  136. data/lib/app_store_dev_api/requests/v2/sandbox_tester/update.rb +0 -0
  137. data/lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/.DS_Store +0 -0
  138. data/lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/update.rb +0 -0
  139. data/lib/app_store_dev_api/schema/object.rb +0 -0
  140. data/lib/app_store_dev_api/schema/type.rb +0 -0
  141. data/lib/app_store_dev_api/schema/web_service_endpoint.rb +0 -0
  142. data/lib/app_store_dev_api/schema.rb +0 -0
  143. data/lib/app_store_dev_api/specification/component/schema.rb +0 -0
  144. data/lib/app_store_dev_api/specification.rb +0 -0
  145. data/lib/app_store_dev_api/version.rb +1 -1
  146. data/lib/app_store_dev_api.rb +0 -0
  147. data/lib/config/schema.json +0 -0
  148. data/lib/tasks/build.rake +0 -0
  149. data/lib/tasks/bundle.rake +0 -0
  150. data/lib/tasks/changelog.rake +0 -0
  151. data/lib/tasks/console.rake +0 -0
  152. data/lib/tasks/git.rake +0 -0
  153. data/lib/tasks/push.rake +0 -0
  154. data/lib/tasks/release.rake +0 -0
  155. data/lib/tasks/version.rake +0 -0
  156. data/release.sh +100 -0
  157. data/sig/app_store_connect_api.rbs +0 -0
  158. metadata +12 -9
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppStoreDevApi
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
File without changes
File without changes
data/lib/tasks/build.rake CHANGED
File without changes
File without changes
File without changes
File without changes
data/lib/tasks/git.rake CHANGED
File without changes
data/lib/tasks/push.rake CHANGED
File without changes
File without changes
File without changes
data/release.sh ADDED
@@ -0,0 +1,100 @@
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
+
16
+ rm -rf $CURRENT_DIR/*app_store_dev_api-*.gem
17
+ gem build $CURRENT_DIR/app_store_dev_api.gemspec
18
+
19
+ GEM_VERSION_FILE=${CURRENT_DIR}/lib/app_store_dev_api/version.rb
20
+ GEM_VERSION_KEY="VERSION"
21
+ TAG_NAME=`grep "[ ].${GEM_VERSION_KEY}[ ]." ${GEM_VERSION_FILE} | cut -d'"' -f2`
22
+
23
+ COMMIT_FILE_LIST=$(git -C $CURRENT_DIR ls-files --other --modified --exclude-standard)
24
+ echo $COMMIT_FILE_LIST
25
+
26
+ if [ -z "$COMMIT_FILE_LIST" ]; then
27
+ echo "没有需要提交的文件!"
28
+ else
29
+ echo "111"
30
+ # $(git -C $CURRENT_DIR ls-files --other --modified --exclude-standard)
31
+ git -C $CURRENT_DIR add -A
32
+ git -C $CURRENT_DIR commit -m "add code for ${TAG_NAME}"
33
+ git -C $CURRENT_DIR push
34
+ fi
35
+
36
+ if [[ -f $CURRENT_DIR/app_store_dev_api-${TAG_NAME}.gem ]]; then
37
+ gem install --local $CURRENT_DIR/app_store_dev_api-${TAG_NAME}.gem
38
+ gem cleanup
39
+ fi
40
+
41
+ # #合并到master分支
42
+ # RELEASE_BRANCH="master"
43
+ # CODING_BRANCH=$(git -C $CURRENT_DIR rev-parse --abbrev-ref HEAD)
44
+
45
+ # if [[ "$CODING_BRANCH" == "$RELEASE_BRANCH" ]]; then
46
+ # echo "在master分支不需要处理"
47
+ # else
48
+ # git -C $CURRENT_DIR checkout $RELEASE_BRANCH
49
+ # git -C $CURRENT_DIR merge $CODING_BRANCH
50
+ # git -C $CURRENT_DIR push
51
+ # git -C $CURRENT_DIR checkout $CODING_BRANCH
52
+ # fi
53
+
54
+ # #添加tag
55
+ # EXIST_LOCAL_TAG=$(git -C $CURRENT_DIR tag --list ${TAG_NAME})
56
+ # if [ -z "$EXIST_LOCAL_TAG" ]; then
57
+ # #statements
58
+ # echo "无本地tag:${TAG_NAME}"
59
+ # else
60
+
61
+ # echo "删除本地tag:${TAG_NAME}"
62
+ # git -C $CURRENT_DIR tag -d ${TAG_NAME}
63
+ # fi
64
+
65
+ # REMOTE_EXIST_TAG=$(git -C $CURRENT_DIR ls-remote --tags origin "refs/tags/${TAG_NAME}")
66
+ # if [ -z "$REMOTE_EXIST_TAG" ]; then
67
+ # #statements
68
+ # echo "无远程tag:${TAG_NAME}"
69
+ # else
70
+
71
+ # DELETE_REMOTE_TAG=""
72
+ # read -p "存在远程分支,确认要删除远程分支吗?[Y/n]: " DELETE_REMOTE_TAG
73
+ # case "${DELETE_REMOTE_TAG}" in
74
+ # [yY][eE][sS] | [yY])
75
+ # echo "删除远程tag:${TAG_NAME}"
76
+ # git -C $CURRENT_DIR push origin :${TAG_NAME}
77
+ # ;;
78
+ # # [nN][oO] | [nN])
79
+ # # echo "exit!"
80
+ # # exit 1
81
+ # # ;;
82
+ # *)
83
+ # echo "Exit!"
84
+ # exit 1
85
+ # ;;
86
+ # esac
87
+ # fi
88
+
89
+ # git -C $CURRENT_DIR tag ${TAG_NAME}
90
+ # git -C $CURRENT_DIR push origin ${TAG_NAME}
91
+
92
+ # gem push $CURRENT_DIR/app_store_dev_api-${TAG_NAME}.gem
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_store_dev_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - wade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-09 00:00:00.000000000 Z
11
+ date: 2023-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 2.6.7
47
+ version: 2.6.12
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.6.7
54
+ version: 2.6.12
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.50.1
173
+ version: 1.56.4
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.50.1
180
+ version: 1.56.4
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rubyzip
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 0.9.5
229
+ version: 0.9.8
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 0.9.5
236
+ version: 0.9.8
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: webmock
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -257,6 +257,7 @@ extra_rdoc_files: []
257
257
  files:
258
258
  - ".DS_Store"
259
259
  - ".gitignore"
260
+ - 1.txt
260
261
  - CHANGELOG.md
261
262
  - CODE_OF_CONDUCT.md
262
263
  - Gemfile
@@ -389,6 +390,7 @@ files:
389
390
  - lib/app_store_dev_api/requests/v2/in_app_purchase/create.rb
390
391
  - lib/app_store_dev_api/requests/v2/in_app_purchase/update.rb
391
392
  - lib/app_store_dev_api/requests/v2/sandbox_tester/.DS_Store
393
+ - lib/app_store_dev_api/requests/v2/sandbox_tester/create.rb
392
394
  - lib/app_store_dev_api/requests/v2/sandbox_tester/update.rb
393
395
  - lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/.DS_Store
394
396
  - lib/app_store_dev_api/requests/v2/sandbox_tester_clear_purchase_history/update.rb
@@ -408,6 +410,7 @@ files:
408
410
  - lib/tasks/push.rake
409
411
  - lib/tasks/release.rake
410
412
  - lib/tasks/version.rake
413
+ - release.sh
411
414
  - sig/app_store_connect_api.rbs
412
415
  homepage: https://github.com/wade0317/app_store_dev_api.git.
413
416
  licenses:
@@ -431,7 +434,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
431
434
  - !ruby/object:Gem::Version
432
435
  version: '0'
433
436
  requirements: []
434
- rubygems_version: 3.4.3
437
+ rubygems_version: 3.4.10
435
438
  signing_key:
436
439
  specification_version: 4
437
440
  summary: easy work for app_store_dev_api work