This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

various: automated rubocop fixes

  • Loading branch information...
DomT4 committed Sep 22, 2016
1 parent dce96b8 commit 19e6a94df3130a8038789aa5c1dcd5eccffc5850
Showing with 282 additions and 282 deletions.
  1. +2 −2 android-ndk-r10e.rb
  2. +3 −3 ansible19.rb
  3. +3 −3 ansible20.rb
  4. +1 −1 apache-spark15.rb
  5. +1 −1 apache-spark16.rb
  6. +1 −1 appledoc21.rb
  7. +1 −1 appledoc22.rb
  8. +2 −2 arangodb2.rb
  9. +1 −1 astyle204.rb
  10. +3 −3 bazel02.rb
  11. +2 −2 bind99.rb
  12. +1 −1 boost-python159.rb
  13. +5 −5 boost155.rb
  14. +1 −1 boost159.rb
  15. +1 −1 boost160.rb
  16. +1 −1 camlp5-606.rb
  17. +2 −2 cassandra21.rb
  18. +3 −3 cassandra22.rb
  19. +1 −1 clang-format38.rb
  20. +4 −4 cmake30.rb
  21. +4 −4 cmake31.rb
  22. +3 −3 docker111.rb
  23. +3 −3 docker171.rb
  24. +1 −1 duplicity06.rb
  25. +2 −2 elasticsearch17.rb
  26. +4 −4 elasticsearch23.rb
  27. +2 −2 erlang-r18.rb
  28. +1 −1 erlang-r19.rb
  29. +1 −1 ffmpeg28.rb
  30. +1 −1 freetds091.rb
  31. +4 −4 gdal111.rb
  32. +1 −1 git-tf-2.0.2.rb
  33. +4 −4 gnuplot4.rb
  34. +2 −2 go14.rb
  35. +2 −2 go15.rb
  36. +3 −3 go16.rb
  37. +1 −1 gradle221.rb
  38. +1 −1 gradle27.rb
  39. +1 −1 gradle28.rb
  40. +1 −1 grails24.rb
  41. +1 −1 grails25.rb
  42. +1 −1 hive12.rb
  43. +1 −1 imagemagick-ruby186.rb
  44. +3 −3 influxdb08.rb
  45. +2 −2 iojs.rb
  46. +3 −3 jenkins-lts.rb
  47. +1 −1 jetty76.rb
  48. +4 −4 jruby1721.rb
  49. +4 −4 jruby9000.rb
  50. +1 −1 jython253.rb
  51. +2 −2 kafka080.rb
  52. +2 −2 kettle54.rb
  53. +3 −3 kibana41.rb
  54. +3 −3 kibana44.rb
  55. +1 −1 ledger26.rb
  56. +2 −2 leptonica169.rb
  57. +1 −1 libcouchbase1.rb
  58. +1 −1 libgee08.rb
  59. +2 −2 libmongoclient-legacy.rb
  60. +1 −1 libotr4.rb
  61. +1 −1 libuv0.rb
  62. +1 −1 libxml278.rb
  63. +8 −8 llvm33.rb
  64. +7 −7 llvm34.rb
  65. +8 −8 llvm35.rb
  66. +11 −11 llvm36.rb
  67. +10 −10 llvm37.rb
  68. +10 −10 llvm38.rb
  69. +3 −3 logstash23.rb
  70. +1 −1 lz4r117.rb
  71. +1 −1 mapnik2.rb
  72. +4 −4 mariadb100.rb
  73. +1 −1 maven31.rb
  74. +2 −2 maven32.rb
  75. +1 −1 mkvtoolnix58.rb
  76. +2 −2 mongodb26.rb
  77. +4 −4 mongodb30.rb
  78. +1 −1 mysql55.rb
  79. +3 −3 mysql56.rb
  80. +3 −3 nifi021.rb
  81. +3 −3 node010.rb
  82. +3 −3 node012.rb
  83. +3 −3 node4-lts.rb
  84. +3 −3 node5.rb
  85. +1 −1 objective-caml312.rb
  86. +1 −1 open-mpi16.rb
  87. +5 −5 percona-server55.rb
  88. +6 −6 percona-server56.rb
  89. +1 −1 phantomjs192.rb
  90. +3 −3 play14.rb
  91. +1 −1 play22.rb
  92. +3 −3 postgresql93.rb
  93. +4 −4 postgresql94.rb
  94. +1 −1 povray36.rb
  95. +1 −1 ppl011.rb
  96. +2 −2 protobuf250.rb
  97. +2 −2 protobuf260.rb
  98. +1 −1 qt52.rb
  99. +5 −5 qt55.rb
  100. +1 −1 rabbitmq30.rb
  101. +1 −1 raptor1.rb
  102. +1 −1 redis1310.rb
  103. +2 −2 redis26.rb
  104. +1 −1 redis28.rb
  105. +2 −2 riak132.rb
  106. +2 −2 selenium-server-standalone245.rb
  107. +3 −3 solr54.rb
  108. +3 −3 solr55.rb
  109. +1 −1 sonar4.rb
  110. +1 −1 spidermonkey45.rb
  111. +2 −2 subversion17.rb
  112. +3 −3 subversion18.rb
  113. +1 −1 thrift090.rb
  114. +1 −1 tomcat7.rb
  115. +1 −1 v8-315.rb
  116. +2 −2 valgrind38.rb
  117. +2 −2 virtuoso616.rb
  118. +1 −1 zeromq40.rb
