yamg 0.5.1 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d663f9d3cc1aff05714fb4fafa0c9beadd5aad2
4
- data.tar.gz: 8cb32a872b9c834511721881f6fc60a3d61c28ad
3
+ metadata.gz: 1f4f5266569bf86e1b025fc429287269a30ef7d7
4
+ data.tar.gz: be00e31834b39c0c8fa77278c14401aa57bba6b7
5
5
  SHA512:
6
- metadata.gz: ac592b1169b5e36be2c6bed2c7aa2afc12445806bed7a134d7545136b9e2244d00ddb726ff78253b0a92b0b3b832ce276661730b4a8610505dbf011c7182f871
7
- data.tar.gz: 97e1eaf9c6cdd6ad8a12c7e37c6829ae486e5fe79e56dd17127a1fab21f9aa40fef877002fa61cb292783d430b96d2cc13303b1203835367c756b7034c52a486
6
+ metadata.gz: 19da1099627f14a27ea4d759c973852e61e9ff96b70f20cd79307b4d87837d7ea84f8ac0794fe7611d6ffae78e1960fac7d9539c310f6a09e4cea39c43799261
7
+ data.tar.gz: ec16c0c0a123e692b4910931ecf939fa247d7c69664f0b50f3fa5d28b3619302e48aa734439f863798b451b11f340b2378be7442878e08738f466bb275943e25
data/Gemfile CHANGED
@@ -5,7 +5,6 @@ gemspec
5
5
 
6
6
  group :test do
7
7
  gem 'rake'
8
- gem 'psych'
9
8
  gem 'rubocop'
10
9
  gem 'guard'
11
10
  gem 'guard-rubocop'
data/README.md CHANGED
@@ -17,9 +17,9 @@
17
17
  ┗ ┛
18
18
 
19
19
 
20
- [![Gem Version](https://badge.fury.io/rb/yamg.png)](http://badge.fury.io/rb/yamg)
20
+ [![Gem Version](https://badge.fury.io/rb/yamg.svg)](http://badge.fury.io/rb/yamg)
21
21
  [![Dependency Status](https://gemnasium.com/nofxx/yamg.svg)](https://gemnasium.com/nofxx/yamg)
22
- [![Build Status](https://travis-ci.org/nofxx/yamg.png?branch=master)](https://travis-ci.org/nofxx/yamg)
22
+ [![Build Status](https://travis-ci.org/nofxx/yamg.svg?branch=master)](https://travis-ci.org/nofxx/yamg)
23
23
 
24
24
  YAMG - Yet Another Media Generator
25
25
 
@@ -38,15 +38,20 @@ OSX
38
38
  brew install imagemagick phantomjs librsvg ruby
39
39
  gem install yamg
40
40
 
41
+ Trouble with phantomjs gem? Use NPM to install PhantomJS:
42
+
43
+ npm -g install phantomjs
44
+
41
45
 
42
46
  ## Features
43
47
 
44
- * Find best version (size) to use from icons folder.
45
- * Shrinks binaries from the closest or greater size version.
46
- * Raster SVG to PNG with exact size and dpi.
48
+ * Find **best version** (size) to use from icons folder.
49
+ * Shrinks binaries from the *closest or greater size version*.
50
+ * Raster **SVG to PNG** with exact size and dpi.
47
51
  * Splash screen/banner generation with gravity.
48
- * Works with iOS/Android/Other mobile with Phonegap or Cordova.
49
- * Exports icons and splashes for stores and social networks.
52
+ * Works with **iOS/Android/Other** mobile with *Phonegap* or *Cordova*.
53
+ * Exports icons and splashes for *stores and social networks*.
54
+ * Creates **multi-layered _.ico_** files.
50
55
  * Screenshots for stores and advertising.
51
56
 
52
57
 
@@ -255,7 +260,10 @@ https://github.com/svg/svgo
255
260
 
256
261
  Real Favicon Generator - Perfect, but I wanted make it automated.
257
262
  http://realfavicongenerator.net
263
+ https://github.com/audreyr/favicon-cheat-sheet
264
+ https://epicfavicongenerator.com/
258
265
 
266
+ http://wkhtmltopdf.org/
259
267
 
260
268
  ### Media
261
269
 
data/lib/yamg/icon.rb CHANGED
@@ -25,7 +25,7 @@ module YAMG
25
25
  YAMG.puts_and_exit("No sources in '#{src}'") if icons.empty?
26
26
  @choosen = File.join(src, find_closest_gte_icon)
27
27
  @radius = radius || 9
28
- @dpi = 90
28
+ # @dpi = 90
29
29
  @bg = bg
30
30
  end
31
31
  alias_method :rounded?, :rounded
@@ -271,4 +271,7 @@ facebook:
271
271
  'fb/icon1024.png': 1024
272
272
  'fb/icon16.png': 16
273
273
  splash:
274
- 'fb/splash1024x768.png': [1024, 768]
274
+ 'fb/splash155x100.png': [155, 100]
275
+ 'fb/splash800x150.png': [800, 150]
276
+ 'fb/splash1200x627.png': [1200, 627]
277
+ 'fb/splash1848x682.png': [1848, 682]
data/lib/yamg/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # :nodoc:
2
2
  module YAMG
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.3'
4
4
  end
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.5.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Piccinini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-14 00:00:00.000000000 Z
11
+ date: 2016-01-11 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.4.7
112
+ rubygems_version: 2.5.1
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Yet another media generator