sass 3.2.0.alpha.3 → 3.2.0.alpha.4

Sign up to get free protection for your applications and to get access to all the features.
data/REVISION CHANGED
@@ -1 +1 @@
1
- d30f40911d3707add3c20a224719b9a6bd20ee8e
1
+ a1ef2cddaee971d84d0e5e26329727ab0c7be884
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.0.alpha.3
1
+ 3.2.0.alpha.4
@@ -49,6 +49,8 @@ module Sass
49
49
  # @param obj [Object] The object to cache.
50
50
  def store(key, sha, root)
51
51
  _store(key, Sass::VERSION, sha, Marshal.dump(root))
52
+ rescue TypeError, LoadError => e
53
+ Sass::Util.sass_warn "Warning. Error encountered while saving cache #{path_to(key)}: #{e}"
52
54
  end
53
55
 
54
56
  # Retrieve a {Sass::Tree::RootNode}.
@@ -59,7 +61,7 @@ module Sass
59
61
  def retrieve(key, sha)
60
62
  contents = _retrieve(key, Sass::VERSION, sha)
61
63
  Marshal.load(contents) if contents
62
- rescue EOFError, TypeError, ArgumentError => e
64
+ rescue EOFError, TypeError, ArgumentError, LoadError => e
63
65
  Sass::Util.sass_warn "Warning. Error encountered while reading cache #{path_to(key)}: #{e}"
64
66
  end
65
67
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.alpha.3
4
+ version: 3.2.0.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-04-26 00:00:00 -04:00
14
+ date: 2011-05-02 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency