yamg 0.5.5 → 1.0.7
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/README.md +2 -2
- data/lib/yamg.rb +1 -1
- data/lib/yamg/templates.yaml +16 -11
- data/lib/yamg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea2af2466a0be2bd19d662ac535e91141561885c
|
|
4
|
+
data.tar.gz: e8e476e0dbd514847c84a610ff6b476835b49f4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07366d9eb34c732f995bc9360dafa4e3070e89eb3b48cc09d000251329a39bfdfa6e8a2b8839f8821cdceb4dc50447632919edcace6eb1953a2379c448700862
|
|
7
|
+
data.tar.gz: 72db71cf31c0f84160fdec41fba80a85be88062c611b6575d8a77072a82b5ec2cb1e6377485401911b280141ef6772b1522dd6c0e39a9eb80dcdee9bedeeee2e
|
data/README.md
CHANGED
|
@@ -61,7 +61,7 @@ First time
|
|
|
61
61
|
|
|
62
62
|
yamg init
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
The config file `yamg.yml` will be created on the folder.
|
|
65
65
|
From now on to recompile everything when needed:
|
|
66
66
|
|
|
67
67
|
yamg
|
|
@@ -84,7 +84,7 @@ art
|
|
|
84
84
|
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
From the
|
|
87
|
+
From the `yamg.yml` file you may configure differents source paths.
|
|
88
88
|
Also configure every export location you need (check #Support)
|
|
89
89
|
|
|
90
90
|
|
data/lib/yamg.rb
CHANGED
|
@@ -14,7 +14,7 @@ module YAMG
|
|
|
14
14
|
autoload :Splash, 'yamg/splash'
|
|
15
15
|
autoload :Screenshot, 'yamg/screenshot'
|
|
16
16
|
|
|
17
|
-
CONFIG_FILE = '
|
|
17
|
+
CONFIG_FILE = './yamg.yml'.freeze
|
|
18
18
|
# Load template works
|
|
19
19
|
TEMPLATES = YAML.load_file(
|
|
20
20
|
File.join(File.dirname(__FILE__), 'yamg', 'templates.yaml')
|
data/lib/yamg/templates.yaml
CHANGED
|
@@ -26,6 +26,10 @@ android:
|
|
|
26
26
|
'res/drawable-hdpi/icon.png': 72
|
|
27
27
|
'res/drawable-xhdpi/icon.png': 96
|
|
28
28
|
'res/drawable-xxhdpi/icon.png': 144
|
|
29
|
+
'res/mipmap-ldpi/icon.png': 48
|
|
30
|
+
'res/mipmap-mdpi/icon.png': 72
|
|
31
|
+
'res/mipmap-hdpi/icon.png': 96
|
|
32
|
+
'res/mipmap-xhdpi/icon.png': 144
|
|
29
33
|
'bin/res/drawable/icon.png': 96
|
|
30
34
|
'bin/res/drawable-ldpi/icon.png': 36
|
|
31
35
|
'bin/res/drawable-mdpi/icon.png': 48
|
|
@@ -224,18 +228,19 @@ apple:
|
|
|
224
228
|
splash:
|
|
225
229
|
'apple/splash1024x768.png': [1024, 768]
|
|
226
230
|
screenshots:
|
|
227
|
-
'apple/
|
|
231
|
+
'apple/5-5-inch-iphone6plus-2208x1242-land': [2208, 1242]
|
|
232
|
+
'apple/5-5-inch-iphone6plus-1242x2208-land': [1242, 2208]
|
|
233
|
+
'apple/4-7-inch-iphone6-1334x750-land': [1334, 750, 2]
|
|
234
|
+
'apple/4-7-inch-iphone6-750x1334-port': [750, 1334, 2]
|
|
235
|
+
'apple/4-inch-iphone5-1136x640-land': [1136, 640, 2]
|
|
236
|
+
'apple/4-inch-iphone5-640x1136-port': [640, 1136, 2]
|
|
237
|
+
'apple/3-5-inch-iphone4-960x640-land': [960, 640]
|
|
238
|
+
'apple/3-5-inch-iphone4-640x960-port': [640, 960]
|
|
239
|
+
'apple/12-9-inch-ipadretina-2048x1536-land': [2048, 1536, 2]
|
|
240
|
+
'apple/12-9-inch-ipadretina-2048x1536-port': [1536, 2048, 2]
|
|
228
241
|
'apple/ipad-1024x768-port': [768, 1024]
|
|
229
|
-
'apple/
|
|
230
|
-
|
|
231
|
-
'apple/iphone4-960x640-land': [960, 640]
|
|
232
|
-
'apple/iphone4-640x960-port': [640, 960]
|
|
233
|
-
'apple/iphone5-1136x640-land': [1136, 640, 2]
|
|
234
|
-
'apple/iphone5-640x1136-port': [640, 1136, 2]
|
|
235
|
-
'apple/iphone6p-1080x1920-port': [1080, 1920, 2]
|
|
236
|
-
'apple/iphone6p-1920x1080-land': [1920, 1080, 2]
|
|
237
|
-
'apple/iphone6-1334x750-land': [1334, 750, 2]
|
|
238
|
-
'apple/iphone6-750x1334-port': [750, 1334, 2]
|
|
242
|
+
'apple/ipad-1024x768-land': [1024, 768]
|
|
243
|
+
|
|
239
244
|
|
|
240
245
|
|
|
241
246
|
google:
|
data/lib/yamg/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yamg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcos Piccinini
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mini_magick
|
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
version: '0'
|
|
110
110
|
requirements: []
|
|
111
111
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.
|
|
112
|
+
rubygems_version: 2.5.1
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
115
|
summary: Yet another media generator
|