View
@@ -8,11 +8,11 @@ class AndroidNdkR10e < Formula
bottle :unneeded
# As of r10e, only a 64-bit version is provided
depends_on :arch => :x86_64
depends_on arch: :x86_64
depends_on "android-sdk" => :recommended
conflicts_with "crystax-ndk",
:because => "both install `ndk-build`, `ndk-gdb` and `ndk-stack` binaries"
because: "both install `ndk-build`, `ndk-gdb` and `ndk-stack` binaries"
def install
bin.mkpath
View
@@ -4,7 +4,7 @@ class Ansible19 < Formula
url "https://releases.ansible.com/ansible/ansible-1.9.6.tar.gz"
sha256 "50773781b1e76f2885bbeb2351a97cf1c6a29239d3e073da939a104e7e81ee5d"
head "https://github.com/ansible/ansible.git", :branch => "stable-1.9"
head "https://github.com/ansible/ansible.git", branch: "stable-1.9"
bottle do
sha256 "61ebfb00dbe54ca22d2adcc1186d90589f564b8dd89e5c2fc61959cdd680ceb8" => :el_capitan
@@ -16,7 +16,7 @@ class Ansible19 < Formula
depends_on "libyaml"
depends_on "openssl"
conflicts_with "ansible", :because => "Differing version of same formula."
conflicts_with "ansible", because: "Differing version of same formula."
#
# ansible (core dependencies)
@@ -539,7 +539,7 @@ def install
man1.install Dir["docs/man/man1/*.1"]
bin.install Dir["#{libexec}/bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"])
end
def caveats; <<-EOS.undent
View
@@ -4,7 +4,7 @@ class Ansible20 < Formula
url "https://releases.ansible.com/ansible/ansible-2.0.2.0.tar.gz"
sha256 "373a2e50319d90da50948e3faf1c033464b7302200e0199da8981d24646d4387"
head "https://github.com/ansible/ansible.git", :branch => "stable-2.0"
head "https://github.com/ansible/ansible.git", branch: "stable-2.0"
bottle do
sha256 "eba392f5b972ff47259e3620f8353261c4825836044b927015c198d5843caa44" => :el_capitan
@@ -23,7 +23,7 @@ class Ansible20 < Formula
depends_on "libyaml"
depends_on "openssl"
conflicts_with "ansible", :because => "Differing versions of same formula"
conflicts_with "ansible", because: "Differing versions of same formula"
#
# ansible (core dependencies)
@@ -584,7 +584,7 @@ def install
man1.install Dir["docs/man/man1/*.1"]
bin.install Dir["#{libexec}/bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"])
end
def caveats; <<-EOS.undent
View
@@ -7,7 +7,7 @@ class ApacheSpark15 < Formula
bottle :unneeded
conflicts_with "apache-spark", :because => "Differing version of same formula"
conflicts_with "apache-spark", because: "Differing version of same formula"
def install
# Rename beeline to distinguish it from hive's beeline
View
@@ -7,7 +7,7 @@ class ApacheSpark16 < Formula
bottle :unneeded
conflicts_with "apache-spark", :because => "Differing version of same formula"
conflicts_with "apache-spark", because: "Differing version of same formula"
def install
# Rename beeline to distinguish it from hive's beeline
View
@@ -15,7 +15,7 @@ class Appledoc21 < Formula
EOS
depends_on :xcode
depends_on :macos => :lion
depends_on macos: :lion
depends_on MaximumMacOSRequirement => :mountain_lion
View
@@ -21,7 +21,7 @@ class Appledoc22 < Formula
EOS
depends_on :xcode
depends_on :macos => :lion
depends_on macos: :lion
# Actually works with pre-503 clang, but we don't have a way to
# express this yet.
View
@@ -14,7 +14,7 @@ class Arangodb2 < Formula
depends_on "go" => :build
depends_on "openssl"
conflicts_with "arangodb", :because => "Differing versions of the same formula"
conflicts_with "arangodb", because: "Differing versions of the same formula"
needs :cxx11
@@ -59,7 +59,7 @@ def caveats
s
end
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/arangodb2/sbin/arangod-2.8"
plist_options manual: "#{HOMEBREW_PREFIX}/opt/arangodb2/sbin/arangod-2.8"
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
View
@@ -11,7 +11,7 @@ class Astyle204 < Formula
sha256 "98fbe0b2ecc638bc09894bf6def96e9bcab59a501e1373582b8df5435cd7b188" => :mountain_lion
end
conflicts_with "astyle", :because => "Differing versions of same formulae"
conflicts_with "astyle", because: "Differing versions of same formulae"
def install
cd "src" do
View
@@ -11,10 +11,10 @@ class Bazel02 < Formula
sha256 "d1b33ce6f3186c65528ef941fca40cfd7a25b7a4307370975000c51493dce6ce" => :yosemite
end
depends_on :java => "1.8+"
depends_on :macos => :yosemite
depends_on java: "1.8+"
depends_on macos: :yosemite
conflicts_with "bazel", :because => "Differing version of same formula"
conflicts_with "bazel", because: "Differing version of same formula"
def install
ENV["EMBED_LABEL"] = "#{version}-homebrew"
View
@@ -13,7 +13,7 @@ class Bind99 < Formula
depends_on "openssl"
conflicts_with "bind", :because => "Differing versions of the same formula"
conflicts_with "bind", because: "Differing versions of the same formula"
def install
ENV.libxml2
@@ -136,7 +136,7 @@ def named_local; <<-EOS.undent
EOS
end
plist_options :startup => true
plist_options startup: true
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
View
@@ -17,7 +17,7 @@ class BoostPython159 < Formula
option :cxx11
option "without-python", "Build without python 2 support"
depends_on :python3 => :optional
depends_on python3: :optional
if build.cxx11?
depends_on "boost159" => "c++11"
View
@@ -1,5 +1,5 @@
class UniversalPython < Requirement
satisfy(:build_env => false) { archs_for_command("python").universal? }
satisfy(build_env: false) { archs_for_command("python").universal? }
def message; <<-EOS.undent
A universal build was requested, but Python is not a universal build
@@ -11,7 +11,7 @@ def message; <<-EOS.undent
end
class UniversalPython3 < Requirement
satisfy(:build_env => false) { archs_for_command("python3").universal? }
satisfy(build_env: false) { archs_for_command("python3").universal? }
def message; <<-EOS.undent
A universal build was requested, but Python 3 is not a universal build
@@ -79,8 +79,8 @@ class Boost155 < Formula
option "with-mpi", "Build with MPI support"
option :cxx11
depends_on :python => :optional
depends_on :python3 => :optional
depends_on python: :optional
depends_on python3: :optional
depends_on UniversalPython if build.universal? && build.with?("python")
depends_on UniversalPython3 if build.universal? && build.with?("python3")
@@ -100,7 +100,7 @@ class Boost155 < Formula
if build.cxx11?
depends_on "open-mpi" => "c++11"
else
depends_on :mpi => [:cc, :cxx, :optional]
depends_on mpi: [:cc, :cxx, :optional]
end
end
View
@@ -25,7 +25,7 @@ class Boost159 < Formula
depends_on "open-mpi" => "c++11" if build.with? "mpi"
else
depends_on "icu4c" => :optional
depends_on :mpi => [:cc, :cxx, :optional]
depends_on mpi: [:cc, :cxx, :optional]
end
# Fixed compilation of operator<< into a record ostream, when
View
@@ -43,7 +43,7 @@ class Boost160 < Formula
depends_on "open-mpi" => "c++11" if build.with? "mpi"
else
depends_on "icu4c" => :optional
depends_on :mpi => [:cc, :cxx, :optional]
depends_on mpi: [:cc, :cxx, :optional]
end
fails_with :llvm do
View
@@ -13,7 +13,7 @@ class Camlp5606 < Formula
depends_on "objective-caml312"
conflicts_with "camlp5", :because => "both install an camlp5 binary"
conflicts_with "camlp5", because: "both install an camlp5 binary"
def install
if build.with? "strict"
View
@@ -12,7 +12,7 @@ class Cassandra21 < Formula
depends_on :python if MacOS.version <= :snow_leopard
conflicts_with "cassandra", :because => "Differing versions of the same formula"
conflicts_with "cassandra", because: "Differing versions of the same formula"
# Only Yosemite has new enough setuptools for successful compile of the below deps.
resource "setuptools" do
@@ -89,7 +89,7 @@ def install
bin.write_exec_script Dir["#{libexec}/bin/*"]
rm bin/"cqlsh" # Remove existing exec script
(bin/"cqlsh").write_env_script libexec/"bin/cqlsh", :PYTHONPATH => pypath
(bin/"cqlsh").write_env_script libexec/"bin/cqlsh", PYTHONPATH: pypath
end
def plist; <<-EOS.undent
View
@@ -10,7 +10,7 @@ class Cassandra22 < Formula
depends_on :python if MacOS.version <= :snow_leopard
conflicts_with "cassandra",
:because => "cassandra22 and cassandra install different versions of the same binaries."
because: "cassandra22 and cassandra install different versions of the same binaries."
# Only >=Yosemite has new enough setuptools for successful compile of the below deps.
resource "setuptools" do
@@ -92,10 +92,10 @@ def install
bin.write_exec_script Dir["#{libexec}/bin/*"]
rm bin/"cqlsh" # Remove existing exec script
(bin/"cqlsh").write_env_script libexec/"bin/cqlsh", :PYTHONPATH => pypath
(bin/"cqlsh").write_env_script libexec/"bin/cqlsh", PYTHONPATH: pypath
end
plist_options :manual => "cassandra -f"
plist_options manual: "cassandra -f"
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
View
@@ -15,7 +15,7 @@ class ClangFormat38 < Formula
depends_on "ninja" => :build
depends_on "subversion" => :build
conflicts_with "clang-format", :because => "Differing versions of the same formula"
conflicts_with "clang-format", because: "Differing versions of the same formula"
resource "clang" do
url "http://llvm.org/releases/3.8.0/cfe-3.8.0.src.tar.xz"
View
@@ -3,7 +3,7 @@ def expat_framework
"/Library/Frameworks/expat.framework"
end
satisfy :build_env => false do
satisfy build_env: false do
!File.exist? expat_framework
end
@@ -32,12 +32,12 @@ class Cmake30 < Formula
end
option "without-docs", "Don't build man pages"
depends_on :python => :build if MacOS.version <= :snow_leopard && build.with?("docs")
depends_on python: :build if MacOS.version <= :snow_leopard && build.with?("docs")
depends_on "qt" => :optional
conflicts_with "cmake", :because => "both install a cmake binary"
conflicts_with "cmake31", :because => "both install a cmake binary"
conflicts_with "cmake", because: "both install a cmake binary"
conflicts_with "cmake31", because: "both install a cmake binary"
resource "sphinx" do
url "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-1.2.3.tar.gz"
View
@@ -3,7 +3,7 @@ def expat_framework
"/Library/Frameworks/expat.framework"
end
satisfy :build_env => false do
satisfy build_env: false do
!File.exist? expat_framework
end
@@ -33,11 +33,11 @@ class Cmake31 < Formula
option "without-docs", "Don't build man pages"
depends_on :python => :build if MacOS.version <= :snow_leopard && build.with?("docs")
depends_on python: :build if MacOS.version <= :snow_leopard && build.with?("docs")
depends_on "xz" # For LZMA
conflicts_with "cmake", :because => "both install a cmake binary"
conflicts_with "cmake30", :because => "both install a cmake binary"
conflicts_with "cmake", because: "both install a cmake binary"
conflicts_with "cmake30", because: "both install a cmake binary"
# The `with-qt` GUI option was removed due to circular dependencies if
# CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake.
View
@@ -2,8 +2,8 @@ class Docker111 < Formula
desc "Pack, ship and run any application as a lightweight container"
homepage "https://www.docker.com/"
url "https://github.com/docker/docker.git",
:tag => "v1.11.2",
:revision => "b9f10c951893f9a00865890a5232e85d770c1087"
tag: "v1.11.2",
revision: "b9f10c951893f9a00865890a5232e85d770c1087"
head "https://github.com/docker/docker.git"
@@ -19,7 +19,7 @@ class Docker111 < Formula
depends_on "go" => :build
conflicts_with "docker", :because => "Differing version of the same formula"
conflicts_with "docker", because: "Differing version of the same formula"
if build.with? "experimental"
depends_on "libtool" => :run
View
@@ -2,8 +2,8 @@ class Docker171 < Formula
desc "The Docker framework for containers"
homepage "https://www.docker.com/"
url "https://github.com/docker/docker.git",
:tag => "v1.7.1",
:revision => "786b29d4db80a6175e72b47a794ee044918ba734"
tag: "v1.7.1",
revision: "786b29d4db80a6175e72b47a794ee044918ba734"
bottle do
cellar :any
@@ -16,7 +16,7 @@ class Docker171 < Formula
depends_on "go" => :build
conflicts_with "docker", :because => "Differing version of the same formula"
conflicts_with "docker", because: "Differing version of the same formula"
def install
ENV["AUTO_GOPATH"] = "1"
View
@@ -216,7 +216,7 @@ def install
system "python", *Language::Python.setup_install_args(libexec)
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"])
man1.install Dir[libexec/"share/man/man1/*"]
end
View
@@ -6,7 +6,7 @@ class Elasticsearch17 < Formula
bottle :unneeded
depends_on :java => "1.7+"
depends_on java: "1.7+"
def cluster_name
"elasticsearch_#{ENV["USER"]}"
@@ -72,7 +72,7 @@ def caveats; <<-EOS.undent
EOS
end
plist_options :manual => "elasticsearch --config=#{HOMEBREW_PREFIX}/opt/elasticsearch17/config/elasticsearch.yml"
plist_options manual: "elasticsearch --config=#{HOMEBREW_PREFIX}/opt/elasticsearch17/config/elasticsearch.yml"
def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
Oops, something went wrong.

0 comments on commit 19e6a94

Please sign in to comment.