Commit graph

93 commits

Author SHA1 Message Date
Ross Goldberg
fe7b688f3b
Merge pull request #549 from rgoldberg/538-fix-typos
Fix typos in comments & in documentation.
2024-10-13 22:18:28 -04:00
Ross Goldberg
7c81b4803c
Merge pull request #551 from rgoldberg/540-outdated-multi-platform-minimum-macos
`outdated` checks if new app version requires newer macOS for all kinds of apps, not just mac-software
2024-10-13 22:17:14 -04:00
Ross Goldberg
8e671f2624
Improve Account, SignIn, SignOut & ISStoreAccount extension & associated code.
Prevent `ISAccountService.signIn(with:)` deprecation warning.

Improve macOS version handling encapsulation.

Output error if `StoreAccount.signin(…)` provides a `nil` `ISStoreAccount`.

Improve `signin` `"Already Signed In" error output.

Remove unnecessary output.

Simplify code.

Partial #562

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-11 01:56:50 -04:00
Ross Goldberg
5676dcb797
Re-enable purchase.
`purchase` seems to work on macOS 12+.

Resolve #289

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-06 03:13:10 -04:00
Ross Goldberg
b400422f4a
outdated checks if new app version requires newer macOS for all kinds of apps, not just mac-software.
Resolve #540

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-05 20:28:49 -04:00
Ross Goldberg
7e9e3ba168
Output to stderr responses from Apple endpoints that are unparsable as JSON
Resolves #536

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-05 19:50:52 -04:00
Ross Goldberg
47f4b5c0da
Fix typos in comments
Resolves #538

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-05 19:43:15 -04:00
Ben Chatelain
8eab75ed9a 🎨 Format YAML files 2024-02-18 14:05:02 -07:00
Ben Chatelain
521df64b51 ♻️ Refactor lookupURL, searchURL
Resolves unused protocol method lint warnings by moving updated implementations back to StoreSearch. Added `country` to MasStoreSearch, set to fixed fvalue for tests.
2024-02-17 23:47:02 -07:00
Ben Chatelain
22c6c57743 💚 Disable lucky spec: installs the first app matching a search
Stalls test when a MAS auth dialog stalls tests. Need more mocking.
2024-02-17 21:02:28 -07:00
Ben Chatelain
c2fcf7e5aa 💡 Document deprecated AccountCommandSpec and SignInCommandSpec 2024-02-17 14:04:01 -07:00
Ben Chatelain
cfc2bef921 🤡 Use mock network response in LuckyCommandSpec 2024-02-17 14:04:01 -07:00
Ben Chatelain
212461caee 💚 Fix purchase test 2024-02-17 14:04:01 -07:00
Chris Araman
cfef4aebc4 🔍 Verify command results 2024-02-17 14:04:01 -07:00
Chris Araman
844131ff2e ️ Remove impossible error case 2024-02-17 14:04:01 -07:00
Ben Chatelain
f7dd98811f ♻️ Move URL builders to MasStoreSearch 2024-02-17 14:04:01 -07:00
Ross Goldberg
e6e2ccab0d Updated swift source by running:
swiftformat Sources Tests
2024-02-05 16:03:51 -05:00
Ben Chatelain
610257f292 🔇 Add --verbose flag to outdated command 2022-10-08 14:46:12 -06:00
Chris Araman
560c89af2c 🌍 Localize queries 2021-12-20 15:41:54 -08:00
Chris Araman
9305160b2e 🧹 Lint 2021-11-02 20:16:17 -07:00
Ben Chatelain
8ef416cf35 👌🏻Address review comments 2021-10-12 19:54:08 -06:00
Ben Chatelain
a955ff6bca 🚨 Fix lint issue 2021-10-12 19:54:08 -06:00
Ben Chatelain
1fe4b5b3e2 🍏 Ignore min OS for iOS apps 2021-10-12 19:54:08 -06:00
Ben Chatelain
84461fa5c6 🐛 Don't consider an app outdated if the update can't be installed on the current OS
Fixes #420
2021-10-12 19:54:08 -06:00
Ben Chatelain
59483ef34d
Merge branch 'main' into lint 2021-05-12 16:54:52 -06:00
Chris Araman
3b7c9a47bd
🏡 Update mock bundle path 2021-05-12 12:11:21 -07:00
Chris Araman
9904707152
🧹 Lint 2021-05-12 11:19:12 -07:00
Chris Araman
c3ef7b40b7
♻️ Remove loadDataSync 2021-05-08 21:16:54 -07:00
Chris Araman
9494dea403
🤞🏼 Rephrase StoreSearch as Promises 2021-05-08 21:14:16 -07:00
Chris Araman
a9b018854d
🤞🏼 Rephrase MasStoreSearch as Promises 2021-05-08 21:14:16 -07:00
Chris Araman
2ad8695295
🔥 Initialize PromiseKit 2021-05-08 21:10:03 -07:00
Chris Araman
0b8acab235 🧹 Lint with periphery 2021-05-08 20:14:18 -07:00
Chris Araman
4848f422d6 🧹 Match swift-format to compiler version
Fixes #364.
2021-05-08 20:14:18 -07:00
Chris Araman
e3e82cc2d2
♻️ Remove unused test helpers 2021-05-06 13:37:17 -07:00
Chris Araman
585699d99b ♻️ Build URLs using URLComponents 2021-05-05 22:06:57 -07:00
Chris Araman
639b69311b
💡 Turn on the OutputListener tests 2021-05-05 11:29:02 -07:00
Chris Araman
d0738e50b6
♻️ Append terminator 2021-04-28 21:10:50 -07:00
Chris Araman
fec436070d
♻️ Remove unused import 2021-04-28 19:49:23 -07:00
Chris Araman
64e1cb467c
♻️ Simplify OutputListener 2021-04-28 19:48:19 -07:00
Chris Araman
c238585df8
🔍 Simplify test resource lookup 2021-04-28 19:14:20 -07:00
Chris Araman
923fb18526
🛠 Remove remnants of Xcode project 2021-04-28 19:14:19 -07:00
Chris Araman
7a7f36ad9b
📦 Declare mas as a Swift Package 2021-04-26 21:19:30 -07:00
Chris Araman
d287c5cfd6
🚧 Move sources to typical SPM locations 2021-04-26 21:04:37 -07:00