appcask 0.2.0 → 0.4.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 +4 -4
- data/.idea/workspace.xml +26 -6
- data/CHANGELOG.md +7 -0
- data/README.md +3 -3
- data/lib/appcask/version.rb +2 -2
- data/lib/appcask.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f0d51a541f5586c68cf28eddb507601ddca48befa0535eddd890548d347225f
|
|
4
|
+
data.tar.gz: cc423ed50bed805849e668f6d46d87a247c4d5757fdefe055b2908adfa052334
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb37677efc67d9c7536e957fc4bed93348f21bd22cef2b427f32b887fff6cbf003a005d03736ddb44d04a09f9c79e37a00b8438175e6c063c835322720f329e4
|
|
7
|
+
data.tar.gz: 64949b1704c15ba3fb5c95cc7b3c530180be5a10afeecb2961255afad3148f067c1d2ec865a11be5e4daf6105951850246cad4eac39c221fe9032b7d2e0c7202
|
data/.idea/workspace.xml
CHANGED
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="1bd4c817-c426-471c-bdf5-e80649db2ae2" name="更改" comment="">
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/.idea/appcask.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/appcask.iml" afterDir="false" />
|
|
7
|
+
<list default="true" id="1bd4c817-c426-471c-bdf5-e80649db2ae2" name="更改" comment="delete gem">
|
|
9
8
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
10
|
-
<change beforePath="$PROJECT_DIR$/
|
|
11
|
-
<change beforePath="$PROJECT_DIR$/appcask.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/appcask.gemspec" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/lib/appcask.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/appcask.rb" afterDir="false" />
|
|
12
10
|
<change beforePath="$PROJECT_DIR$/lib/appcask/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/appcask/version.rb" afterDir="false" />
|
|
13
11
|
</list>
|
|
14
12
|
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -19,6 +17,18 @@
|
|
|
19
17
|
<component name="Git.Settings">
|
|
20
18
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
21
19
|
</component>
|
|
20
|
+
<component name="GitHubPullRequestSearchHistory"><![CDATA[{
|
|
21
|
+
"lastFilter": {
|
|
22
|
+
"state": "OPEN",
|
|
23
|
+
"assignee": "gamepunk"
|
|
24
|
+
}
|
|
25
|
+
}]]></component>
|
|
26
|
+
<component name="GithubPullRequestsUISettings"><![CDATA[{
|
|
27
|
+
"selectedUrlAndAccountId": {
|
|
28
|
+
"url": "git@github.com:gamepunk/appcask.git",
|
|
29
|
+
"accountId": "c65009d6-c05d-4123-9f5d-523285df6f23"
|
|
30
|
+
}
|
|
31
|
+
}]]></component>
|
|
22
32
|
<component name="ProjectColorInfo">{
|
|
23
33
|
"associatedIndex": 3
|
|
24
34
|
}</component>
|
|
@@ -64,8 +74,17 @@
|
|
|
64
74
|
<updated>1767270112011</updated>
|
|
65
75
|
<workItem from="1767270116395" duration="20000" />
|
|
66
76
|
<workItem from="1769697520161" duration="4958000" />
|
|
67
|
-
<workItem from="1769702829159" duration="
|
|
77
|
+
<workItem from="1769702829159" duration="2415000" />
|
|
78
|
+
</task>
|
|
79
|
+
<task id="LOCAL-00001" summary="delete gem">
|
|
80
|
+
<option name="closed" value="true" />
|
|
81
|
+
<created>1769704203657</created>
|
|
82
|
+
<option name="number" value="00001" />
|
|
83
|
+
<option name="presentableId" value="LOCAL-00001" />
|
|
84
|
+
<option name="project" value="LOCAL" />
|
|
85
|
+
<updated>1769704203657</updated>
|
|
68
86
|
</task>
|
|
87
|
+
<option name="localTasksCounter" value="2" />
|
|
69
88
|
<servers />
|
|
70
89
|
</component>
|
|
71
90
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -73,6 +92,7 @@
|
|
|
73
92
|
</component>
|
|
74
93
|
<component name="VcsManagerConfiguration">
|
|
75
94
|
<MESSAGE value="first commit" />
|
|
76
|
-
<
|
|
95
|
+
<MESSAGE value="delete gem" />
|
|
96
|
+
<option name="LAST_COMMIT_MESSAGE" value="delete gem" />
|
|
77
97
|
</component>
|
|
78
98
|
</project>
|
data/CHANGELOG.md
CHANGED
|
@@ -27,3 +27,10 @@ All notable changes to this project will be documented in this file.
|
|
|
27
27
|
- 🇬🇧 英国 (gb)
|
|
28
28
|
- 🇩🇪 德国 (de)
|
|
29
29
|
- 🇫🇷 法国 (fr)
|
|
30
|
+
|
|
31
|
+
## [0.2.0] - 2026-01-30
|
|
32
|
+
|
|
33
|
+
- Fix: include bin/appcask in gem package
|
|
34
|
+
- Add: improved CLI UX and error messages
|
|
35
|
+
- Add: full app info export (txt/json/markdown)
|
|
36
|
+
- Improve: screenshot & icon download stability
|
data/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-

|
|
6
|
+

|
|
7
7
|

|
|
8
8
|
|
|
9
9
|
一个全能的命令行工具,用于下载 iOS App Store 的应用资源
|
|
@@ -246,4 +246,4 @@ MIT License
|
|
|
246
246
|
|
|
247
247
|
**Made with ❤️ and Ruby**
|
|
248
248
|
|
|
249
|
-
</div>
|
|
249
|
+
</div>
|
data/lib/appcask/version.rb
CHANGED
data/lib/appcask.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
require_relative "appcask/version"
|
|
4
4
|
require 'net/https'
|
|
5
5
|
require 'open-uri'
|
|
6
6
|
require 'json'
|
|
@@ -105,7 +105,7 @@ module AppCask
|
|
|
105
105
|
|
|
106
106
|
puts "\n🌍 Select App Store region:"
|
|
107
107
|
COUNTRIES.each_slice(3) do |slice|
|
|
108
|
-
puts " " + slice.map { |code, name| "#{code.ljust(
|
|
108
|
+
puts " " + slice.map { |code, name| "#{code.ljust(3)}- #{name}" }.join("\n ")
|
|
109
109
|
end
|
|
110
110
|
print "Choose one (default: us): "
|
|
111
111
|
|
|
@@ -126,6 +126,7 @@ module AppCask
|
|
|
126
126
|
http.use_ssl = true
|
|
127
127
|
http.open_timeout = 10
|
|
128
128
|
http.read_timeout = 10
|
|
129
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
129
130
|
|
|
130
131
|
request = Net::HTTP::Post.new(url)
|
|
131
132
|
request.set_form_data(params)
|