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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6778afbb41a33d51640d074c78c33440c3fb4545
4
- data.tar.gz: d9bbe1a401afef11c2119ee8d97e1682d35cbe96
3
+ metadata.gz: b13c7ebc259a684448fbce9ec070babed3858c86
4
+ data.tar.gz: 7d9953e1f51ac2ba8ffcf2d78e16d484c8e7e33d
5
5
  SHA512:
6
- metadata.gz: 85cf11031a3532cb25403ae7c5bfe7748da0b8730c87b3404eff1222e6f863ab1d380320569f044805f8a1135643b5a4d4af9e29985ac93cf56380584865fa74
7
- data.tar.gz: d76cafb6137238646f6d5bea19d1822670646a8decaea56727df3bfa4916567863fc3df97a34fc8e8e1f44d6c183dbd52edf3cc8eec15de511f0452953b9e881
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))
@@ -1,5 +1,5 @@
1
1
  module CompassRails4
2
2
  unless defined?(::CompassRails4::VERSION)
3
- VERSION = "0.1.0" #based on 1.1.7
3
+ VERSION = "0.1.1" #based on 1.1.7
4
4
  end
5
5
  end
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.0
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-21 00:00:00.000000000 Z
11
+ date: 2014-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass