spriter 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/spriter.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ spec = Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
# Change these as appropriate
|
16
16
|
s.name = "spriter"
|
17
|
-
s.version = "0.
|
17
|
+
s.version = "0.8.0"
|
18
18
|
s.summary = "Managers sprites and your css in a mega way."
|
19
19
|
s.author = "Reevoo"
|
20
20
|
s.homepage = "http://www.reevoo.com"
|
data/lib/spriter.rb
CHANGED
@@ -51,7 +51,7 @@ class Spriter
|
|
51
51
|
|
52
52
|
def transform_files(*paths)
|
53
53
|
files = paths.map{ |p| File.open(p, 'r') }
|
54
|
-
generated_css = transform(*files)
|
54
|
+
generated_css = [*transform(*files)]
|
55
55
|
paths.map{ |p| p.sub(/\.spriter$/, '.css') }.each_with_index do |output_path, i|
|
56
56
|
File.open(output_path, 'w'){ |f| f << generated_css[i] }
|
57
57
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spriter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reevoo
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-11 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|