]> git.openstreetmap.org Git - chef.git/commitdiff
Update foodcritic
authorTom Hughes <tom@compton.nu>
Sun, 5 Feb 2017 10:28:54 +0000 (10:28 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 5 Feb 2017 10:28:54 +0000 (10:28 +0000)
Gemfile.lock
hooks/pre-commit

index 54dd6453205a267bf00777aa665e5f822b20a975..ba26104ac9b6056129ba906b71f3a5e74c0e7ade 100644 (file)
@@ -9,7 +9,7 @@ GEM
       gherkin (~> 4.0)
     diff-lcs (1.2.5)
     erubis (2.7.0)
-    foodcritic (8.1.0)
+    foodcritic (9.0.0)
       cucumber-core (>= 1.3)
       erubis
       nokogiri (>= 1.5, < 2.0)
@@ -35,14 +35,14 @@ GEM
     net-ssh-gateway (1.2.0)
       net-ssh (>= 2.6.5)
     net-telnet (0.1.1)
-    nokogiri (1.6.8.1)
+    nokogiri (1.7.0.1)
       mini_portile2 (~> 2.1.0)
     parser (2.3.3.1)
       ast (~> 2.2)
     polyglot (0.3.5)
     powerpack (0.1.1)
     rainbow (2.2.1)
-    rake (11.3.0)
+    rake (12.0.0)
     rspec (3.5.0)
       rspec-core (~> 3.5.0)
       rspec-expectations (~> 3.5.0)
index 4e45ba7b50d47fe1d74a957851c40ef05696f692..4ad3c1576fb8298b923fe4db9d9d5858640b0da6 100755 (executable)
@@ -19,7 +19,7 @@ if IO.popen(["git", "ls-files", "--unmerged"]).read.empty?
 
   cookbooks = files.grep(%r{(cookbooks/[^/]+)/}) { Regexp.last_match(1) }.uniq
 
-  ok &&= system("bundle", "exec", "foodcritic", "-f", "any", *cookbooks) unless cookbooks.empty?
+  ok &&= system("bundle", "exec", "foodcritic", *cookbooks) unless cookbooks.empty?
 
   system("git", "stash", "pop", "--quiet") if need_stash
 else