compass-rails4 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/lib/compass-rails4/patches.rb +1 -1
- data/lib/compass-rails4/railtie.rb +1 -1
- data/lib/compass-rails4/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b13c7ebc259a684448fbce9ec070babed3858c86
|
|
4
|
+
data.tar.gz: 7d9953e1f51ac2ba8ffcf2d78e16d484c8e7e33d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b250aa4d939928ecef390d6f75c18416f42ba366797701ec05f4bad7e360475a2653dc55ad71438a047c86506545f85098ca5479a94d19d9488313129f5528d1
|
|
7
|
+
data.tar.gz: 756af9ce9e8fc278fd656db370c87d0f295d466be71b2eb962c196b65b745f5830ef26cf46ca9549cb708c88c02e3c525af0ffadf55b72b900cd7b2a0258b2d3
|
|
@@ -10,7 +10,7 @@ module Sass::Script::Functions
|
|
|
10
10
|
|
|
11
11
|
def cachebust_generated_images
|
|
12
12
|
generated_images_path = CompassRails4.root.join(Compass.configuration.generated_images_dir).to_s
|
|
13
|
-
sprockets_entries = CompassRails4.sprockets.send(:trail).instance_variable_get(:@entries)
|
|
13
|
+
sprockets_entries = CompassRails4.sprockets.send(:trail).index.instance_variable_get(:@entries)
|
|
14
14
|
sprockets_entries.delete(generated_images_path) if sprockets_entries.has_key? generated_images_path
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -40,7 +40,7 @@ class Rails::Railtie::Configuration
|
|
|
40
40
|
|
|
41
41
|
# Clear entries in Hike::Index for this sprite's directory.
|
|
42
42
|
# This makes sure the asset can be found by find_assets
|
|
43
|
-
CompassRails4.sprockets.send(:trail).instance_variable_get(:@entries).delete(File.dirname(filename))
|
|
43
|
+
CompassRails4.sprockets.send(:trail).index.instance_variable_get(:@entries).delete(File.dirname(filename))
|
|
44
44
|
|
|
45
45
|
pathname = Pathname.new(filename)
|
|
46
46
|
logical_path = pathname.relative_path_from(Pathname.new(Compass.configuration.images_path))
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: compass-rails4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomas Brazys
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: compass
|