compass-querystring_cachebuster 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,17 @@
1
- module Compass::SassExtensions::Functions::Sprites
2
- def sprite_url(map)
3
- verify_map(map, "sprite-url")
4
- map.generate
5
- image_url(Sass::Script::String.new("#{map.path}.png"),
6
- Sass::Script::Bool.new(false),
7
- Sass::Script::Bool.new(true))
1
+ module Compass::SassExtensions
2
+ module Functions::Sprites
3
+ def sprite_url(map)
4
+ verify_map(map, "sprite-url")
5
+ map.generate
6
+ image_url(Sass::Script::String.new("#{map.path}.png"),
7
+ Sass::Script::Bool.new(false),
8
+ Sass::Script::Bool.new(true))
9
+ end
8
10
  end
9
- end
10
11
 
11
- module Compass
12
- module SassExtensions
13
- module Sprites
14
- class Base < Sass::Script::Literal
15
- def filename
16
- File.join(Compass.configuration.images_path, "#{path}.png")
17
- end
18
- end
12
+ module Sprites::SpriteMethods
13
+ def filename
14
+ File.join(Compass.configuration.images_path, "#{path}.png")
19
15
  end
20
16
  end
21
17
  end
@@ -1,5 +1,5 @@
1
1
  module Compass
2
2
  module QuerystringCachebuster
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-querystring_cachebuster
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Micah Geisel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-25 00:00:00 Z
18
+ date: 2011-08-04 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Adds Rails-style querystring cachebusters to compass sprites.
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  requirements: []
64
64
 
65
65
  rubyforge_project:
66
- rubygems_version: 1.8.3
66
+ rubygems_version: 1.8.5
67
67
  signing_key:
68
68
  specification_version: 3
69
69
  summary: Adds Rails-style querystring cachebusters to compass sprites.