sprites 0.0.1.rc1 → 0.0.1.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sprites/rails.rb +1 -0
- data/lib/sprites/sprite.rb +3 -1
- data/lib/sprites/version.rb +1 -1
- metadata +4 -10
- data/log/development.log +0 -0
- data/log/test.log +0 -0
- data/spec/fixtures/rails_project1/log/test.log +0 -0
- data/spec/fixtures/rails_project2/log/test.log +0 -0
data/lib/sprites/rails.rb
CHANGED
data/lib/sprites/sprite.rb
CHANGED
@@ -81,7 +81,9 @@ module Sprites
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def self.sprite_css_path(configuration, sprite)
|
84
|
-
|
84
|
+
# TODO only works for rails and sprites dir is hard coded
|
85
|
+
# TODO what if there is another app in the path
|
86
|
+
"/assets/sprites/#{File.basename(sprite_full_path(configuration, sprite))}"
|
85
87
|
end
|
86
88
|
|
87
89
|
def auto_define!
|
data/lib/sprites/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprites
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: -187066884
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 1
|
10
10
|
- rc
|
11
|
-
-
|
12
|
-
version: 0.0.1.
|
11
|
+
- 2
|
12
|
+
version: 0.0.1.rc2
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Sam Woodard
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-01
|
20
|
+
date: 2012-02-01 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rspec
|
@@ -186,8 +186,6 @@ files:
|
|
186
186
|
- lib/sprites/stylesheet.rb
|
187
187
|
- lib/sprites/test/sprite_generator_tester.rb
|
188
188
|
- lib/sprites/version.rb
|
189
|
-
- log/development.log
|
190
|
-
- log/test.log
|
191
189
|
- spec/fixtures/known_good/sprite_images/buttons/.DS_Store
|
192
190
|
- spec/fixtures/known_good/sprite_images/buttons/btn-black-default-28.png
|
193
191
|
- spec/fixtures/known_good/sprite_images/buttons/btn-black-default-cap-28.png
|
@@ -579,7 +577,6 @@ files:
|
|
579
577
|
- spec/fixtures/rails_project1/config/boot.rb
|
580
578
|
- spec/fixtures/rails_project1/config/environment.rb
|
581
579
|
- spec/fixtures/rails_project1/config/sprites.rb
|
582
|
-
- spec/fixtures/rails_project1/log/test.log
|
583
580
|
- spec/fixtures/rails_project2/Rakefile
|
584
581
|
- spec/fixtures/rails_project2/app/assets/images/sprite_images/bas/bar.png
|
585
582
|
- spec/fixtures/rails_project2/app/assets/images/sprite_images/bas/bas.png
|
@@ -677,7 +674,6 @@ files:
|
|
677
674
|
- spec/fixtures/rails_project2/config/boot.rb
|
678
675
|
- spec/fixtures/rails_project2/config/environment.rb
|
679
676
|
- spec/fixtures/rails_project2/config/sprites.rb
|
680
|
-
- spec/fixtures/rails_project2/log/test.log
|
681
677
|
- spec/fixtures/sprite_images/foo/foo.png
|
682
678
|
- spec/integration/rails/rails_spec.rb
|
683
679
|
- spec/lib/sprites/application_spec.rb
|
@@ -1126,7 +1122,6 @@ test_files:
|
|
1126
1122
|
- spec/fixtures/rails_project1/config/boot.rb
|
1127
1123
|
- spec/fixtures/rails_project1/config/environment.rb
|
1128
1124
|
- spec/fixtures/rails_project1/config/sprites.rb
|
1129
|
-
- spec/fixtures/rails_project1/log/test.log
|
1130
1125
|
- spec/fixtures/rails_project2/Rakefile
|
1131
1126
|
- spec/fixtures/rails_project2/app/assets/images/sprite_images/bas/bar.png
|
1132
1127
|
- spec/fixtures/rails_project2/app/assets/images/sprite_images/bas/bas.png
|
@@ -1224,7 +1219,6 @@ test_files:
|
|
1224
1219
|
- spec/fixtures/rails_project2/config/boot.rb
|
1225
1220
|
- spec/fixtures/rails_project2/config/environment.rb
|
1226
1221
|
- spec/fixtures/rails_project2/config/sprites.rb
|
1227
|
-
- spec/fixtures/rails_project2/log/test.log
|
1228
1222
|
- spec/fixtures/sprite_images/foo/foo.png
|
1229
1223
|
- spec/integration/rails/rails_spec.rb
|
1230
1224
|
- spec/lib/sprites/application_spec.rb
|
data/log/development.log
DELETED
File without changes
|
data/log/test.log
DELETED
File without changes
|
File without changes
|
File without changes
|