Update to latest Guard and Guard Livereload to avoid gem dependency issues
This commit is contained in:
parent
4706c3ad00
commit
541c5710f7
5 changed files with 16 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
2.0.16
|
||||
====
|
||||
Update Guard to v1.1
|
||||
|
||||
2.0.15.4
|
||||
====
|
||||
Lock Padrino version to 0.10.6
|
||||
|
|
|
@ -2,7 +2,7 @@ require "guard"
|
|||
require "guard/guard"
|
||||
require "rbconfig"
|
||||
|
||||
if Config::CONFIG['host_os'].downcase =~ %r{mingw}
|
||||
if RbConfig::CONFIG['host_os'].downcase =~ %r{mingw}
|
||||
require "win32/process"
|
||||
end
|
||||
|
||||
|
@ -31,7 +31,11 @@ module Middleman
|
|||
guardfile_contents << result unless result.nil?
|
||||
end
|
||||
|
||||
::Guard.start({ :guardfile_contents => guardfile_contents })
|
||||
begin
|
||||
::Guard.start({ :guardfile_contents => guardfile_contents })
|
||||
rescue Interrupt
|
||||
::Guard.stop
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -47,7 +51,7 @@ module Guard
|
|||
server_start
|
||||
end
|
||||
|
||||
def run_on_change(paths)
|
||||
def run_on_changes(paths)
|
||||
server_stop
|
||||
server_start
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Middleman
|
||||
VERSION = "2.0.15.4"
|
||||
VERSION = "2.0.16"
|
||||
end
|
||||
|
|
|
@ -58,8 +58,8 @@ eos
|
|||
s.add_dependency("win32-process", ["~> 0.6.5"])
|
||||
s.add_dependency("rb-fchange")
|
||||
|
||||
s.add_dependency("guard", ["~> 0.6.2"])
|
||||
s.add_dependency("middleman-livereload", ["~> 0.2.0"])
|
||||
s.add_dependency("guard", ["~> 1.1.0"])
|
||||
s.add_dependency("middleman-livereload", ["~> 0.2.2"])
|
||||
|
||||
# Development and test
|
||||
# s.add_development_dependency("jquery-rails")
|
||||
|
|
|
@ -56,8 +56,8 @@ eos
|
|||
s.add_dependency("padrino-core", ["0.10.6"])
|
||||
s.add_dependency("padrino-helpers", ["0.10.6"])
|
||||
|
||||
s.add_dependency("guard", ["~> 0.6.2"])
|
||||
s.add_dependency("middleman-livereload", ["~> 0.2.0"])
|
||||
s.add_dependency("guard", ["~> 1.1.0"])
|
||||
s.add_dependency("middleman-livereload", ["~> 0.2.2"])
|
||||
|
||||
# Development and test
|
||||
s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
|
||||
|
|
Loading…
Add table
Reference in a new issue