nanoc 2.1.3 → 2.1.4

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.
data/ChangeLog CHANGED
@@ -1,6 +1,11 @@
1
1
  nanoc Release Notes
2
2
  ===================
3
3
 
4
+ 2.1.4
5
+ -----
6
+
7
+ * Fixed an issue where the autocompiler in Windows would serve broken assets
8
+
4
9
  2.1.3
5
10
  -----
6
11
 
data/lib/nanoc.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Nanoc
2
2
 
3
3
  # The current nanoc version.
4
- VERSION = '2.1.3'
4
+ VERSION = '2.1.4'
5
5
 
6
6
  # Generic error. Superclass for all nanoc-specific errors.
7
7
  class Error < RuntimeError ; end
@@ -252,7 +252,7 @@ END
252
252
  [
253
253
  200,
254
254
  { 'Content-Type' => mime_type_of(path, 'application/octet-stream') },
255
- [ File.read(path) ]
255
+ [ File.open(path, 'rb') { |io| io.read } ]
256
256
  ]
257
257
  end
258
258
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-27 00:00:00 +02:00
12
+ date: 2008-11-15 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15