From 8046e59f0594cfdd717d2714514fcf3f796fddd4 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Tue, 8 Jul 2014 20:53:31 +0800 Subject: neovim.rb: modernize the style https://github.com/styleguide/ruby --- neovim.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/neovim.rb b/neovim.rb index 79e583a80a..cfcb0025ab 100644 --- a/neovim.rb +++ b/neovim.rb @@ -1,13 +1,13 @@ -require 'formula' +require "formula" class Neovim < Formula - homepage 'http://neovim.org' - head 'https://github.com/neovim/neovim.git' + homepage "http://neovim.org" + head "https://github.com/neovim/neovim.git" - depends_on 'md5sha1sum' - depends_on 'cmake' - depends_on 'libtool' - depends_on 'automake' + depends_on "md5sha1sum" + depends_on "cmake" + depends_on "libtool" + depends_on "automake" def install ENV.deparallelize -- cgit From ccd3f9ce67543c45f341b05adf8f85e42bc0fdce Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Tue, 8 Jul 2014 20:55:07 +0800 Subject: neovim.rb: improve dependency 1. remove unnecessary deps `md5sha1sum` 2. add `=> :build` 3. add missing deps `autoconf` --- neovim.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neovim.rb b/neovim.rb index cfcb0025ab..43f285baeb 100644 --- a/neovim.rb +++ b/neovim.rb @@ -4,10 +4,10 @@ class Neovim < Formula homepage "http://neovim.org" head "https://github.com/neovim/neovim.git" - depends_on "md5sha1sum" - depends_on "cmake" - depends_on "libtool" - depends_on "automake" + depends_on "cmake" => :build + depends_on "libtool" => :build + depends_on "automake" => :build + depends_on "autoconf" => :build def install ENV.deparallelize -- cgit