spittle 0.9.1.6 → 0.9.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -1
- data/VERSION +1 -1
- data/lib/spittle/image_data.rb +4 -0
- data/spittle.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -45,7 +45,7 @@ Spittle assumes all of your sprites are located in the directory public/images/s
|
|
45
45
|
boeing.png
|
46
46
|
cesna.png
|
47
47
|
|
48
|
-
Running
|
48
|
+
Running sprite:generate does all the work. Each sprite directory (cars, planes) will now contain a sprite.png. Spittle will also generate a sprites.css stylesheet in public/stylesheets/ that you should include in your layout. If you wished to use the ford image from the cars sprite you would give the 'cars_ford' class to the desired element in the view. That's it!
|
49
49
|
|
50
50
|
Check out examples/sprites if you want to see what spittle can do without doing any work.
|
51
51
|
|
@@ -53,6 +53,7 @@ Check out examples/sprites if you want to see what spittle can do without doing
|
|
53
53
|
|
54
54
|
- supports RGB and RGBA color types only (and they must be the same for all images in a sprite)
|
55
55
|
- does not support color profiles (can cause a slight change in color from the source image)
|
56
|
+
- does not support reading interlaced PNGs.
|
56
57
|
|
57
58
|
== Features
|
58
59
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.1.
|
1
|
+
0.9.1.7
|
data/lib/spittle/image_data.rb
CHANGED
data/spittle.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{spittle}
|
8
|
-
s.version = "0.9.1.
|
8
|
+
s.version = "0.9.1.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["aberant", "tjennings"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-01-01}
|
13
13
|
s.description = %q{Spittle is a pure ruby PNG spriting library. It can be used standalone or as a Rails plugin, see the readme for details.}
|
14
14
|
s.email = ["qzzzq1@gmail.com", "tyler.jennings@gmail.com"]
|
15
15
|
s.executables = ["png_info", "sprite"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spittle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.1.
|
4
|
+
version: 0.9.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aberant
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2010-01-01 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|