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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9bd75bdfd4ad953034b8c138d77182dad7b6ce42574b5759de17c47112a0f40
4
- data.tar.gz: 3965bdb3ce67b2b05ec839b6b10e8483ad39512f516f1ef9f51b8ed84d6753c7
3
+ metadata.gz: 7f0d51a541f5586c68cf28eddb507601ddca48befa0535eddd890548d347225f
4
+ data.tar.gz: cc423ed50bed805849e668f6d46d87a247c4d5757fdefe055b2908adfa052334
5
5
  SHA512:
6
- metadata.gz: 64ac79508b09554074b746bdb19e3fd93e395ca31fc814ba75aa6a2ca9ad37342185f196afc5e078a14d15e6bb0a21195f1a5afc702769315abe7c1b5e619679
7
- data.tar.gz: f0dbf33f39841824842988acf02d9f10f004dc52069daa85108504faf1c91c5ec98a983a338161ac1ef2b9ff1fcd5e109556cf48f1082cc494edd24b9dd9d367
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$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
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
  &quot;associatedIndex&quot;: 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="260000" />
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
- <option name="LAST_COMMIT_MESSAGE" value="first commit" />
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
- ![Version](https://img.shields.io/badge/version-0.1.0-blue.svg)
6
- ![Ruby](https://img.shields.io/badge/ruby-%3E%3D%202.5.0-red.svg)
5
+ ![Version](https://img.shields.io/badge/version-0.3.0-blue.svg)
6
+ ![Ruby](https://img.shields.io/badge/ruby-%3E%3D%203.2.0-red.svg)
7
7
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
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>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module Appcask
4
- VERSION = "0.2.0"
3
+ module AppCask
4
+ VERSION = "0.4.0"
5
5
  end
data/lib/appcask.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'appcask/version'
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(4)}- #{name}" }.join(" ")
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appcask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billow Wang