make blksize work on windows.
This commit is contained in:
parent
1019c7803c
commit
e82aa6cc61
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
require "middleman-core/sitemap/extensions/traversal"
|
||||
|
||||
require 'win32/file' if File::ALT_SEPARATOR
|
||||
|
||||
module Middleman
|
||||
|
||||
# Sitemap namespace
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module Middleman
|
||||
# Current Version
|
||||
# @return [String]
|
||||
VERSION = '3.0.9' unless const_defined?(:VERSION)
|
||||
VERSION = '3.0.10.pre.1' unless const_defined?(:VERSION)
|
||||
end
|
||||
|
|
|
@ -35,4 +35,7 @@ Gem::Specification.new do |s|
|
|||
# Watcher
|
||||
s.add_dependency("listen", ["~> 0.5.2"])
|
||||
s.add_dependency("wdm", ["~> 0.0.3"]) # Windows
|
||||
|
||||
# Detect binary
|
||||
s.add_dependency('win32-file', '>= 0.5.4')
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue