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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 549331175159c997383904e9061d81b1b77ac8d2a14cc9a4cea03d4886d5d85a
4
- data.tar.gz: b01d59477537e1d9fd2e8612e2b584c911f2e5e0657cb7c2dac9786c10a99091
3
+ metadata.gz: 6ef0d21daa468cb3bca61be5786766824f2c4ec9c553e9c3df5cf6dec06fd635
4
+ data.tar.gz: 514769fbdbfa9bbcc9de26ee59ecab63f89062695d158a1f54d87af76afa6c89
5
5
  SHA512:
6
- metadata.gz: 296b77ef50754dcced430b30a9411eab85f5de95240b57c4f49a12276a6593a0da7d672c3b1dde8b62260ebf428116d3b7bf1a14f5a362f157c459b768d466a3
7
- data.tar.gz: e11a35910216aa33421e501df9604b421db43c3387ae60fa8e9ea5788feaca0754a92e620ef77688a0c46daef4be9c14a1c57299babd340b30e80ba6e421e31d
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-07 14:32:20 UTC using RuboCop version 1.63.2.
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: 120
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
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appiconset
4
- VERSION = '2.1.0'
4
+ VERSION = '2.2.0'
5
5
  end
data/lib/appiconset.rb CHANGED
@@ -5,7 +5,7 @@ require 'appiconset/cli'
5
5
  require 'appiconset/generator'
6
6
  require 'fastimage'
7
7
  require 'fileutils'
8
- require 'RMagick'
8
+ require 'rmagick'
9
9
 
10
10
  module Appiconset
11
11
  class Error < StandardError; end
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.1.0
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-07 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop