sprite-factory 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a3869041a63a98b286f265b18d7248c3c398ba33
4
+ data.tar.gz: 3d2d321ea52948892ecde2f0662489e963e4d90a
5
+ SHA512:
6
+ metadata.gz: 96dfd8bf61c580fcc4508d28c308192d7bdaff6fa00bf015b9dacf1e5f5f71778228c3d6b698477838c018bca68011e1bf4f75189d5817531d9523da3adf74b5
7
+ data.tar.gz: a1801ebe861de312bf212c1a5a5d95fbe0f2696620bc0c2e8819a5e8f237f0df3de031eb5d245a31f92db167d016a66c6218e72a6b257ccc38918b805d87fb68
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Sprite Factory (v1.6.0)
1
+ Sprite Factory (v1.6.1)
2
2
  =======================
3
3
 
4
4
  The sprite factory is a ruby library that can be used to generate
@@ -1,3 +1,9 @@
1
+ August 8th 2014 - v1.6.1
2
+ ------------------------
3
+
4
+ * correct escaping for filenames passed to pngcrush (courtesy of @phallstrom - Cheers!)
5
+ * suppress pngcrush output with -q (courtesy of @phallstrom - Cheers!)
6
+
1
7
  March 16th 2014 - v1.6.0
2
8
  ------------------------
3
9
 
@@ -2,7 +2,7 @@ module SpriteFactory
2
2
 
3
3
  #----------------------------------------------------------------------------
4
4
 
5
- VERSION = "1.6.0"
5
+ VERSION = "1.6.1"
6
6
  SUMMARY = "Automatic CSS sprite generator"
7
7
  DESCRIPTION = "Combines individual images from a directory into a single sprite image file and creates an appropriate CSS stylesheet"
8
8
  LIB = File.dirname(__FILE__)
@@ -243,7 +243,7 @@ module SpriteFactory
243
243
  def pngcrush(image)
244
244
  if SUPPORTS_PNGCRUSH && config[:pngcrush]
245
245
  crushed = "#{image}.crushed"
246
- `pngcrush -rem alla -reduce -brute #{image} #{crushed}`
246
+ system('pngcrush', '-q', '-rem alla', '-reduce', '-brute', image, crushed)
247
247
  FileUtils.mv(crushed, image)
248
248
  end
249
249
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprite-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
5
- prerelease:
4
+ version: 1.6.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jake Gordon
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-03-16 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rmagick
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: chunky_png
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Combines individual images from a directory into a single sprite image
@@ -53,7 +48,7 @@ extensions: []
53
48
  extra_rdoc_files:
54
49
  - README.md
55
50
  files:
56
- - .gitignore
51
+ - ".gitignore"
57
52
  - Gemfile
58
53
  - LICENSE
59
54
  - README.md
@@ -168,27 +163,26 @@ files:
168
163
  - test/test_case.rb
169
164
  homepage: https://github.com/jakesgordon/sprite-factory
170
165
  licenses: []
166
+ metadata: {}
171
167
  post_install_message:
172
168
  rdoc_options:
173
- - --charset=UTF-8
169
+ - "--charset=UTF-8"
174
170
  require_paths:
175
171
  - lib
176
172
  required_ruby_version: !ruby/object:Gem::Requirement
177
- none: false
178
173
  requirements:
179
- - - ! '>='
174
+ - - ">="
180
175
  - !ruby/object:Gem::Version
181
176
  version: '0'
182
177
  required_rubygems_version: !ruby/object:Gem::Requirement
183
- none: false
184
178
  requirements:
185
- - - ! '>='
179
+ - - ">="
186
180
  - !ruby/object:Gem::Version
187
181
  version: '0'
188
182
  requirements: []
189
183
  rubyforge_project:
190
- rubygems_version: 1.8.23
184
+ rubygems_version: 2.2.2
191
185
  signing_key:
192
- specification_version: 3
186
+ specification_version: 4
193
187
  summary: Automatic CSS sprite generator
194
188
  test_files: []