haml-edge 2.1.42 → 2.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/EDGE_GEM_VERSION +1 -1
  2. data/VERSION +1 -1
  3. data/lib/sass/files.rb +2 -2
  4. metadata +1 -1
data/EDGE_GEM_VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.42
1
+ 2.1.43
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.42
1
+ 2.1.43
data/lib/sass/files.rb CHANGED
@@ -91,7 +91,7 @@ module Sass
91
91
  def try_to_read_sassc(filename, compiled_filename, sha)
92
92
  return unless File.readable?(compiled_filename)
93
93
 
94
- File.open(compiled_filename) do |f|
94
+ File.open(compiled_filename, "rb") do |f|
95
95
  return unless f.readline("\n").strip == Sass::VERSION
96
96
  return unless f.readline("\n").strip == sha
97
97
  return Marshal.load(f.read)
@@ -106,7 +106,7 @@ module Sass
106
106
  return if File.exists?(File.dirname(compiled_filename)) && !File.writable?(File.dirname(compiled_filename))
107
107
  return if File.exists?(compiled_filename) && !File.writable?(compiled_filename)
108
108
  FileUtils.mkdir_p(File.dirname(compiled_filename))
109
- File.open(compiled_filename, "w") do |f|
109
+ File.open(compiled_filename, "wb") do |f|
110
110
  f.write(Sass::VERSION)
111
111
  f.write("\n")
112
112
  f.write(sha)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.42
4
+ version: 2.1.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum