Implemented Rubocop

- just took a stab at running the StringLiterals cop to get a taste.
This commit is contained in:
Karl Freeman 2013-12-28 00:26:31 +00:00
parent e996868033
commit 03d6e6c990
80 changed files with 510 additions and 477 deletions

View file

@ -1,5 +1,5 @@
require "pathname"
require "set"
require 'pathname'
require 'set'
# API for watching file change events
module Middleman
@ -128,7 +128,7 @@ module Middleman
path = Pathname(path)
return unless path.exist?
glob = (path + "**").to_s
glob = (path + '**').to_s
subset = @known_paths.select { |p| p.fnmatch(glob) }
::Middleman::Util.all_files_under(path).each do |filepath|