sprite-factory 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Jake Gordon and contributors
1
+ Copyright (c) 2011, 2012, 2013 Jake Gordon and contributors
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Sprite Factory (v1.5.2)
1
+ Sprite Factory (v1.5.3)
2
2
  =======================
3
3
 
4
4
  The sprite factory is a ruby library that can be used to generate
data/RELEASE_NOTES.md CHANGED
@@ -1,3 +1,7 @@
1
+ February 21st 2013 - v1.5.3
2
+ ---------------------------
3
+ * bugfix: added back `:selector` when providing attributes for custom style generators (it was accidentally removed in v1.5.2)
4
+
1
5
  January 13th 2013 - v1.5.2
2
6
  --------------------------
3
7
  * replaced `:csspath` option with `:cssurl` [issue #21](https://github.com/jakesgordon/sprite-factory/issues/21)
@@ -2,7 +2,7 @@ module SpriteFactory
2
2
 
3
3
  #----------------------------------------------------------------------------
4
4
 
5
- VERSION = "1.5.2"
5
+ VERSION = "1.5.3"
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__)
@@ -53,7 +53,8 @@ module SpriteFactory
53
53
  "height: #{image[:cssh]}px",
54
54
  "background: #{url} #{-image[:cssx]}px #{-image[:cssy]}px no-repeat"
55
55
  ]
56
- image[:style] = send("#{style_name}_style", attr) # make pure style available for (optional) custom rule generators (see usage of yield inside Runner#style)
56
+ image[:selector] = selector # make selector available for (optional) custom rule generators
57
+ image[:style] = send("#{style_name}_style", attr) # make pure style available for (optional) custom rule generators (see usage of yield inside Runner#style)
57
58
  styles << send(style_name, selector, image[:name], attr)
58
59
  end
59
60
  styles << ""
metadata CHANGED
@@ -1,58 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sprite-factory
3
- version: !ruby/object:Gem::Version
4
- version: 1.5.2
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 5
8
+ - 3
9
+ version: 1.5.3
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Jake Gordon
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2013-01-13 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2013-02-21 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rmagick
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: chunky_png
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ version: "0"
38
31
  type: :development
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: chunky_png
39
35
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
36
+ requirement: &id002 !ruby/object:Gem::Requirement
41
37
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- description: Combines individual images from a directory into a single sprite image
47
- file and creates an appropriate CSS stylesheet
48
- email:
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :development
45
+ version_requirements: *id002
46
+ description: Combines individual images from a directory into a single sprite image file and creates an appropriate CSS stylesheet
47
+ email:
49
48
  - jake@codeincomplete.com
50
- executables:
49
+ executables:
51
50
  - sf
52
51
  extensions: []
53
- extra_rdoc_files:
52
+
53
+ extra_rdoc_files:
54
54
  - README.md
55
- files:
55
+ files:
56
56
  - .gitignore
57
57
  - LICENSE
58
58
  - README.md
@@ -164,29 +164,37 @@ files:
164
164
  - test/runner_test.rb
165
165
  - test/style_test.rb
166
166
  - test/test_case.rb
167
+ has_rdoc: true
167
168
  homepage: https://github.com/jakesgordon/sprite-factory
168
169
  licenses: []
170
+
169
171
  post_install_message:
170
- rdoc_options:
172
+ rdoc_options:
171
173
  - --charset=UTF-8
172
- require_paths:
174
+ require_paths:
173
175
  - lib
174
- required_ruby_version: !ruby/object:Gem::Requirement
176
+ required_ruby_version: !ruby/object:Gem::Requirement
175
177
  none: false
176
- requirements:
177
- - - ! '>='
178
- - !ruby/object:Gem::Version
179
- version: '0'
180
- required_rubygems_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ segments:
182
+ - 0
183
+ version: "0"
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
185
  none: false
182
- requirements:
183
- - - ! '>='
184
- - !ruby/object:Gem::Version
185
- version: '0'
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ segments:
190
+ - 0
191
+ version: "0"
186
192
  requirements: []
193
+
187
194
  rubyforge_project:
188
- rubygems_version: 1.8.23
195
+ rubygems_version: 1.3.7
189
196
  signing_key:
190
197
  specification_version: 3
191
198
  summary: Automatic CSS sprite generator
192
199
  test_files: []
200
+