appiconset 2.1.0 → 2.2.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/.rubocop_todo.yml +8 -2
- data/README.md +12 -3
- data/lib/appiconset/version.rb +1 -1
- data/lib/appiconset.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ef0d21daa468cb3bca61be5786766824f2c4ec9c553e9c3df5cf6dec06fd635
|
4
|
+
data.tar.gz: 514769fbdbfa9bbcc9de26ee59ecab63f89062695d158a1f54d87af76afa6c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 314eac0eab5dea83e8785067433d781f52ecdf769a46a06b2a678a868c30c03a73fbb6b1bf6025cd304ac66600c787251da2c17f5f5280beef16892518982534
|
7
|
+
data.tar.gz: 7a76a7819eaf2dfef44a2b9fad945b3cbedb578b04c84374eed3b41464f7c6da4667a26258a77683ff83424d3aa312b464d663c3bb8fd30e5a174c81a22a68d6
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2024-12-
|
3
|
+
# on 2024-12-09 13:28:48 UTC using RuboCop version 1.63.2.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -11,10 +11,16 @@
|
|
11
11
|
Metrics/AbcSize:
|
12
12
|
Max: 32
|
13
13
|
|
14
|
+
# Offense count: 1
|
15
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
16
|
+
# AllowedMethods: refine
|
17
|
+
Metrics/BlockLength:
|
18
|
+
Max: 47
|
19
|
+
|
14
20
|
# Offense count: 1
|
15
21
|
# Configuration parameters: CountComments, CountAsOne.
|
16
22
|
Metrics/ClassLength:
|
17
|
-
Max:
|
23
|
+
Max: 102
|
18
24
|
|
19
25
|
# Offense count: 1
|
20
26
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
data/README.md
CHANGED
@@ -13,7 +13,9 @@
|
|
13
13
|
* Android
|
14
14
|
* tvOS
|
15
15
|
|
16
|
-
|
16
|
+
# 使い方
|
17
|
+
|
18
|
+
## 正方形アイコン
|
17
19
|
|
18
20
|
1024px x 1024px の画像からアプリアイコンを作成します。
|
19
21
|
|
@@ -25,12 +27,19 @@ Contents.jsonと複数のpngファイルが作成されます。
|
|
25
27
|
これらのファイルをXcodeプロジェクトの AppIcon.appiconset にコピーします。
|
26
28
|
|
27
29
|
|
28
|
-
## tvOS
|
30
|
+
## tvOSのアイコン
|
29
31
|
|
30
32
|
tvOSアプリ向けのアイコンを作成するには。4640px x 1440px の画像を用意します。
|
31
33
|
この画像からApp Icon.imagestack、Top Shelf Image.imageset、Top Shelf Image Wide.imagesetのアイコンを作成します。
|
32
34
|
|
33
|
-
|
34
35
|
```
|
35
36
|
$ appiconset tvos -i='sample.jpg' -o='output'
|
37
|
+
```
|
38
|
+
|
39
|
+
## 任意のサイズのアイコン
|
40
|
+
|
41
|
+
任意のサイズの画像から、1倍、2/3倍、1/3倍のアイコンを作成します。
|
42
|
+
|
43
|
+
```
|
44
|
+
$ appiconset universal -i='sample.jpg' -o='output'
|
36
45
|
```
|
data/lib/appiconset/version.rb
CHANGED
data/lib/appiconset.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appiconset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- arthur87
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|