From 303660134f72cffaef94f87abfb6bfeedccc0e1c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 18 Sep 2016 15:18:50 +0100 Subject: [PATCH] Use Ruby 1.9+ symbol hash keys in all formulae. (#4942) --- Formula/aardvark_shell_utils.rb | 2 +- Formula/abcl.rb | 4 +- Formula/ack.rb | 4 +- Formula/acmetool.rb | 56 +++++----- Formula/activemq.rb | 4 +- Formula/aescrypt-packetizer.rb | 2 +- Formula/afflib.rb | 2 +- Formula/agda.rb | 6 +- Formula/aggregate.rb | 2 +- Formula/aiccu.rb | 2 +- Formula/algernon.rb | 8 +- Formula/align.rb | 2 +- Formula/allegro.rb | 2 +- Formula/alot.rb | 2 +- Formula/ammonite-repl.rb | 4 +- Formula/amtterm.rb | 2 +- Formula/android-ndk.rb | 4 +- Formula/android-platform-tools.rb | 4 +- Formula/android-sdk.rb | 4 +- Formula/ansible.rb | 3 +- Formula/apache-archiva.rb | 4 +- Formula/apache-brooklyn-cli.rb | 4 +- Formula/apache-geode.rb | 2 +- Formula/apib.rb | 2 +- Formula/apktool.rb | 4 +- Formula/apollo.rb | 2 +- Formula/app-engine-go-32.rb | 4 +- Formula/app-engine-go-64.rb | 4 +- Formula/app-engine-java.rb | 2 +- Formula/app-engine-python.rb | 4 +- Formula/appledoc.rb | 4 +- Formula/appscale-tools.rb | 2 +- Formula/aptly.rb | 8 +- Formula/arangodb.rb | 6 +- Formula/archivemail.rb | 2 +- Formula/argp-standalone.rb | 2 +- Formula/argyll-cms.rb | 2 +- Formula/artifactory.rb | 4 +- Formula/asciinema.rb | 2 +- Formula/asciiquarium.rb | 2 +- Formula/atomicparsley.rb | 2 +- Formula/aubio.rb | 8 +- Formula/aurora-cli.rb | 2 +- Formula/auto-scaling.rb | 2 +- Formula/avce00.rb | 2 +- Formula/avian.rb | 4 +- Formula/avrdude.rb | 2 +- Formula/aws-apigateway-importer.rb | 2 +- Formula/aws-cfn-tools.rb | 2 +- Formula/aws-cloudsearch.rb | 4 +- Formula/aws-elasticache.rb | 2 +- Formula/aws-shell.rb | 24 ++--- Formula/aws-sns-cli.rb | 2 +- Formula/awscli.rb | 8 +- Formula/azure-cli.rb | 4 +- Formula/babl.rb | 2 +- Formula/bacula-fd.rb | 2 +- Formula/baobab.rb | 2 +- Formula/bashdb.rb | 2 +- Formula/bazaar.rb | 2 +- Formula/bazel.rb | 4 +- Formula/beanstalkd.rb | 2 +- Formula/betty.rb | 2 +- Formula/bfg.rb | 2 +- Formula/bibclean.rb | 2 +- Formula/bibtex2html.rb | 2 +- Formula/bigdata.rb | 4 +- Formula/bind.rb | 2 +- Formula/binwalk.rb | 2 +- Formula/bitlbee.rb | 2 +- Formula/blackbox.rb | 2 +- Formula/blitz.rb | 2 +- Formula/blucat.rb | 2 +- Formula/blueutil.rb | 2 +- Formula/boost-python.rb | 2 +- Formula/boost.rb | 2 +- Formula/boot-clj.rb | 2 +- Formula/boot2docker.rb | 2 +- Formula/bro.rb | 2 +- Formula/brotli.rb | 2 +- Formula/browser.rb | 2 +- Formula/bsponmpi.rb | 2 +- Formula/bup.rb | 2 +- Formula/burp.rb | 6 +- Formula/byobu.rb | 2 +- Formula/byteman.rb | 4 +- Formula/caddy.rb | 44 ++++---- Formula/caf.rb | 2 +- Formula/cairo.rb | 4 +- Formula/camlistore.rb | 8 +- Formula/camlp4.rb | 2 +- Formula/camlp5.rb | 2 +- Formula/carina.rb | 4 +- Formula/carthage.rb | 10 +- Formula/cask.rb | 2 +- Formula/casperjs.rb | 2 +- Formula/cassandra.rb | 6 +- Formula/cattle.rb | 4 +- Formula/cayley.rb | 4 +- Formula/cc65.rb | 2 +- Formula/ccat.rb | 2 +- Formula/cclive.rb | 2 +- Formula/ccm.rb | 2 +- Formula/ccrypt.rb | 2 +- Formula/cdiff.rb | 4 +- Formula/cdrtools.rb | 2 +- Formula/cereal.rb | 4 +- Formula/certstrap.rb | 4 +- Formula/ceylon.rb | 2 +- Formula/cfr-decompiler.rb | 2 +- Formula/chadwick.rb | 12 +-- Formula/chapel.rb | 2 +- Formula/charm.rb | 4 +- Formula/checkbashisms.rb | 2 +- Formula/choose-gui.rb | 6 +- Formula/choose.rb | 4 +- Formula/chrome-cli.rb | 4 +- Formula/chromedriver.rb | 2 +- Formula/chuck.rb | 2 +- Formula/cig.rb | 4 +- Formula/civl.rb | 2 +- Formula/clang-format.rb | 8 +- Formula/clhep.rb | 2 +- Formula/clipper.rb | 2 +- Formula/clipsafe.rb | 4 +- Formula/cloc.rb | 2 +- Formula/clog.rb | 2 +- Formula/closure-compiler.rb | 4 +- Formula/closure-linter.rb | 2 +- Formula/clozure-cl.rb | 4 +- Formula/cmark.rb | 2 +- Formula/cntlm.rb | 2 +- Formula/cocoapods.rb | 2 +- Formula/codemod.rb | 2 +- Formula/collectd.rb | 4 +- Formula/colordiff.rb | 2 +- Formula/colortail.rb | 2 +- Formula/commandbox.rb | 2 +- Formula/conan.rb | 2 +- Formula/consul-template.rb | 12 +-- Formula/consul.rb | 8 +- Formula/contacts.rb | 2 +- Formula/cookiecutter.rb | 2 +- Formula/coq.rb | 4 +- Formula/corectl.rb | 4 +- Formula/corelocationcli.rb | 2 +- Formula/coreutils.rb | 6 +- Formula/corkscrew.rb | 2 +- Formula/cosi.rb | 18 ++-- Formula/couchdb-lucene.rb | 2 +- Formula/couchdb.rb | 2 +- Formula/couchpotatoserver.rb | 2 +- Formula/cpprestsdk.rb | 2 +- Formula/creduce.rb | 4 +- Formula/cromwell.rb | 2 +- Formula/crush-tools.rb | 4 +- Formula/cryptol.rb | 2 +- Formula/crystax-ndk.rb | 2 +- Formula/cspice.rb | 8 +- Formula/csup.rb | 2 +- Formula/ctail.rb | 2 +- Formula/ctunnel.rb | 2 +- Formula/cxxtest.rb | 2 +- Formula/czmq.rb | 2 +- Formula/dark-mode.rb | 4 +- Formula/darkstat.rb | 2 +- Formula/davix.rb | 4 +- Formula/dcadec.rb | 4 +- Formula/dcd.rb | 10 +- Formula/ddar.rb | 2 +- Formula/ddclient.rb | 2 +- Formula/derby.rb | 6 +- Formula/devd.rb | 44 ++++---- Formula/dfix.rb | 6 +- Formula/dfmt.rb | 10 +- Formula/diffoscope.rb | 4 +- Formula/digdag.rb | 2 +- Formula/discount.rb | 4 +- Formula/disktype.rb | 2 +- Formula/distcc.rb | 2 +- Formula/ditaa.rb | 2 +- Formula/dlite.rb | 2 +- Formula/dnscrypt-proxy.rb | 2 +- Formula/dnsmasq.rb | 2 +- Formula/dnstwist.rb | 2 +- Formula/docker-cloud.rb | 2 +- Formula/docker-compose.rb | 2 +- Formula/docker-machine-driver-xhyve.rb | 6 +- Formula/docker-machine.rb | 6 +- Formula/docker.rb | 4 +- Formula/dockviz.rb | 22 ++-- Formula/dockward.rb | 10 +- Formula/docx2txt.rb | 2 +- Formula/doitlive.rb | 2 +- Formula/dovecot.rb | 4 +- Formula/doxymacs.rb | 2 +- Formula/dpkg.rb | 2 +- Formula/drip.rb | 2 +- Formula/dshb.rb | 2 +- Formula/dub.rb | 6 +- Formula/duck.rb | 4 +- Formula/duplicity.rb | 2 +- Formula/dvdrtools.rb | 2 +- Formula/dxpy.rb | 2 +- Formula/dynamodb-local.rb | 2 +- Formula/ec2-ami-tools.rb | 2 +- Formula/ec2-api-tools.rb | 2 +- Formula/efl.rb | 2 +- Formula/eiffelstudio.rb | 2 +- Formula/eigen.rb | 2 +- Formula/ejabberd.rb | 2 +- Formula/elasticsearch.rb | 6 +- Formula/elb-tools.rb | 2 +- Formula/elixir-build.rb | 2 +- Formula/emacs.rb | 2 +- Formula/embulk.rb | 2 +- Formula/emp.rb | 2 +- Formula/emscripten.rb | 6 +- Formula/enchant.rb | 2 +- Formula/enscript.rb | 2 +- Formula/entr.rb | 4 +- Formula/eralchemy.rb | 4 +- Formula/erlang.rb | 2 +- Formula/es.rb | 2 +- Formula/etcd.rb | 2 +- Formula/euca2ools.rb | 2 +- Formula/euler-py.rb | 2 +- Formula/ex-vi.rb | 2 +- Formula/expat.rb | 2 +- Formula/exploitdb.rb | 4 +- Formula/extract_url.rb | 2 +- Formula/eye-d3.rb | 2 +- Formula/fabric.rb | 2 +- Formula/fades.rb | 2 +- Formula/fail2ban.rb | 2 +- Formula/falcon.rb | 2 +- Formula/fastbit.rb | 4 +- Formula/fastd.rb | 4 +- Formula/fb-client.rb | 4 +- Formula/fdroidserver.rb | 4 +- Formula/ffind.rb | 2 +- Formula/fftw.rb | 4 +- Formula/filebeat.rb | 2 +- Formula/findbugs.rb | 4 +- Formula/fish.rb | 2 +- Formula/fits.rb | 2 +- Formula/fizsh.rb | 2 +- Formula/flake8.rb | 2 +- Formula/fluent-bit.rb | 4 +- Formula/flume.rb | 4 +- Formula/flvstreamer.rb | 2 +- Formula/fobis.rb | 2 +- Formula/folly.rb | 4 +- Formula/fon-flash-cli.rb | 2 +- Formula/fondu.rb | 2 +- Formula/fontconfig.rb | 2 +- Formula/fontforge.rb | 2 +- Formula/fonttools.rb | 2 +- Formula/fop.rb | 2 +- Formula/fossil.rb | 4 +- Formula/freediameter.rb | 4 +- Formula/freeimage.rb | 4 +- Formula/freeling.rb | 2 +- Formula/freeswitch.rb | 8 +- Formula/frege-repl.rb | 2 +- Formula/frege.rb | 2 +- Formula/frescobaldi.rb | 2 +- Formula/fstar.rb | 4 +- Formula/ftjam.rb | 2 +- Formula/fzf.rb | 4 +- Formula/galen.rb | 2 +- Formula/ganglia.rb | 4 +- Formula/gauge.rb | 2 +- Formula/gdal.rb | 10 +- Formula/gdm.rb | 2 +- Formula/gearman.rb | 6 +- Formula/genstats.rb | 2 +- Formula/get-flash-videos.rb | 2 +- Formula/ghc.rb | 2 +- Formula/ghex.rb | 2 +- Formula/ghi.rb | 2 +- Formula/ghostscript.rb | 4 +- Formula/ghq.rb | 10 +- Formula/giflib.rb | 2 +- Formula/giflossy.rb | 4 +- Formula/gifsicle.rb | 4 +- Formula/git-annex.rb | 2 +- Formula/git-credential-manager.rb | 2 +- Formula/git-extras.rb | 4 +- Formula/git-fixup.rb | 2 +- Formula/git-flow-avh.rb | 6 +- Formula/git-flow.rb | 10 +- Formula/git-ftp.rb | 2 +- Formula/git-now.rb | 4 +- Formula/git-plus.rb | 2 +- Formula/git-review.rb | 2 +- Formula/git-secret.rb | 2 +- Formula/git-tf.rb | 2 +- Formula/git-town.rb | 2 +- Formula/git-utils.rb | 2 +- Formula/git.rb | 2 +- Formula/gitbucket.rb | 6 +- Formula/giter8.rb | 4 +- Formula/gitg.rb | 2 +- Formula/github-markdown-toc.rb | 6 +- Formula/gitlab-ci-multi-runner.rb | 8 +- Formula/gitup.rb | 6 +- Formula/gjstest.rb | 2 +- Formula/gkrellm.rb | 2 +- Formula/global.rb | 4 +- Formula/gmail-backup.rb | 2 +- Formula/gnatsd.rb | 2 +- Formula/gnome-builder.rb | 2 +- Formula/gnu-apl.rb | 2 +- Formula/gnu-cobol.rb | 2 +- Formula/gnu-sed.rb | 2 +- Formula/gnuplot.rb | 6 +- Formula/gnuradio.rb | 2 +- Formula/go.rb | 6 +- Formula/gobject-introspection.rb | 2 +- Formula/golo.rb | 2 +- Formula/goolabs.rb | 2 +- Formula/gor.rb | 4 +- Formula/gost.rb | 12 +-- Formula/gosu.rb | 2 +- Formula/gource.rb | 4 +- Formula/gpac.rb | 2 +- Formula/gpgme.rb | 2 +- Formula/gprof2dot.rb | 2 +- Formula/gradle.rb | 2 +- Formula/grafana.rb | 2 +- Formula/graphicsmagick.rb | 4 +- Formula/graphviz.rb | 4 +- Formula/grc.rb | 2 +- Formula/grip.rb | 2 +- Formula/gron.rb | 10 +- Formula/groovy.rb | 2 +- Formula/groovysdk.rb | 4 +- Formula/gssh.rb | 2 +- Formula/gst-plugins-good.rb | 2 +- Formula/gst-python.rb | 2 +- Formula/gtk+.rb | 2 +- Formula/gtk-doc.rb | 2 +- Formula/gtk-vnc.rb | 2 +- Formula/guile.rb | 4 +- Formula/gwyddion.rb | 2 +- Formula/gx-go.rb | 30 +++--- Formula/gx.rb | 32 +++--- Formula/h2.rb | 2 +- Formula/h2o.rb | 2 +- Formula/hachoir-metadata.rb | 2 +- Formula/hadoop.rb | 2 +- Formula/harbour.rb | 2 +- Formula/hashcat.rb | 2 +- Formula/hashpump.rb | 4 +- Formula/haxe.rb | 6 +- Formula/hbase.rb | 6 +- Formula/headphones.rb | 2 +- Formula/hello.rb | 2 +- Formula/henplus.rb | 4 +- Formula/heroku.rb | 4 +- Formula/hg-flow.rb | 2 +- Formula/hive.rb | 4 +- Formula/hledger.rb | 2 +- Formula/honcho.rb | 2 +- Formula/hopenpgp-tools.rb | 2 +- Formula/htmlcleaner.rb | 2 +- Formula/htop-osx.rb | 2 +- Formula/htop.rb | 2 +- Formula/httpie.rb | 2 +- Formula/hubflow.rb | 4 +- Formula/hugo.rb | 70 ++++++------ Formula/hunspell.rb | 2 +- Formula/hyper.rb | 4 +- Formula/hyperestraier.rb | 2 +- Formula/hyperscan.rb | 2 +- Formula/i2p.rb | 2 +- Formula/ibex.rb | 2 +- Formula/ice.rb | 4 +- Formula/icu4c.rb | 2 +- Formula/id3lib.rb | 2 +- Formula/idutils.rb | 2 +- Formula/ii.rb | 2 +- Formula/imagemagick.rb | 4 +- Formula/imagesnap.rb | 2 +- Formula/imapsync.rb | 2 +- Formula/imessage-ruby.rb | 2 +- Formula/imlib2.rb | 2 +- Formula/influxdb.rb | 44 ++++---- Formula/iniparser.rb | 2 +- Formula/innotop.rb | 2 +- Formula/ino.rb | 2 +- Formula/inspircd.rb | 4 +- Formula/internetarchive.rb | 2 +- Formula/io.rb | 2 +- Formula/ios-class-guard.rb | 4 +- Formula/ios-deploy.rb | 4 +- Formula/ios-sim.rb | 2 +- Formula/ios-webkit-debug-proxy.rb | 2 +- Formula/ipfs.rb | 4 +- Formula/ipmiutil.rb | 2 +- Formula/ircd-hybrid.rb | 4 +- Formula/ircd-irc2.rb | 4 +- Formula/irods.rb | 6 +- Formula/irrlicht.rb | 2 +- Formula/isc-dhcp.rb | 2 +- Formula/itstool.rb | 2 +- Formula/jack.rb | 2 +- Formula/jadx.rb | 6 +- Formula/jam.rb | 2 +- Formula/jbigkit.rb | 2 +- Formula/jed.rb | 2 +- Formula/jenkins-job-builder.rb | 2 +- Formula/jenkins.rb | 4 +- Formula/jetty.rb | 2 +- Formula/jflex.rb | 2 +- Formula/jmxtrans.rb | 2 +- Formula/john-jumbo.rb | 2 +- Formula/john.rb | 2 +- Formula/jooby-bootstrap.rb | 2 +- Formula/joshua.rb | 2 +- Formula/jruby.rb | 2 +- Formula/jsdoc-toolkit.rb | 2 +- Formula/jsdoc3.rb | 2 +- Formula/jsonnet.rb | 2 +- Formula/jsonschema2pojo.rb | 2 +- Formula/juju-quickstart.rb | 2 +- Formula/jvgrep.rb | 10 +- Formula/jxrlib.rb | 2 +- Formula/kafka.rb | 4 +- Formula/kapacitor.rb | 6 +- Formula/karn.rb | 6 +- Formula/keepassc.rb | 4 +- Formula/kes.rb | 2 +- Formula/kettle.rb | 2 +- Formula/kibana.rb | 10 +- Formula/kitchen-sync.rb | 4 +- Formula/knot.rb | 4 +- Formula/konoha.rb | 2 +- Formula/kore.rb | 2 +- Formula/kpcli.rb | 2 +- Formula/ksh.rb | 2 +- Formula/kubernetes-cli.rb | 4 +- Formula/l-smash.rb | 6 +- Formula/latex2html.rb | 2 +- Formula/latexml.rb | 2 +- Formula/launch.rb | 2 +- Formula/launch_socket_server.rb | 4 +- Formula/launchdns.rb | 4 +- Formula/lcdf-typetools.rb | 2 +- Formula/lci.rb | 2 +- Formula/lcm.rb | 6 +- Formula/ld64.rb | 2 +- Formula/ldc.rb | 4 +- Formula/ldid.rb | 4 +- Formula/ldns.rb | 2 +- Formula/le.rb | 2 +- Formula/leaps.rb | 6 +- Formula/ledger.rb | 2 +- Formula/legit.rb | 4 +- Formula/lego.rb | 28 ++--- Formula/leiningen.rb | 2 +- Formula/leptonica.rb | 2 +- Formula/lfe.rb | 2 +- Formula/lha.rb | 2 +- Formula/lhasa.rb | 2 +- Formula/libagar.rb | 2 +- Formula/libcapn.rb | 2 +- Formula/libechonest.rb | 2 +- Formula/libepoxy.rb | 2 +- Formula/libevent.rb | 2 +- Formula/libextractor.rb | 2 +- Formula/libfaketime.rb | 2 +- Formula/libftdi0.rb | 4 +- Formula/libgetdata.rb | 4 +- Formula/libgit2-glib.rb | 2 +- Formula/libgroove.rb | 2 +- Formula/liblunar.rb | 2 +- Formula/libmagic.rb | 2 +- Formula/libming.rb | 2 +- Formula/libmongoclient.rb | 2 +- Formula/libmxml.rb | 2 +- Formula/libowfat.rb | 2 +- Formula/libphonenumber.rb | 2 +- Formula/libplist.rb | 2 +- Formula/libpst.rb | 2 +- Formula/libraw.rb | 2 +- Formula/libreadline-java.rb | 2 +- Formula/librtlsdr.rb | 2 +- Formula/libsass.rb | 2 +- Formula/libsoundio.rb | 2 +- Formula/libspatialite.rb | 2 +- Formula/libspnav.rb | 2 +- Formula/libstfl.rb | 2 +- Formula/libtar.rb | 4 +- Formula/libtorrent-rasterbar.rb | 2 +- Formula/libuv.rb | 2 +- Formula/libvoikko.rb | 2 +- Formula/libvpx.rb | 2 +- Formula/libxml2.rb | 2 +- Formula/libzdb.rb | 4 +- Formula/lighttpd.rb | 2 +- Formula/link-grammar.rb | 2 +- Formula/links.rb | 2 +- Formula/liquigraph.rb | 2 +- Formula/little-cms.rb | 2 +- Formula/livestreamer.rb | 2 +- Formula/lldpd.rb | 2 +- Formula/llnode.rb | 8 +- Formula/llvm.rb | 6 +- Formula/lmdb.rb | 2 +- Formula/log4c.rb | 2 +- Formula/logentries.rb | 6 +- Formula/logstash.rb | 6 +- Formula/lolcode.rb | 2 +- Formula/lsh.rb | 2 +- Formula/luciddb.rb | 2 +- Formula/mackup.rb | 2 +- Formula/macosvpn.rb | 2 +- Formula/macvim.rb | 6 +- Formula/mailhog.rb | 2 +- Formula/makeicns.rb | 2 +- Formula/makepkg.rb | 6 +- Formula/mal4s.rb | 2 +- Formula/mandoc.rb | 2 +- Formula/mariadb-connector-c.rb | 2 +- Formula/mariadb.rb | 10 +- Formula/markdown.rb | 4 +- Formula/mas.rb | 2 +- Formula/mat.rb | 4 +- Formula/maven.rb | 2 +- Formula/mbedtls.rb | 2 +- Formula/mcabber.rb | 2 +- Formula/mdv.rb | 2 +- Formula/mecab-ko.rb | 2 +- Formula/mecab.rb | 2 +- Formula/megacmd.rb | 6 +- Formula/memcached.rb | 4 +- Formula/meson.rb | 2 +- Formula/mesos.rb | 6 +- Formula/metabase.rb | 4 +- Formula/mg.rb | 4 +- Formula/mg3a.rb | 2 +- Formula/micro.rb | 32 +++--- Formula/micropython.rb | 4 +- Formula/midgard2.rb | 2 +- Formula/midnight-commander.rb | 2 +- Formula/mimms.rb | 2 +- Formula/minio-mc.rb | 6 +- Formula/minio.rb | 6 +- Formula/minizinc.rb | 4 +- Formula/mit-scheme.rb | 4 +- Formula/mitmproxy.rb | 2 +- Formula/mjpegtools.rb | 2 +- Formula/mkdocs.rb | 2 +- Formula/mkvtomp4.rb | 2 +- Formula/mkvtoolnix.rb | 2 +- Formula/mldonkey.rb | 2 +- Formula/mobile-shell.rb | 4 +- Formula/mockserver.rb | 2 +- Formula/modules.rb | 2 +- Formula/mogenerator.rb | 4 +- Formula/monetdb.rb | 4 +- Formula/mongo-c.rb | 2 +- Formula/mongo-orchestration.rb | 2 +- Formula/mongodb.rb | 10 +- Formula/mongrel2.rb | 2 +- Formula/mono.rb | 8 +- Formula/montage.rb | 2 +- Formula/moreutils.rb | 12 +-- Formula/mosquitto.rb | 2 +- Formula/moz-git-tools.rb | 2 +- Formula/mpd.rb | 2 +- Formula/mpdscribble.rb | 2 +- Formula/mpdviz.rb | 8 +- Formula/mpich.rb | 4 +- Formula/mplayershell.rb | 4 +- Formula/mpv.rb | 4 +- Formula/mr.rb | 2 +- Formula/mtools.rb | 4 +- Formula/mu.rb | 2 +- Formula/multimarkdown.rb | 10 +- Formula/multirust.rb | 8 +- Formula/mupdf-tools.rb | 2 +- Formula/mutt.rb | 6 +- Formula/muttils.rb | 6 +- Formula/mvnvm.rb | 4 +- Formula/mycli.rb | 2 +- Formula/mypy.rb | 6 +- Formula/mysql-cluster.rb | 6 +- Formula/mysql-connector-c.rb | 2 +- Formula/mysql-sandbox.rb | 2 +- Formula/mysql.rb | 10 +- Formula/mytop.rb | 4 +- Formula/nagios-plugins.rb | 2 +- Formula/nagios.rb | 2 +- Formula/namebench.rb | 2 +- Formula/nanopb-generator.rb | 4 +- Formula/narwhal.rb | 4 +- Formula/natalie.rb | 2 +- Formula/nats-streaming-server.rb | 2 +- Formula/ncdc.rb | 2 +- Formula/ncp.rb | 2 +- Formula/ndiff.rb | 2 +- Formula/neo4j.rb | 4 +- Formula/nesc.rb | 4 +- Formula/net-snmp.rb | 2 +- Formula/netpbm.rb | 2 +- Formula/nexus.rb | 2 +- Formula/nghttp2.rb | 2 +- Formula/nginx.rb | 4 +- Formula/ngspice.rb | 2 +- Formula/nifi.rb | 4 +- Formula/nim.rb | 2 +- Formula/nmap.rb | 4 +- Formula/node.rb | 4 +- Formula/normalize.rb | 2 +- Formula/notmuch.rb | 6 +- Formula/nq.rb | 2 +- Formula/nsq.rb | 22 ++-- Formula/ntopng.rb | 6 +- Formula/nu.rb | 2 +- Formula/num-utils.rb | 6 +- Formula/nut.rb | 2 +- Formula/nuxeo.rb | 2 +- Formula/nzbget.rb | 2 +- Formula/oauth2_proxy.rb | 24 ++--- Formula/objc-codegenutils.rb | 4 +- Formula/ocaml.rb | 4 +- Formula/ode.rb | 4 +- Formula/offlineimap.rb | 4 +- Formula/ola.rb | 2 +- Formula/olsrd.rb | 2 +- Formula/onepass.rb | 2 +- Formula/ooniprobe.rb | 4 +- Formula/open-babel.rb | 2 +- Formula/open-cobol.rb | 2 +- Formula/open-mesh.rb | 2 +- Formula/open-mpi.rb | 8 +- Formula/opencolorio.rb | 2 +- Formula/openconnect.rb | 2 +- Formula/openhmd.rb | 4 +- Formula/openshift-cli.rb | 8 +- Formula/openssl.rb | 4 +- Formula/openssl@1.1.rb | 8 +- Formula/opentsdb.rb | 10 +- Formula/openvpn.rb | 4 +- Formula/optipng.rb | 2 +- Formula/osc.rb | 2 +- Formula/oscats.rb | 2 +- Formula/osquery.rb | 8 +- Formula/osxutils.rb | 6 +- Formula/otto.rb | 10 +- Formula/oysttyer.rb | 2 +- Formula/packer.rb | 12 +-- Formula/pango.rb | 2 +- Formula/par.rb | 2 +- Formula/parallel.rb | 2 +- Formula/parquet-tools.rb | 4 +- Formula/pass.rb | 4 +- Formula/passenger.rb | 4 +- Formula/pcap_dnsproxy.rb | 6 +- Formula/pdf-redact-tools.rb | 2 +- Formula/pdf2htmlex.rb | 4 +- Formula/pdftohtml.rb | 2 +- Formula/pdns.rb | 2 +- Formula/pdnsd.rb | 2 +- Formula/pdsh.rb | 4 +- Formula/percol.rb | 2 +- Formula/percona-server.rb | 10 +- Formula/percona-toolkit.rb | 4 +- Formula/percona-xtrabackup.rb | 4 +- Formula/perl.rb | 2 +- Formula/pgbouncer.rb | 2 +- Formula/pgcli.rb | 2 +- Formula/pgloader.rb | 2 +- Formula/pgtap.rb | 2 +- Formula/phantomjs.rb | 6 +- Formula/physfs.rb | 2 +- Formula/pig.rb | 4 +- Formula/pike.rb | 2 +- Formula/pincaster.rb | 4 +- Formula/pinentry-mac.rb | 2 +- Formula/pius.rb | 2 +- Formula/pkcrack.rb | 2 +- Formula/plan9port.rb | 2 +- Formula/planck.rb | 4 +- Formula/platypus.rb | 2 +- Formula/pldebugger.rb | 4 +- Formula/plotutils.rb | 2 +- Formula/plplot.rb | 4 +- Formula/pmd.rb | 2 +- Formula/poco.rb | 2 +- Formula/points2grid.rb | 2 +- Formula/pond.rb | 12 +-- Formula/ponyc.rb | 2 +- Formula/poppler.rb | 2 +- Formula/portaudio.rb | 2 +- Formula/portmidi.rb | 4 +- Formula/postgres-xc.rb | 6 +- Formula/postgresql.rb | 8 +- Formula/postgrest.rb | 2 +- Formula/povray.rb | 2 +- Formula/predictionio.rb | 2 +- Formula/presto.rb | 4 +- Formula/privoxy.rb | 2 +- Formula/procyon-decompiler.rb | 2 +- Formula/proof-general.rb | 2 +- Formula/protobuf.rb | 2 +- Formula/pssh.rb | 4 +- Formula/puddletag.rb | 2 +- Formula/pulledpork.rb | 2 +- Formula/pulseaudio.rb | 2 +- Formula/pup.rb | 4 +- Formula/pure-ftpd.rb | 6 +- Formula/purescript.rb | 2 +- Formula/putty.rb | 2 +- Formula/pwntools.rb | 2 +- Formula/pygobject3.rb | 2 +- Formula/pypy.rb | 2 +- Formula/pypy3.rb | 2 +- Formula/pyqt.rb | 2 +- Formula/pyqt5.rb | 4 +- Formula/pyside.rb | 4 +- Formula/python-markdown.rb | 2 +- Formula/python.rb | 2 +- Formula/python3.rb | 2 +- Formula/pyvim.rb | 2 +- Formula/qca.rb | 2 +- Formula/qd.rb | 2 +- Formula/qpm.rb | 14 +-- Formula/qscintilla2.rb | 4 +- Formula/qt.rb | 4 +- Formula/qt5.rb | 12 +-- Formula/rabbitmq.rb | 2 +- Formula/rack.rb | 4 +- Formula/radare2.rb | 2 +- Formula/rancid.rb | 2 +- Formula/ranger.rb | 1 - Formula/rarian.rb | 2 +- Formula/rclone.rb | 56 +++++----- Formula/rds-command-line-tools.rb | 2 +- Formula/re2.rb | 2 +- Formula/reclass.rb | 2 +- Formula/redis.rb | 4 +- Formula/redland.rb | 2 +- Formula/redo.rb | 2 +- Formula/redpen.rb | 2 +- Formula/redshift.rb | 2 +- Formula/rem.rb | 4 +- Formula/remind.rb | 2 +- Formula/renameutils.rb | 4 +- Formula/repo.rb | 4 +- Formula/reposurgeon.rb | 4 +- Formula/rethinkdb.rb | 4 +- Formula/rhino.rb | 2 +- Formula/riak.rb | 4 +- Formula/riemann.rb | 2 +- Formula/rp.rb | 2 +- Formula/rpm.rb | 2 +- Formula/rswift.rb | 6 +- Formula/rtags.rb | 4 +- Formula/rtmpdump.rb | 4 +- Formula/rubberband.rb | 2 +- Formula/rust.rb | 6 +- Formula/s-search.rb | 2 +- Formula/s3cmd.rb | 2 +- Formula/s3sync.rb | 2 +- Formula/s6.rb | 6 +- Formula/sagittarius-scheme.rb | 2 +- Formula/saldl.rb | 2 +- Formula/saltstack.rb | 2 +- Formula/sassc.rb | 2 +- Formula/sbcl.rb | 2 +- Formula/sbt.rb | 2 +- Formula/sbuild.rb | 2 +- Formula/scala.rb | 4 +- Formula/scheme48.rb | 2 +- Formula/schismtracker.rb | 2 +- Formula/scm-manager.rb | 4 +- Formula/screenfetch.rb | 2 +- Formula/screenresolution.rb | 2 +- Formula/scrollkeeper.rb | 2 +- Formula/sdcv.rb | 2 +- Formula/sdedit.rb | 2 +- Formula/sdl.rb | 4 +- Formula/sdl2.rb | 2 +- Formula/sdl2_mixer.rb | 2 +- Formula/sdl_rtf.rb | 2 +- Formula/sdl_sound.rb | 2 +- Formula/selecta.rb | 2 +- Formula/selenium-server-standalone.rb | 2 +- Formula/ser2net.rb | 2 +- Formula/serf.rb | 36 +++---- Formula/serialosc.rb | 4 +- Formula/serveit.rb | 2 +- Formula/sf-pwgen.rb | 4 +- Formula/sfml.rb | 2 +- Formula/shadowsocks-libev.rb | 2 +- Formula/shairport-sync.rb | 2 +- Formula/shibboleth-sp.rb | 4 +- Formula/shiboken.rb | 4 +- Formula/sic.rb | 2 +- Formula/sickbeard.rb | 2 +- Formula/sift.rb | 8 +- Formula/silk.rb | 2 +- Formula/sip.rb | 6 +- Formula/slackcat.rb | 12 +-- Formula/sleuthkit.rb | 8 +- Formula/slimerjs.rb | 4 +- Formula/smpeg.rb | 2 +- Formula/smpeg2.rb | 2 +- Formula/snakemake.rb | 2 +- Formula/solr.rb | 2 +- Formula/sonarqube.rb | 4 +- Formula/sourcekitten.rb | 6 +- Formula/speech-tools.rb | 2 +- Formula/sphinx-doc.rb | 2 +- Formula/sphinx.rb | 6 +- Formula/spidermonkey.rb | 2 +- Formula/spim.rb | 2 +- Formula/spoof-mac.rb | 4 +- Formula/sqlite.rb | 2 +- Formula/sqoop.rb | 2 +- Formula/squid.rb | 4 +- Formula/src.rb | 2 +- Formula/srclib.rb | 68 ++++++------ Formula/ssdb.rb | 2 +- Formula/ssed.rb | 2 +- Formula/sshguard.rb | 2 +- Formula/sslmate.rb | 2 +- Formula/sslsplit.rb | 2 +- Formula/sslyze.rb | 2 +- Formula/ssreflect.rb | 2 +- Formula/st.rb | 2 +- Formula/stanford-ner.rb | 2 +- Formula/stanford-parser.rb | 2 +- Formula/stash-cli.rb | 2 +- Formula/storm.rb | 2 +- Formula/stormpath-cli.rb | 2 +- Formula/stormssh.rb | 4 +- Formula/subversion.rb | 6 +- Formula/suil.rb | 2 +- Formula/supervisor.rb | 2 +- Formula/surfraw.rb | 2 +- Formula/suricata.rb | 2 +- Formula/swagger-codegen.rb | 2 +- Formula/swftools.rb | 2 +- Formula/swift.rb | 8 +- Formula/swiftgen.rb | 2 +- Formula/swiftlint.rb | 6 +- Formula/switchaudio-osx.rb | 4 +- Formula/sync_gateway.rb | 4 +- Formula/syncthing-inotify.rb | 2 +- Formula/syncthing.rb | 6 +- Formula/sysbench.rb | 4 +- Formula/szl.rb | 2 +- Formula/tag.rb | 2 +- Formula/tailor.rb | 2 +- Formula/talk-filters.rb | 2 +- Formula/tarantool.rb | 2 +- Formula/task-spooler.rb | 2 +- Formula/task.rb | 2 +- Formula/taylor.rb | 2 +- Formula/tbb.rb | 2 +- Formula/td.rb | 4 +- Formula/tee-clc.rb | 2 +- Formula/telegraf.rb | 142 ++++++++++++------------- Formula/terminal-notifier.rb | 4 +- Formula/termshare.rb | 8 +- Formula/terraform-inventory.rb | 2 +- Formula/terraform.rb | 4 +- Formula/testssl.rb | 2 +- Formula/texapp.rb | 2 +- Formula/texmath.rb | 2 +- Formula/textql.rb | 2 +- Formula/theharvester.rb | 2 +- Formula/thrift.rb | 2 +- Formula/tika.rb | 2 +- Formula/tin.rb | 2 +- Formula/tiny-fugue.rb | 2 +- Formula/tinyproxy.rb | 2 +- Formula/tnote.rb | 2 +- Formula/tomcat-native.rb | 2 +- Formula/tomcat.rb | 4 +- Formula/tor.rb | 2 +- Formula/torsocks.rb | 4 +- Formula/tracebox.rb | 4 +- Formula/translate-shell.rb | 2 +- Formula/transmission.rb | 2 +- Formula/trash.rb | 2 +- Formula/treeline.rb | 2 +- Formula/tutum.rb | 2 +- Formula/tvnamer.rb | 2 +- Formula/twoping.rb | 4 +- Formula/twtxt.rb | 2 +- Formula/txr.rb | 2 +- Formula/typesafe-activator.rb | 2 +- Formula/udpxy.rb | 2 +- Formula/umlet.rb | 2 +- Formula/unar.rb | 4 +- Formula/unbound.rb | 2 +- Formula/unixodbc.rb | 2 +- Formula/unrtf.rb | 2 +- Formula/upscaledb.rb | 2 +- Formula/upx.rb | 2 +- Formula/uriparser.rb | 2 +- Formula/urweb.rb | 4 +- Formula/uwsgi.rb | 2 +- Formula/v8.rb | 20 ++-- Formula/valgrind.rb | 2 +- Formula/vamp-plugin-sdk.rb | 2 +- Formula/vapoursynth.rb | 2 +- Formula/varnish.rb | 2 +- Formula/vault.rb | 8 +- Formula/vaulted.rb | 16 +-- Formula/vcprompt.rb | 2 +- Formula/vegeta.rb | 4 +- Formula/verilator.rb | 2 +- Formula/vgmstream.rb | 2 +- Formula/viennacl.rb | 2 +- Formula/vim.rb | 10 +- Formula/virtuoso.rb | 4 +- Formula/vit.rb | 2 +- Formula/vnstat.rb | 2 +- Formula/volatility.rb | 2 +- Formula/voldemort.rb | 6 +- Formula/voltdb.rb | 2 +- Formula/vramsteg.rb | 2 +- Formula/vultr.rb | 6 +- Formula/wakatime-cli.rb | 2 +- Formula/walkmod.rb | 2 +- Formula/watch-sim.rb | 2 +- Formula/watch.rb | 4 +- Formula/watchman.rb | 2 +- Formula/watson.rb | 2 +- Formula/wdiff.rb | 2 +- Formula/webarchiver.rb | 2 +- Formula/weboob.rb | 2 +- Formula/websocketd.rb | 4 +- Formula/weechat.rb | 2 +- Formula/wego.rb | 6 +- Formula/wellington.rb | 4 +- Formula/wiki.rb | 4 +- Formula/wine.rb | 6 +- Formula/wireguard-tools.rb | 2 +- Formula/wireshark.rb | 2 +- Formula/wrk-trello.rb | 2 +- Formula/wrk.rb | 2 +- Formula/wry.rb | 4 +- Formula/x11vnc.rb | 2 +- Formula/x264.rb | 4 +- Formula/x265.rb | 4 +- Formula/xapian.rb | 2 +- Formula/xcproj.rb | 2 +- Formula/xctool.rb | 2 +- Formula/xdot.rb | 2 +- Formula/xhyve.rb | 2 +- Formula/xmake.rb | 2 +- Formula/xplanet.rb | 2 +- Formula/xplanetfx.rb | 2 +- Formula/xqilla.rb | 2 +- Formula/xsd.rb | 2 +- Formula/yasm.rb | 2 +- Formula/yeti.rb | 4 +- Formula/yle-dl.rb | 2 +- Formula/you-get.rb | 2 +- Formula/z3.rb | 4 +- Formula/zabbix.rb | 2 +- Formula/zanata-client.rb | 2 +- Formula/zbar.rb | 2 +- Formula/zero-install.rb | 4 +- Formula/znc.rb | 2 +- Formula/zookeeper.rb | 4 +- Formula/zorba.rb | 4 +- Formula/zpython.rb | 4 +- Formula/zsh-syntax-highlighting.rb | 4 +- 977 files changed, 1897 insertions(+), 1899 deletions(-) diff --git a/Formula/aardvark_shell_utils.rb b/Formula/aardvark_shell_utils.rb index 9df1a6811b098..13ad325365ac1 100644 --- a/Formula/aardvark_shell_utils.rb +++ b/Formula/aardvark_shell_utils.rb @@ -11,7 +11,7 @@ class AardvarkShellUtils < Formula sha256 "e8e8b6fd4ee85d8a6ae267fbd20160c1aeddeb6c8e302793b12a807131ef4b27" => :mavericks end - conflicts_with "coreutils", :because => "both install `realpath` binaries" + conflicts_with "coreutils", because: "both install `realpath` binaries" def install system "./configure", "--disable-debug", diff --git a/Formula/abcl.rb b/Formula/abcl.rb index f4024355e83a8..8cd20ce52be4d 100644 --- a/Formula/abcl.rb +++ b/Formula/abcl.rb @@ -3,7 +3,7 @@ class Abcl < Formula homepage "http://abcl.org" url "http://abcl.org/releases/1.3.3/abcl-src-1.3.3.tar.gz" sha256 "2186e3670bc9778472f5589109a79f13f0e487444e0602b6fcdc96b7c68f7d0f" - head "http://abcl.org/svn/trunk/abcl/", :using => :svn + head "http://abcl.org/svn/trunk/abcl/", using: :svn bottle do cellar :any_skip_relocation @@ -14,7 +14,7 @@ class Abcl < Formula end depends_on "ant" - depends_on :java => "1.5+" + depends_on java: "1.5+" depends_on "rlwrap" => :recommended def install diff --git a/Formula/ack.rb b/Formula/ack.rb index 48c14edf9a8bf..44175ee656032 100644 --- a/Formula/ack.rb +++ b/Formula/ack.rb @@ -5,7 +5,7 @@ class Ack < Formula version "2.14" sha256 "1d203cfbc52ce8f49e3992be1cd3e4d7d5dfb7daa3739e8628aa9858ccc5b9df" - head "https://github.com/petdance/ack2.git", :branch => "dev" + head "https://github.com/petdance/ack2.git", branch: "dev" devel do url "https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-2.15_01.tar.gz" @@ -40,7 +40,7 @@ def install libexec.install "ack" chmod 0755, libexec/"ack" (libexec/"lib").install "blib/lib/App" - (bin/"ack").write_env_script("#{libexec}/ack", :PERL5LIB => ENV["PERL5LIB"]) + (bin/"ack").write_env_script("#{libexec}/ack", PERL5LIB: ENV["PERL5LIB"]) man1.install "blib/man1/ack.1" end end diff --git a/Formula/acmetool.rb b/Formula/acmetool.rb index a58b21bfcfe38..d2b58f1297a87 100644 --- a/Formula/acmetool.rb +++ b/Formula/acmetool.rb @@ -4,8 +4,8 @@ class Acmetool < Formula desc "Automatic certificate acquisition tool for ACME (Let's Encrypt)" homepage "https://github.com/hlandau/acme" url "https://github.com/hlandau/acme.git", - :tag => "v0.0.58", - :revision => "a4d55ea51a8782633d7ca477d24c5da9a5c6147b" + tag: "v0.0.58", + revision: "a4d55ea51a8782633d7ca477d24c5da9a5c6147b" bottle do sha256 "b5767527c07c989aeb07cd0e442af716df286dc598633b5b88955180f07da448" => :el_capitan @@ -17,132 +17,132 @@ class Acmetool < Formula go_resource "github.com/alecthomas/template" do url "https://github.com/alecthomas/template.git", - :revision => "a0175ee3bccc567396460bf5acd36800cb10c49c" + revision: "a0175ee3bccc567396460bf5acd36800cb10c49c" end go_resource "github.com/alecthomas/units" do url "https://github.com/alecthomas/units.git", - :revision => "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" + revision: "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" end go_resource "github.com/coreos/go-systemd" do url "https://github.com/coreos/go-systemd.git", - :revision => "43e4800a6165b4e02bb2a36673c54b230d6f7b26" + revision: "43e4800a6165b4e02bb2a36673c54b230d6f7b26" end go_resource "github.com/hlandau/buildinfo" do url "https://github.com/hlandau/buildinfo.git", - :revision => "b25d4b0e518fdb8bcbefaa3d52d77473bebe08fd" + revision: "b25d4b0e518fdb8bcbefaa3d52d77473bebe08fd" end go_resource "github.com/hlandau/dexlogconfig" do url "https://github.com/hlandau/dexlogconfig.git", - :revision => "055e2e35f21ef605ada9e9af4e36597678678bf1" + revision: "055e2e35f21ef605ada9e9af4e36597678678bf1" end go_resource "github.com/hlandau/goutils" do url "https://github.com/hlandau/goutils.git", - :revision => "0cdb66aea5b843822af6fdffc21286b8fe8379c4" + revision: "0cdb66aea5b843822af6fdffc21286b8fe8379c4" end go_resource "github.com/hlandau/xlog" do url "https://github.com/hlandau/xlog.git", - :revision => "197ef798aed28e08ed3e176e678fda81be993a31" + revision: "197ef798aed28e08ed3e176e678fda81be993a31" end go_resource "github.com/hlandauf/gspt" do url "https://github.com/hlandauf/gspt.git", - :revision => "25f3bd3f5948489aa5f31c949310ae9f2b0e956c" + revision: "25f3bd3f5948489aa5f31c949310ae9f2b0e956c" end go_resource "github.com/jmhodges/clock" do url "https://github.com/jmhodges/clock.git", - :revision => "880ee4c335489bc78d01e4d0a254ae880734bc15" + revision: "880ee4c335489bc78d01e4d0a254ae880734bc15" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8" + revision: "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8" end go_resource "github.com/mitchellh/go-wordwrap" do url "https://github.com/mitchellh/go-wordwrap.git", - :revision => "ad45545899c7b13c020ea92b2072220eefad42b8" + revision: "ad45545899c7b13c020ea92b2072220eefad42b8" end go_resource "github.com/ogier/pflag" do url "https://github.com/ogier/pflag.git", - :revision => "45c278ab3607870051a2ea9040bb85fcb8557481" + revision: "45c278ab3607870051a2ea9040bb85fcb8557481" end go_resource "github.com/peterhellberg/link" do url "https://github.com/peterhellberg/link.git", - :revision => "d1cebc7ea14a5fc0de7cb4a45acae773161642c6" + revision: "d1cebc7ea14a5fc0de7cb4a45acae773161642c6" end go_resource "github.com/satori/go.uuid" do url "https://github.com/satori/go.uuid.git", - :revision => "0aa62d5ddceb50dbcb909d790b5345affd3669b6" + revision: "0aa62d5ddceb50dbcb909d790b5345affd3669b6" end go_resource "github.com/shiena/ansicolor" do url "https://github.com/shiena/ansicolor.git", - :revision => "a422bbe96644373c5753384a59d678f7d261ff10" + revision: "a422bbe96644373c5753384a59d678f7d261ff10" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "9e590154d2353f3f5e1b24da7275686040dcf491" + revision: "9e590154d2353f3f5e1b24da7275686040dcf491" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "1358eff22f0dd0c54fc521042cc607f6ff4b531a" + revision: "1358eff22f0dd0c54fc521042cc607f6ff4b531a" end go_resource "gopkg.in/alecthomas/kingpin.v2" do url "https://gopkg.in/alecthomas/kingpin.v2.git", - :revision => "e9044be3ab2a8e11d4e1f418d12f0790d57e8d70" + revision: "e9044be3ab2a8e11d4e1f418d12f0790d57e8d70" end go_resource "gopkg.in/cheggaaa/pb.v1" do url "https://gopkg.in/cheggaaa/pb.v1.git", - :revision => "9453b2db37f4d8bc63751daca63bbe7049eb5e74" + revision: "9453b2db37f4d8bc63751daca63bbe7049eb5e74" end go_resource "gopkg.in/hlandau/configurable.v1" do url "https://gopkg.in/hlandau/configurable.v1.git", - :revision => "41496864a1fe3e0fef2973f22372b755d2897402" + revision: "41496864a1fe3e0fef2973f22372b755d2897402" end go_resource "gopkg.in/hlandau/easyconfig.v1" do url "https://gopkg.in/hlandau/easyconfig.v1.git", - :revision => "bc5afaa18a1a72fe424da647d6bb57ca4d7f83c4" + revision: "bc5afaa18a1a72fe424da647d6bb57ca4d7f83c4" end go_resource "gopkg.in/hlandau/service.v2" do url "https://gopkg.in/hlandau/service.v2.git", - :revision => "601cce2a79c1e61856e27f43c28ed4d7d2c7a619" + revision: "601cce2a79c1e61856e27f43c28ed4d7d2c7a619" end go_resource "gopkg.in/hlandau/svcutils.v1" do url "https://gopkg.in/hlandau/svcutils.v1.git", - :revision => "88dbd6d288dcde4c17ea6048d9f3da23f263571c" + revision: "88dbd6d288dcde4c17ea6048d9f3da23f263571c" end go_resource "gopkg.in/square/go-jose.v1" do url "https://gopkg.in/square/go-jose.v1.git", - :revision => "139276ceb5afbf13e636c44e9382f0ca75c12ba3" + revision: "139276ceb5afbf13e636c44e9382f0ca75c12ba3" end go_resource "gopkg.in/tylerb/graceful.v1" do url "https://gopkg.in/tylerb/graceful.v1.git", - :revision => "50a48b6e73fcc75b45e22c05b79629a67c79e938" + revision: "50a48b6e73fcc75b45e22c05b79629a67c79e938" end go_resource "gopkg.in/yaml.v2" do url "https://gopkg.in/yaml.v2.git", - :revision => "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e" + revision: "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e" end def install diff --git a/Formula/activemq.rb b/Formula/activemq.rb index 837c55f42661f..92e3e7e0ba5f3 100644 --- a/Formula/activemq.rb +++ b/Formula/activemq.rb @@ -6,7 +6,7 @@ class Activemq < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install rm_rf Dir["bin/linux-x86-*"] @@ -14,7 +14,7 @@ def install (bin/"activemq").write_env_script libexec/"bin/activemq", Language::Java.java_home_env("1.6+") end - plist_options :manual => "activemq start" + plist_options manual: "activemq start" def plist; <<-EOS.undent diff --git a/Formula/aescrypt-packetizer.rb b/Formula/aescrypt-packetizer.rb index fa525420c4053..5396eea79739f 100644 --- a/Formula/aescrypt-packetizer.rb +++ b/Formula/aescrypt-packetizer.rb @@ -22,7 +22,7 @@ class AescryptPacketizer < Formula option "with-default-names", "Build with the binaries named as expected upstream" - depends_on :xcode => :build + depends_on xcode: :build def install if build.head? diff --git a/Formula/afflib.rb b/Formula/afflib.rb index 1b11200097cc7..c5080ea56b7ab 100644 --- a/Formula/afflib.rb +++ b/Formula/afflib.rb @@ -15,7 +15,7 @@ class Afflib < Formula depends_on "automake" => :build depends_on "libtool" => :build depends_on "expat" => :optional - depends_on :osxfuse => :optional + depends_on osxfuse: :optional depends_on "openssl" # This patch fixes a bug reported upstream over there diff --git a/Formula/agda.rb b/Formula/agda.rb index e7fc1aba9332d..805decb6cf8aa 100644 --- a/Formula/agda.rb +++ b/Formula/agda.rb @@ -44,18 +44,18 @@ class Agda < Formula depends_on "cabal-install" => :build end - depends_on :emacs => ["23.4", :recommended] + depends_on emacs: ["23.4", :recommended] def install # install Agda core - install_cabal_package :using => ["alex", "happy", "cpphs"] + install_cabal_package using: ["alex", "happy", "cpphs"] if build.with? "stdlib" resource("stdlib").stage lib/"agda" # generate the standard library's bytecode cd lib/"agda" do - cabal_sandbox :home => buildpath, :keep_lib => true do + cabal_sandbox home: buildpath, keep_lib: true do cabal_install "--only-dependencies" cabal_install system "GenerateEverything" diff --git a/Formula/aggregate.rb b/Formula/aggregate.rb index eee98957d4671..8f1f900370e24 100644 --- a/Formula/aggregate.rb +++ b/Formula/aggregate.rb @@ -13,7 +13,7 @@ class Aggregate < Formula sha256 "169598a0d41382215ba51ed0c377c98857804e82fb1658414dd04ee94ddbb993" => :mavericks end - conflicts_with "crush-tools", :because => "both install an `aggregate` binary" + conflicts_with "crush-tools", because: "both install an `aggregate` binary" def install bin.mkpath diff --git a/Formula/aiccu.rb b/Formula/aiccu.rb index fbe9fa238cf3c..6b3b03beaec9c 100644 --- a/Formula/aiccu.rb +++ b/Formula/aiccu.rb @@ -43,7 +43,7 @@ def caveats EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/algernon.rb b/Formula/algernon.rb index 5ce9aa79db3c6..baf082e6c3d77 100644 --- a/Formula/algernon.rb +++ b/Formula/algernon.rb @@ -63,23 +63,23 @@ class Algernon < Formula github.com/yuin/gopher-lua 47f0f792b296190027f38d577f0860e2dad7a777 ].each_slice(2) do |resurl, rev| go_resource resurl do - url "https://#{resurl}.git", :revision => rev + url "https://#{resurl}.git", revision: rev end end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "5bcd134fee4dd1475da17714aac19c0aa0142e2f" + revision: "5bcd134fee4dd1475da17714aac19c0aa0142e2f" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "c4c3ea71919de159c9e246d7be66deb7f0a39a58" + revision: "c4c3ea71919de159c9e246d7be66deb7f0a39a58" end go_resource "golang.org/x/sys" do url "https://go.googlesource.com/sys.git", - :revision => "076b546753157f758b316e59bcb51e6807c04057" + revision: "076b546753157f758b316e59bcb51e6807c04057" end def install diff --git a/Formula/align.rb b/Formula/align.rb index f2ddca20a7010..93d72ccccfb1c 100644 --- a/Formula/align.rb +++ b/Formula/align.rb @@ -11,7 +11,7 @@ class Align < Formula sha256 "f903cb30e079f56c5743e2ca22a168c61d7a7c57b2cf6bc3c6492ed214a296a3" => :mavericks end - conflicts_with "speech-tools", :because => "both install `align` binaries" + conflicts_with "speech-tools", because: "both install `align` binaries" def install system "make", "install", "BINDIR=#{bin}" diff --git a/Formula/allegro.rb b/Formula/allegro.rb index 5b1ba212ab53e..b8959056fe0e5 100644 --- a/Formula/allegro.rb +++ b/Formula/allegro.rb @@ -3,7 +3,7 @@ class Allegro < Formula homepage "http://liballeg.org/" url "http://download.gna.org/allegro/allegro/5.2.1.1/allegro-5.2.1.1.tar.gz" sha256 "b5d9df303bc6d72d54260c24505889acd995049b75463b46344e797a58a44a71" - head "https://github.com/liballeg/allegro5.git", :branch => "master" + head "https://github.com/liballeg/allegro5.git", branch: "master" bottle do cellar :any diff --git a/Formula/alot.rb b/Formula/alot.rb index e3bec3d2f0803..9feaf3278cf4a 100644 --- a/Formula/alot.rb +++ b/Formula/alot.rb @@ -5,7 +5,7 @@ class Alot < Formula homepage "https://github.com/pazz/alot" url "https://github.com/pazz/alot/archive/0.3.7.tar.gz" sha256 "fd2d4121ba109224560919e84e320b09526891fbc0038afcea26a3f1284dad26" - head "https://github.com/pazz/alot.git", :branch => "testing" + head "https://github.com/pazz/alot.git", branch: "testing" bottle do cellar :any diff --git a/Formula/ammonite-repl.rb b/Formula/ammonite-repl.rb index 8d942ec91a3b6..a053f16499d18 100644 --- a/Formula/ammonite-repl.rb +++ b/Formula/ammonite-repl.rb @@ -1,12 +1,12 @@ class AmmoniteRepl < Formula desc "Ammonite is a cleanroom re-implementation of the Scala REPL" homepage "https://lihaoyi.github.io/Ammonite/#Ammonite-REPL" - url "https://github.com/lihaoyi/Ammonite/releases/download/0.7.7/0.7.7", :using => :nounzip + url "https://github.com/lihaoyi/Ammonite/releases/download/0.7.7/0.7.7", using: :nounzip sha256 "c0e9598f49604e3ec8def8357610e278628f0ea20cf150b264b32de1389f6e4e" bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install bin.install Dir["*"].shift => "amm" diff --git a/Formula/amtterm.rb b/Formula/amtterm.rb index 40fcdfed03339..d7ef30c63c2bd 100644 --- a/Formula/amtterm.rb +++ b/Formula/amtterm.rb @@ -29,7 +29,7 @@ def install end system "make", "prefix=#{prefix}", "install" - bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec+"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/android-ndk.rb b/Formula/android-ndk.rb index bccf3973542d4..fdd9aac0f1c4e 100644 --- a/Formula/android-ndk.rb +++ b/Formula/android-ndk.rb @@ -7,11 +7,11 @@ class AndroidNdk < 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 diff --git a/Formula/android-platform-tools.rb b/Formula/android-platform-tools.rb index 1eafa28cd95cc..e66a782a627a5 100644 --- a/Formula/android-platform-tools.rb +++ b/Formula/android-platform-tools.rb @@ -9,10 +9,10 @@ class AndroidPlatformTools < Formula bottle :unneeded - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion conflicts_with "android-sdk", - :because => "the Android Platform-tools are part of the Android SDK" + because: "the Android Platform-tools are part of the Android SDK" def install bin.install "adb", "fastboot" diff --git a/Formula/android-sdk.rb b/Formula/android-sdk.rb index 70723ca575c44..a6785499daa7e 100644 --- a/Formula/android-sdk.rb +++ b/Formula/android-sdk.rb @@ -17,10 +17,10 @@ class AndroidSdk < Formula end depends_on :java - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion conflicts_with "android-platform-tools", - :because => "The Android Platform-Tools need to be installed as part of the SDK." + because: "The Android Platform-Tools need to be installed as part of the SDK." resource "completion" do url "https://android.googlesource.com/platform/sdk/+/7859e2e738542baf96c15e6c8b50bbdb410131b0/bash_completion/adb.bash?format=TEXT" diff --git a/Formula/ansible.rb b/Formula/ansible.rb index d3b951f02a46e..78c360f28d874 100644 --- a/Formula/ansible.rb +++ b/Formula/ansible.rb @@ -6,7 +6,7 @@ class Ansible < Formula url "https://releases.ansible.com/ansible/ansible-2.1.1.0.tar.gz" sha256 "61e739c123923ba90169f42c54e5f51df759ed40b4e332a7160d7db963d5678b" - head "https://github.com/ansible/ansible.git", :branch => "devel" + head "https://github.com/ansible/ansible.git", branch: "devel" bottle do cellar :any @@ -525,7 +525,6 @@ def install man1.install Dir["docs/man/man1/*.1"] end - test do ENV["ANSIBLE_REMOTE_TEMP"] = testpath/"tmp" (testpath/"playbook.yml").write <<-EOF.undent diff --git a/Formula/apache-archiva.rb b/Formula/apache-archiva.rb index 415c9bf7763b8..4f2192307c648 100644 --- a/Formula/apache-archiva.rb +++ b/Formula/apache-archiva.rb @@ -6,7 +6,7 @@ class ApacheArchiva < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install Dir["*"] @@ -22,7 +22,7 @@ def post_install cp_r libexec/"conf", var/"archiva" end - plist_options :manual => "ARCHIVA_BASE=#{HOMEBREW_PREFIX}/var/archiva #{HOMEBREW_PREFIX}/opt/apache-archiva/bin/archiva console" + plist_options manual: "ARCHIVA_BASE=#{HOMEBREW_PREFIX}/var/archiva #{HOMEBREW_PREFIX}/opt/apache-archiva/bin/archiva console" def plist; <<-EOS.undent diff --git a/Formula/apache-brooklyn-cli.rb b/Formula/apache-brooklyn-cli.rb index e1853b7308eee..2d54fe76ed4e0 100644 --- a/Formula/apache-brooklyn-cli.rb +++ b/Formula/apache-brooklyn-cli.rb @@ -17,12 +17,12 @@ class ApacheBrooklynCli < Formula go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "5db74198dee1cfe60cf06a611d03a420361baad6" + revision: "5db74198dee1cfe60cf06a611d03a420361baad6" end go_resource "golang.org/x/crypto" do url "https://github.com/golang/crypto.git", - :revision => "1f22c0103821b9390939b6776727195525381532" + revision: "1f22c0103821b9390939b6776727195525381532" end def install diff --git a/Formula/apache-geode.rb b/Formula/apache-geode.rb index 595de9dd53abb..33f3dfd19038a 100644 --- a/Formula/apache-geode.rb +++ b/Formula/apache-geode.rb @@ -7,7 +7,7 @@ class ApacheGeode < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install rm_f "bin/gfsh.bat" diff --git a/Formula/apib.rb b/Formula/apib.rb index 57316223046fc..b4451e1c76976 100644 --- a/Formula/apib.rb +++ b/Formula/apib.rb @@ -15,7 +15,7 @@ class Apib < Formula sha256 "c538b9389b1849704720383f03fb2fe4eaf145ecd01d7dca5fd08d95e0e961ba" => :mountain_lion end - depends_on :apr => :build + depends_on apr: :build depends_on "openssl" def install diff --git a/Formula/apktool.rb b/Formula/apktool.rb index 557e2e1fc7938..aae05357bae1f 100644 --- a/Formula/apktool.rb +++ b/Formula/apktool.rb @@ -1,13 +1,13 @@ class Apktool < Formula desc "Tool for reverse engineering 3rd party, closed, binary Android apps" homepage "https://github.com/iBotPeaches/Apktool" - url "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.2.0.jar", :using => :nounzip + url "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.2.0.jar", using: :nounzip sha256 "33529b641fb8985388920813d5b4e1cd75ea3d6cc0322d8489cf78a8516b5836" bottle :unneeded resource "sample.apk" do - url "https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk", :using => :nounzip + url "https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk", using: :nounzip sha256 "bf3ec04631339538c8edb97ebbd5262c3962c5873a2df9022385156c775eb81f" end diff --git a/Formula/apollo.rb b/Formula/apollo.rb index e3c5f72d301e8..b051ba93cc200 100644 --- a/Formula/apollo.rb +++ b/Formula/apollo.rb @@ -47,7 +47,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "#{HOMEBREW_PREFIX}/var/apollo/bin/apollo-broker run" + plist_options manual: "#{HOMEBREW_PREFIX}/var/apollo/bin/apollo-broker run" def plist; <<-EOS.undent diff --git a/Formula/app-engine-go-32.rb b/Formula/app-engine-go-32.rb index 01517d68d6b53..d9e9f755e783b 100644 --- a/Formula/app-engine-go-32.rb +++ b/Formula/app-engine-go-32.rb @@ -7,9 +7,9 @@ class AppEngineGo32 < Formula bottle :unneeded conflicts_with "app-engine-go-64", - :because => "both install the same binaries" + because: "both install the same binaries" conflicts_with "app-engine-python", - :because => "both install the same binaries" + because: "both install the same binaries" def install pkgshare.install Dir["*"] diff --git a/Formula/app-engine-go-64.rb b/Formula/app-engine-go-64.rb index 7036f8576a7fb..aa97b5d1680bd 100644 --- a/Formula/app-engine-go-64.rb +++ b/Formula/app-engine-go-64.rb @@ -7,9 +7,9 @@ class AppEngineGo64 < Formula bottle :unneeded conflicts_with "app-engine-go-32", - :because => "both install the same binaries" + because: "both install the same binaries" conflicts_with "app-engine-python", - :because => "both install the same binaries" + because: "both install the same binaries" def install pkgshare.install Dir["*"] diff --git a/Formula/app-engine-java.rb b/Formula/app-engine-java.rb index fd603fd08462e..fb364ac3384a6 100644 --- a/Formula/app-engine-java.rb +++ b/Formula/app-engine-java.rb @@ -6,7 +6,7 @@ class AppEngineJava < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install rm Dir["bin/*.cmd"] diff --git a/Formula/app-engine-python.rb b/Formula/app-engine-python.rb index e6a44c37bc34c..87b6ea0a430c8 100644 --- a/Formula/app-engine-python.rb +++ b/Formula/app-engine-python.rb @@ -7,9 +7,9 @@ class AppEnginePython < Formula bottle :unneeded conflicts_with "app-engine-go-32", - :because => "both install the same binaries" + because: "both install the same binaries" conflicts_with "app-engine-go-64", - :because => "both install the same binaries" + because: "both install the same binaries" def install pkgshare.install Dir["*"] diff --git a/Formula/appledoc.rb b/Formula/appledoc.rb index da91ba834b35c..842cf7cbef4df 100644 --- a/Formula/appledoc.rb +++ b/Formula/appledoc.rb @@ -12,8 +12,8 @@ class Appledoc < Formula sha256 "dede0bad06c61e56350c5fc812e1c507d3b2e0b73b6d062eedfe8e47f39b74fb" => :mavericks end - depends_on :xcode => :build - depends_on :macos => :lion + depends_on xcode: :build + depends_on macos: :lion def install xcodebuild "-project", "appledoc.xcodeproj", diff --git a/Formula/appscale-tools.rb b/Formula/appscale-tools.rb index fc0b180bf96da..1eee8007e7d2b 100644 --- a/Formula/appscale-tools.rb +++ b/Formula/appscale-tools.rb @@ -109,7 +109,7 @@ def install touch site_packages/"appscale/__init__.py" 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 test do diff --git a/Formula/aptly.rb b/Formula/aptly.rb index b9acbd5430bec..a4b6b4b819822 100644 --- a/Formula/aptly.rb +++ b/Formula/aptly.rb @@ -18,22 +18,22 @@ class Aptly < Formula go_resource "github.com/daviddengcn/go-colortext" do url "https://github.com/daviddengcn/go-colortext.git", - :revision => "511bcaf42ccd42c38aba7427b6673277bf19e2a1" + revision: "511bcaf42ccd42c38aba7427b6673277bf19e2a1" end go_resource "github.com/hashicorp/go-version" do url "https://github.com/hashicorp/go-version.git", - :revision => "0181db47023708a38c2d20d2fe25a5fa034d5743" + revision: "0181db47023708a38c2d20d2fe25a5fa034d5743" end go_resource "github.com/mattn/gover" do url "https://github.com/mattn/gover.git", - :revision => "715629d6b57a2104c5221dc72514cfddc992e1de" + revision: "715629d6b57a2104c5221dc72514cfddc992e1de" end go_resource "github.com/mattn/gom" do url "https://github.com/mattn/gom.git", - :revision => "393e714d663c35e121a47fec32964c44a630219b" + revision: "393e714d663c35e121a47fec32964c44a630219b" end def install diff --git a/Formula/arangodb.rb b/Formula/arangodb.rb index 0defd0170ad9f..34741f85d335f 100644 --- a/Formula/arangodb.rb +++ b/Formula/arangodb.rb @@ -3,14 +3,14 @@ class Arangodb < Formula homepage "https://www.arangodb.com/" url "https://www.arangodb.com/repositories/Source/ArangoDB-3.0.5.tar.gz" sha256 "c9219c9dc5cc35a0e2dfab8420f9fd0cdd7143669f0776a08907164a20e03a4e" - head "https://github.com/arangodb/arangodb.git", :branch => "unstable" + head "https://github.com/arangodb/arangodb.git", branch: "unstable" bottle do sha256 "e8fa7b1e5c7bf3d9d18b830c8ed9e365c4d0fc5704a2732f208b5113a4d3b5ca" => :el_capitan sha256 "1ca08be2a4f88515e2f2ee765703a963a0c9df44a50d5cc9f4787ce0822f27e7" => :yosemite end - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "cmake" => :build depends_on "go" => :build depends_on "openssl" @@ -114,7 +114,7 @@ def caveats s end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/arangodb/sbin/arangod" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/arangodb/sbin/arangod" def plist; <<-EOS.undent diff --git a/Formula/archivemail.rb b/Formula/archivemail.rb index 9ef2e11537150..d37a50628cb5e 100644 --- a/Formula/archivemail.rb +++ b/Formula/archivemail.rb @@ -17,7 +17,7 @@ def install ENV.prepend_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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 diff --git a/Formula/argp-standalone.rb b/Formula/argp-standalone.rb index 60714d44f49b7..d16e6d7e512b0 100644 --- a/Formula/argp-standalone.rb +++ b/Formula/argp-standalone.rb @@ -20,7 +20,7 @@ class ArgpStandalone < Formula sha256 "5656273f622fdb7ca7cf1f98c0c9529bed461d23718bc2a6a85986e4f8ed1cb8" end - conflicts_with "gpgme", :because => "gpgme picks it up during compile & fails to build" + conflicts_with "gpgme", because: "gpgme picks it up during compile & fails to build" def install system "./configure", "--prefix=#{prefix}" diff --git a/Formula/argyll-cms.rb b/Formula/argyll-cms.rb index b18300db47f27..cb7f2ae682537 100644 --- a/Formula/argyll-cms.rb +++ b/Formula/argyll-cms.rb @@ -17,7 +17,7 @@ class ArgyllCms < Formula depends_on "jpeg" depends_on "libtiff" - conflicts_with "num-utils", :because => "both install `average` binaries" + conflicts_with "num-utils", because: "both install `average` binaries" # Fix build on case-sensitive filesystems. # Submitted to graeme@argyllcms.com on 23rd Feb 2016. diff --git a/Formula/artifactory.rb b/Formula/artifactory.rb index d87cdf01182f1..f12a595603218 100644 --- a/Formula/artifactory.rb +++ b/Formula/artifactory.rb @@ -8,7 +8,7 @@ class Artifactory < Formula option "with-low-heap", "Run artifactory with low Java memory options. Useful for development machines. Do not use in production." - depends_on :java => "1.8+" + depends_on java: "1.8+" def install # Remove Windows binaries @@ -43,7 +43,7 @@ def post_install libexec.install_symlink data => "data" end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/artifactory/libexec/bin/artifactory.sh" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/artifactory/libexec/bin/artifactory.sh" def plist; <<-EOS.undent diff --git a/Formula/asciinema.rb b/Formula/asciinema.rb index c4b40261e92f1..9b986d79c765f 100644 --- a/Formula/asciinema.rb +++ b/Formula/asciinema.rb @@ -22,7 +22,7 @@ def install system "python3", *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"]) end test do diff --git a/Formula/asciiquarium.rb b/Formula/asciiquarium.rb index fae705a34d801..05c978f4e7d55 100644 --- a/Formula/asciiquarium.rb +++ b/Formula/asciiquarium.rb @@ -36,7 +36,7 @@ def install chmod 0755, "asciiquarium" bin.install "asciiquarium" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/atomicparsley.rb b/Formula/atomicparsley.rb index b44cf0a6f8a2b..0a7f5984d2897 100644 --- a/Formula/atomicparsley.rb +++ b/Formula/atomicparsley.rb @@ -3,7 +3,7 @@ class Atomicparsley < Formula homepage "https://bitbucket.org/wez/atomicparsley/overview/" url "https://bitbucket.org/dinkypumpkin/atomicparsley/downloads/atomicparsley-0.9.6.tar.bz2" sha256 "49187a5215520be4f732977657b88b2cf9203998299f238067ce38f948941562" - head "https://bitbucket.org/wez/atomicparsley", :using => :hg + head "https://bitbucket.org/wez/atomicparsley", using: :hg bottle do cellar :any_skip_relocation diff --git a/Formula/aubio.rb b/Formula/aubio.rb index d015e4ad22334..cddc668176efb 100644 --- a/Formula/aubio.rb +++ b/Formula/aubio.rb @@ -4,7 +4,7 @@ class Aubio < Formula url "https://aubio.org/pub/aubio-0.4.2.tar.bz2" sha256 "1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f" - head "https://github.com/piem/aubio.git", :branch => "develop" + head "https://github.com/piem/aubio.git", branch: "develop" bottle do cellar :any @@ -16,9 +16,9 @@ class Aubio < Formula option :universal - depends_on :macos => :lion + depends_on macos: :lion - depends_on :python => :optional + depends_on python: :optional depends_on "pkg-config" => :build depends_on "libtool" => :build @@ -45,7 +45,7 @@ def install if build.with? "python" cd "python" do system "python", *Language::Python.setup_install_args(prefix) - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end end end diff --git a/Formula/aurora-cli.rb b/Formula/aurora-cli.rb index 3fead9bc7dc47..5ba5352a583e7 100644 --- a/Formula/aurora-cli.rb +++ b/Formula/aurora-cli.rb @@ -11,7 +11,7 @@ class AuroraCli < Formula sha256 "9b45a0ba82e22ff2e272c80977d047a16b5164edb0efc198ffc90ede170c5444" => :mavericks end - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on :python if MacOS.version <= :snow_leopard def install diff --git a/Formula/auto-scaling.rb b/Formula/auto-scaling.rb index dd95470c059d1..ccd6d083d9af4 100644 --- a/Formula/auto-scaling.rb +++ b/Formula/auto-scaling.rb @@ -10,7 +10,7 @@ class AutoScaling < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:AWS_AUTO_SCALING_HOME => libexec) + env = Language::Java.java_home_env.merge(AWS_AUTO_SCALING_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| diff --git a/Formula/avce00.rb b/Formula/avce00.rb index 1191226b60c23..16c63787fdf0f 100644 --- a/Formula/avce00.rb +++ b/Formula/avce00.rb @@ -12,7 +12,7 @@ class Avce00 < Formula sha256 "4f114d3d8872cbf9e2df2c2ed2d4962b65b39efc568faf78eb5b2f47552a39da" => :mountain_lion end - conflicts_with "gdal", :because => "both install a cpl_conv.h header" + conflicts_with "gdal", because: "both install a cpl_conv.h header" def install system "make", "CC=#{ENV.cc}" diff --git a/Formula/avian.rb b/Formula/avian.rb index d6fcde74b85ac..1afb71c60f83d 100644 --- a/Formula/avian.rb +++ b/Formula/avian.rb @@ -13,8 +13,8 @@ class Avian < Formula sha256 "20dd7125d138e05021b473d026190d8f4652e807afcfe057614e5c2e66ce0ed1" => :mavericks end - depends_on :macos => :lion - depends_on :java => "1.7+" + depends_on macos: :lion + depends_on java: "1.7+" def install system "make", "use-clang=true" diff --git a/Formula/avrdude.rb b/Formula/avrdude.rb index 8bc1ef7e94f8e..cfeb2347e7744 100644 --- a/Formula/avrdude.rb +++ b/Formula/avrdude.rb @@ -20,7 +20,7 @@ class Avrdude < Formula depends_on "libtool" => :build end - depends_on :macos => :snow_leopard # needs GCD/libdispatch + depends_on macos: :snow_leopard # needs GCD/libdispatch depends_on "libusb-compat" depends_on "libftdi0" depends_on "libelf" diff --git a/Formula/aws-apigateway-importer.rb b/Formula/aws-apigateway-importer.rb index c3fb6b0d0236b..59afb4f23b177 100644 --- a/Formula/aws-apigateway-importer.rb +++ b/Formula/aws-apigateway-importer.rb @@ -11,7 +11,7 @@ class AwsApigatewayImporter < Formula sha256 "edb2aa2cfa42baeda657d4b02ff7dc76e9f1386fe992da1d80d5b626427f152d" => :mavericks end - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "maven" => :build def install diff --git a/Formula/aws-cfn-tools.rb b/Formula/aws-cfn-tools.rb index eba4301f9e871..b4318d4ef0b6c 100644 --- a/Formula/aws-cfn-tools.rb +++ b/Formula/aws-cfn-tools.rb @@ -11,7 +11,7 @@ class AwsCfnTools < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:AWS_CLOUDFORMATION_HOME => libexec) + env = Language::Java.java_home_env.merge(AWS_CLOUDFORMATION_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| diff --git a/Formula/aws-cloudsearch.rb b/Formula/aws-cloudsearch.rb index 6714380cd901d..8b285907950dd 100644 --- a/Formula/aws-cloudsearch.rb +++ b/Formula/aws-cloudsearch.rb @@ -8,12 +8,12 @@ class AwsCloudsearch < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install %w[conf help third-party lib] bin.install Dir["bin/*"] - bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.7+").merge(:CS_HOME => libexec)) + bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.7+").merge(CS_HOME: libexec)) end test do diff --git a/Formula/aws-elasticache.rb b/Formula/aws-elasticache.rb index b6b14bd1aba68..ef94fd250bd92 100644 --- a/Formula/aws-elasticache.rb +++ b/Formula/aws-elasticache.rb @@ -11,7 +11,7 @@ class AwsElasticache < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:AWS_ELASTICACHE_HOME => libexec) + env = Language::Java.java_home_env.merge(AWS_ELASTICACHE_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| diff --git a/Formula/aws-shell.rb b/Formula/aws-shell.rb index 0d8f284a91a56..677d08de3e29b 100644 --- a/Formula/aws-shell.rb +++ b/Formula/aws-shell.rb @@ -98,39 +98,39 @@ class AwsShell < Formula url "https://github.com/awslabs/aws-shell.git" resource "awscli" do - url "https://github.com/aws/aws-cli.git", :branch => "develop" + url "https://github.com/aws/aws-cli.git", branch: "develop" end resource "boto3" do - url "https://github.com/boto/boto3.git", :branch => "develop" + url "https://github.com/boto/boto3.git", branch: "develop" end resource "botocore" do - url "https://github.com/boto/botocore.git", :branch => "develop" + url "https://github.com/boto/botocore.git", branch: "develop" end resource "colorama" do url "https://github.com/tartley/colorama.git", - :tag => "v0.3.3", - :revision => "5906b2604223f3a3bdf4497244fc8861b89dbda6" + tag: "v0.3.3", + revision: "5906b2604223f3a3bdf4497244fc8861b89dbda6" end resource "configobj" do - url "https://github.com/DiffSK/configobj.git", :branch => "release" + url "https://github.com/DiffSK/configobj.git", branch: "release" end resource "docutils" do - url "https://github.com/chevah/docutils.git", :branch => "docutils-0.12-chevah" + url "https://github.com/chevah/docutils.git", branch: "docutils-0.12-chevah" end resource "jmespath" do - url "https://github.com/boto/jmespath.git", :branch => "develop" + url "https://github.com/boto/jmespath.git", branch: "develop" end resource "python-dateutil" do url "https://github.com/dateutil/dateutil.git", - :tag => "2.4.2", - :revision => "248106da8e5f4023210d7a18d30b176577916b4f" + tag: "2.4.2", + revision: "248106da8e5f4023210d7a18d30b176577916b4f" end resource "rsa" do @@ -138,7 +138,7 @@ class AwsShell < Formula end resource "s3transfer" do - url "https://github.com/boto/s3transfer.git", :branch => "develop" + url "https://github.com/boto/s3transfer.git", branch: "develop" end resource "wcwidth" do @@ -162,7 +162,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"]) end test do diff --git a/Formula/aws-sns-cli.rb b/Formula/aws-sns-cli.rb index f241a9bad6813..3b5de5b72dc9a 100644 --- a/Formula/aws-sns-cli.rb +++ b/Formula/aws-sns-cli.rb @@ -11,7 +11,7 @@ class AwsSnsCli < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:AWS_SNS_HOME => libexec) + env = Language::Java.java_home_env.merge(AWS_SNS_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions chmod 0755, Dir["bin/*"] libexec.install Dir["*"] diff --git a/Formula/awscli.rb b/Formula/awscli.rb index e246c903fa927..febb712e3e5c4 100644 --- a/Formula/awscli.rb +++ b/Formula/awscli.rb @@ -15,18 +15,18 @@ class Awscli < Formula end head do - url "https://github.com/aws/aws-cli.git", :branch => "develop" + url "https://github.com/aws/aws-cli.git", branch: "develop" resource "botocore" do - url "https://github.com/boto/botocore.git", :branch => "develop" + url "https://github.com/boto/botocore.git", branch: "develop" end resource "jmespath" do - url "https://github.com/boto/jmespath.git", :branch => "develop" + url "https://github.com/boto/jmespath.git", branch: "develop" end resource "s3transfer" do - url "https://github.com/boto/s3transfer.git", :branch => "develop" + url "https://github.com/boto/s3transfer.git", branch: "develop" end end diff --git a/Formula/azure-cli.rb b/Formula/azure-cli.rb index 2a83193805fde..040a3565257ec 100644 --- a/Formula/azure-cli.rb +++ b/Formula/azure-cli.rb @@ -7,7 +7,7 @@ class AzureCli < Formula version "0.10.4" sha256 "44328b91adf4230250c81831e9f4f2638357b969a633ebcdc818d4420e16d4df" - head "https://github.com/azure/azure-xplat-cli.git", :branch => "dev" + head "https://github.com/azure/azure-xplat-cli.git", branch: "dev" bottle do cellar :any_skip_relocation @@ -18,7 +18,7 @@ class AzureCli < Formula end depends_on "node" - depends_on :python => :build + depends_on python: :build def install rm_rf "bin/windows" diff --git a/Formula/babl.rb b/Formula/babl.rb index ca63ab80ab8ba..476b1c7a98a0a 100644 --- a/Formula/babl.rb +++ b/Formula/babl.rb @@ -29,7 +29,7 @@ class Babl < Formula fails_with :gcc_4_0 fails_with :gcc ("4.3".."5.1").each do |n| - fails_with :gcc => n + fails_with gcc: n end end diff --git a/Formula/bacula-fd.rb b/Formula/bacula-fd.rb index 71a8efacec6c5..ea184093c2db6 100644 --- a/Formula/bacula-fd.rb +++ b/Formula/bacula-fd.rb @@ -37,7 +37,7 @@ def post_install (var/"run").mkpath end - plist_options :startup => true, :manual => "bacula-fd" + plist_options startup: true, manual: "bacula-fd" def plist; <<-EOS.undent diff --git a/Formula/baobab.rb b/Formula/baobab.rb index 73500ab0c6db7..797168c52a40f 100644 --- a/Formula/baobab.rb +++ b/Formula/baobab.rb @@ -14,7 +14,7 @@ class Baobab < Formula depends_on "intltool" => :build depends_on "itstool" => :build depends_on "libxml2" => ["with-python", :build] - depends_on :python => :build if MacOS.version <= :snow_leopard + depends_on python: :build if MacOS.version <= :snow_leopard depends_on "vala" => :build depends_on "gtk+3" depends_on "hicolor-icon-theme" diff --git a/Formula/bashdb.rb b/Formula/bashdb.rb index 28a5ad6e445c4..427cb1b31da6d 100644 --- a/Formula/bashdb.rb +++ b/Formula/bashdb.rb @@ -13,7 +13,7 @@ class Bashdb < Formula end depends_on "bash" - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion def install system "./configure", "--with-bash=#{HOMEBREW_PREFIX}/bin/bash", diff --git a/Formula/bazaar.rb b/Formula/bazaar.rb index 1b37149a78009..8ec127d9a0e02 100644 --- a/Formula/bazaar.rb +++ b/Formula/bazaar.rb @@ -26,7 +26,7 @@ def install inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python" libexec.install "bzr", "bzrlib" - (bin/"bzr").write_env_script(libexec/"bzr", :BZR_PLUGIN_PATH => "+user:#{HOMEBREW_PREFIX}/share/bazaar/plugins") + (bin/"bzr").write_env_script(libexec/"bzr", BZR_PLUGIN_PATH: "+user:#{HOMEBREW_PREFIX}/share/bazaar/plugins") end test do diff --git a/Formula/bazel.rb b/Formula/bazel.rb index 6e74f8678c8b6..b652d3ff181ed 100644 --- a/Formula/bazel.rb +++ b/Formula/bazel.rb @@ -11,8 +11,8 @@ class Bazel < Formula sha256 "0fcea9e375d29bda7c7e291172cd59d235512952a377f469e684315c109f6dfb" => :yosemite end - depends_on :java => "1.8+" - depends_on :macos => :yosemite + depends_on java: "1.8+" + depends_on macos: :yosemite def install ENV["EMBED_LABEL"] = "#{version}-homebrew" diff --git a/Formula/beanstalkd.rb b/Formula/beanstalkd.rb index 9cd027b364e0c..5ddd6bf70a055 100644 --- a/Formula/beanstalkd.rb +++ b/Formula/beanstalkd.rb @@ -15,7 +15,7 @@ def install system "make", "install", "PREFIX=#{prefix}" end - plist_options :manual => "beanstalkd" + plist_options manual: "beanstalkd" def plist; <<-EOS.undent diff --git a/Formula/betty.rb b/Formula/betty.rb index ad82f4dc0cf39..4e230906249ff 100644 --- a/Formula/betty.rb +++ b/Formula/betty.rb @@ -6,7 +6,7 @@ class Betty < Formula bottle :unneeded - depends_on :ruby => "1.9" + depends_on ruby: "1.9" def install libexec.install "lib", "main.rb" => "betty" diff --git a/Formula/bfg.rb b/Formula/bfg.rb index 8f9107c1291af..68466f9ef3c1e 100644 --- a/Formula/bfg.rb +++ b/Formula/bfg.rb @@ -6,7 +6,7 @@ class Bfg < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install "bfg-1.12.13.jar" diff --git a/Formula/bibclean.rb b/Formula/bibclean.rb index 1ff1c63ce62f4..a0381b5ea86ed 100644 --- a/Formula/bibclean.rb +++ b/Formula/bibclean.rb @@ -47,7 +47,7 @@ def install system "make", "install" ENV.prepend_path "PATH", pkgshare - bin.env_script_all_files(pkgshare, :PATH => ENV["PATH"]) + bin.env_script_all_files(pkgshare, PATH: ENV["PATH"]) end test do diff --git a/Formula/bibtex2html.rb b/Formula/bibtex2html.rb index eb9616821985c..f3c0935594650 100644 --- a/Formula/bibtex2html.rb +++ b/Formula/bibtex2html.rb @@ -14,7 +14,7 @@ class Bibtex2html < Formula depends_on "ocaml" depends_on "hevea" - depends_on :tex => :optional + depends_on tex: :optional def install # See: https://trac.macports.org/ticket/26724 diff --git a/Formula/bigdata.rb b/Formula/bigdata.rb index 87e131f8aa5c5..db7d48897a527 100644 --- a/Formula/bigdata.rb +++ b/Formula/bigdata.rb @@ -7,14 +7,14 @@ class Bigdata < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install "bigdata-bundled.jar" bin.write_jar_script libexec/"bigdata-bundled.jar", "bigdata" end - plist_options :startup => "true", :manual => "bigdata start" + plist_options startup: "true", manual: "bigdata start" def plist; <<-EOS.undent diff --git a/Formula/bind.rb b/Formula/bind.rb index 6e423d5e89555..024441daa4a10 100644 --- a/Formula/bind.rb +++ b/Formula/bind.rb @@ -144,7 +144,7 @@ def named_local; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/binwalk.rb b/Formula/binwalk.rb index fad6a27a78885..91b2316bf3393 100644 --- a/Formula/binwalk.rb +++ b/Formula/binwalk.rb @@ -57,7 +57,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/bitlbee.rb b/Formula/bitlbee.rb index cdf1beb28b9ab..a19c188722eff 100644 --- a/Formula/bitlbee.rb +++ b/Formula/bitlbee.rb @@ -55,7 +55,7 @@ def install (var/"bitlbee/lib").mkpath end - plist_options :manual => "bitlbee -D" + plist_options manual: "bitlbee -D" def plist; <<-EOS.undent diff --git a/Formula/blackbox.rb b/Formula/blackbox.rb index 66d50ed3de5f5..adf71b7e1808c 100644 --- a/Formula/blackbox.rb +++ b/Formula/blackbox.rb @@ -7,7 +7,7 @@ class Blackbox < Formula bottle :unneeded - depends_on :gpg => :run + depends_on gpg: :run def install libexec.install Dir["bin/*"] diff --git a/Formula/blitz.rb b/Formula/blitz.rb index 683b6e2bf0c4d..a9e5cc6bfdbc8 100644 --- a/Formula/blitz.rb +++ b/Formula/blitz.rb @@ -12,7 +12,7 @@ class Blitz < Formula end head do - url "http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz", :using => :hg + url "http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz", using: :hg depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/blucat.rb b/Formula/blucat.rb index 783bc618943bb..0aa2c4faf8a41 100644 --- a/Formula/blucat.rb +++ b/Formula/blucat.rb @@ -13,7 +13,7 @@ class Blucat < Formula end depends_on "ant" => :build - depends_on :java => "1.6+" + depends_on java: "1.6+" def install system "ant" diff --git a/Formula/blueutil.rb b/Formula/blueutil.rb index a23ea134cc6cb..ada80200d85c6 100644 --- a/Formula/blueutil.rb +++ b/Formula/blueutil.rb @@ -15,7 +15,7 @@ class Blueutil < Formula sha256 "fd1e25a79407536f93b4ae5552d30826eef3573aeb44fdd6cb31989bf31ec0d8" => :mountain_lion end - depends_on :xcode => :build + depends_on xcode: :build def install # Set to build with SDK=macosx10.6, but it doesn't actually need 10.6 diff --git a/Formula/boost-python.rb b/Formula/boost-python.rb index c07f3db57633e..a6f58213922a5 100644 --- a/Formula/boost-python.rb +++ b/Formula/boost-python.rb @@ -17,7 +17,7 @@ class BoostPython < Formula option :cxx11 option "without-python", "Build without python 2 support" - depends_on :python3 => :optional + depends_on python3: :optional if build.cxx11? depends_on "boost" => "c++11" diff --git a/Formula/boost.rb b/Formula/boost.rb index abce3021c835f..59ca08df52c0c 100644 --- a/Formula/boost.rb +++ b/Formula/boost.rb @@ -43,7 +43,7 @@ class Boost < 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 diff --git a/Formula/boot-clj.rb b/Formula/boot-clj.rb index 5b14e03ec23a9..5f9179c90cd8c 100644 --- a/Formula/boot-clj.rb +++ b/Formula/boot-clj.rb @@ -2,7 +2,7 @@ class BootClj < Formula desc "Build tooling for Clojure" homepage "http://boot-clj.com" url "https://github.com/boot-clj/boot-bin/releases/download/2.5.2/boot.sh", - :using => :nounzip + using: :nounzip sha256 "895def8ef37f4b78bb37a26566ce970dc24219e880154a18ef7ade5a778d3a2f" bottle :unneeded diff --git a/Formula/boot2docker.rb b/Formula/boot2docker.rb index c49947cea9dd1..09d45a21bbfc1 100644 --- a/Formula/boot2docker.rb +++ b/Formula/boot2docker.rb @@ -4,7 +4,7 @@ class Boot2docker < Formula # Boot2docker and docker are generally updated at the same time. # Please update the version of docker too url "https://github.com/boot2docker/boot2docker-cli.git", - :tag => "v1.8.0", :revision => "9a2606673efcfa282fb64a5a5c9e1b2f89d86fb4" + tag: "v1.8.0", revision: "9a2606673efcfa282fb64a5a5c9e1b2f89d86fb4" revision 1 head "https://github.com/boot2docker/boot2docker-cli.git" diff --git a/Formula/bro.rb b/Formula/bro.rb index 347782f9433c7..1d9e26b17af8d 100644 --- a/Formula/bro.rb +++ b/Formula/bro.rb @@ -17,7 +17,7 @@ class Bro < Formula depends_on "openssl" depends_on "geoip" => :recommended - conflicts_with "brotli", :because => "Both install a `bro` binary" + conflicts_with "brotli", because: "Both install a `bro` binary" def install system "./configure", "--prefix=#{prefix}", diff --git a/Formula/brotli.rb b/Formula/brotli.rb index 43ca6be3d80c2..2bedb1c2f4252 100644 --- a/Formula/brotli.rb +++ b/Formula/brotli.rb @@ -14,7 +14,7 @@ class Brotli < Formula depends_on "cmake" => :build - conflicts_with "bro", :because => "Both install a `bro` binary" + conflicts_with "bro", because: "Both install a `bro` binary" def install system "cmake", ".", *std_cmake_args diff --git a/Formula/browser.rb b/Formula/browser.rb index af24f878222b6..99b658659fa85 100644 --- a/Formula/browser.rb +++ b/Formula/browser.rb @@ -2,7 +2,7 @@ class Browser < Formula desc "Pipe HTML to a browser" homepage "https://gist.github.com/318247/" url "https://gist.github.com/defunkt/318247/raw/7720fc969d58a9bfdc74d71deaa15c1eb7582fc1/browser", - :using => :nounzip + using: :nounzip # This the gist revision number version "7" sha256 "273343d6cf9ed543ccea47b85a2ad2ef2afe7b7a2b956f2e7a24ce0175326dcc" diff --git a/Formula/bsponmpi.rb b/Formula/bsponmpi.rb index 7db341c2faa11..63df96eb4095e 100644 --- a/Formula/bsponmpi.rb +++ b/Formula/bsponmpi.rb @@ -11,7 +11,7 @@ class Bsponmpi < Formula end depends_on "scons" => :build - depends_on :mpi => [:cc, :cxx] + depends_on mpi: [:cc, :cxx] def install # Don't install 'CVS' folders from tarball diff --git a/Formula/bup.rb b/Formula/bup.rb index dc20ae19e08cb..71355c69806bb 100644 --- a/Formula/bup.rb +++ b/Formula/bup.rb @@ -79,7 +79,7 @@ def install if build.with? "web" mv bin/"bup", libexec/"bup.py" - (bin/"bup").write_env_script libexec/"bup.py", :PYTHONPATH => ENV["PYTHONPATH"] + (bin/"bup").write_env_script libexec/"bup.py", PYTHONPATH: ENV["PYTHONPATH"] end end diff --git a/Formula/burp.rb b/Formula/burp.rb index d4a8da2476e61..5b245afa55226 100644 --- a/Formula/burp.rb +++ b/Formula/burp.rb @@ -27,8 +27,8 @@ class Burp < Formula resource "uthash" do url "https://github.com/troydhanson/uthash.git", - :tag => "v2.0.1", - :revision => "539b4504b052cfca54ed66b82ca99e3aed403d46" + tag: "v2.0.1", + revision: "539b4504b052cfca54ed66b82ca99e3aed403d46" end end @@ -83,7 +83,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/byobu.rb b/Formula/byobu.rb index 984cd5c6fd4f1..f68119deb0f82 100644 --- a/Formula/byobu.rb +++ b/Formula/byobu.rb @@ -25,7 +25,7 @@ class Byobu < Formula depends_on "tmux" depends_on "newt" - conflicts_with "ctail", :because => "both install `ctail` binaries" + conflicts_with "ctail", because: "both install `ctail` binaries" def install if build.head? diff --git a/Formula/byteman.rb b/Formula/byteman.rb index b97761ad0080e..36b365955b51d 100644 --- a/Formula/byteman.rb +++ b/Formula/byteman.rb @@ -5,7 +5,7 @@ class Byteman < Formula sha256 "c7b90b63346d4a0f648c55e12c21110fb173fb9ae8471727fd44906591fa8c26" bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install rm_rf Dir["bin/*.bat"] @@ -13,7 +13,7 @@ def install libexec.install ["bin", "lib", "contrib"] pkgshare.install ["sample"] - env = Language::Java.java_home_env("1.6+").merge(:BYTEMAN_HOME => libexec) + env = Language::Java.java_home_env("1.6+").merge(BYTEMAN_HOME: libexec) Pathname.glob("#{libexec}/bin/*") do |file| target = bin/File.basename(file, File.extname(file)) # Drop the .sh from the scripts diff --git a/Formula/caddy.rb b/Formula/caddy.rb index 344d8dffacfd2..4fbceed607cad 100644 --- a/Formula/caddy.rb +++ b/Formula/caddy.rb @@ -18,112 +18,112 @@ class Caddy < Formula go_resource "github.com/BurntSushi/toml" do url "https://github.com/BurntSushi/toml.git", - :revision => "99064174e013895bbd9b025c31100bd1d9b590ca" + revision: "99064174e013895bbd9b025c31100bd1d9b590ca" end go_resource "github.com/dsnet/compress" do url "https://github.com/dsnet/compress.git", - :revision => "b9aab3c6a04eef14c56384b4ad065e7b73438862" + revision: "b9aab3c6a04eef14c56384b4ad065e7b73438862" end go_resource "github.com/dustin/go-humanize" do url "https://github.com/dustin/go-humanize.git", - :revision => "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8" + revision: "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8" end go_resource "github.com/flynn/go-shlex" do url "https://github.com/flynn/go-shlex.git", - :revision => "3f9db97f856818214da2e1057f8ad84803971cff" + revision: "3f9db97f856818214da2e1057f8ad84803971cff" end go_resource "github.com/gorilla/websocket" do url "https://github.com/gorilla/websocket.git", - :revision => "a69d25be2fe2923a97c2af6849b2f52426f68fc0" + revision: "a69d25be2fe2923a97c2af6849b2f52426f68fc0" end go_resource "github.com/hashicorp/go-syslog" do url "https://github.com/hashicorp/go-syslog.git", - :revision => "315de0c1920b18b942603ffdc2229e2af4803c17" + revision: "315de0c1920b18b942603ffdc2229e2af4803c17" end go_resource "github.com/jimstudt/http-authentication" do url "https://github.com/jimstudt/http-authentication.git", - :revision => "3eca13d6893afd7ecabe15f4445f5d2872a1b012" + revision: "3eca13d6893afd7ecabe15f4445f5d2872a1b012" end go_resource "github.com/lucas-clemente/aes12" do url "https://github.com/lucas-clemente/aes12.git", - :revision => "5a3c52721c1e81aa8162601ac2342486525156d5" + revision: "5a3c52721c1e81aa8162601ac2342486525156d5" end go_resource "github.com/lucas-clemente/fnv128a" do url "https://github.com/lucas-clemente/fnv128a.git", - :revision => "393af48d391698c6ae4219566bfbdfef67269997" + revision: "393af48d391698c6ae4219566bfbdfef67269997" end go_resource "github.com/lucas-clemente/quic-go" do url "https://github.com/lucas-clemente/quic-go.git", - :revision => "9de08f8913d8070e9e60f2c20233431d9fe1e914" + revision: "9de08f8913d8070e9e60f2c20233431d9fe1e914" end go_resource "github.com/lucas-clemente/quic-go-certificates" do url "https://github.com/lucas-clemente/quic-go-certificates.git", - :revision => "4904164a1a6479e3b509f616ccd31a7b0e705d52" + revision: "4904164a1a6479e3b509f616ccd31a7b0e705d52" end go_resource "github.com/mholt/archiver" do url "https://github.com/mholt/archiver.git", - :revision => "0231457b31435456e2df3da3f4a16c139da9fd5a" + revision: "0231457b31435456e2df3da3f4a16c139da9fd5a" end go_resource "github.com/miekg/dns" do url "https://github.com/miekg/dns.git", - :revision => "db96a2b759cdef4f11a34506a42eb8d1290c598e" + revision: "db96a2b759cdef4f11a34506a42eb8d1290c598e" end go_resource "github.com/nwaples/rardecode" do url "https://github.com/nwaples/rardecode.git", - :revision => "f94841372ddc36be531a5c3e1206238e32e93d74" + revision: "f94841372ddc36be531a5c3e1206238e32e93d74" end go_resource "github.com/russross/blackfriday" do url "https://github.com/russross/blackfriday.git", - :revision => "93622da34e54fb6529bfb7c57e710f37a8d9cbd8" + revision: "93622da34e54fb6529bfb7c57e710f37a8d9cbd8" end go_resource "github.com/shurcooL/sanitized_anchor_name" do url "https://github.com/shurcooL/sanitized_anchor_name.git", - :revision => "10ef21a441db47d8b13ebcc5fd2310f636973c77" + revision: "10ef21a441db47d8b13ebcc5fd2310f636973c77" end go_resource "github.com/xenolf/lego" do url "https://github.com/xenolf/lego.git", - :revision => "823436d61175269716a88cd6627bfa603812f10c" + revision: "823436d61175269716a88cd6627bfa603812f10c" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "88d0005bf4c3ec17306ecaca4281a8d8efd73e91" + revision: "88d0005bf4c3ec17306ecaca4281a8d8efd73e91" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "7394c112eae4dba7e96bfcfe738e6373d61772b4" + revision: "7394c112eae4dba7e96bfcfe738e6373d61772b4" end go_resource "gopkg.in/natefinch/lumberjack.v2" do url "https://gopkg.in/natefinch/lumberjack.v2.git", - :revision => "514cbda263a734ae8caac038dadf05f8f3f9f738" + revision: "514cbda263a734ae8caac038dadf05f8f3f9f738" end go_resource "gopkg.in/square/go-jose.v1" do url "https://gopkg.in/square/go-jose.v1.git", - :revision => "a3927f83df1b1516f9e9dec71839c93e6bcf1db0" + revision: "a3927f83df1b1516f9e9dec71839c93e6bcf1db0" end go_resource "gopkg.in/yaml.v2" do url "https://gopkg.in/yaml.v2.git", - :revision => "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e" + revision: "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e" end def install diff --git a/Formula/caf.rb b/Formula/caf.rb index 69c0797f0b529..ae897148f5566 100644 --- a/Formula/caf.rb +++ b/Formula/caf.rb @@ -4,7 +4,7 @@ class Caf < Formula homepage "https://actor-framework.org/" url "https://github.com/actor-framework/actor-framework/archive/0.15.0.tar.gz" sha256 "db0e03e5cdcf53db9af6499ce418340cbc6412acc240c88ad352524db69b0c79" - head "https://github.com/actor-framework/actor-framework.git", :branch => "develop" + head "https://github.com/actor-framework/actor-framework.git", branch: "develop" bottle do cellar :any diff --git a/Formula/cairo.rb b/Formula/cairo.rb index 46e3a9960c15a..ab44cc5575d84 100644 --- a/Formula/cairo.rb +++ b/Formula/cairo.rb @@ -19,7 +19,7 @@ class Cairo < Formula end head do - url "https://anongit.freedesktop.org/git/cairo", :using => :git + url "https://anongit.freedesktop.org/git/cairo", using: :git depends_on "automake" => :build depends_on "autoconf" => :build depends_on "libtool" => :build @@ -30,7 +30,7 @@ class Cairo < Formula option :universal depends_on "pkg-config" => :build - depends_on :x11 => :optional if MacOS.version > :leopard + depends_on x11: :optional if MacOS.version > :leopard depends_on "freetype" depends_on "fontconfig" depends_on "libpng" diff --git a/Formula/camlistore.rb b/Formula/camlistore.rb index 989e582a2f38e..259433a995b60 100644 --- a/Formula/camlistore.rb +++ b/Formula/camlistore.rb @@ -2,9 +2,9 @@ class Camlistore < Formula desc "Content-addressable multi-layer indexed storage" homepage "https://camlistore.org" url "https://github.com/camlistore/camlistore.git", - :tag => "0.9", - :revision => "7b78c50007780643798adf3fee4c84f3a10154c9" - head "https://camlistore.googlesource.com/camlistore", :using => :git + tag: "0.9", + revision: "7b78c50007780643798adf3fee4c84f3a10154c9" + head "https://camlistore.googlesource.com/camlistore", using: :git bottle do sha256 "62564ebc8af7078716c921f5e8b6dd1b6570d731ffc12a008facc8a927c6d0d3" => :el_capitan @@ -16,7 +16,7 @@ class Camlistore < Formula depends_on "go" => :build depends_on "sqlite" - conflicts_with "hello", :because => "both install `hello` binaries" + conflicts_with "hello", because: "both install `hello` binaries" def install system "go", "run", "make.go" diff --git a/Formula/camlp4.rb b/Formula/camlp4.rb index 7f0ffe7fe9f3d..1d44e9ef59538 100644 --- a/Formula/camlp4.rb +++ b/Formula/camlp4.rb @@ -4,7 +4,7 @@ class Camlp4 < Formula url "https://github.com/ocaml/camlp4/archive/4.03+1.tar.gz" version "4.03+1" sha256 "6eefeacced81cca59ddf90c2538505fd5cd6596a3fc1acf4971e9796c2e7f2ae" - head "https://github.com/ocaml/camlp4.git", :branch => "trunk" + head "https://github.com/ocaml/camlp4.git", branch: "trunk" bottle do cellar :any_skip_relocation diff --git a/Formula/camlp5.rb b/Formula/camlp5.rb index 74d80ca3d1c37..c1af91c4ec08b 100644 --- a/Formula/camlp5.rb +++ b/Formula/camlp5.rb @@ -20,7 +20,7 @@ class Camlp5 < Formula option "with-doc", "Install the html and info documentation" depends_on "ocaml" - depends_on :tex => [:build, :optional] + depends_on tex: [:build, :optional] depends_on "ghostscript" => :build if build.with?("tex") depends_on "gnu-sed" => :build if build.with?("doc") || build.with?("tex") diff --git a/Formula/carina.rb b/Formula/carina.rb index a41fb828bacb1..3fc5bfc571848 100644 --- a/Formula/carina.rb +++ b/Formula/carina.rb @@ -2,8 +2,8 @@ class Carina < Formula desc "Work with Swarm clusters on Carina" homepage "https://github.com/getcarina/carina" url "https://github.com/getcarina/carina.git", - :tag => "v1.5.0", - :revision => "621b6ecc9d34bad00b016a9829210b33fd4f2355" + tag: "v1.5.0", + revision: "621b6ecc9d34bad00b016a9829210b33fd4f2355" head "https://github.com/getcarina/carina.git" bottle do diff --git a/Formula/carthage.rb b/Formula/carthage.rb index 527b6df4736bd..973f8a4b23c1f 100644 --- a/Formula/carthage.rb +++ b/Formula/carthage.rb @@ -2,10 +2,10 @@ class Carthage < Formula desc "Decentralized dependency manager for Cocoa" homepage "https://github.com/Carthage/Carthage" url "https://github.com/Carthage/Carthage.git", - :tag => "0.18", - :revision => "f11ed8d7f58b2052ef7132d894603106294e61f1", - :shallow => false - head "https://github.com/Carthage/Carthage.git", :shallow => false + tag: "0.18", + revision: "f11ed8d7f58b2052ef7132d894603106294e61f1", + shallow: false + head "https://github.com/Carthage/Carthage.git", shallow: false bottle do cellar :any @@ -13,7 +13,7 @@ class Carthage < Formula sha256 "1b8e4debf39fa7e5aff2244bcb61cb42f215ad4bc0f86f55db3e87ddc87d08b5" => :el_capitan end - depends_on :xcode => ["7.3", :build] + depends_on xcode: ["7.3", :build] def install system "make", "prefix_install", "PREFIX=#{prefix}" diff --git a/Formula/cask.rb b/Formula/cask.rb index 6ff7e955ba103..3aeffe6b83cc3 100644 --- a/Formula/cask.rb +++ b/Formula/cask.rb @@ -7,7 +7,7 @@ class Cask < Formula bottle :unneeded - depends_on :emacs => ["24", :run] + depends_on emacs: ["24", :run] def install bin.install "bin/cask" diff --git a/Formula/casperjs.rb b/Formula/casperjs.rb index 4eb8eeaaba30f..667ff06b85b7d 100644 --- a/Formula/casperjs.rb +++ b/Formula/casperjs.rb @@ -14,7 +14,7 @@ class Casperjs < Formula end # For embedded Phantomjs - depends_on :macos => :snow_leopard + depends_on macos: :snow_leopard depends_on "phantomjs" def install diff --git a/Formula/cassandra.rb b/Formula/cassandra.rb index bcfa6d56420d5..52bf0e595f8e9 100644 --- a/Formula/cassandra.rb +++ b/Formula/cassandra.rb @@ -124,11 +124,11 @@ def install bin.write_exec_script Dir["#{libexec}/bin/*"] rm %W[#{bin}/cqlsh #{bin}/cqlsh.py] # Remove existing exec scripts - (bin/"cqlsh").write_env_script libexec/"bin/cqlsh", :PYTHONPATH => pypath - (bin/"cqlsh.py").write_env_script libexec/"bin/cqlsh.py", :PYTHONPATH => pypath + (bin/"cqlsh").write_env_script libexec/"bin/cqlsh", PYTHONPATH: pypath + (bin/"cqlsh.py").write_env_script libexec/"bin/cqlsh.py", PYTHONPATH: pypath end - plist_options :manual => "cassandra -f" + plist_options manual: "cassandra -f" def plist; <<-EOS.undent diff --git a/Formula/cattle.rb b/Formula/cattle.rb index be4853520d505..24ca7b94f8c77 100644 --- a/Formula/cattle.rb +++ b/Formula/cattle.rb @@ -4,8 +4,8 @@ class Cattle < Formula # Source archive tarball results in "./ChangeLog: No such file or directory" # Reported 12 Sep 2016 https://github.com/andreabolognani/cattle/issues/4 url "https://github.com/andreabolognani/cattle.git", - :tag => "cattle-1.2.1", - :revision => "338a34f7abc35334afd378f305c6e1fb0d0abd7d" + tag: "cattle-1.2.1", + revision: "338a34f7abc35334afd378f305c6e1fb0d0abd7d" head "https://github.com/andreabolognani/cattle.git" bottle do diff --git a/Formula/cayley.rb b/Formula/cayley.rb index 88bf68895431c..fe29e62a51513 100644 --- a/Formula/cayley.rb +++ b/Formula/cayley.rb @@ -15,7 +15,7 @@ class Cayley < Formula option "without-samples", "Don't install sample data" depends_on "bazaar" => :build - depends_on :hg => :build + depends_on hg: :build depends_on "go" => :build depends_on "godep" => :build @@ -48,7 +48,7 @@ def post_install end end - plist_options :manual => "cayley http --assets=#{HOMEBREW_PREFIX}/share/cayley/assets --config=#{HOMEBREW_PREFIX}/etc/cayley.conf" + plist_options manual: "cayley http --assets=#{HOMEBREW_PREFIX}/share/cayley/assets --config=#{HOMEBREW_PREFIX}/etc/cayley.conf" def plist; <<-EOS.undent diff --git a/Formula/cc65.rb b/Formula/cc65.rb index c607cf9ee1198..6a37fa0b64f90 100644 --- a/Formula/cc65.rb +++ b/Formula/cc65.rb @@ -14,7 +14,7 @@ class Cc65 < Formula sha256 "8f56a19db5bfa9d606e7f636c3780a7e29206e0f9b845365f91550f58e46d2b4" => :mavericks end - conflicts_with "grc", :because => "both install `grc` binaries" + conflicts_with "grc", because: "both install `grc` binaries" def install ENV.deparallelize diff --git a/Formula/ccat.rb b/Formula/ccat.rb index 04c5a5ac06534..b4e596d1824e3 100644 --- a/Formula/ccat.rb +++ b/Formula/ccat.rb @@ -13,7 +13,7 @@ class Ccat < Formula depends_on "go" => :build - conflicts_with "ccrypt", :because => "both install `ccat` binaries" + conflicts_with "ccrypt", because: "both install `ccat` binaries" def install system "./script/build" diff --git a/Formula/cclive.rb b/Formula/cclive.rb index c5708549d8e86..a2ebc815227d7 100644 --- a/Formula/cclive.rb +++ b/Formula/cclive.rb @@ -11,7 +11,7 @@ class Cclive < Formula sha256 "74168fac20d931d1b6e2c702ac5818188288271100c9e3f15245b63a1e27d9bc" => :mavericks end - conflicts_with "clozure-cl", :because => "both install a ccl binary" + conflicts_with "clozure-cl", because: "both install a ccl binary" depends_on "pkg-config" => :build depends_on "quvi" diff --git a/Formula/ccm.rb b/Formula/ccm.rb index 6c90659a861e4..e54110211c5b9 100644 --- a/Formula/ccm.rb +++ b/Formula/ccm.rb @@ -36,7 +36,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"]) end test do diff --git a/Formula/ccrypt.rb b/Formula/ccrypt.rb index e23c015f7d1e4..a54ef414edc4e 100644 --- a/Formula/ccrypt.rb +++ b/Formula/ccrypt.rb @@ -12,7 +12,7 @@ class Ccrypt < Formula sha256 "34eb45bc81353931dccf4b978857091073212a6a19dfde4d0e11479fb6a18ca8" => :mountain_lion end - conflicts_with "ccat", :because => "both install `ccat` binaries" + conflicts_with "ccat", because: "both install `ccat` binaries" fails_with :clang do build 318 diff --git a/Formula/cdiff.rb b/Formula/cdiff.rb index 74aab9d10cbae..f764b37db3f10 100644 --- a/Formula/cdiff.rb +++ b/Formula/cdiff.rb @@ -9,13 +9,13 @@ class Cdiff < Formula depends_on :python if MacOS.version <= :snow_leopard - conflicts_with "colordiff", :because => "both install `cdiff` binaries" + conflicts_with "colordiff", because: "both install `cdiff` binaries" def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/cdrtools.rb b/Formula/cdrtools.rb index a61a8d32fa1f9..a84e103f35eb3 100644 --- a/Formula/cdrtools.rb +++ b/Formula/cdrtools.rb @@ -31,7 +31,7 @@ class Cdrtools < Formula depends_on "smake" => :build conflicts_with "dvdrtools", - :because => "both dvdrtools and cdrtools install binaries by the same name" + because: "both dvdrtools and cdrtools install binaries by the same name" def install # Speed-up the build by skipping the compilation of the profiled libraries. diff --git a/Formula/cereal.rb b/Formula/cereal.rb index 63a8787384092..fadd7931770c8 100644 --- a/Formula/cereal.rb +++ b/Formula/cereal.rb @@ -3,7 +3,7 @@ class Cereal < Formula homepage "https://uscilab.github.io/cereal/" url "https://github.com/USCiLab/cereal/archive/v1.2.1.tar.gz" sha256 "7d321c22ea1280b47ddb06f3e9702fcdbb2910ff2f3df0a2554804210714434e" - head "https://github.com/USCiLab/cereal.git", :branch => "develop" + head "https://github.com/USCiLab/cereal.git", branch: "develop" bottle :unneeded @@ -18,7 +18,7 @@ class Cereal < Formula # error: chosen constructor is explicit in copy-initialization # Reported 3 Sep 2016: https://github.com/USCiLab/cereal/issues/339 - depends_on :macos => :yosemite + depends_on macos: :yosemite needs :cxx11 diff --git a/Formula/certstrap.rb b/Formula/certstrap.rb index af87ca6dcfc19..36bbded597780 100644 --- a/Formula/certstrap.rb +++ b/Formula/certstrap.rb @@ -2,8 +2,8 @@ class Certstrap < Formula desc "Tools to bootstrap CAs, certificate requests, and signed certificates" homepage "https://github.com/square/certstrap" url "https://github.com/square/certstrap.git", - :tag => "v1.0.1", - :revision => "c66ef6751a6e5a900c6d96cbdd0e3ee9b18792d8" + tag: "v1.0.1", + revision: "c66ef6751a6e5a900c6d96cbdd0e3ee9b18792d8" bottle do cellar :any_skip_relocation diff --git a/Formula/ceylon.rb b/Formula/ceylon.rb index a7b56484a1a40..642ecb267aec3 100644 --- a/Formula/ceylon.rb +++ b/Formula/ceylon.rb @@ -7,7 +7,7 @@ class Ceylon < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install man1.install Dir["doc/man/man1/*"] diff --git a/Formula/cfr-decompiler.rb b/Formula/cfr-decompiler.rb index d8dfdb487b3e6..5fcee5b9b57bb 100644 --- a/Formula/cfr-decompiler.rb +++ b/Formula/cfr-decompiler.rb @@ -6,7 +6,7 @@ class CfrDecompiler < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install jar_version = version.to_s.tr(".", "_") diff --git a/Formula/chadwick.rb b/Formula/chadwick.rb index 8f83ce355e105..6d4a4214182a5 100644 --- a/Formula/chadwick.rb +++ b/Formula/chadwick.rb @@ -26,9 +26,9 @@ def install date_xml_slug = date_xml.delete "/" # game_id and attributes for the retrosheet "team file" - attr = { :game_id => "ATL#{date_xml_slug}0", :home => "ATL", :home_name => "Braves", - :home_city => "Atlanta", :visitor => "NYN", :visitor_name => "Mets", - :visitor_city => "New York" } + attr = { game_id: "ATL#{date_xml_slug}0", home: "ATL", home_name: "Braves", + home_city: "Atlanta", visitor: "NYN", visitor_name: "Mets", + visitor_city: "New York" } # retrosheet "event file" name, chadwick's xml name?, our value attr_map_info = [ @@ -43,9 +43,9 @@ def install ] # expected (computed) score related data in chadwick's output - exp_linescore = { :away_runs => "1", :away_hits => "1", :away_errors => "0", - :home_runs => "0", :home_hits => "3", :home_errors => "0" } - exp_ing_ln_score = { :away => ["0", "0", "1"], :home => ["0", "0", "0"] } + exp_linescore = { away_runs: "1", away_hits: "1", away_errors: "0", + home_runs: "0", home_hits: "3", home_errors: "0" } + exp_ing_ln_score = { away: ["0", "0", "1"], home: ["0", "0", "0"] } exp_innings_cnt = exp_ing_ln_score.values[0].size exp_tmplayers_cnt = 9 # expected player count for each team diff --git a/Formula/chapel.rb b/Formula/chapel.rb index f8f0de855aaa4..5a784a44375e7 100644 --- a/Formula/chapel.rb +++ b/Formula/chapel.rb @@ -27,7 +27,7 @@ def install # Install chpl and other binaries (e.g. chpldoc) into bin/ as exec scripts. bin.install Dir[libexec/"bin/darwin/*"] - bin.env_script_all_files libexec/"bin/darwin/", :CHPL_HOME => libexec + bin.env_script_all_files libexec/"bin/darwin/", CHPL_HOME: libexec man1.install_symlink Dir["#{libexec}/man/man1/*.1"] end diff --git a/Formula/charm.rb b/Formula/charm.rb index fa72ded3cafdf..67a31da5d1688 100644 --- a/Formula/charm.rb +++ b/Formula/charm.rb @@ -18,12 +18,12 @@ class Charm < Formula go_resource "github.com/kisielk/gotool" do url "https://github.com/kisielk/gotool.git", - :revision => "94d5dba705240ba73ce5d65d83ce44adc749b440" + revision: "94d5dba705240ba73ce5d65d83ce44adc749b440" end go_resource "github.com/rogpeppe/godeps" do url "https://github.com/rogpeppe/godeps.git", - :revision => "c00f01a737f4f06e397ca86f67341cc345507221" + revision: "c00f01a737f4f06e397ca86f67341cc345507221" end def install diff --git a/Formula/checkbashisms.rb b/Formula/checkbashisms.rb index 41c565c419d5f..9b5429bae9911 100644 --- a/Formula/checkbashisms.rb +++ b/Formula/checkbashisms.rb @@ -4,7 +4,7 @@ class Checkbashisms < Formula url "https://launchpad.net/ubuntu/+archive/primary/+files/devscripts_2.15.8.tar.xz" sha256 "7d2df363f9a725096d281321e0c2a41e1613e645955c3956a78bd91715bc87ff" - head "lp:ubuntu/devscripts", :using => :bzr + head "lp:ubuntu/devscripts", using: :bzr bottle :unneeded diff --git a/Formula/choose-gui.rb b/Formula/choose-gui.rb index 657d8f03e4374..1753e3b7da9fc 100644 --- a/Formula/choose-gui.rb +++ b/Formula/choose-gui.rb @@ -10,10 +10,10 @@ class ChooseGui < Formula sha256 "fd41325edc44dde3a61c52e310b0faa35314ce9c331b04673f55b6ebd5da28ba" => :yosemite end - depends_on :macos => :yosemite - depends_on :xcode => :build + depends_on macos: :yosemite + depends_on xcode: :build - conflicts_with "choose", :because => "both install a `choose` binary" + conflicts_with "choose", because: "both install a `choose` binary" def install xcodebuild "SDKROOT=", "SYMROOT=build" diff --git a/Formula/choose.rb b/Formula/choose.rb index 10e58fd047dfe..924fc2c8e73bb 100644 --- a/Formula/choose.rb +++ b/Formula/choose.rb @@ -14,7 +14,7 @@ class Choose < Formula sha256 "47d5c12604878a2f3eb75da8c80a15d991b47129a17684fde8f02fe97f16e78b" => :mavericks end - conflicts_with "choose-gui", :because => "both install a `choose` binary" + conflicts_with "choose-gui", because: "both install a `choose` binary" resource "urwid" do url "https://pypi.python.org/packages/source/u/urwid/urwid-1.2.1.tar.gz" @@ -30,7 +30,7 @@ def install bin.install "choose" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/chrome-cli.rb b/Formula/chrome-cli.rb index 60791088331da..59147eb14acd4 100644 --- a/Formula/chrome-cli.rb +++ b/Formula/chrome-cli.rb @@ -14,8 +14,8 @@ class ChromeCli < Formula sha256 "ccdfa38c03563f671508958ec1be43ef47fa368e3bb7c78743964a809409acba" => :mountain_lion end - depends_on :xcode => :build - depends_on :macos => :mountain_lion + depends_on xcode: :build + depends_on macos: :mountain_lion def install # Release builds diff --git a/Formula/chromedriver.rb b/Formula/chromedriver.rb index 35720dc0b57d7..f3096398339c8 100644 --- a/Formula/chromedriver.rb +++ b/Formula/chromedriver.rb @@ -11,7 +11,7 @@ def install bin.install "chromedriver" end - plist_options :manual => "chromedriver" + plist_options manual: "chromedriver" def plist; <<-EOS.undent diff --git a/Formula/chuck.rb b/Formula/chuck.rb index 0d2ff2f25fa01..879356d976eed 100644 --- a/Formula/chuck.rb +++ b/Formula/chuck.rb @@ -11,7 +11,7 @@ class Chuck < Formula sha256 "cdaf6db6aa64715c6fa3aee979fa233a9fb9a2ff9d5d17650d0e3cc70290fcb0" => :mavericks end - depends_on :xcode => :build + depends_on xcode: :build def install system "make", "-C", "src", "osx" diff --git a/Formula/cig.rb b/Formula/cig.rb index 1a9a7012b66a2..295e159f63322 100644 --- a/Formula/cig.rb +++ b/Formula/cig.rb @@ -20,12 +20,12 @@ class Cig < Formula go_resource "github.com/kr/fs" do url "https://github.com/kr/fs.git", - :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b" + revision: "2788f0dbd16903de03cb8186e5c7d97b69ad387b" end go_resource "golang.org/x/tools" do url "https://github.com/golang/tools.git", - :revision => "473fd854f8276c0b22f17fb458aa8f1a0e2cf5f5" + revision: "473fd854f8276c0b22f17fb458aa8f1a0e2cf5f5" end def install diff --git a/Formula/civl.rb b/Formula/civl.rb index 61041a63cbe93..10cd10557bcb1 100644 --- a/Formula/civl.rb +++ b/Formula/civl.rb @@ -8,7 +8,7 @@ class Civl < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on "z3" def install diff --git a/Formula/clang-format.rb b/Formula/clang-format.rb index decd70d962649..e3d944c35a782 100644 --- a/Formula/clang-format.rb +++ b/Formula/clang-format.rb @@ -4,10 +4,10 @@ class ClangFormat < Formula version "2016-08-03" stable do - url "http://llvm.org/svn/llvm-project/llvm/tags/google/testing/2016-08-03/", :using => :svn + url "http://llvm.org/svn/llvm-project/llvm/tags/google/testing/2016-08-03/", using: :svn resource "clang" do - url "http://llvm.org/svn/llvm-project/cfe/tags/google/testing/2016-08-03/", :using => :svn + url "http://llvm.org/svn/llvm-project/cfe/tags/google/testing/2016-08-03/", using: :svn end resource "libcxx" do @@ -25,10 +25,10 @@ class ClangFormat < Formula end head do - url "http://llvm.org/svn/llvm-project/llvm/trunk/", :using => :svn + url "http://llvm.org/svn/llvm-project/llvm/trunk/", using: :svn resource "clang" do - url "http://llvm.org/svn/llvm-project/cfe/trunk/", :using => :svn + url "http://llvm.org/svn/llvm-project/cfe/trunk/", using: :svn end resource "libcxx" do diff --git a/Formula/clhep.rb b/Formula/clhep.rb index a88e60e0dc5e0..b5df6f8b0257e 100644 --- a/Formula/clhep.rb +++ b/Formula/clhep.rb @@ -12,7 +12,7 @@ class Clhep < Formula end head do - url "http://git.cern.ch/pub/CLHEP", :using => :git + url "http://git.cern.ch/pub/CLHEP", using: :git depends_on "automake" => :build depends_on "autoconf" => :build diff --git a/Formula/clipper.rb b/Formula/clipper.rb index bfeb5beb91c51..4067922988edd 100644 --- a/Formula/clipper.rb +++ b/Formula/clipper.rb @@ -19,7 +19,7 @@ def install bin.install "clipper" end - plist_options :manual => "clipper" + plist_options manual: "clipper" def plist; <<-EOS.undent diff --git a/Formula/clipsafe.rb b/Formula/clipsafe.rb index a3063576128c4..74ae6577a97e9 100644 --- a/Formula/clipsafe.rb +++ b/Formula/clipsafe.rb @@ -11,7 +11,7 @@ class Clipsafe < Formula sha256 "7ffe9cabd07551eba27db6bd00927a6653d71ebf8631186dc6b6876daa08a66b" => :mavericks end - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion resource "Crypt::Twofish" do url "https://cpan.metacpan.org/authors/id/A/AM/AMS/Crypt-Twofish-2.17.tar.gz" @@ -53,7 +53,7 @@ def install end bin.install "clipsafe" - bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec+"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/cloc.rb b/Formula/cloc.rb index fa50a341a847b..d88b853e12eb3 100644 --- a/Formula/cloc.rb +++ b/Formula/cloc.rb @@ -40,7 +40,7 @@ def install system "make", "-C", "Unix", "prefix=#{libexec}", "install" bin.install libexec/"bin/cloc" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) man1.install libexec/"share/man/man1/cloc.1" end diff --git a/Formula/clog.rb b/Formula/clog.rb index 7a4545a808b46..a5afaa7c7a9c8 100644 --- a/Formula/clog.rb +++ b/Formula/clog.rb @@ -3,7 +3,7 @@ class Clog < Formula homepage "https://taskwarrior.org/docs/clog/" url "https://tasktools.org/download/clog-1.3.0.tar.gz" sha256 "fed44a8d398790ab0cf426c1b006e7246e20f3fcd56c0ec4132d24b05d5d2018" - head "https://git.tasktools.org/scm/ut/clog.git", :branch => "1.4.0", :shallow => false + head "https://git.tasktools.org/scm/ut/clog.git", branch: "1.4.0", shallow: false bottle do cellar :any_skip_relocation diff --git a/Formula/closure-compiler.rb b/Formula/closure-compiler.rb index 78d8c88303e24..ce131292c432c 100644 --- a/Formula/closure-compiler.rb +++ b/Formula/closure-compiler.rb @@ -13,8 +13,8 @@ class ClosureCompiler < Formula sha256 "8c51e1b3b4a2af7650d5b0fe1c67577fa8b457c7656db85572a55e342f0fc044" => :mavericks end - depends_on :ant => :build - depends_on :java => "1.7+" + depends_on ant: :build + depends_on java: "1.7+" def install system "ant", "clean" diff --git a/Formula/closure-linter.rb b/Formula/closure-linter.rb index 71f64af9483cd..f8d652906b19d 100644 --- a/Formula/closure-linter.rb +++ b/Formula/closure-linter.rb @@ -31,7 +31,7 @@ def install system "python", *Language::Python.setup_install_args(libexec) bin.install Dir[libexec/"bin/*js*"] - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/clozure-cl.rb b/Formula/clozure-cl.rb index 50913815d5fc9..3eee7778e059d 100644 --- a/Formula/clozure-cl.rb +++ b/Formula/clozure-cl.rb @@ -8,7 +8,7 @@ class ClozureCl < Formula bottle :unneeded - conflicts_with "cclive", :because => "both install a ccl binary" + conflicts_with "cclive", because: "both install a ccl binary" def install if build.head? @@ -26,7 +26,7 @@ def install libexec.install Dir["*"] bin.install Dir["#{libexec}/scripts/ccl{,64}"] - bin.env_script_all_files(libexec/"bin", :CCL_DEFAULT_DIRECTORY => libexec) + bin.env_script_all_files(libexec/"bin", CCL_DEFAULT_DIRECTORY: libexec) end test do diff --git a/Formula/cmark.rb b/Formula/cmark.rb index 9364c580ef17d..3207cde266760 100644 --- a/Formula/cmark.rb +++ b/Formula/cmark.rb @@ -12,7 +12,7 @@ class Cmark < Formula end depends_on "cmake" => :build - depends_on :python3 => :build + depends_on python3: :build def install mkdir "build" do diff --git a/Formula/cntlm.rb b/Formula/cntlm.rb index 83200e60246af..68b9b68e5c271 100644 --- a/Formula/cntlm.rb +++ b/Formula/cntlm.rb @@ -24,7 +24,7 @@ def caveats "Edit #{etc}/cntlm.conf to configure Cntlm" end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/cocoapods.rb b/Formula/cocoapods.rb index 6772401a35132..b0105dc6fad20 100644 --- a/Formula/cocoapods.rb +++ b/Formula/cocoapods.rb @@ -35,7 +35,7 @@ def install system "gem", "install", "cocoapods-#{version}.gem" # Other executables don't work currently. bin.install libexec/"bin/pod", libexec/"bin/xcodeproj" - bin.env_script_all_files(libexec/"bin", :GEM_HOME => ENV["GEM_HOME"]) + bin.env_script_all_files(libexec/"bin", GEM_HOME: ENV["GEM_HOME"]) end test do diff --git a/Formula/codemod.rb b/Formula/codemod.rb index e7fb9148c260f..c52162c93a6b9 100644 --- a/Formula/codemod.rb +++ b/Formula/codemod.rb @@ -15,7 +15,7 @@ def install (libexec/"lib/python2.7/site-packages").mkpath system "python", *Language::Python.setup_install_args(libexec) bin.install libexec/"bin/codemod.py" => "codemod" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/collectd.rb b/Formula/collectd.rb index b38cc7aa808a2..d84f5f5f29a03 100644 --- a/Formula/collectd.rb +++ b/Formula/collectd.rb @@ -31,7 +31,7 @@ class Collectd < Formula depends_on "pkg-config" => :build depends_on "protobuf-c" => :optional - depends_on :java => :optional + depends_on java: :optional depends_on "net-snmp" fails_with :clang do @@ -60,7 +60,7 @@ def install system "make", "install" end - plist_options :manual => "#{HOMEBREW_PREFIX}/sbin/collectd -f -C #{HOMEBREW_PREFIX}/etc/collectd.conf" + plist_options manual: "#{HOMEBREW_PREFIX}/sbin/collectd -f -C #{HOMEBREW_PREFIX}/etc/collectd.conf" def plist; <<-EOS.undent diff --git a/Formula/colordiff.rb b/Formula/colordiff.rb index b0aa5552b0c71..8b12d656bfc23 100644 --- a/Formula/colordiff.rb +++ b/Formula/colordiff.rb @@ -13,7 +13,7 @@ class Colordiff < Formula sha256 "add0c4af1ad602b31f674b921435aa826951e125480220b6f66b8de406123345" => :mavericks end - conflicts_with "cdiff", :because => "both install `cdiff` binaries" + conflicts_with "cdiff", because: "both install `cdiff` binaries" patch :DATA diff --git a/Formula/colortail.rb b/Formula/colortail.rb index a06315230b2f3..fedb6c40cf2fa 100644 --- a/Formula/colortail.rb +++ b/Formula/colortail.rb @@ -2,7 +2,7 @@ class Colortail < Formula desc "Like tail(1), but with various colors for specified output" homepage "https://github.com/joakim666/colortail" url "https://github.com/joakim666/colortail.git", - :revision => "f44fce0dbfd6bd38cba03400db26a99b489505b5" + revision: "f44fce0dbfd6bd38cba03400db26a99b489505b5" version "0.3.4" bottle do diff --git a/Formula/commandbox.rb b/Formula/commandbox.rb index 0a44ade0fe4ae..8fa210250ad9b 100644 --- a/Formula/commandbox.rb +++ b/Formula/commandbox.rb @@ -6,7 +6,7 @@ class Commandbox < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" resource "apidocs" do url "http://downloads.ortussolutions.com/ortussolutions/commandbox/3.2.0/commandbox-apidocs-3.2.0.zip" diff --git a/Formula/conan.rb b/Formula/conan.rb index e5b9d8dfdec6f..e29c7a480595a 100644 --- a/Formula/conan.rb +++ b/Formula/conan.rb @@ -143,7 +143,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"]) end test do diff --git a/Formula/consul-template.rb b/Formula/consul-template.rb index d2b91c610d036..fa0e5f4c75ee5 100644 --- a/Formula/consul-template.rb +++ b/Formula/consul-template.rb @@ -4,8 +4,8 @@ class ConsulTemplate < Formula desc "Generic template rendering and notifications with Consul" homepage "https://github.com/hashicorp/consul-template" url "https://github.com/hashicorp/consul-template.git", - :tag => "v0.15.0", - :revision => "6dc5d0f9c4cbc62828c91a923482c2341d36acb3" + tag: "v0.15.0", + revision: "6dc5d0f9c4cbc62828c91a923482c2341d36acb3" head "https://github.com/hashicorp/consul-template.git" bottle do @@ -18,8 +18,8 @@ class ConsulTemplate < Formula devel do url "https://github.com/hashicorp/consul-template.git", - :tag => "v0.16.0-rc1", - :revision => "95065346ba9a95564536f2154dfb054c18cc5cc3" + tag: "v0.16.0-rc1", + revision: "95065346ba9a95564536f2154dfb054c18cc5cc3" version "0.16.0-rc1" end @@ -27,13 +27,13 @@ class ConsulTemplate < Formula go_resource "github.com/mitchellh/gox" do url "https://github.com/mitchellh/gox.git", - :revision => "6e9ee79eab7bb1b84155379b3f94ff9a87b344e4" + revision: "6e9ee79eab7bb1b84155379b3f94ff9a87b344e4" end # gox dependency go_resource "github.com/mitchellh/iochan" do url "https://github.com/mitchellh/iochan.git", - :revision => "87b45ffd0e9581375c491fef3d32130bb15c5bd7" + revision: "87b45ffd0e9581375c491fef3d32130bb15c5bd7" end def install diff --git a/Formula/consul.rb b/Formula/consul.rb index aa43f00f0d636..a3729f4249c38 100644 --- a/Formula/consul.rb +++ b/Formula/consul.rb @@ -2,11 +2,11 @@ class Consul < Formula desc "Tool for service discovery, monitoring and configuration" homepage "https://www.consul.io" url "https://github.com/hashicorp/consul.git", - :tag => "v0.7.0", - :revision => "a189091a3530051285c12c726ca28ea55e015336" + tag: "v0.7.0", + revision: "a189091a3530051285c12c726ca28ea55e015336" head "https://github.com/hashicorp/consul.git", - :shallow => false + shallow: false bottle do cellar :any_skip_relocation @@ -44,7 +44,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "consul agent -dev -advertise 127.0.0.1" + plist_options manual: "consul agent -dev -advertise 127.0.0.1" def plist; <<-EOS.undent diff --git a/Formula/contacts.rb b/Formula/contacts.rb index 5e4c4dc1224a4..45f6b22ab2e1a 100644 --- a/Formula/contacts.rb +++ b/Formula/contacts.rb @@ -16,7 +16,7 @@ class Contacts < Formula sha256 "842a3ef87a54aab40009788d034f6095f3c10223867d1b8d5b6e3c933b5e4800" => :lion end - depends_on :xcode => :build + depends_on xcode: :build def install system "make", "SDKROOT=#{MacOS.sdk_path}" diff --git a/Formula/cookiecutter.rb b/Formula/cookiecutter.rb index ba14dd8d5d09d..2bded660b6bea 100644 --- a/Formula/cookiecutter.rb +++ b/Formula/cookiecutter.rb @@ -84,7 +84,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"]) end test do diff --git a/Formula/coq.rb b/Formula/coq.rb index 281390e8be097..1bb87fa67cde6 100644 --- a/Formula/coq.rb +++ b/Formula/coq.rb @@ -1,7 +1,7 @@ class Camlp5TransitionalModeRequirement < Requirement fatal true - satisfy(:build_env => false) { !Tab.for_name("camlp5").with?("strict") } + satisfy(build_env: false) { !Tab.for_name("camlp5").with?("strict") } def message; <<-EOS.undent camlp5 must be compiled in transitional mode (instead of --strict mode): @@ -16,7 +16,7 @@ class Coq < Formula url "https://coq.inria.fr/distrib/8.5pl2/files/coq-8.5pl2.tar.gz" version "8.5pl2" sha256 "83239d1251bf6c54a9ca5045d738e469019b93ca601756bf982aab0654e4de73" - head "git://scm.gforge.inria.fr/coq/coq.git", :branch => "trunk" + head "git://scm.gforge.inria.fr/coq/coq.git", branch: "trunk" bottle do sha256 "774e14c3f3755fe94d20fc3c410b54239f3365b1e3961ec7a3066e59c87a3666" => :sierra diff --git a/Formula/corectl.rb b/Formula/corectl.rb index b9aa23b8c8cca..9ed58f3dfb837 100644 --- a/Formula/corectl.rb +++ b/Formula/corectl.rb @@ -3,7 +3,7 @@ class Corectl < Formula homepage "https://github.com/TheNewNormal/corectl" url "https://github.com/TheNewNormal/corectl/archive/v0.7.17.tar.gz" sha256 "915ae2988dc57bcf7f28e0ed6c2971ae6f83879daaadbb98bef3bad0b50039e4" - head "https://github.com/TheNewNormal/corectl.git", :branch => "golang" + head "https://github.com/TheNewNormal/corectl.git", branch: "golang" bottle do cellar :any_skip_relocation @@ -16,7 +16,7 @@ class Corectl < Formula depends_on "ocaml" => :build depends_on "aspcud" => :build depends_on "opam" => :build - depends_on :macos => :yosemite + depends_on macos: :yosemite def install ENV["GOPATH"] = buildpath diff --git a/Formula/corelocationcli.rb b/Formula/corelocationcli.rb index 2479c10598c6d..89f93802672c6 100644 --- a/Formula/corelocationcli.rb +++ b/Formula/corelocationcli.rb @@ -12,7 +12,7 @@ class Corelocationcli < Formula sha256 "e0a967b5f84f3b1d4bc799265f3692faab41ccf7f673749624051a8d87516389" => :mountain_lion end - depends_on :xcode => :build + depends_on xcode: :build def install xcodebuild "-project", "CoreLocationCLI.xcodeproj", "SYMROOT=build", "-sdk", "macosx#{MacOS.version}" diff --git a/Formula/coreutils.rb b/Formula/coreutils.rb index d01bd5ce70465..47ba6f35a7c69 100644 --- a/Formula/coreutils.rb +++ b/Formula/coreutils.rb @@ -26,9 +26,9 @@ class Coreutils < Formula depends_on "gmp" => :optional - conflicts_with "ganglia", :because => "both install `gstat` binaries" - conflicts_with "idutils", :because => "both install `gid` and `gid.1`" - conflicts_with "aardvark_shell_utils", :because => "both install `realpath` binaries" + conflicts_with "ganglia", because: "both install `gstat` binaries" + conflicts_with "idutils", because: "both install `gid` and `gid.1`" + conflicts_with "aardvark_shell_utils", because: "both install `realpath` binaries" def install # Work around unremovable, nested dirs bug that affects lots of diff --git a/Formula/corkscrew.rb b/Formula/corkscrew.rb index 9ee79be38f8d2..de8df485df01e 100644 --- a/Formula/corkscrew.rb +++ b/Formula/corkscrew.rb @@ -28,7 +28,7 @@ def install require "webrick/httpproxy" pid = fork do - proxy = WEBrick::HTTPProxyServer.new :Port => 8080 + proxy = WEBrick::HTTPProxyServer.new Port: 8080 proxy.start end diff --git a/Formula/cosi.rb b/Formula/cosi.rb index dfb951a158ad1..68bd0279e2629 100644 --- a/Formula/cosi.rb +++ b/Formula/cosi.rb @@ -17,47 +17,47 @@ class Cosi < Formula go_resource "github.com/BurntSushi/toml" do url "https://github.com/BurntSushi/toml.git", - :revision => "f0aeabca5a127c4078abb8c8d64298b147264b55" + revision: "f0aeabca5a127c4078abb8c8d64298b147264b55" end go_resource "github.com/daviddengcn/go-colortext" do url "https://github.com/daviddengcn/go-colortext.git", - :revision => "511bcaf42ccd42c38aba7427b6673277bf19e2a1" + revision: "511bcaf42ccd42c38aba7427b6673277bf19e2a1" end go_resource "github.com/dedis/crypto" do url "https://github.com/dedis/crypto.git", - :revision => "d9272cb478c0942e1d60049e6df219cba2067fcd" + revision: "d9272cb478c0942e1d60049e6df219cba2067fcd" end go_resource "github.com/dedis/protobuf" do url "https://github.com/dedis/protobuf.git", - :revision => "6948fbd96a0f1e4e96582003261cf647dc66c831" + revision: "6948fbd96a0f1e4e96582003261cf647dc66c831" end go_resource "github.com/montanaflynn/stats" do url "https://github.com/montanaflynn/stats.git", - :revision => "60dcacf48f43d6dd654d0ed94120ff5806c5ca5c" + revision: "60dcacf48f43d6dd654d0ed94120ff5806c5ca5c" end go_resource "github.com/satori/go.uuid" do url "https://github.com/satori/go.uuid.git", - :revision => "f9ab0dce87d815821e221626b772e3475a0d2749" + revision: "f9ab0dce87d815821e221626b772e3475a0d2749" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "0c607074acd38c5f23d1344dfe74c977464d1257" + revision: "0c607074acd38c5f23d1344dfe74c977464d1257" end go_resource "gopkg.in/codegangsta/cli.v1" do url "https://gopkg.in/codegangsta/cli.v1.git", - :revision => "01857ac33766ce0c93856370626f9799281c14f4" + revision: "01857ac33766ce0c93856370626f9799281c14f4" end go_resource "gopkg.in/dedis/cothority.v0" do url "https://gopkg.in/dedis/cothority.v0.git", - :revision => "e5eb384290e5fd98b8cb150a1348661aa2d49e2a" + revision: "e5eb384290e5fd98b8cb150a1348661aa2d49e2a" end def install diff --git a/Formula/couchdb-lucene.rb b/Formula/couchdb-lucene.rb index 5ef62351aa7c2..af8cb5f5a1153 100644 --- a/Formula/couchdb-lucene.rb +++ b/Formula/couchdb-lucene.rb @@ -62,7 +62,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/couchdb-lucene/bin/cl_run" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/couchdb-lucene/bin/cl_run" def plist; <<-EOS.undent diff --git a/Formula/couchdb.rb b/Formula/couchdb.rb index 8f04e934b7cf4..0b3a79d279294 100644 --- a/Formula/couchdb.rb +++ b/Formula/couchdb.rb @@ -182,7 +182,7 @@ def geocouch_caveats; <<-EOS.undent EOS end - plist_options :manual => "couchdb" + plist_options manual: "couchdb" def plist; <<-EOS.undent diff --git a/Formula/couchpotatoserver.rb b/Formula/couchpotatoserver.rb index 8744ecfbce1b8..ea466c718341a 100644 --- a/Formula/couchpotatoserver.rb +++ b/Formula/couchpotatoserver.rb @@ -17,7 +17,7 @@ def caveats "CouchPotatoServer defaults to port 5050." end - plist_options :manual => "couchpotatoserver" + plist_options manual: "couchpotatoserver" def plist; <<-EOS.undent diff --git a/Formula/cpprestsdk.rb b/Formula/cpprestsdk.rb index 3e3c2811f4c76..07abf22af4940 100644 --- a/Formula/cpprestsdk.rb +++ b/Formula/cpprestsdk.rb @@ -4,7 +4,7 @@ class Cpprestsdk < Formula url "https://github.com/Microsoft/cpprestsdk/archive/v2.8.0.tar.gz" sha256 "3d1c38aa7ef34b3d3e9a6e84d3866554fe48c3d9d9977896d18a7cfb80d5a4ea" - head "https://github.com/Microsoft/cpprestsdk.git", :branch => "development" + head "https://github.com/Microsoft/cpprestsdk.git", branch: "development" bottle do cellar :any diff --git a/Formula/creduce.rb b/Formula/creduce.rb index dad6ae86d6d09..0380df9f7ad24 100644 --- a/Formula/creduce.rb +++ b/Formula/creduce.rb @@ -17,7 +17,7 @@ class Creduce < Formula depends_on "delta" depends_on "llvm" - depends_on :macos => :mavericks + depends_on macos: :mavericks resource "Benchmark::Timer" do url "https://cpan.metacpan.org/authors/id/D/DC/DCOPPIT/Benchmark-Timer-0.7107.tar.gz" @@ -73,7 +73,7 @@ def install system "make" system "make", "install" - (bin/"creduce").write_env_script("#{libexec}/creduce", :PERL5LIB => ENV["PERL5LIB"]) + (bin/"creduce").write_env_script("#{libexec}/creduce", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/cromwell.rb b/Formula/cromwell.rb index a9dc5d1f77fc5..445a0e3c80966 100644 --- a/Formula/cromwell.rb +++ b/Formula/cromwell.rb @@ -11,7 +11,7 @@ class Cromwell < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on "akka" def install diff --git a/Formula/crush-tools.rb b/Formula/crush-tools.rb index 6e3a54eda9c69..6e6a7205a9158 100644 --- a/Formula/crush-tools.rb +++ b/Formula/crush-tools.rb @@ -21,8 +21,8 @@ class CrushTools < Formula depends_on "pcre" - conflicts_with "aggregate", :because => "both install an `aggregate` binary" - conflicts_with "num-utils", :because => "both install an `range` binary" + conflicts_with "aggregate", because: "both install an `aggregate` binary" + conflicts_with "num-utils", because: "both install an `range` binary" def install system "./bootstrap" if build.head? diff --git a/Formula/cryptol.rb b/Formula/cryptol.rb index f3cbd655cfbaf..22d2ab2b0fd43 100644 --- a/Formula/cryptol.rb +++ b/Formula/cryptol.rb @@ -20,7 +20,7 @@ class Cryptol < Formula depends_on "z3" => :run def install - install_cabal_package :using => ["alex", "happy"] + install_cabal_package using: ["alex", "happy"] end test do diff --git a/Formula/crystax-ndk.rb b/Formula/crystax-ndk.rb index ebce149564db0..c89eac066c1c4 100644 --- a/Formula/crystax-ndk.rb +++ b/Formula/crystax-ndk.rb @@ -17,7 +17,7 @@ class CrystaxNdk < Formula depends_on "android-sdk" => :recommended conflicts_with "android-ndk", - :because => "both install `ndk-build`, `ndk-gdb`, `ndk-stack`, `ndk-depends` and `ndk-which` binaries" + because: "both install `ndk-build`, `ndk-gdb`, `ndk-stack`, `ndk-depends` and `ndk-which` binaries" def install bin.mkpath diff --git a/Formula/cspice.rb b/Formula/cspice.rb index 3f0ff85cf337f..5ed8ce9ca5268 100644 --- a/Formula/cspice.rb +++ b/Formula/cspice.rb @@ -13,10 +13,10 @@ class Cspice < Formula sha256 "61e4b947ed7223919ae92ddfcaf1f64267ab8d27467bcfb4de51cbdd10edbaa1" => :mavericks end - conflicts_with "openhmd", :because => "both install `simple` binaries" - conflicts_with "libftdi0", :because => "both install `simple` binaries" - conflicts_with "enscript", :because => "both install `states` binaries" - conflicts_with "fondu", :because => "both install `tobin` binaries" + conflicts_with "openhmd", because: "both install `simple` binaries" + conflicts_with "libftdi0", because: "both install `simple` binaries" + conflicts_with "enscript", because: "both install `states` binaries" + conflicts_with "fondu", because: "both install `tobin` binaries" def install rm_f Dir["lib/*"] diff --git a/Formula/csup.rb b/Formula/csup.rb index b011f163f366c..8f85e941ee7f6 100644 --- a/Formula/csup.rb +++ b/Formula/csup.rb @@ -4,7 +4,7 @@ class Csup < Formula url "https://bitbucket.org/mux/csup/get/REL_20120305.tar.gz" sha256 "6b9a8fa2d2e70d89b2780cbc3f93375915571497f59c77230d4233a27eef77ef" revision 1 - head "https://bitbucket.org/mux/csup", :using => :hg + head "https://bitbucket.org/mux/csup", using: :hg bottle do cellar :any diff --git a/Formula/ctail.rb b/Formula/ctail.rb index 9635f58f5a413..6a4eda7756b64 100644 --- a/Formula/ctail.rb +++ b/Formula/ctail.rb @@ -12,7 +12,7 @@ class Ctail < Formula sha256 "dfab40d65950327c679bde97a335779526c58e99f5679f32f95e517a7249e332" => :mountain_lion end - conflicts_with "byobu", :because => "both install `ctail` binaries" + conflicts_with "byobu", because: "both install `ctail` binaries" depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/ctunnel.rb b/Formula/ctunnel.rb index 215b09a617c2f..759006b89c5e8 100644 --- a/Formula/ctunnel.rb +++ b/Formula/ctunnel.rb @@ -13,7 +13,7 @@ class Ctunnel < Formula end depends_on "openssl" - depends_on :tuntap => :optional + depends_on tuntap: :optional def install inreplace "Makefile.cfg", "TUNTAP=yes", "TUNTAP=no" if build.without? "tuntap" diff --git a/Formula/cxxtest.rb b/Formula/cxxtest.rb index c6f21a101770f..389d23625a363 100644 --- a/Formula/cxxtest.rb +++ b/Formula/cxxtest.rb @@ -23,7 +23,7 @@ def install system "python", *Language::Python.setup_install_args(prefix) end - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) include.install "cxxtest" doc.install Dir["doc/*"] diff --git a/Formula/czmq.rb b/Formula/czmq.rb index 4ebdc9308e353..b92ebf6d1efeb 100644 --- a/Formula/czmq.rb +++ b/Formula/czmq.rb @@ -26,7 +26,7 @@ class Czmq < Formula depends_on "pkg-config" => :build depends_on "libsodium" => :recommended - conflicts_with "mono", :because => "both install `makecert` binaries" + conflicts_with "mono", because: "both install `makecert` binaries" if build.without? "libsodium" depends_on "zeromq" => "without-libsodium" diff --git a/Formula/dark-mode.rb b/Formula/dark-mode.rb index af9d83472b19f..e835939ef2175 100644 --- a/Formula/dark-mode.rb +++ b/Formula/dark-mode.rb @@ -11,8 +11,8 @@ class DarkMode < Formula sha256 "f58b190cb89027daaea97e8cdc31bc4f097c51fef33e805751a1aef797871e5f" => :yosemite end - depends_on :macos => :yosemite - depends_on :xcode => :build + depends_on macos: :yosemite + depends_on xcode: :build def install xcodebuild "install", diff --git a/Formula/darkstat.rb b/Formula/darkstat.rb index e9ae553702181..f56b2ad331e22 100644 --- a/Formula/darkstat.rb +++ b/Formula/darkstat.rb @@ -13,7 +13,7 @@ class Darkstat < Formula end head do - url "https://www.unix4lyfe.org/git/darkstat", :using => :git + url "https://www.unix4lyfe.org/git/darkstat", using: :git depends_on "automake" => :build depends_on "autoconf" => :build end diff --git a/Formula/davix.rb b/Formula/davix.rb index 36972e6bda7bf..d505876eb9cb1 100644 --- a/Formula/davix.rb +++ b/Formula/davix.rb @@ -2,8 +2,8 @@ class Davix < Formula desc "Library and tools for advanced file I/O with HTTP-based protocols" homepage "https://dmc.web.cern.ch/projects/davix/home" url "https://github.com/cern-it-sdc-id/davix.git", - :revision => "fdfb0def157e19d674d3b7018c3c41fcc38106d7", - :tag => "R_0_6_4" + revision: "fdfb0def157e19d674d3b7018c3c41fcc38106d7", + tag: "R_0_6_4" version "0.6.4" head "https://github.com/cern-it-sdc-id/davix.git" diff --git a/Formula/dcadec.rb b/Formula/dcadec.rb index 5f9845591ca31..87fdf3452fb33 100644 --- a/Formula/dcadec.rb +++ b/Formula/dcadec.rb @@ -2,8 +2,8 @@ class Dcadec < Formula desc "DTS Coherent Acoustics decoder with support for HD extensions" homepage "https://github.com/foo86/dcadec" url "https://github.com/foo86/dcadec.git", - :tag => "v0.2.0", - :revision => "0e074384c9569e921f8facfe3863912cdb400596" + tag: "v0.2.0", + revision: "0e074384c9569e921f8facfe3863912cdb400596" head "https://github.com/foo86/dcadec.git" bottle do diff --git a/Formula/dcd.rb b/Formula/dcd.rb index b218c17be24bb..c50f4cc941c62 100644 --- a/Formula/dcd.rb +++ b/Formula/dcd.rb @@ -2,10 +2,10 @@ class Dcd < Formula desc "Auto-complete program for the D programming language" homepage "https://github.com/Hackerpilot/DCD" url "https://github.com/Hackerpilot/DCD.git", - :tag => "v0.8.0", - :revision => "f8f3024dda05e7f3d1a112adde1f99ec98649e78" + tag: "v0.8.0", + revision: "f8f3024dda05e7f3d1a112adde1f99ec98649e78" - head "https://github.com/Hackerpilot/dcd.git", :shallow => false + head "https://github.com/Hackerpilot/dcd.git", shallow: false bottle do sha256 "aa5bf3b36f947743dcdf6d3cad4e2973ad2d08746a9eb668a5477b8458090110" => :el_capitan @@ -15,8 +15,8 @@ class Dcd < Formula devel do url "https://github.com/Hackerpilot/DCD.git", - :tag => "v0.9.0-alpha4", - :revision => "c324ca9700d7ed9cf2f89c140b286ae9f325b977" + tag: "v0.9.0-alpha4", + revision: "c324ca9700d7ed9cf2f89c140b286ae9f325b977" version "0.9.0-alpha4" end diff --git a/Formula/ddar.rb b/Formula/ddar.rb index 87ee42b8c1a40..7cb22883a822c 100644 --- a/Formula/ddar.rb +++ b/Formula/ddar.rb @@ -25,7 +25,7 @@ def install "--single-version-externally-managed", "--record=installed.txt" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) man1.install Dir["*.1"] end end diff --git a/Formula/ddclient.rb b/Formula/ddclient.rb index d5912e9e15a82..a510266486f27 100644 --- a/Formula/ddclient.rb +++ b/Formula/ddclient.rb @@ -53,7 +53,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/derby.rb b/Formula/derby.rb index 99499b5bfb293..62211d62f77e1 100644 --- a/Formula/derby.rb +++ b/Formula/derby.rb @@ -7,21 +7,21 @@ class Derby < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install rm_rf Dir["bin/*.bat"] libexec.install %w[lib test index.html LICENSE NOTICE RELEASE-NOTES.html KEYS docs javadoc demo] bin.install Dir["bin/*"] bin.env_script_all_files(libexec/"bin", - Language::Java.overridable_java_home_env.merge(:DERBY_INSTALL => libexec.to_s, :DERBY_HOME => libexec.to_s)) + Language::Java.overridable_java_home_env.merge(DERBY_INSTALL: libexec.to_s, DERBY_HOME: libexec.to_s)) end def post_install (var/"derby").mkpath end - plist_options :manual => "DERBY_OPTS=-Dsystem.derby.home=#{HOMEBREW_PREFIX}/var/derby #{HOMEBREW_PREFIX}/bin/startNetworkServer" + plist_options manual: "DERBY_OPTS=-Dsystem.derby.home=#{HOMEBREW_PREFIX}/var/derby #{HOMEBREW_PREFIX}/bin/startNetworkServer" def plist; <<-EOS.undent diff --git a/Formula/devd.rb b/Formula/devd.rb index 907c26b9da892..ef5f65559fd05 100644 --- a/Formula/devd.rb +++ b/Formula/devd.rb @@ -18,118 +18,118 @@ class Devd < Formula go_resource "github.com/GeertJohan/go.rice" do url "https://github.com/GeertJohan/go.rice.git", - :revision => "0f3f5fde32fd1f755632a3d31ba2ec6d449e387b" + revision: "0f3f5fde32fd1f755632a3d31ba2ec6d449e387b" end # go.rice dependencies go_resource "github.com/daaku/go.zipexe" do url "https://github.com/daaku/go.zipexe.git", - :revision => "a5fe2436ffcb3236e175e5149162b41cd28bd27d" + revision: "a5fe2436ffcb3236e175e5149162b41cd28bd27d" end go_resource "github.com/GeertJohan/go.incremental" do url "https://github.com/GeertJohan/go.incremental.git", - :revision => "92fd0ce4a694213e8b3dfd2d39b16e51d26d0fbf" + revision: "92fd0ce4a694213e8b3dfd2d39b16e51d26d0fbf" end go_resource "github.com/akavel/rsrc" do url "https://github.com/akavel/rsrc.git", - :revision => "ba14da1f827188454a4591717fff29999010887f" + revision: "ba14da1f827188454a4591717fff29999010887f" end go_resource "github.com/jessevdk/go-flags" do url "https://github.com/jessevdk/go-flags.git", - :revision => "6b9493b3cb60367edd942144879646604089e3f7" + revision: "6b9493b3cb60367edd942144879646604089e3f7" end # devd dependencies go_resource "github.com/kardianos/osext" do url "https://github.com/kardianos/osext.git", - :revision => "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc" + revision: "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc" end go_resource "github.com/bmatcuk/doublestar" do # v1.0.3 url "https://github.com/bmatcuk/doublestar.git", - :revision => "ec3b4af762f792cb93bf2518ff9ac408dbdc2b4e" + revision: "ec3b4af762f792cb93bf2518ff9ac408dbdc2b4e" end go_resource "github.com/dustin/go-humanize" do url "https://github.com/dustin/go-humanize.git", - :revision => "8929fe90cee4b2cb9deb468b51fb34eba64d1bf0" + revision: "8929fe90cee4b2cb9deb468b51fb34eba64d1bf0" end go_resource "github.com/fatih/color" do url "https://github.com/fatih/color.git", - :revision => "533cd7fd8a85905f67a1753afb4deddc85ea174f" + revision: "533cd7fd8a85905f67a1753afb4deddc85ea174f" end go_resource "github.com/goji/httpauth" do url "https://github.com/goji/httpauth.git", - :revision => "fc389c3003535723411032f2e9300889389e30fa" + revision: "fc389c3003535723411032f2e9300889389e30fa" end go_resource "github.com/gorilla/websocket" do url "https://github.com/gorilla/websocket.git", - :revision => "e2e3d8414d0fbae04004f151979f4e27c6747fe7" + revision: "e2e3d8414d0fbae04004f151979f4e27c6747fe7" end go_resource "github.com/juju/ratelimit" do url "https://github.com/juju/ratelimit.git", - :revision => "77ed1c8a01217656d2080ad51981f6e99adaa177" + revision: "77ed1c8a01217656d2080ad51981f6e99adaa177" end go_resource "github.com/mitchellh/go-homedir" do url "https://github.com/mitchellh/go-homedir.git", - :revision => "d682a8f0cf139663a984ff12528da460ca963de9" + revision: "d682a8f0cf139663a984ff12528da460ca963de9" end go_resource "github.com/rjeczalik/notify" do url "https://github.com/rjeczalik/notify.git", - :revision => "5dd6205716539662f8f14ab513552b41eab69d5d" + revision: "5dd6205716539662f8f14ab513552b41eab69d5d" end go_resource "github.com/toqueteos/webbrowser" do # v1.0 url "https://github.com/toqueteos/webbrowser.git", - :revision => "21fc9f95c83442fd164094666f7cb4f9fdd56cd6" + revision: "21fc9f95c83442fd164094666f7cb4f9fdd56cd6" end go_resource "github.com/alecthomas/template" do url "https://github.com/alecthomas/template.git", - :revision => "14fd436dd20c3cc65242a9f396b61bfc8a3926fc" + revision: "14fd436dd20c3cc65242a9f396b61bfc8a3926fc" end go_resource "github.com/alecthomas/units" do url "https://github.com/alecthomas/units.git", - :revision => "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" + revision: "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6" + revision: "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "9d8ef8d73b53840886e4a772c72f2b7d396cb37c" + revision: "9d8ef8d73b53840886e4a772c72f2b7d396cb37c" end go_resource "gopkg.in/alecthomas/kingpin.v2" do # v2.1.11 url "https://github.com/alecthomas/kingpin.git", - :revision => "8cccfa8eb2e3183254457fb1749b2667fbc364c7" + revision: "8cccfa8eb2e3183254457fb1749b2667fbc364c7" end go_resource "github.com/cortesi/modd" do # v0.3 url "https://github.com/cortesi/modd.git", - :revision => "9383745c78c806f4d61096a1ff401433c30a4e14" + revision: "9383745c78c806f4d61096a1ff401433c30a4e14" end go_resource "github.com/cortesi/termlog" do url "https://github.com/cortesi/termlog.git", - :revision => "898fe0decfa430637283eebf1fd19d4f6ce0a531" + revision: "898fe0decfa430637283eebf1fd19d4f6ce0a531" end def install diff --git a/Formula/dfix.rb b/Formula/dfix.rb index d4b99167a6522..dc0406796ef75 100644 --- a/Formula/dfix.rb +++ b/Formula/dfix.rb @@ -2,9 +2,9 @@ class Dfix < Formula desc "Auto-upgrade tool for D source code" homepage "https://github.com/Hackerpilot/dfix" url "https://github.com/Hackerpilot/dfix.git", - :tag => "v0.3.1", - :revision => "d796fb0d04882dc31862a808e2cff03ff829b56a" - head "https://github.com/Hackerpilot/dfix.git", :shallow => false + tag: "v0.3.1", + revision: "d796fb0d04882dc31862a808e2cff03ff829b56a" + head "https://github.com/Hackerpilot/dfix.git", shallow: false bottle do sha256 "6b19da6a3db617b0dcce69a9c19b6b212e6f64adaacfe0e7296328c74aa8f398" => :el_capitan diff --git a/Formula/dfmt.rb b/Formula/dfmt.rb index 7380ef817ac7e..6829e9da4ae62 100644 --- a/Formula/dfmt.rb +++ b/Formula/dfmt.rb @@ -2,10 +2,10 @@ class Dfmt < Formula desc "Formatter for D source code" homepage "https://github.com/Hackerpilot/dfmt" url "https://github.com/Hackerpilot/dfmt.git", - :tag => "v0.4.5", - :revision => "4fe021df9771d83c325c879012842402a28ca5c7" + tag: "v0.4.5", + revision: "4fe021df9771d83c325c879012842402a28ca5c7" - head "https://github.com/Hackerpilot/dfmt.git", :shallow => false + head "https://github.com/Hackerpilot/dfmt.git", shallow: false bottle do sha256 "ebbad70fca15ca4dfe2ed7f2b790b6994e34ff460d74dc44da78c8fe2a7235d4" => :el_capitan @@ -15,8 +15,8 @@ class Dfmt < Formula devel do url "https://github.com/Hackerpilot/dfmt.git", - :tag => "v0.5.0-beta3", - :revision => "845358bb61603031b0817aed03097064c8f2553f" + tag: "v0.5.0-beta3", + revision: "845358bb61603031b0817aed03097064c8f2553f" version "0.5.0-beta3" end diff --git a/Formula/diffoscope.rb b/Formula/diffoscope.rb index 61e0cc09486d2..57af1ea846e19 100644 --- a/Formula/diffoscope.rb +++ b/Formula/diffoscope.rb @@ -47,8 +47,8 @@ def install system "python3", *Language::Python.setup_install_args(libexec) bin.install Dir[libexec/"bin/*"] libarchive = Formula["libarchive"].opt_lib/"libarchive.dylib" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"], - :LIBARCHIVE => libarchive) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"], + LIBARCHIVE: libarchive) end test do diff --git a/Formula/digdag.rb b/Formula/digdag.rb index 7e9e70a7a2651..81fccb79d6aac 100644 --- a/Formula/digdag.rb +++ b/Formula/digdag.rb @@ -6,7 +6,7 @@ class Digdag < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install libexec.install "digdag-#{version}.jar" => "digdag.jar" diff --git a/Formula/discount.rb b/Formula/discount.rb index e64d681d79b79..8b2febb301b73 100644 --- a/Formula/discount.rb +++ b/Formula/discount.rb @@ -14,8 +14,8 @@ class Discount < Formula option "with-fenced-code", "Enable Pandoc-style fenced code blocks." option "with-shared", "Install shared library" - conflicts_with "markdown", :because => "both install `markdown` binaries" - conflicts_with "multimarkdown", :because => "both install `markdown` binaries" + conflicts_with "markdown", because: "both install `markdown` binaries" + conflicts_with "multimarkdown", because: "both install `markdown` binaries" def install args = %W[ diff --git a/Formula/disktype.rb b/Formula/disktype.rb index cb92e90b4982f..e863f98857d06 100644 --- a/Formula/disktype.rb +++ b/Formula/disktype.rb @@ -3,7 +3,7 @@ class Disktype < Formula homepage "http://disktype.sourceforge.net/" url "https://downloads.sourceforge.net/project/disktype/disktype/9/disktype-9.tar.gz" sha256 "b6701254d88412bc5d2db869037745f65f94b900b59184157d072f35832c1111" - head ":pserver:anonymous:@disktype.cvs.sourceforge.net:/cvsroot/disktype", :using => :cvs + head ":pserver:anonymous:@disktype.cvs.sourceforge.net:/cvsroot/disktype", using: :cvs bottle do cellar :any_skip_relocation diff --git a/Formula/distcc.rb b/Formula/distcc.rb index e166d8aae1e87..e3a43893434cc 100644 --- a/Formula/distcc.rb +++ b/Formula/distcc.rb @@ -1,6 +1,6 @@ class PythonWithoutPPCRequirement < Requirement fatal true - satisfy(:build_env => false) { !archs_for_command("python").ppc? } + satisfy(build_env: false) { !archs_for_command("python").ppc? } def message "This software will not compile if your default Python is built with PPC support." diff --git a/Formula/ditaa.rb b/Formula/ditaa.rb index c6d18cc8cfc98..8970244ca326f 100644 --- a/Formula/ditaa.rb +++ b/Formula/ditaa.rb @@ -11,7 +11,7 @@ class Ditaa < Formula sha256 "966d0dfe96517d50de02c8c8c2d603084c105dc3ae837fe43e61c8481d42b3f8" => :mavericks end - depends_on :ant => :build + depends_on ant: :build depends_on :java def install diff --git a/Formula/dlite.rb b/Formula/dlite.rb index bd2a59c63b1d5..5a5eed93c8824 100644 --- a/Formula/dlite.rb +++ b/Formula/dlite.rb @@ -13,7 +13,7 @@ class Dlite < Formula # DLite depends on the Hypervisor framework which only works on # OS X versions 10.10 (Yosemite) or newer - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "go" => :build def install diff --git a/Formula/dnscrypt-proxy.rb b/Formula/dnscrypt-proxy.rb index 0c58077350a26..51fc69d4c27bb 100644 --- a/Formula/dnscrypt-proxy.rb +++ b/Formula/dnscrypt-proxy.rb @@ -102,7 +102,7 @@ def caveats s end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/dnsmasq.rb b/Formula/dnsmasq.rb index e3148ae11761f..081b9cb86656c 100644 --- a/Formula/dnsmasq.rb +++ b/Formula/dnsmasq.rb @@ -56,7 +56,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/dnstwist.rb b/Formula/dnstwist.rb index 219300135356f..d5bb44866c583 100644 --- a/Formula/dnstwist.rb +++ b/Formula/dnstwist.rb @@ -60,7 +60,7 @@ def install bin.install "dnstwist.py" => "dnstwist" (libexec/"bin/database").install "database/GeoIP.dat", "database/effective_tld_names.dat" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/docker-cloud.rb b/Formula/docker-cloud.rb index 715c0d4e08b9c..d72a6d94e2485 100644 --- a/Formula/docker-cloud.rb +++ b/Formula/docker-cloud.rb @@ -77,7 +77,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"]) end test do diff --git a/Formula/docker-compose.rb b/Formula/docker-compose.rb index dc9ab429eb62d..7157a9e54bb57 100644 --- a/Formula/docker-compose.rb +++ b/Formula/docker-compose.rb @@ -111,7 +111,7 @@ def install zsh_completion.install "contrib/completion/zsh/_docker-compose" 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 test do diff --git a/Formula/docker-machine-driver-xhyve.rb b/Formula/docker-machine-driver-xhyve.rb index 31c4198cdb9d5..e58213c9286af 100644 --- a/Formula/docker-machine-driver-xhyve.rb +++ b/Formula/docker-machine-driver-xhyve.rb @@ -2,8 +2,8 @@ class DockerMachineDriverXhyve < Formula desc "Docker Machine driver for xhyve" homepage "https://github.com/zchee/docker-machine-driver-xhyve" url "https://github.com/zchee/docker-machine-driver-xhyve.git", - :tag => "v0.2.3", - :revision => "45426155af2998e9cf8a5eca12158fcf4d1acfd3" + tag: "v0.2.3", + revision: "45426155af2998e9cf8a5eca12158fcf4d1acfd3" head "https://github.com/zchee/docker-machine-driver-xhyve.git" @@ -14,7 +14,7 @@ class DockerMachineDriverXhyve < Formula sha256 "dd8efbfed1d526d159355ed06273540c4e4db0ce3e683e475b7985efaf3e5084" => :yosemite end - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "go" => :build depends_on "docker-machine" => :recommended diff --git a/Formula/docker-machine.rb b/Formula/docker-machine.rb index 617918e374a64..dd095bc761f75 100644 --- a/Formula/docker-machine.rb +++ b/Formula/docker-machine.rb @@ -2,8 +2,8 @@ class DockerMachine < Formula desc "Create Docker hosts locally and on cloud providers" homepage "https://docs.docker.com/machine" url "https://github.com/docker/machine.git", - :tag => "v0.8.1", - :revision => "41b3b253352b8b355d668f5e12b5f329f88c3482" + tag: "v0.8.1", + revision: "41b3b253352b8b355d668f5e12b5f329f88c3482" head "https://github.com/docker/machine.git" bottle do @@ -30,7 +30,7 @@ def install end end - plist_options :manual => "docker-machine start" + plist_options manual: "docker-machine start" def plist; <<-EOS.undent diff --git a/Formula/docker.rb b/Formula/docker.rb index 0620be4327b24..e81a23fe5a386 100644 --- a/Formula/docker.rb +++ b/Formula/docker.rb @@ -2,8 +2,8 @@ class Docker < 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.12.1", - :revision => "23cf638307f030cd8d48c9efc21feec18a6f88f8" + tag: "v1.12.1", + revision: "23cf638307f030cd8d48c9efc21feec18a6f88f8" head "https://github.com/docker/docker.git" diff --git a/Formula/dockviz.rb b/Formula/dockviz.rb index 9b71e9dc2c467..cebad7daf2c01 100644 --- a/Formula/dockviz.rb +++ b/Formula/dockviz.rb @@ -4,8 +4,8 @@ class Dockviz < Formula desc "Visualizing docker data" homepage "https://github.com/justone/dockviz" url "https://github.com/justone/dockviz.git", - :tag => "v0.4.2", - :revision => "9863e97953bde4fc770c6f1a499513b01f907902" + tag: "v0.4.2", + revision: "9863e97953bde4fc770c6f1a499513b01f907902" head "https://github.com/justone/dockviz.git" bottle do @@ -19,47 +19,47 @@ class Dockviz < Formula go_resource "github.com/Sirupsen/logrus" do url "https://github.com/Sirupsen/logrus.git", - :revision => "f3cfb454f4c209e6668c95216c4744b8fddb2356" + revision: "f3cfb454f4c209e6668c95216c4744b8fddb2356" end go_resource "github.com/docker/docker" do url "https://github.com/docker/docker.git", - :revision => "1704914d7cf8318a69ba9712f664cd031b6e61f6" + revision: "1704914d7cf8318a69ba9712f664cd031b6e61f6" end go_resource "github.com/docker/engine-api" do url "https://github.com/docker/engine-api.git", - :revision => "de0bc7ec1a2b90b7191e63d3d6f06833188bbd85" + revision: "de0bc7ec1a2b90b7191e63d3d6f06833188bbd85" end go_resource "github.com/docker/go-units" do url "https://github.com/docker/go-units.git", - :revision => "f2d77a61e3c169b43402a0a1e84f06daf29b8190" + revision: "f2d77a61e3c169b43402a0a1e84f06daf29b8190" end go_resource "github.com/fsouza/go-dockerclient" do url "https://github.com/fsouza/go-dockerclient.git", - :revision => "3c8f092cb1e9d1e18a07c1d05d993e69a6676097" + revision: "3c8f092cb1e9d1e18a07c1d05d993e69a6676097" end go_resource "github.com/hashicorp/go-cleanhttp" do url "https://github.com/hashicorp/go-cleanhttp.git", - :revision => "ad28ea4487f05916463e2423a55166280e8254b5" + revision: "ad28ea4487f05916463e2423a55166280e8254b5" end go_resource "github.com/jessevdk/go-flags" do url "https://github.com/jessevdk/go-flags.git", - :revision => "b9b882a3990882b05e02765f5df2cd3ad02874ee" + revision: "b9b882a3990882b05e02765f5df2cd3ad02874ee" end go_resource "github.com/opencontainers/runc" do url "https://github.com/opencontainers/runc.git", - :revision => "42dfd606437b538ffde4f0640d433916bee928e3" + revision: "42dfd606437b538ffde4f0640d433916bee928e3" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revsion => "3f122ce3dbbe488b7e6a8bdb26f41edec852a40b" + revsion: "3f122ce3dbbe488b7e6a8bdb26f41edec852a40b" end def install diff --git a/Formula/dockward.rb b/Formula/dockward.rb index ba25799e486d3..d3681b41aeb34 100644 --- a/Formula/dockward.rb +++ b/Formula/dockward.rb @@ -19,27 +19,27 @@ class Dockward < Formula go_resource "github.com/Sirupsen/logrus" do url "https://github.com/Sirupsen/logrus.git", - :revision => "a26f43589d737684363ff856c5a0f9f24b946510" + revision: "a26f43589d737684363ff856c5a0f9f24b946510" end go_resource "github.com/docker/engine-api" do url "https://github.com/docker/engine-api.git", - :revision => "fba5dc8922bbc5098a0da24704c04ae3c4bf8b4a" + revision: "fba5dc8922bbc5098a0da24704c04ae3c4bf8b4a" end go_resource "github.com/docker/go-connections" do url "https://github.com/docker/go-connections.git", - :revision => "f549a9393d05688dff0992ef3efd8bbe6c628aeb" + revision: "f549a9393d05688dff0992ef3efd8bbe6c628aeb" end go_resource "github.com/docker/go-units" do url "https://github.com/docker/go-units.git", - :revision => "5d2041e26a699eaca682e2ea41c8f891e1060444" + revision: "5d2041e26a699eaca682e2ea41c8f891e1060444" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "042ba42fa6633b34205efc66ba5719cd3afd8d38" + revision: "042ba42fa6633b34205efc66ba5719cd3afd8d38" end def install diff --git a/Formula/docx2txt.rb b/Formula/docx2txt.rb index e63351bca1722..ffb3982889477 100644 --- a/Formula/docx2txt.rb +++ b/Formula/docx2txt.rb @@ -12,7 +12,7 @@ class Docx2txt < Formula end resource "sample_doc" do - url "https://calibre-ebook.com/downloads/demos/demo.docx", :using => :nounzip + url "https://calibre-ebook.com/downloads/demos/demo.docx", using: :nounzip sha256 "269329fc7ae54b3f289b3ac52efde387edc2e566ef9a48d637e841022c7e0eab" end diff --git a/Formula/doitlive.rb b/Formula/doitlive.rb index 1b9340d2fcacc..eca79365c992f 100644 --- a/Formula/doitlive.rb +++ b/Formula/doitlive.rb @@ -18,7 +18,7 @@ def install system "python", "setup.py", "install", "--prefix=#{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"]) end test do diff --git a/Formula/dovecot.rb b/Formula/dovecot.rb index 743ad873024fa..2c1fa40b3dfbc 100644 --- a/Formula/dovecot.rb +++ b/Formula/dovecot.rb @@ -26,7 +26,7 @@ class Dovecot < Formula resource "stemmer" do url "https://github.com/snowballstem/snowball.git", - :revision => "3b1f4c2ac4b924bb429f929d9decd3f50662a6e0" + revision: "3b1f4c2ac4b924bb429f929d9decd3f50662a6e0" end def install @@ -80,7 +80,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/doxymacs.rb b/Formula/doxymacs.rb index 4d9f27a11e82c..a7bbaf856d51e 100644 --- a/Formula/doxymacs.rb +++ b/Formula/doxymacs.rb @@ -18,7 +18,7 @@ class Doxymacs < Formula depends_on "automake" => :build end - depends_on :emacs => "20.7.1" + depends_on emacs: "20.7.1" depends_on "doxygen" def install diff --git a/Formula/dpkg.rb b/Formula/dpkg.rb index b83c13405f90e..bcc4e6df608a2 100644 --- a/Formula/dpkg.rb +++ b/Formula/dpkg.rb @@ -42,7 +42,7 @@ def install bin.install Dir[libexec/"bin/*"] man.install Dir[libexec/"share/man/*"] (lib/"pkgconfig").install_symlink Dir[libexec/"lib/pkgconfig/*.pc"] - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) (buildpath/"dummy").write "Vendor: dummy\n" (etc/"dpkg/origins").install "dummy" diff --git a/Formula/drip.rb b/Formula/drip.rb index 558a9e84db89a..991eb235b7ccb 100644 --- a/Formula/drip.rb +++ b/Formula/drip.rb @@ -11,7 +11,7 @@ class Drip < Formula sha256 "69207c24aa1f8e6ba406e6cc3f811cd7000ee14c713cc32b49d72f2c76a702bc" => :mavericks end - depends_on :java => "1.5+" + depends_on java: "1.5+" def install system "make" diff --git a/Formula/dshb.rb b/Formula/dshb.rb index 8f4f648c8e510..b7de9c8257557 100644 --- a/Formula/dshb.rb +++ b/Formula/dshb.rb @@ -10,7 +10,7 @@ class Dshb < Formula sha256 "94085328f6ef593ca0d00923fabfe43586c1c4b51eaf555ce9c7db9d7db1f486" => :yosemite end - depends_on :xcode => ["7.0", :build] + depends_on xcode: ["7.0", :build] def install system "make", "release" diff --git a/Formula/dub.rb b/Formula/dub.rb index 54f986fd9c4c2..dbca6b04c8a48 100644 --- a/Formula/dub.rb +++ b/Formula/dub.rb @@ -2,10 +2,10 @@ class Dub < Formula desc "Build tool for D projects" homepage "https://code.dlang.org/about" url "https://github.com/dlang/dub.git", - :tag => "v1.0.0", - :revision => "b59af2b8befb4fad4157d8c9cc86dba707b2fc87" + tag: "v1.0.0", + revision: "b59af2b8befb4fad4157d8c9cc86dba707b2fc87" - head "https://github.com/dlang/dub.git", :shallow => false + head "https://github.com/dlang/dub.git", shallow: false bottle do sha256 "51a032793dc4671d6c12172ef29c38c98998dcd4b6aa501be2a5d35248b27244" => :el_capitan diff --git a/Formula/duck.rb b/Formula/duck.rb index 5affce380ea65..8b71965bb2589 100644 --- a/Formula/duck.rb +++ b/Formula/duck.rb @@ -13,8 +13,8 @@ class Duck < Formula sha256 "6aaab98af32f261163510703ea45f15aeedc38fb81af648952a294ddf96c438a" => :mavericks end - depends_on :java => ["1.8+", :build] - depends_on :xcode => :build + depends_on java: ["1.8+", :build] + depends_on xcode: :build depends_on "ant" => :build def install diff --git a/Formula/duplicity.rb b/Formula/duplicity.rb index 0f3a605cbff6c..6245d5bb7c88e 100644 --- a/Formula/duplicity.rb +++ b/Formula/duplicity.rb @@ -19,7 +19,7 @@ class Duplicity < Formula depends_on "librsync" depends_on "openssl" depends_on "par2" => :optional - depends_on :gpg => :run + depends_on gpg: :run # Generated with homebrew-pypi-poet from # for i in boto pyrax dropbox mega.py paramiko pexpect pycrypto diff --git a/Formula/dvdrtools.rb b/Formula/dvdrtools.rb index 2e2ab7861761d..ef3bf7fd455b6 100644 --- a/Formula/dvdrtools.rb +++ b/Formula/dvdrtools.rb @@ -12,7 +12,7 @@ class Dvdrtools < Formula end conflicts_with "cdrtools", - :because => "both cdrtools and dvdrtools install binaries by the same name" + because: "both cdrtools and dvdrtools install binaries by the same name" # Below three patches via MacPorts. patch :p0 do diff --git a/Formula/dxpy.rb b/Formula/dxpy.rb index 0579a7c4b45ea..254927b44a5e4 100644 --- a/Formula/dxpy.rb +++ b/Formula/dxpy.rb @@ -16,7 +16,7 @@ class Dxpy < Formula depends_on :python if MacOS.version <= :snow_leopard - conflicts_with "android-sdk", :because => "both install `dx` binaries" + conflicts_with "android-sdk", because: "both install `dx` binaries" resource "beautifulsoup4" do url "https://files.pythonhosted.org/packages/26/79/ef9a8bcbec5abc4c618a80737b44b56f1cb393b40238574078c5002b97ce/beautifulsoup4-4.4.1.tar.gz" diff --git a/Formula/dynamodb-local.rb b/Formula/dynamodb-local.rb index 111fdf97445ed..5aa840e4590d8 100644 --- a/Formula/dynamodb-local.rb +++ b/Formula/dynamodb-local.rb @@ -44,7 +44,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "#{HOMEBREW_PREFIX}/bin/dynamodb-local" + plist_options manual: "#{HOMEBREW_PREFIX}/bin/dynamodb-local" def plist; <<-EOS.undent diff --git a/Formula/ec2-ami-tools.rb b/Formula/ec2-ami-tools.rb index cd575cf26a8e7..b0f04694095fb 100644 --- a/Formula/ec2-ami-tools.rb +++ b/Formula/ec2-ami-tools.rb @@ -9,7 +9,7 @@ class Ec2AmiTools < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:EC2_AMITOOL_HOME => libexec) + env = Language::Java.java_home_env.merge(EC2_AMITOOL_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| diff --git a/Formula/ec2-api-tools.rb b/Formula/ec2-api-tools.rb index 97d07ccffbc03..9ffedcaaa6dc4 100644 --- a/Formula/ec2-api-tools.rb +++ b/Formula/ec2-api-tools.rb @@ -9,7 +9,7 @@ class Ec2ApiTools < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:EC2_HOME => libexec) + env = Language::Java.java_home_env.merge(EC2_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| diff --git a/Formula/efl.rb b/Formula/efl.rb index df9489fd3c4f9..6dc4dc329452c 100644 --- a/Formula/efl.rb +++ b/Formula/efl.rb @@ -29,7 +29,7 @@ class Efl < Formula depends_on "dbus" depends_on "pulseaudio" depends_on "bullet" - depends_on :x11 => :optional + depends_on x11: :optional depends_on "webp" => :optional needs :cxx11 diff --git a/Formula/eiffelstudio.rb b/Formula/eiffelstudio.rb index 062b8ecc072c0..f9249a702e0e9 100644 --- a/Formula/eiffelstudio.rb +++ b/Formula/eiffelstudio.rb @@ -29,7 +29,7 @@ def install system "./make_images", ise_platform prefix.install Dir["Eiffel_16.05/*"] bin.mkpath - env = { :ISE_EIFFEL => prefix, :ISE_PLATFORM => ise_platform } + env = { ISE_EIFFEL: prefix, ISE_PLATFORM: ise_platform } (bin/"ec").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/ec", env) (bin/"ecb").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/ecb", env) (bin/"estudio").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/estudio", env) diff --git a/Formula/eigen.rb b/Formula/eigen.rb index fd266216801dd..9f03b64f5c8c1 100644 --- a/Formula/eigen.rb +++ b/Formula/eigen.rb @@ -3,7 +3,7 @@ class Eigen < Formula homepage "https://eigen.tuxfamily.org/" url "https://bitbucket.org/eigen/eigen/get/3.2.9.tar.bz2" sha256 "4d1e036ec1ed4f4805d5c6752b76072d67538889f4003fadf2f6e00a825845ff" - head "https://bitbucket.org/eigen/eigen", :using => :hg + head "https://bitbucket.org/eigen/eigen", using: :hg bottle do cellar :any_skip_relocation diff --git a/Formula/ejabberd.rb b/Formula/ejabberd.rb index d543b6838707b..e024a5fd134e3 100644 --- a/Formula/ejabberd.rb +++ b/Formula/ejabberd.rb @@ -62,7 +62,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "#{HOMEBREW_PREFIX}/sbin/ejabberdctl start" + plist_options manual: "#{HOMEBREW_PREFIX}/sbin/ejabberdctl start" def plist; <<-EOS.undent diff --git a/Formula/elasticsearch.rb b/Formula/elasticsearch.rb index eaf26b8ead3d3..500b32fd0fcc8 100644 --- a/Formula/elasticsearch.rb +++ b/Formula/elasticsearch.rb @@ -12,13 +12,13 @@ class Elasticsearch < Formula head do url "https://github.com/elasticsearch/elasticsearch.git" - depends_on :java => "1.8" + depends_on java: "1.8" depends_on "gradle" => :build end bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def cluster_name "elasticsearch_#{ENV["USER"]}" @@ -104,7 +104,7 @@ def caveats s end - plist_options :manual => "elasticsearch" + plist_options manual: "elasticsearch" def plist; <<-EOS.undent diff --git a/Formula/elb-tools.rb b/Formula/elb-tools.rb index 3b81b509a26fc..df5223ddfd43e 100644 --- a/Formula/elb-tools.rb +++ b/Formula/elb-tools.rb @@ -11,7 +11,7 @@ class ElbTools < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:AWS_ELB_HOME => libexec) + env = Language::Java.java_home_env.merge(AWS_ELB_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| diff --git a/Formula/elixir-build.rb b/Formula/elixir-build.rb index a80431b771d07..f5cf2eef25e95 100644 --- a/Formula/elixir-build.rb +++ b/Formula/elixir-build.rb @@ -7,7 +7,7 @@ class ElixirBuild < Formula bottle :unneeded - conflicts_with "narwhal", :because => "both install `json` binaries" + conflicts_with "narwhal", because: "both install `json` binaries" def install ENV["PREFIX"] = prefix diff --git a/Formula/emacs.rb b/Formula/emacs.rb index 4a25ed52efe9e..7ad6c1e1daf93 100644 --- a/Formula/emacs.rb +++ b/Formula/emacs.rb @@ -106,7 +106,7 @@ def caveats end end - plist_options :manual => "emacs" + plist_options manual: "emacs" def plist; <<-EOS.undent diff --git a/Formula/embulk.rb b/Formula/embulk.rb index 0f22b64f37910..b99302750a989 100644 --- a/Formula/embulk.rb +++ b/Formula/embulk.rb @@ -6,7 +6,7 @@ class Embulk < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install # Execute through /bin/bash to be compatible with OS X 10.9. diff --git a/Formula/emp.rb b/Formula/emp.rb index d884fde93d869..8ca0c10dfd69a 100644 --- a/Formula/emp.rb +++ b/Formula/emp.rb @@ -26,7 +26,7 @@ def install require "webrick" require "utils/json" - server = WEBrick::HTTPServer.new :Port => 8035 + server = WEBrick::HTTPServer.new Port: 8035 server.mount_proc "/apps/foo/releases" do |_req, res| resp = { "created_at" => "2015-10-12T0:00:00.00000000-00:00", diff --git a/Formula/emscripten.rb b/Formula/emscripten.rb index 7932381f63b01..e207c10103afe 100644 --- a/Formula/emscripten.rb +++ b/Formula/emscripten.rb @@ -25,14 +25,14 @@ class Emscripten < Formula end head do - url "https://github.com/kripken/emscripten.git", :branch => "incoming" + url "https://github.com/kripken/emscripten.git", branch: "incoming" resource "fastcomp" do - url "https://github.com/kripken/emscripten-fastcomp.git", :branch => "incoming" + url "https://github.com/kripken/emscripten-fastcomp.git", branch: "incoming" end resource "fastcomp-clang" do - url "https://github.com/kripken/emscripten-fastcomp-clang.git", :branch => "incoming" + url "https://github.com/kripken/emscripten-fastcomp-clang.git", branch: "incoming" end end diff --git a/Formula/enchant.rb b/Formula/enchant.rb index 9911b895fa387..d6090fa9f2c69 100644 --- a/Formula/enchant.rb +++ b/Formula/enchant.rb @@ -13,7 +13,7 @@ class Enchant < Formula end depends_on "pkg-config" => :build - depends_on :python => :optional + depends_on python: :optional depends_on "glib" depends_on "aspell" diff --git a/Formula/enscript.rb b/Formula/enscript.rb index 9fd4b3cb9e7aa..e30132ef73f11 100644 --- a/Formula/enscript.rb +++ b/Formula/enscript.rb @@ -18,7 +18,7 @@ class Enscript < Formula depends_on "gettext" - conflicts_with "cspice", :because => "both install `states` binaries" + conflicts_with "cspice", because: "both install `states` binaries" def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Formula/entr.rb b/Formula/entr.rb index 11bcad73146e4..bde59ad1a2966 100644 --- a/Formula/entr.rb +++ b/Formula/entr.rb @@ -13,8 +13,8 @@ class Entr < Formula end head do - url "https://bitbucket.org/eradman/entr", :using => :hg - depends_on :hg => :build + url "https://bitbucket.org/eradman/entr", using: :hg + depends_on hg: :build end def install diff --git a/Formula/eralchemy.rb b/Formula/eralchemy.rb index e7e8aa7c9f688..262447d8864be 100644 --- a/Formula/eralchemy.rb +++ b/Formula/eralchemy.rb @@ -16,7 +16,7 @@ class Eralchemy < Formula depends_on "pkg-config" => :build depends_on "graphviz" depends_on "openssl" - depends_on :postgresql => :optional + depends_on postgresql: :optional resource "pygraphviz" do url "https://pypi.python.org/packages/source/p/pygraphviz/pygraphviz-1.3.1.tar.gz" @@ -55,7 +55,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"]) end test do diff --git a/Formula/erlang.rb b/Formula/erlang.rb index fad57e0e9d87a..74ffc4d0db050 100644 --- a/Formula/erlang.rb +++ b/Formula/erlang.rb @@ -35,7 +35,7 @@ class Erlang < Formula depends_on "libtool" => :build depends_on "openssl" depends_on "fop" => :optional # enables building PDF docs - depends_on :java => :optional + depends_on java: :optional depends_on "wxmac" => :recommended # for GUI apps like observer fails_with :llvm diff --git a/Formula/es.rb b/Formula/es.rb index 94aeb9cdca98d..8e0f618eea2f6 100644 --- a/Formula/es.rb +++ b/Formula/es.rb @@ -16,7 +16,7 @@ class Es < Formula depends_on "readline" => :optional - conflicts_with "kes", :because => "both install 'es' binary" + conflicts_with "kes", because: "both install 'es' binary" def install args = %W[--prefix=#{prefix}] diff --git a/Formula/etcd.rb b/Formula/etcd.rb index fd2f0b362a9a6..ec9e2abfbcfdd 100644 --- a/Formula/etcd.rb +++ b/Formula/etcd.rb @@ -24,7 +24,7 @@ def install bin.install "bin/etcdctl" end - plist_options :manual => "etcd" + plist_options manual: "etcd" def plist; <<-EOS.undent diff --git a/Formula/euca2ools.rb b/Formula/euca2ools.rb index 00453a223e56f..f276624fd1207 100644 --- a/Formula/euca2ools.rb +++ b/Formula/euca2ools.rb @@ -50,7 +50,7 @@ def install system "python", "setup.py", "install", "--single-version-externally-managed", "--record=installed.txt", "--prefix=#{prefix}" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/euler-py.rb b/Formula/euler-py.rb index 403032b282529..0b3d11f148763 100644 --- a/Formula/euler-py.rb +++ b/Formula/euler-py.rb @@ -31,7 +31,7 @@ def install system "python", "setup.py", "install", "--prefix=#{prefix}", "--single-version-externally-managed", "--record=installed.txt" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/ex-vi.rb b/Formula/ex-vi.rb index 99c3f84273878..8dbda85ac856a 100644 --- a/Formula/ex-vi.rb +++ b/Formula/ex-vi.rb @@ -11,7 +11,7 @@ class ExVi < Formula end conflicts_with "vim", - :because => "ex-vi and vim both install bin/ex and bin/view" + because: "ex-vi and vim both install bin/ex and bin/view" def install system "make", "install", "INSTALL=/usr/bin/install", diff --git a/Formula/expat.rb b/Formula/expat.rb index 4b415cc699977..12eabb5f3014b 100644 --- a/Formula/expat.rb +++ b/Formula/expat.rb @@ -4,7 +4,7 @@ class Expat < Formula url "https://downloads.sourceforge.net/project/expat/expat/2.2.0/expat-2.2.0.tar.bz2" mirror "https://fossies.org/linux/www/expat-2.2.0.tar.bz2" sha256 "d9e50ff2d19b3538bd2127902a89987474e1a4db8e43a66a4d1a712ab9a504ff" - head ":pserver:anonymous:@expat.cvs.sourceforge.net:/cvsroot/expat", :using => :cvs + head ":pserver:anonymous:@expat.cvs.sourceforge.net:/cvsroot/expat", using: :cvs bottle do cellar :any diff --git a/Formula/exploitdb.rb b/Formula/exploitdb.rb index aa9c8cad9a8c9..94abd7e97a83b 100644 --- a/Formula/exploitdb.rb +++ b/Formula/exploitdb.rb @@ -2,8 +2,8 @@ class Exploitdb < Formula desc "The official Exploit Database" homepage "https://www.exploit-db.com/" url "https://github.com/offensive-security/exploit-database.git", - :tag => "2016-08-20", - :revision => "ae53a02150a104b1c03f205db6168cfd1efafb32" + tag: "2016-08-20", + revision: "ae53a02150a104b1c03f205db6168cfd1efafb32" version "2016-08-20" head "https://github.com/offensive-security/exploit-database.git" diff --git a/Formula/extract_url.rb b/Formula/extract_url.rb index c9d516af57f56..511e5ed4368fc 100644 --- a/Formula/extract_url.rb +++ b/Formula/extract_url.rb @@ -74,7 +74,7 @@ def install libexec.install "extract_url.pl" chmod 0755, libexec/"extract_url.pl" - (bin/"extract_url").write_env_script("#{libexec}/extract_url.pl", :PERL5LIB => ENV["PERL5LIB"]) + (bin/"extract_url").write_env_script("#{libexec}/extract_url.pl", PERL5LIB: ENV["PERL5LIB"]) man1.install "extract_url.1" end diff --git a/Formula/eye-d3.rb b/Formula/eye-d3.rb index 498a6ae5e7e09..1bb45dc3ef274 100644 --- a/Formula/eye-d3.rb +++ b/Formula/eye-d3.rb @@ -25,7 +25,7 @@ def install share.install "docs/plugins", "docs/api", "docs/cli.rst" 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 test do diff --git a/Formula/fabric.rb b/Formula/fabric.rb index 4cfd24448dc9b..44fdb652dac2b 100644 --- a/Formula/fabric.rb +++ b/Formula/fabric.rb @@ -41,7 +41,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"]) end test do diff --git a/Formula/fades.rb b/Formula/fades.rb index 2d03efb3766c4..b6a57300af360 100644 --- a/Formula/fades.rb +++ b/Formula/fades.rb @@ -21,7 +21,7 @@ def install system "python3", *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"]) end test do diff --git a/Formula/fail2ban.rb b/Formula/fail2ban.rb index 960907ab18c77..b841ad9646de6 100644 --- a/Formula/fail2ban.rb +++ b/Formula/fail2ban.rb @@ -54,7 +54,7 @@ def caveats EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/falcon.rb b/Formula/falcon.rb index a3494de71887a..9f3171202825c 100644 --- a/Formula/falcon.rb +++ b/Formula/falcon.rb @@ -24,7 +24,7 @@ class Falcon < Formula depends_on "pcre" conflicts_with "sdl", - :because => "Falcon optionally depends on SDL and then the build breaks. Fix it!" + because: "Falcon optionally depends on SDL and then the build breaks. Fix it!" def install args = std_cmake_args + %W[ diff --git a/Formula/fastbit.rb b/Formula/fastbit.rb index bf69797e6c303..fd0735314d78e 100644 --- a/Formula/fastbit.rb +++ b/Formula/fastbit.rb @@ -4,7 +4,7 @@ class Fastbit < Formula url "https://codeforge.lbl.gov/frs/download.php/416/fastbit-2.0.2.tar.gz" sha256 "a9d6254fcc32da6b91bf00285c7820869950bed25d74c993da49e1336fd381b4" head "https://codeforge.lbl.gov/anonscm/fastbit/trunk", - :using => :svn + using: :svn bottle do cellar :any @@ -17,7 +17,7 @@ class Fastbit < Formula depends_on :java needs :cxx11 - conflicts_with "iniparser", :because => "Both install `include/dictionary.h`" + conflicts_with "iniparser", because: "Both install `include/dictionary.h`" def install ENV.cxx11 diff --git a/Formula/fastd.rb b/Formula/fastd.rb index f7cfa97842414..89da6d2469d63 100644 --- a/Formula/fastd.rb +++ b/Formula/fastd.rb @@ -5,7 +5,7 @@ class Fastd < Formula sha256 "714ff09d7bd75f79783f744f6f8c5af2fe456c8cf876feaa704c205a73e043c9" revision 1 - head "https://git.universe-factory.net/fastd/", :using => :git + head "https://git.universe-factory.net/fastd/", using: :git bottle do cellar :any @@ -21,7 +21,7 @@ class Fastd < Formula depends_on "pkg-config" => :build depends_on "json-c" depends_on "openssl" => :optional - depends_on :tuntap => :optional + depends_on tuntap: :optional def install args = std_cmake_args diff --git a/Formula/fb-client.rb b/Formula/fb-client.rb index fbc5a2e2e2432..7537cdc17bfb4 100644 --- a/Formula/fb-client.rb +++ b/Formula/fb-client.rb @@ -4,7 +4,7 @@ class FbClient < Formula url "https://paste.xinu.at/data/client/fb-1.5.0.tar.gz" sha256 "205514e7ae6d2ce687c05a5f581248d0f06c29c4e8e004f768ba0b54a39ed2f3" - head "https://git.server-speed.net/users/flo/fb", :using => :git + head "https://git.server-speed.net/users/flo/fb", using: :git bottle do cellar :any_skip_relocation @@ -16,7 +16,7 @@ class FbClient < Formula depends_on "pkg-config" => :build - conflicts_with "findbugs", :because => "findbugs and fb-client both install a `fb` binary" + conflicts_with "findbugs", because: "findbugs and fb-client both install a `fb` binary" def install system "make", "PREFIX=#{prefix}", "install" diff --git a/Formula/fdroidserver.rb b/Formula/fdroidserver.rb index f69d541997b19..8fa5b2c4f0a12 100644 --- a/Formula/fdroidserver.rb +++ b/Formula/fdroidserver.rb @@ -11,7 +11,7 @@ class Fdroidserver < Formula sha256 "b82b7afb81d63e8a734111d9ebf86079cdcd9c60903c03f0057b281709af7aef" => :mavericks end - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on :python if MacOS.version <= :snow_leopard depends_on "freetype" depends_on "jpeg" @@ -82,7 +82,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end def caveats; <<-EOS.undent diff --git a/Formula/ffind.rb b/Formula/ffind.rb index 75165c598bfdb..4a9f4ca7511e2 100644 --- a/Formula/ffind.rb +++ b/Formula/ffind.rb @@ -7,7 +7,7 @@ class Ffind < Formula bottle :unneeded conflicts_with "sleuthkit", - :because => "both install a 'ffind' executable." + because: "both install a 'ffind' executable." def install bin.install "ffind" diff --git a/Formula/fftw.rb b/Formula/fftw.rb index 737e586136652..528aa80a51165 100644 --- a/Formula/fftw.rb +++ b/Formula/fftw.rb @@ -17,8 +17,8 @@ class Fftw < Formula option "with-mpi", "Enable MPI parallel transforms" option "with-openmp", "Enable OpenMP parallel transforms" - depends_on :fortran => :optional - depends_on :mpi => [:cc, :optional] + depends_on fortran: :optional + depends_on mpi: [:cc, :optional] needs :openmp if build.with? "openmp" def install diff --git a/Formula/filebeat.rb b/Formula/filebeat.rb index 2bb100ad2e225..038c32041a10a 100644 --- a/Formula/filebeat.rb +++ b/Formula/filebeat.rb @@ -33,7 +33,7 @@ def install EOS end - plist_options :manual => "filebeat" + plist_options manual: "filebeat" def plist; <<-EOS.undent diff --git a/Formula/findbugs.rb b/Formula/findbugs.rb index 54619aa427334..051e665cce96a 100644 --- a/Formula/findbugs.rb +++ b/Formula/findbugs.rb @@ -6,10 +6,10 @@ class Findbugs < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" conflicts_with "fb-client", - :because => "findbugs and fb-client both install a `fb` binary" + because: "findbugs and fb-client both install a `fb` binary" def install # Remove windows files diff --git a/Formula/fish.rb b/Formula/fish.rb index eb26888ed7459..afccfadb97fad 100644 --- a/Formula/fish.rb +++ b/Formula/fish.rb @@ -22,7 +22,7 @@ class Fish < Formula end head do - url "https://github.com/fish-shell/fish-shell.git", :shallow => false + url "https://github.com/fish-shell/fish-shell.git", shallow: false depends_on "autoconf" => :build depends_on "doxygen" => :build diff --git a/Formula/fits.rb b/Formula/fits.rb index 534a438adb632..576d6f7e23eb8 100644 --- a/Formula/fits.rb +++ b/Formula/fits.rb @@ -16,7 +16,7 @@ class Fits < Formula # provided jars may not be compatible with installed java, # but works when built from source depends_on "ant" => :build - depends_on :java => "1.7+" + depends_on java: "1.7+" def install system "ant" diff --git a/Formula/fizsh.rb b/Formula/fizsh.rb index 0faa743377a3b..c3978ef125227 100644 --- a/Formula/fizsh.rb +++ b/Formula/fizsh.rb @@ -1,7 +1,7 @@ class Fizsh < Formula desc "Fish-like front end for ZSH" homepage "https://github.com/zsh-users/fizsh" - head "https://github.com/zsh-users/fizsh", :using => :git + head "https://github.com/zsh-users/fizsh", using: :git stable do url "https://downloads.sourceforge.net/project/fizsh/fizsh-1.0.8.tar.gz" diff --git a/Formula/flake8.rb b/Formula/flake8.rb index 27e9250159054..19a004c12249e 100644 --- a/Formula/flake8.rb +++ b/Formula/flake8.rb @@ -6,7 +6,7 @@ class Flake8 < Formula url "https://files.pythonhosted.org/packages/b0/56/48727b2a6c92b7e632180cf2c1411a0de7cf4f636b4f844c6c46f7edc86b/flake8-3.0.4.tar.gz" sha256 "b4c210c998f07d6ff24325dd91fbc011f2c37bcd6bf576b188de01d8656e970d" - head "https://gitlab.com/PyCQA/flake8.git", :shallow => false + head "https://gitlab.com/PyCQA/flake8.git", shallow: false bottle do cellar :any_skip_relocation diff --git a/Formula/fluent-bit.rb b/Formula/fluent-bit.rb index 15652207fd321..7b64b071ab035 100644 --- a/Formula/fluent-bit.rb +++ b/Formula/fluent-bit.rb @@ -14,8 +14,8 @@ class FluentBit < Formula depends_on "cmake" => :build - conflicts_with "mbedtls", :because => "fluent-bit includes mbedtls libraries." - conflicts_with "msgpack", :because => "fluent-bit includes msgpack libraries." + conflicts_with "mbedtls", because: "fluent-bit includes mbedtls libraries." + conflicts_with "msgpack", because: "fluent-bit includes msgpack libraries." def install system "cmake", ".", "-DWITH_IN_MEM=OFF", *std_cmake_args diff --git a/Formula/flume.rb b/Formula/flume.rb index 0eb6b7fe02f58..222bc54ee77ff 100644 --- a/Formula/flume.rb +++ b/Formula/flume.rb @@ -7,14 +7,14 @@ class Flume < Formula bottle :unneeded depends_on "hadoop" - depends_on :java => "1.7+" + depends_on java: "1.7+" def install rm_f Dir["bin/*.cmd", "bin/*.ps1"] libexec.install %w[conf docs lib tools] bin.install Dir["bin/*"] bin.env_script_all_files(libexec/"bin", - Language::Java.java_home_env("1.7+").merge(:FLUME_HOME => libexec)) + Language::Java.java_home_env("1.7+").merge(FLUME_HOME: libexec)) end test do diff --git a/Formula/flvstreamer.rb b/Formula/flvstreamer.rb index 31c98e241dd9f..d4f2248e8362c 100644 --- a/Formula/flvstreamer.rb +++ b/Formula/flvstreamer.rb @@ -12,7 +12,7 @@ class Flvstreamer < Formula sha256 "26ba92a604070dd27301456d120121618865108b33089191cd7ddcee78fbc465" => :mavericks end - conflicts_with "rtmpdump", :because => "both install 'rtmpsrv', 'rtmpsuck' and 'streams' binary" + conflicts_with "rtmpdump", because: "both install 'rtmpsrv', 'rtmpsuck' and 'streams' binary" def install system "make", "posix" diff --git a/Formula/fobis.rb b/Formula/fobis.rb index 4fe0229b60957..4c23f7c4748ae 100644 --- a/Formula/fobis.rb +++ b/Formula/fobis.rb @@ -46,7 +46,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"]) end test do diff --git a/Formula/folly.rb b/Formula/folly.rb index 153b4e7d61b99..17bb5ccea8729 100644 --- a/Formula/folly.rb +++ b/Formula/folly.rb @@ -26,13 +26,13 @@ class Folly < Formula depends_on "openssl" # https://github.com/facebook/folly/issues/451 - depends_on :macos => :el_capitan + depends_on macos: :el_capitan needs :cxx11 # Known issue upstream. They're working on it: # https://github.com/facebook/folly/pull/445 - fails_with :gcc => "6" + fails_with gcc: "6" def install ENV.cxx11 diff --git a/Formula/fon-flash-cli.rb b/Formula/fon-flash-cli.rb index 8e2e236caeb0d..ee2eeec206dcc 100644 --- a/Formula/fon-flash-cli.rb +++ b/Formula/fon-flash-cli.rb @@ -13,7 +13,7 @@ class FonFlashCli < Formula end # requires at least the 10.11 SDK - depends_on :macos => :yosemite + depends_on macos: :yosemite def install cd "fon-flash" do diff --git a/Formula/fondu.rb b/Formula/fondu.rb index 93ede55d7099b..4bf2eb8b11da8 100644 --- a/Formula/fondu.rb +++ b/Formula/fondu.rb @@ -12,7 +12,7 @@ class Fondu < Formula sha256 "cc8bb3c5213b0b792929fa1658077da60717993f0dbdaa56c0fe6004930309f4" => :mavericks end - conflicts_with "cspice", :because => "both install `tobin` binaries" + conflicts_with "cspice", because: "both install `tobin` binaries" resource "cminch.ttf" do url "http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma/ttf/cminch.ttf" diff --git a/Formula/fontconfig.rb b/Formula/fontconfig.rb index b199e5b0c47c0..5942b6fde92a6 100644 --- a/Formula/fontconfig.rb +++ b/Formula/fontconfig.rb @@ -37,7 +37,7 @@ class Fontconfig < Formula end head do - url "https://anongit.freedesktop.org/git/fontconfig", :using => :git + url "https://anongit.freedesktop.org/git/fontconfig", using: :git depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/fontforge.rb b/Formula/fontforge.rb index 7c6bcaff68827..eac0aa074d524 100644 --- a/Formula/fontforge.rb +++ b/Formula/fontforge.rb @@ -37,7 +37,7 @@ class Fontforge < Formula resource "gnulib" do url "git://git.savannah.gnu.org/gnulib.git", - :revision => "29ea6d6fe2a699a32edbe29f44fe72e0c253fcee" + revision: "29ea6d6fe2a699a32edbe29f44fe72e0c253fcee" end fails_with :llvm do diff --git a/Formula/fonttools.rb b/Formula/fonttools.rb index fda8886b11632..a29621833663f 100644 --- a/Formula/fonttools.rb +++ b/Formula/fonttools.rb @@ -24,7 +24,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"]) end test do diff --git a/Formula/fop.rb b/Formula/fop.rb index d50c2f60685df..95823d1fa321e 100644 --- a/Formula/fop.rb +++ b/Formula/fop.rb @@ -11,7 +11,7 @@ class Fop < Formula sha256 "38602cef629a33f05149c3411ea6b82451deec872aa6cbe1fa8203ad2ee875fb" => :mavericks end - depends_on :java => "1.6+" + depends_on java: "1.6+" resource "hyph" do url "https://downloads.sourceforge.net/project/offo/offo-hyphenation-utf8/0.1/offo-hyphenation-fop-stable-utf8.zip" diff --git a/Formula/fossil.rb b/Formula/fossil.rb index 9f7ab549e6021..05f51d7a19a7b 100644 --- a/Formula/fossil.rb +++ b/Formula/fossil.rb @@ -4,7 +4,7 @@ class Fossil < Formula url "https://www.fossil-scm.org/download/fossil-src-1.35.tar.gz" sha256 "c1f92f925a87c9872cb40d166f56ba08b90edbab01a8546ff37025836136ba1d" - head "https://www.fossil-scm.org/", :using => :fossil + head "https://www.fossil-scm.org/", using: :fossil bottle do cellar :any @@ -17,7 +17,7 @@ class Fossil < Formula option "without-tcl", "Build without the tcl-th1 command bridge" depends_on "openssl" - depends_on :osxfuse => :optional + depends_on osxfuse: :optional def install args = [ diff --git a/Formula/freediameter.rb b/Formula/freediameter.rb index ee7589b83955a..767f6009fb48e 100644 --- a/Formula/freediameter.rb +++ b/Formula/freediameter.rb @@ -5,7 +5,7 @@ class Freediameter < Formula sha256 "0601a7f559af6596dff8e18f5c9b17bc66de50d8e05640aa64a3403a841cb228" revision 3 - head "http://www.freediameter.net/hg/freeDiameter", :using => :hg + head "http://www.freediameter.net/hg/freeDiameter", using: :hg bottle do sha256 "aa6f29018beafbe23e475334ed5be3718ba428e88b0741ef199d66cdaa988d08" => :el_capitan @@ -60,7 +60,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/freeimage.rb b/Formula/freeimage.rb index 1db332c51055f..862012b7b074b 100644 --- a/Formula/freeimage.rb +++ b/Formula/freeimage.rb @@ -1,7 +1,7 @@ class FreeimageHttpDownloadStrategy < CurlDownloadStrategy def stage # need to convert newlines or patch chokes - quiet_safe_system "/usr/bin/unzip", { :quiet_flag => "-qq" }, "-aa", cached_location + quiet_safe_system "/usr/bin/unzip", { quiet_flag: "-qq" }, "-aa", cached_location chdir end end @@ -10,7 +10,7 @@ class Freeimage < Formula desc "Library for FreeImage, a dependency-free graphics library" homepage "https://sourceforge.net/projects/freeimage" url "https://downloads.sourceforge.net/project/freeimage/Source%20Distribution/3.17.0/FreeImage3170.zip", - :using => FreeimageHttpDownloadStrategy + using: FreeimageHttpDownloadStrategy version "3.17.0" sha256 "fbfc65e39b3d4e2cb108c4ffa8c41fd02c07d4d436c594fff8dab1a6d5297f89" diff --git a/Formula/freeling.rb b/Formula/freeling.rb index f75780f0569bb..fd316dc69892c 100644 --- a/Formula/freeling.rb +++ b/Formula/freeling.rb @@ -18,7 +18,7 @@ class Freeling < Formula depends_on "boost" => "with-icu4c" depends_on "icu4c" - conflicts_with "hunspell", :because => "both install 'analyze' binary" + conflicts_with "hunspell", because: "both install 'analyze' binary" def install icu4c = Formula["icu4c"] diff --git a/Formula/freeswitch.rb b/Formula/freeswitch.rb index 63874de8e415c..c71beee4a79f6 100644 --- a/Formula/freeswitch.rb +++ b/Formula/freeswitch.rb @@ -2,8 +2,8 @@ class Freeswitch < Formula desc "Telephony platform to route various communication protocols" homepage "https://freeswitch.org" url "https://freeswitch.org/stash/scm/fs/freeswitch.git", - :tag => "v1.4.23", - :revision => "aaef0e298730d0f1cc11f2573bb6e6d999b0242d" + tag: "v1.4.23", + revision: "aaef0e298730d0f1cc11f2573bb6e6d999b0242d" head "https://freeswitch.org/stash/scm/fs/freeswitch.git" @@ -23,7 +23,7 @@ class Freeswitch < Formula depends_on "automake" => :build depends_on "libtool" => :build depends_on "pkg-config" => :build - depends_on :apr => :build + depends_on apr: :build depends_on "curl" depends_on "jpeg" @@ -197,7 +197,7 @@ def install end end - plist_options :manual => "freeswitch -nc --nonat" + plist_options manual: "freeswitch -nc --nonat" def plist; <<-EOS.undent diff --git a/Formula/frege-repl.rb b/Formula/frege-repl.rb index 1f0800d21a260..939e30600905a 100644 --- a/Formula/frege-repl.rb +++ b/Formula/frege-repl.rb @@ -7,7 +7,7 @@ class FregeRepl < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install rm_f Dir["bin/*.bat"] diff --git a/Formula/frege.rb b/Formula/frege.rb index c4336521eb9cb..5a14f195319c7 100644 --- a/Formula/frege.rb +++ b/Formula/frege.rb @@ -7,7 +7,7 @@ class Frege < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install Dir["*"] diff --git a/Formula/frescobaldi.rb b/Formula/frescobaldi.rb index 063034e6b9ec5..b22ff47b94b9e 100644 --- a/Formula/frescobaldi.rb +++ b/Formula/frescobaldi.rb @@ -44,7 +44,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"]) end def caveats; <<-EOS.undent diff --git a/Formula/fstar.rb b/Formula/fstar.rb index 15c471cb6ae38..cba8043d5bee1 100644 --- a/Formula/fstar.rb +++ b/Formula/fstar.rb @@ -2,8 +2,8 @@ class Fstar < Formula desc "Language with a type system for program verification" homepage "https://www.fstar-lang.org/" url "https://github.com/FStarLang/FStar.git", - :tag => "v0.9.2.0", - :revision => "2a8ce0b3dfbfb9703079aace0d73f2479f0d0ce2" + tag: "v0.9.2.0", + revision: "2a8ce0b3dfbfb9703079aace0d73f2479f0d0ce2" revision 1 head "https://github.com/FStarLang/FStar.git" diff --git a/Formula/ftjam.rb b/Formula/ftjam.rb index 8764f88708068..4ae42ff1db6d9 100644 --- a/Formula/ftjam.rb +++ b/Formula/ftjam.rb @@ -11,7 +11,7 @@ class Ftjam < Formula sha256 "554e527a1e52be6ebd9f5f1fbae4e8f648f750a179936e329238dee32b32520a" => :mavericks end - conflicts_with "jam", :because => "both install a `jam` binary" + conflicts_with "jam", because: "both install a `jam` binary" def install system "./configure", "--prefix=#{prefix}" diff --git a/Formula/fzf.rb b/Formula/fzf.rb index 85c88892b438f..2191728e9ce11 100644 --- a/Formula/fzf.rb +++ b/Formula/fzf.rb @@ -19,12 +19,12 @@ class Fzf < Formula go_resource "github.com/junegunn/go-shellwords" do url "https://github.com/junegunn/go-shellwords.git", - :revision => "35d512af75e283aae4ca1fc3d44b159ed66189a4" + revision: "35d512af75e283aae4ca1fc3d44b159ed66189a4" end go_resource "github.com/junegunn/go-runewidth" do url "https://github.com/junegunn/go-runewidth.git", - :revision => "63c378b851290989b19ca955468386485f118c65" + revision: "63c378b851290989b19ca955468386485f118c65" end def install diff --git a/Formula/galen.rb b/Formula/galen.rb index 96b9ff896d5f9..37851358115a4 100644 --- a/Formula/galen.rb +++ b/Formula/galen.rb @@ -6,7 +6,7 @@ class Galen < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install libexec.install "galen.jar" diff --git a/Formula/ganglia.rb b/Formula/ganglia.rb index f89c037d9e6d7..5276439e4c640 100644 --- a/Formula/ganglia.rb +++ b/Formula/ganglia.rb @@ -20,12 +20,12 @@ class Ganglia < Formula end depends_on "pkg-config" => :build - depends_on :apr => :build + depends_on apr: :build depends_on "confuse" depends_on "pcre" depends_on "rrdtool" - conflicts_with "coreutils", :because => "both install `gstat` binaries" + conflicts_with "coreutils", because: "both install `gstat` binaries" def install if build.head? diff --git a/Formula/gauge.rb b/Formula/gauge.rb index c1e65dc19fe43..b2392754e2696 100644 --- a/Formula/gauge.rb +++ b/Formula/gauge.rb @@ -19,7 +19,7 @@ class Gauge < Formula go_resource "github.com/getgauge/gauge_screenshot" do url "https://github.com/getgauge/gauge_screenshot.git", - :revision => "d04c2acc873b408211df8408f0217d4eafd327fe" + revision: "d04c2acc873b408211df8408f0217d4eafd327fe" end def install diff --git a/Formula/gdal.rb b/Formula/gdal.rb index ca6506d52ae3e..81000d91021ba 100644 --- a/Formula/gdal.rb +++ b/Formula/gdal.rb @@ -74,7 +74,7 @@ class Gdal < Formula depends_on "json-c" end - depends_on :java => ["1.7+", :optional, :build] + depends_on java: ["1.7+", :optional, :build] if build.with? "swig-java" depends_on "ant" => :build @@ -82,9 +82,9 @@ class Gdal < Formula end option "without-python", "Build without python2 support" - depends_on :python => :optional if MacOS.version <= :snow_leopard - depends_on :python3 => :optional - depends_on :fortran => :build if build.with?("python") || build.with?("python3") + depends_on python: :optional if MacOS.version <= :snow_leopard + depends_on python3: :optional + depends_on fortran: :build if build.with?("python") || build.with?("python3") # Extra linking libraries in configure test of armadillo may throw warning # see: https://trac.osgeo.org/gdal/ticket/5455 @@ -105,7 +105,7 @@ class Gdal < Formula resource "libkml" do # Until 1.3 is stable, use master branch url "https://github.com/google/libkml.git", - :revision => "9b50572641f671194e523ad21d0171ea6537426e" + revision: "9b50572641f671194e523ad21d0171ea6537426e" version "1.3-dev" end diff --git a/Formula/gdm.rb b/Formula/gdm.rb index 5b22b3686627b..19f8c7aba1c1c 100644 --- a/Formula/gdm.rb +++ b/Formula/gdm.rb @@ -18,7 +18,7 @@ class Gdm < Formula go_resource "golang.org/x/tools" do url "https://go.googlesource.com/tools.git", - :revision => "6f233b96dfbc53e33b302e31b88814cf74697ff6" + revision: "6f233b96dfbc53e33b302e31b88814cf74697ff6" end def install diff --git a/Formula/gearman.rb b/Formula/gearman.rb index 3cbbeae57c493..e445aa7c0daa3 100644 --- a/Formula/gearman.rb +++ b/Formula/gearman.rb @@ -23,8 +23,8 @@ class Gearman < Formula depends_on "boost" depends_on "libevent" depends_on "libpqxx" if build.with? "postgresql" - depends_on :mysql => :optional - depends_on :postgresql => :optional + depends_on mysql: :optional + depends_on postgresql: :optional depends_on "hiredis" => :optional depends_on "libmemcached" => :optional depends_on "openssl" => :optional @@ -80,7 +80,7 @@ def install system "make", "install" end - plist_options :manual => "gearmand -d" + plist_options manual: "gearmand -d" def plist; <<-EOS.undent diff --git a/Formula/genstats.rb b/Formula/genstats.rb index 2b8d398834a90..ad1c26937d6ff 100644 --- a/Formula/genstats.rb +++ b/Formula/genstats.rb @@ -11,7 +11,7 @@ class Genstats < Formula sha256 "d46142a806e13029120bfb1a038805b07dc88b191aed1cd41340f5f868168f92" => :mavericks end - depends_on :macos => :lion # uses strndup + depends_on macos: :lion # uses strndup def install # Tried to make this a patch. Applying the patch hunk would diff --git a/Formula/get-flash-videos.rb b/Formula/get-flash-videos.rb index b08133556fc47..27e3355365bcf 100644 --- a/Formula/get-flash-videos.rb +++ b/Formula/get-flash-videos.rb @@ -58,7 +58,7 @@ def install (lib/"perl5").install "blib/lib/FlashVideo" bin.install "bin/get_flash_videos" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) chmod 0755, libexec/"bin/get_flash_videos" man1.install "blib/man1/get_flash_videos.1" diff --git a/Formula/ghc.rb b/Formula/ghc.rb index 5f3838001cf11..ffbf8633537d1 100644 --- a/Formula/ghc.rb +++ b/Formula/ghc.rb @@ -18,7 +18,7 @@ class Ghc < Formula deprecated_option "tests" => "with-test" deprecated_option "with-tests" => "with-test" - depends_on :macos => :lion + depends_on macos: :lion depends_on "sphinx-doc" => :build if build.with? "docs" resource "gmp" do diff --git a/Formula/ghex.rb b/Formula/ghex.rb index c239fdd4c0f72..e7660ec8d9c00 100644 --- a/Formula/ghex.rb +++ b/Formula/ghex.rb @@ -14,7 +14,7 @@ class Ghex < Formula depends_on "intltool" => :build depends_on "itstool" => :build depends_on "libxml2" => [:build, "with-python"] - depends_on :python => :build if MacOS.version <= :snow_leopard + depends_on python: :build if MacOS.version <= :snow_leopard depends_on "gtk+3" depends_on "hicolor-icon-theme" diff --git a/Formula/ghi.rb b/Formula/ghi.rb index 93ff6f0f6b5c5..2a313abc26f41 100644 --- a/Formula/ghi.rb +++ b/Formula/ghi.rb @@ -7,7 +7,7 @@ class Ghi < Formula bottle :unneeded - depends_on :ruby => "1.8" + depends_on ruby: "1.8" depends_on "pygments.rb" => :ruby def install diff --git a/Formula/ghostscript.rb b/Formula/ghostscript.rb index 5dd108b98f63d..1319d1e9bb03d 100644 --- a/Formula/ghostscript.rb +++ b/Formula/ghostscript.rb @@ -23,7 +23,7 @@ class Ghostscript < Formula head do # Can't use shallow clone. Doing so = fatal errors. - url "git://git.ghostscript.com/ghostpdl.git", :shallow => false + url "git://git.ghostscript.com/ghostpdl.git", shallow: false resource "djvu" do url "git://git.code.sf.net/p/djvu/gsdjvu-git" @@ -41,7 +41,7 @@ class Ghostscript < Formula depends_on "pkg-config" => :build depends_on "little-cms2" depends_on "djvulibre" if build.with? "djvu" - depends_on :x11 => :optional + depends_on x11: :optional # https://sourceforge.net/projects/gs-fonts/ resource "fonts" do diff --git a/Formula/ghq.rb b/Formula/ghq.rb index 9afb7da59d609..0fbe16237a628 100644 --- a/Formula/ghq.rb +++ b/Formula/ghq.rb @@ -10,7 +10,7 @@ class Ghq < Formula go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "aca5b047ed14d17224157c3434ea93bf6cdaadee" + revision: "aca5b047ed14d17224157c3434ea93bf6cdaadee" end end @@ -27,7 +27,7 @@ class Ghq < Formula go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "1efa31f08b9333f1bd4882d61f9d668a70cd902e" + revision: "1efa31f08b9333f1bd4882d61f9d668a70cd902e" end end @@ -37,17 +37,17 @@ class Ghq < Formula go_resource "github.com/mitchellh/go-homedir" do url "https://github.com/mitchellh/go-homedir.git", - :revision => "981ab348d865cf048eb7d17e78ac7192632d8415" + revision: "981ab348d865cf048eb7d17e78ac7192632d8415" end go_resource "github.com/motemen/go-colorine" do url "https://github.com/motemen/go-colorine.git", - :revision => "49ff36b8fa42db28092361cd20dcefd0b03b1472" + revision: "49ff36b8fa42db28092361cd20dcefd0b03b1472" end go_resource "github.com/daviddengcn/go-colortext" do url "https://github.com/daviddengcn/go-colortext.git", - :revision => "3b18c8575a432453d41fdafb340099fff5bba2f7" + revision: "3b18c8575a432453d41fdafb340099fff5bba2f7" end def install diff --git a/Formula/giflib.rb b/Formula/giflib.rb index 2a3225c7f6c38..037f63b0334e8 100644 --- a/Formula/giflib.rb +++ b/Formula/giflib.rb @@ -20,7 +20,7 @@ class Giflib < Formula option :universal - depends_on :x11 => :optional + depends_on x11: :optional def install ENV.universal_binary if build.universal? diff --git a/Formula/giflossy.rb b/Formula/giflossy.rb index 3a7d51036f60d..38100e1d80270 100644 --- a/Formula/giflossy.rb +++ b/Formula/giflossy.rb @@ -14,13 +14,13 @@ class Giflossy < Formula end conflicts_with "gifsicle", - :because => "both install an `gifsicle` binary" + because: "both install an `gifsicle` binary" option "with-x11", "Install gifview" depends_on "autoconf" => :build depends_on "automake" => :build - depends_on :x11 => :optional + depends_on x11: :optional def install args = %W[ diff --git a/Formula/gifsicle.rb b/Formula/gifsicle.rb index 0b9ea0e705c9d..939d5eac3a26e 100644 --- a/Formula/gifsicle.rb +++ b/Formula/gifsicle.rb @@ -21,11 +21,11 @@ class Gifsicle < Formula end conflicts_with "giflossy", - :because => "both install an `gifsicle` binary" + because: "both install an `gifsicle` binary" option "with-x11", "Install gifview" - depends_on :x11 => :optional + depends_on x11: :optional def install args = %W[ diff --git a/Formula/git-annex.rb b/Formula/git-annex.rb index 7b4cbb661395c..d0e0786683852 100644 --- a/Formula/git-annex.rb +++ b/Formula/git-annex.rb @@ -33,7 +33,7 @@ def install # Can be removed once prowdsponsor/esqueleto#137 is resolved inreplace "git-annex.cabal", "persistent (< 2.5)", "persistent (== 2.2.4.1)" - install_cabal_package :using => ["alex", "happy", "c2hs"], :flags => ["s3", "webapp"] do + install_cabal_package using: ["alex", "happy", "c2hs"], flags: ["s3", "webapp"] do # this can be made the default behavior again once git-union-merge builds properly when bottling if build.with? "git-union-merge" system "make", "git-union-merge", "PREFIX=#{prefix}" diff --git a/Formula/git-credential-manager.rb b/Formula/git-credential-manager.rb index 32940a68d6d5d..12655371e8033 100644 --- a/Formula/git-credential-manager.rb +++ b/Formula/git-credential-manager.rb @@ -6,7 +6,7 @@ class GitCredentialManager < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install libexec.install "git-credential-manager-#{version}.jar" diff --git a/Formula/git-extras.rb b/Formula/git-extras.rb index edc00e06c2550..b6c9fa9dea025 100644 --- a/Formula/git-extras.rb +++ b/Formula/git-extras.rb @@ -21,9 +21,9 @@ class GitExtras < Formula end conflicts_with "git-town", - :because => "git-extras also ships a git-sync binary" + because: "git-extras also ships a git-sync binary" conflicts_with "git-utils", - :because => "both install a `git-pull-request` script" + because: "both install a `git-pull-request` script" def install system "make", "PREFIX=#{prefix}", "install" diff --git a/Formula/git-fixup.rb b/Formula/git-fixup.rb index 7383e64390a03..095d271c4f966 100644 --- a/Formula/git-fixup.rb +++ b/Formula/git-fixup.rb @@ -4,7 +4,7 @@ class GitFixup < Formula url "https://github.com/keis/git-fixup/archive/v1.1.1.tar.gz" sha256 "1843caf40fb54bfd746f966fc04fac68613fe8ec2f18b2af99f9d32a40ea0809" - head "https://github.com/keis/git-fixup.git", :branch => "master" + head "https://github.com/keis/git-fixup.git", branch: "master" bottle do cellar :any_skip_relocation diff --git a/Formula/git-flow-avh.rb b/Formula/git-flow-avh.rb index d655063eaa7b7..0a6297061d434 100644 --- a/Formula/git-flow-avh.rb +++ b/Formula/git-flow-avh.rb @@ -20,16 +20,16 @@ class GitFlowAvh < Formula end head do - url "https://github.com/petervanderdoes/gitflow-avh.git", :branch => "develop" + url "https://github.com/petervanderdoes/gitflow-avh.git", branch: "develop" resource "completion" do - url "https://github.com/petervanderdoes/git-flow-completion.git", :branch => "develop" + url "https://github.com/petervanderdoes/git-flow-completion.git", branch: "develop" end end depends_on "gnu-getopt" - conflicts_with "git-flow", :because => "Both install `git-flow` binaries and completions" + conflicts_with "git-flow", because: "Both install `git-flow` binaries and completions" def install system "make", "prefix=#{libexec}", "install" diff --git a/Formula/git-flow.rb b/Formula/git-flow.rb index e31b55aa07010..ff14b63446264 100644 --- a/Formula/git-flow.rb +++ b/Formula/git-flow.rb @@ -5,8 +5,8 @@ class GitFlow < Formula stable do # Use the tag instead of the tarball to get submodules url "https://github.com/nvie/gitflow.git", - :tag => "0.4.1", - :revision => "1ffb6b1091f05466d3cd27f2da9c532a38586ed5" + tag: "0.4.1", + revision: "1ffb6b1091f05466d3cd27f2da9c532a38586ed5" resource "completion" do url "https://github.com/bobthecow/git-flow-completion/archive/0.4.2.2.tar.gz" @@ -24,14 +24,14 @@ class GitFlow < Formula end head do - url "https://github.com/nvie/gitflow.git", :branch => "develop" + url "https://github.com/nvie/gitflow.git", branch: "develop" resource "completion" do - url "https://github.com/bobthecow/git-flow-completion.git", :branch => "develop" + url "https://github.com/bobthecow/git-flow-completion.git", branch: "develop" end end - conflicts_with "git-flow-avh", :because => "Both install `git-flow` binaries and completions" + conflicts_with "git-flow-avh", because: "Both install `git-flow` binaries and completions" def install system "make", "prefix=#{libexec}", "install" diff --git a/Formula/git-ftp.rb b/Formula/git-ftp.rb index b5b54d9c8dc47..aecdd06e578f1 100644 --- a/Formula/git-ftp.rb +++ b/Formula/git-ftp.rb @@ -4,7 +4,7 @@ class GitFtp < Formula url "https://github.com/git-ftp/git-ftp/archive/1.2.0.tar.gz" sha256 "c0279c85f3f8533eb47e24d3ba9055af3804c613cc9076b7901bf7a1da82a95c" - head "https://github.com/git-ftp/git-ftp.git", :branch => "develop" + head "https://github.com/git-ftp/git-ftp.git", branch: "develop" bottle do cellar :any_skip_relocation diff --git a/Formula/git-now.rb b/Formula/git-now.rb index b3c4fb5f12d12..0316b89ca179d 100644 --- a/Formula/git-now.rb +++ b/Formula/git-now.rb @@ -2,8 +2,8 @@ class GitNow < Formula desc "Light, temporary commits for git" homepage "https://github.com/iwata/git-now" url "https://github.com/iwata/git-now.git", - :tag => "v0.1.1.0", - :revision => "a07a05893b9ddf784833b3d4b410c843633d0f71" + tag: "v0.1.1.0", + revision: "a07a05893b9ddf784833b3d4b410c843633d0f71" head "https://github.com/iwata/git-now.git" diff --git a/Formula/git-plus.rb b/Formula/git-plus.rb index 4d148d25cbab4..a8f1fe234b9d8 100644 --- a/Formula/git-plus.rb +++ b/Formula/git-plus.rb @@ -14,7 +14,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"]) end test do diff --git a/Formula/git-review.rb b/Formula/git-review.rb index 70b1fff7fb6eb..aabb9001b1553 100644 --- a/Formula/git-review.rb +++ b/Formula/git-review.rb @@ -31,7 +31,7 @@ def install man1.install gzip("git-review.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 test do diff --git a/Formula/git-secret.rb b/Formula/git-secret.rb index 8d3aff4a8e020..2cd9fa7cda906 100644 --- a/Formula/git-secret.rb +++ b/Formula/git-secret.rb @@ -14,7 +14,7 @@ class GitSecret < Formula sha256 "f6a410b125f8bed9125e6fe2c6fb741353725860c023665e272e8d57e28be245" => :mavericks end - depends_on :gpg => :recommended + depends_on gpg: :recommended def install system "make", "build" diff --git a/Formula/git-tf.rb b/Formula/git-tf.rb index 8c5ba3f1faa99..5bbdef208d8d4 100644 --- a/Formula/git-tf.rb +++ b/Formula/git-tf.rb @@ -5,7 +5,7 @@ class GitTf < Formula sha256 "91fd12e7db19600cc908e59b82104dbfbb0dbfba6fd698804a8330d6103aae74" head do - url "https://git01.codeplex.com/gittf", :using => :git + url "https://git01.codeplex.com/gittf", using: :git depends_on "maven" => :build end diff --git a/Formula/git-town.rb b/Formula/git-town.rb index 7b916c8fceee8..c3d4155ef3540 100644 --- a/Formula/git-town.rb +++ b/Formula/git-town.rb @@ -6,7 +6,7 @@ class GitTown < Formula bottle :unneeded - conflicts_with "git-extras", :because => "git-town also ships a git-sync binary" + conflicts_with "git-extras", because: "git-town also ships a git-sync binary" def install libexec.install Dir["src/*"] diff --git a/Formula/git-utils.rb b/Formula/git-utils.rb index 30a1b5d9b400a..97d2040b7ebf7 100644 --- a/Formula/git-utils.rb +++ b/Formula/git-utils.rb @@ -9,7 +9,7 @@ class GitUtils < Formula bottle :unneeded conflicts_with "git-extras", - :because => "both install a `git-pull-request` script" + because: "both install a `git-pull-request` script" def install bin.install Dir["git-*"] diff --git a/Formula/git.rb b/Formula/git.rb index 8a2930922f0d5..a959ea2b0c104 100644 --- a/Formula/git.rb +++ b/Formula/git.rb @@ -4,7 +4,7 @@ class Git < Formula url "https://www.kernel.org/pub/software/scm/git/git-2.10.0.tar.xz" sha256 "c73364ac00ae85ffc6cfb12ca2700bb0edf30f63262be97be4039be594ff29e7" - head "https://github.com/git/git.git", :shallow => false + head "https://github.com/git/git.git", shallow: false bottle do sha256 "50caece160035cd468aad456281d9e745cfc6871d4ef044953f6a2dab9ec2abd" => :sierra diff --git a/Formula/gitbucket.rb b/Formula/gitbucket.rb index 999ebf740a624..cda770d829b85 100644 --- a/Formula/gitbucket.rb +++ b/Formula/gitbucket.rb @@ -6,12 +6,12 @@ class Gitbucket < Formula head do url "https://github.com/gitbucket/gitbucket.git" - depends_on :ant => :build + depends_on ant: :build end bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install if build.head? @@ -27,7 +27,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "java -jar #{HOMEBREW_PREFIX}/opt/gitbucket/libexec/gitbucket.war" + plist_options manual: "java -jar #{HOMEBREW_PREFIX}/opt/gitbucket/libexec/gitbucket.war" def plist; <<-EOS.undent diff --git a/Formula/giter8.rb b/Formula/giter8.rb index d052ca5a63efd..b7f08ba13d8f6 100644 --- a/Formula/giter8.rb +++ b/Formula/giter8.rb @@ -11,11 +11,11 @@ class Giter8 < Formula sha256 "56430765ef7a29fe7929e17b4a4da636f514920c5b92349009b9d784e8ad723c" => :mavericks end - depends_on :java => "1.6+" + depends_on java: "1.6+" resource "conscript" do url "https://github.com/foundweekends/conscript.git", - :revision => "f7ee8b5bc3b00592adbd09c878b6649b624f141c" + revision: "f7ee8b5bc3b00592adbd09c878b6649b624f141c" end resource "launcher" do diff --git a/Formula/gitg.rb b/Formula/gitg.rb index 162df11390d4f..e8e783f276d04 100644 --- a/Formula/gitg.rb +++ b/Formula/gitg.rb @@ -26,7 +26,7 @@ class Gitg < Formula depends_on "gtkspell3" depends_on "hicolor-icon-theme" depends_on "gnome-icon-theme" - depends_on :python3 => :optional + depends_on python3: :optional depends_on "pygobject3" => "with-python3" if build.with?("python3") def install diff --git a/Formula/github-markdown-toc.rb b/Formula/github-markdown-toc.rb index 89ab361ae7c9e..32d4c19b5290c 100644 --- a/Formula/github-markdown-toc.rb +++ b/Formula/github-markdown-toc.rb @@ -17,17 +17,17 @@ class GithubMarkdownToc < Formula go_resource "github.com/alecthomas/template" do url "https://github.com/alecthomas/template.git", - :revision => "14fd436dd20c3cc65242a9f396b61bfc8a3926fc" + revision: "14fd436dd20c3cc65242a9f396b61bfc8a3926fc" end go_resource "github.com/alecthomas/units" do url "https://github.com/alecthomas/units.git", - :revision => "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" + revision: "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a" end go_resource "gopkg.in/alecthomas/kingpin.v2" do url "https://github.com/alecthomas/kingpin.git", - :revision => "v2.1.11" + revision: "v2.1.11" end def install diff --git a/Formula/gitlab-ci-multi-runner.rb b/Formula/gitlab-ci-multi-runner.rb index f1a7bb05e2b5c..45f0101a22535 100644 --- a/Formula/gitlab-ci-multi-runner.rb +++ b/Formula/gitlab-ci-multi-runner.rb @@ -4,8 +4,8 @@ class GitlabCiMultiRunner < Formula desc "The official GitLab CI runner written in Go" homepage "https://gitlab.com/gitlab-org/gitlab-ci-multi-runner" url "https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git", - :tag => "v1.5.3", - :revision => "fb49c4781e5040539d3faec87a2a63675d2c9f00" + tag: "v1.5.3", + revision: "fb49c4781e5040539d3faec87a2a63675d2c9f00" head "https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git" bottle do @@ -21,12 +21,12 @@ class GitlabCiMultiRunner < Formula go_resource "github.com/jteeuwen/go-bindata" do url "https://github.com/jteeuwen/go-bindata.git", - :revision => "a0ff2567cfb70903282db057e799fd826784d41d" + revision: "a0ff2567cfb70903282db057e799fd826784d41d" end resource "prebuilt-x86_64.tar.xz" do url "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v1.5.3/docker/prebuilt-x86_64.tar.xz", - :using => :nounzip + using: :nounzip version "1.5.3" sha256 "a2fffed1076e98a7122309923796449719f8b6640e1aa469c1269864dbd70c81" end diff --git a/Formula/gitup.rb b/Formula/gitup.rb index 868a65f083cd9..35524723ee501 100644 --- a/Formula/gitup.rb +++ b/Formula/gitup.rb @@ -2,8 +2,8 @@ class Gitup < Formula desc "Update multiple git repositories at once" homepage "https://github.com/earwig/git-repo-updater" url "https://github.com/earwig/git-repo-updater.git", - :revision => "10494e677bba19622acfa3fc62093a06451c8562", - :tag => "v0.3" + revision: "10494e677bba19622acfa3fc62093a06451c8562", + tag: "v0.3" revision 1 bottle do @@ -47,7 +47,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"]) end test do diff --git a/Formula/gjstest.rb b/Formula/gjstest.rb index 901d307d78539..8196e40f64929 100644 --- a/Formula/gjstest.rb +++ b/Formula/gjstest.rb @@ -13,7 +13,7 @@ class Gjstest < Formula sha256 "b4d5d85ff25134f8eb2c0d545915abefebef5c364e59e696b939541581472481" => :mavericks end - depends_on :macos => :mavericks + depends_on macos: :mavericks depends_on "gflags" depends_on "glog" diff --git a/Formula/gkrellm.rb b/Formula/gkrellm.rb index bb05f7c868496..04875c95cf589 100644 --- a/Formula/gkrellm.rb +++ b/Formula/gkrellm.rb @@ -1,7 +1,7 @@ class Gkrellm < Formula desc "Extensible GTK system monitoring application" homepage "https://billw2.github.io/gkrellm/gkrellm.html" - head "http://git.srcbox.net/gkrellm", :using => :git + head "http://git.srcbox.net/gkrellm", using: :git stable do url "https://billw2.github.io/gkrellm/gkrellm-2.3.5.tar.bz2" diff --git a/Formula/global.rb b/Formula/global.rb index d65493c509d85..95b95de7c62b8 100644 --- a/Formula/global.rb +++ b/Formula/global.rb @@ -13,7 +13,7 @@ class Global < Formula end head do - url ":pserver:anonymous:@cvs.savannah.gnu.org:/sources/global", :using => :cvs + url ":pserver:anonymous:@cvs.savannah.gnu.org:/sources/global", using: :cvs depends_on "autoconf" => :build depends_on "automake" => :build @@ -63,7 +63,7 @@ def install system "make", "install" if build.with? "pygments" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end etc.install "gtags.conf" diff --git a/Formula/gmail-backup.rb b/Formula/gmail-backup.rb index 3d0c2eab01a0e..bcc76fd06204a 100644 --- a/Formula/gmail-backup.rb +++ b/Formula/gmail-backup.rb @@ -11,7 +11,7 @@ def install libexec.install Dir["*"] ENV.prepend_path "PYTHONPATH", libexec - bin.env_script_all_files(libexec, :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec, PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/gnatsd.rb b/Formula/gnatsd.rb index 44b7ee781fd3f..ae01fbb9a3a81 100644 --- a/Formula/gnatsd.rb +++ b/Formula/gnatsd.rb @@ -21,7 +21,7 @@ def install system "go", "build", "-o", bin/"gnatsd", "main.go" end - plist_options :manual => "gnatsd" + plist_options manual: "gnatsd" def plist; <<-EOS.undent diff --git a/Formula/gnome-builder.rb b/Formula/gnome-builder.rb index 0eb5051578361..53adb35a29f47 100644 --- a/Formula/gnome-builder.rb +++ b/Formula/gnome-builder.rb @@ -25,7 +25,7 @@ class GnomeBuilder < Formula depends_on "vala" => :recommended depends_on "devhelp" => :recommended depends_on "ctags" => :recommended - depends_on :python3 => :optional + depends_on python3: :optional depends_on "pygobject3" if build.with? "python3" needs :cxx11 diff --git a/Formula/gnu-apl.rb b/Formula/gnu-apl.rb index 3e549b7e58634..d3a0f07556986 100644 --- a/Formula/gnu-apl.rb +++ b/Formula/gnu-apl.rb @@ -21,7 +21,7 @@ class GnuApl < Formula # GNU Readline is required; libedit won't work. depends_on "readline" - depends_on :macos => :mavericks + depends_on macos: :mavericks def install # Fix "LApack.cc:21:10: fatal error: 'malloc.h' file not found" diff --git a/Formula/gnu-cobol.rb b/Formula/gnu-cobol.rb index 3f5a74b89922a..50ad314841dd7 100644 --- a/Formula/gnu-cobol.rb +++ b/Formula/gnu-cobol.rb @@ -34,7 +34,7 @@ class GnuCobol < Formula depends_on "gcc" conflicts_with "open-cobol", - :because => "both install `cob-config`, `cobc` and `cobcrun` binaries" + because: "both install `cob-config`, `cobc` and `cobcrun` binaries" def install # both environment variables are needed to be set diff --git a/Formula/gnu-sed.rb b/Formula/gnu-sed.rb index bc700857bf9ec..b2273280aeb1e 100644 --- a/Formula/gnu-sed.rb +++ b/Formula/gnu-sed.rb @@ -5,7 +5,7 @@ class GnuSed < Formula mirror "https://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.bz2" sha256 "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7" - conflicts_with "ssed", :because => "both install share/info/sed.info" + conflicts_with "ssed", because: "both install share/info/sed.info" bottle do cellar :any_skip_relocation diff --git a/Formula/gnuplot.rb b/Formula/gnuplot.rb index 259a08f08bd77..7f52e5e76cdc8 100644 --- a/Formula/gnuplot.rb +++ b/Formula/gnuplot.rb @@ -12,7 +12,7 @@ class Gnuplot < Formula end head do - url ":pserver:anonymous:@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot", :using => :cvs + url ":pserver:anonymous:@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot", using: :cvs depends_on "autoconf" => :build depends_on "automake" => :build @@ -51,8 +51,8 @@ class Gnuplot < Formula depends_on "pdflib-lite" => :optional depends_on "qt5" => :optional depends_on "wxmac" => :optional - depends_on :tex => :optional - depends_on :x11 => :optional + depends_on tex: :optional + depends_on x11: :optional def install if build.with? "aquaterm" diff --git a/Formula/gnuradio.rb b/Formula/gnuradio.rb index 87dde010c1826..e48fd09c1eb90 100644 --- a/Formula/gnuradio.rb +++ b/Formula/gnuradio.rb @@ -153,7 +153,7 @@ def install end rm bin.children.reject(&:executable?) - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/go.rb b/Formula/go.rb index c45cb9a3aa49c..ad7028553c879 100644 --- a/Formula/go.rb +++ b/Formula/go.rb @@ -11,8 +11,8 @@ class Go < Formula go_version = version.to_s.split(".")[0..1].join(".") resource "gotools" do url "https://go.googlesource.com/tools.git", - :branch => "release-branch.go#{go_version}", - :revision => "26c35b4dcf6dfcb924e26828ed9f4d028c5ce05a" + branch: "release-branch.go#{go_version}", + revision: "26c35b4dcf6dfcb924e26828ed9f4d028c5ce05a" end end @@ -35,7 +35,7 @@ class Go < Formula option "without-godoc", "godoc will not be installed for you" option "without-race", "Build without race detector" - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion # Should use the last stable binary release to bootstrap. # More explicitly, leave this at 1.7 when 1.7.1 is released. diff --git a/Formula/gobject-introspection.rb b/Formula/gobject-introspection.rb index 54412c81c92e1..bcfc97a84b605 100644 --- a/Formula/gobject-introspection.rb +++ b/Formula/gobject-introspection.rb @@ -24,7 +24,7 @@ class GobjectIntrospection < Formula resource "tutorial" do url "https://gist.github.com/7a0023656ccfe309337a.git", - :revision => "499ac89f8a9ad17d250e907f74912159ea216416" + revision: "499ac89f8a9ad17d250e907f74912159ea216416" end def install diff --git a/Formula/golo.rb b/Formula/golo.rb index 8347998cda0d7..b8ca4a27978db 100644 --- a/Formula/golo.rb +++ b/Formula/golo.rb @@ -12,7 +12,7 @@ class Golo < Formula end bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install if build.head? diff --git a/Formula/goolabs.rb b/Formula/goolabs.rb index ac7f0baa1cd29..81fc40b47ff61 100644 --- a/Formula/goolabs.rb +++ b/Formula/goolabs.rb @@ -42,7 +42,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"]) end test do diff --git a/Formula/gor.rb b/Formula/gor.rb index 5bc88b0ac917f..c0be5a3084dee 100644 --- a/Formula/gor.rb +++ b/Formula/gor.rb @@ -2,8 +2,8 @@ class Gor < Formula desc "Real-time HTTP traffic replay tool written in Go" homepage "https://gortool.com" url "https://github.com/buger/gor.git", - :tag => "v0.15.1", - :revision => "967c380dc3ca1a96c6cbabd6296b0656a6546016" + tag: "v0.15.1", + revision: "967c380dc3ca1a96c6cbabd6296b0656a6546016" head "https://github.com/buger/gor.git" bottle do diff --git a/Formula/gost.rb b/Formula/gost.rb index 2e4a79cc35541..c66ab0d1b80c5 100644 --- a/Formula/gost.rb +++ b/Formula/gost.rb @@ -17,32 +17,32 @@ class Gost < Formula go_resource "golang.org/x/oauth2" do url "https://go.googlesource.com/oauth2.git", - :revision => "8434495902bd0900797016affe4ca35c55babb3f" + revision: "8434495902bd0900797016affe4ca35c55babb3f" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "35ec611a141ee705590b9eb64d673f9e6dfeb1ac" + revision: "35ec611a141ee705590b9eb64d673f9e6dfeb1ac" end go_resource "github.com/atotto/clipboard" do url "https://github.com/atotto/clipboard.git", - :revision => "bb272b845f1112e10117e3e45ce39f690c0001ad" + revision: "bb272b845f1112e10117e3e45ce39f690c0001ad" end go_resource "github.com/docopt/docopt.go" do url "https://github.com/docopt/docopt.go.git", - :revision => "784ddc588536785e7299f7272f39101f7faccc3f" + revision: "784ddc588536785e7299f7272f39101f7faccc3f" end go_resource "github.com/google/go-github" do url "https://github.com/google/go-github.git", - :revision => "842c551fdeae14c97c04ef490f601ae4d849a00c" + revision: "842c551fdeae14c97c04ef490f601ae4d849a00c" end go_resource "github.com/google/go-querystring" do url "https://github.com/google/go-querystring.git", - :revision => "9235644dd9e52eeae6fa48efd539fdc351a0af53" + revision: "9235644dd9e52eeae6fa48efd539fdc351a0af53" end def install diff --git a/Formula/gosu.rb b/Formula/gosu.rb index efabfdf448b9d..d6d68863bdf3e 100644 --- a/Formula/gosu.rb +++ b/Formula/gosu.rb @@ -12,7 +12,7 @@ class Gosu < Formula sha256 "89b53c0e632bfcc9a5385e0ac583c026fe39a2ed91a971233e2d45d235196584" => :mavericks end - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on "maven" => :build skip_clean "libexec/ext" diff --git a/Formula/gource.rb b/Formula/gource.rb index 06f811d1edde5..5faea60e24724 100644 --- a/Formula/gource.rb +++ b/Formula/gource.rb @@ -19,7 +19,7 @@ class Gource < Formula depends_on "libtool" => :build end - depends_on :x11 => :optional + depends_on x11: :optional depends_on "pkg-config" => :build depends_on "glm" => :build @@ -32,7 +32,7 @@ class Gource < Formula depends_on "sdl2_image" # boost failing on lion - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion if MacOS.version < :mavericks depends_on "boost" => "c++11" diff --git a/Formula/gpac.rb b/Formula/gpac.rb index f6e2844351020..98c25871652df 100644 --- a/Formula/gpac.rb +++ b/Formula/gpac.rb @@ -23,7 +23,7 @@ class Gpac < Formula depends_on "openssl" depends_on "pkg-config" => :build - depends_on :x11 => :optional + depends_on x11: :optional depends_on "a52dec" => :optional depends_on "jpeg" => :optional depends_on "faad2" => :optional diff --git a/Formula/gpgme.rb b/Formula/gpgme.rb index f7e76823aca9f..04805f038b95b 100644 --- a/Formula/gpgme.rb +++ b/Formula/gpgme.rb @@ -20,7 +20,7 @@ class Gpgme < Formula depends_on "pth" conflicts_with "argp-standalone", - :because => "gpgme picks it up during compile & fails to build" + because: "gpgme picks it up during compile & fails to build" fails_with :llvm do build 2334 diff --git a/Formula/gprof2dot.rb b/Formula/gprof2dot.rb index b9bb289cc2d95..4e1bdce875e0d 100644 --- a/Formula/gprof2dot.rb +++ b/Formula/gprof2dot.rb @@ -22,7 +22,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"]) end test do diff --git a/Formula/gradle.rb b/Formula/gradle.rb index a3e93b9335d51..cb8ae681e604c 100644 --- a/Formula/gradle.rb +++ b/Formula/gradle.rb @@ -6,7 +6,7 @@ class Gradle < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install %w[bin lib] diff --git a/Formula/grafana.rb b/Formula/grafana.rb index becc660bc94fe..2e905599c838b 100644 --- a/Formula/grafana.rb +++ b/Formula/grafana.rb @@ -47,7 +47,7 @@ def post_install (var/"lib/grafana/plugins").mkpath end - plist_options :manual => "grafana-server --config=#{HOMEBREW_PREFIX}/etc/grafana/grafana.ini --homepath #{HOMEBREW_PREFIX}/share/grafana cfg:default.paths.logs=#{HOMEBREW_PREFIX}/var/log/grafana cfg:default.paths.data=#{HOMEBREW_PREFIX}/var/lib/grafana cfg:default.paths.plugins=#{HOMEBREW_PREFIX}/var/lib/grafana/plugins" + plist_options manual: "grafana-server --config=#{HOMEBREW_PREFIX}/etc/grafana/grafana.ini --homepath #{HOMEBREW_PREFIX}/share/grafana cfg:default.paths.logs=#{HOMEBREW_PREFIX}/var/log/grafana cfg:default.paths.data=#{HOMEBREW_PREFIX}/var/lib/grafana cfg:default.paths.plugins=#{HOMEBREW_PREFIX}/var/lib/grafana/plugins" def plist; <<-EOS.undent diff --git a/Formula/graphicsmagick.rb b/Formula/graphicsmagick.rb index 5a73e1e8e112a..3671b4145594d 100644 --- a/Formula/graphicsmagick.rb +++ b/Formula/graphicsmagick.rb @@ -4,7 +4,7 @@ class Graphicsmagick < Formula url "https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.25/GraphicsMagick-1.3.25.tar.xz" sha256 "d64bfa52d2e0730eff9ce3ed51d4fc78dbb68e2adaa317b2bb3c56e6ee61ac9f" - head "http://hg.code.sf.net/p/graphicsmagick/code", :using => :hg + head "http://hg.code.sf.net/p/graphicsmagick/code", using: :hg bottle do sha256 "aadcff3e84a492354073cb59d107b6371c01c0863ce947d03b48a5960914286b" => :sierra @@ -31,7 +31,7 @@ class Graphicsmagick < Formula depends_on "libwmf" => :optional depends_on "ghostscript" => :optional depends_on "webp" => :optional - depends_on :x11 => :optional + depends_on x11: :optional fails_with :llvm do build 2335 diff --git a/Formula/graphviz.rb b/Formula/graphviz.rb index 410d3a653a975..9b163d3dfdba9 100644 --- a/Formula/graphviz.rb +++ b/Formula/graphviz.rb @@ -35,12 +35,12 @@ class Graphviz < Formula deprecated_option "with-pangocairo" => "with-pango" depends_on "pkg-config" => :build - depends_on :xcode => :build if build.with? "app" + depends_on xcode: :build if build.with? "app" depends_on "pango" => :optional depends_on "gts" => :optional depends_on "librsvg" => :optional depends_on "freetype" => :optional - depends_on :x11 => :optional + depends_on x11: :optional depends_on "libpng" if build.with? "bindings" diff --git a/Formula/grc.rb b/Formula/grc.rb index c27ddf8c5c332..c5bbff6daf780 100644 --- a/Formula/grc.rb +++ b/Formula/grc.rb @@ -8,7 +8,7 @@ class Grc < Formula bottle :unneeded - conflicts_with "cc65", :because => "both install `grc` binaries" + conflicts_with "cc65", because: "both install `grc` binaries" def install inreplace ["grc", "grc.1"], "/etc", etc diff --git a/Formula/grip.rb b/Formula/grip.rb index db9bf786bb7ac..3b2501c421f7d 100644 --- a/Formula/grip.rb +++ b/Formula/grip.rb @@ -80,7 +80,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"]) end test do diff --git a/Formula/gron.rb b/Formula/gron.rb index 205bb3ce6227b..29f1d3eeaca95 100644 --- a/Formula/gron.rb +++ b/Formula/gron.rb @@ -19,27 +19,27 @@ class Gron < Formula go_resource "github.com/fatih/color" do url "https://github.com/fatih/color.git", - :revision => "87d4004f2ab62d0d255e0a38f1680aa534549fe3" + revision: "87d4004f2ab62d0d255e0a38f1680aa534549fe3" end go_resource "github.com/mattn/go-colorable" do url "https://github.com/mattn/go-colorable.git", - :revision => "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" + revision: "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "3a115632dcd687f9c8cd01679c83a06a0e21c1f3" + revision: "3a115632dcd687f9c8cd01679c83a06a0e21c1f3" end go_resource "github.com/nwidger/jsoncolor" do url "https://github.com/nwidger/jsoncolor.git", - :revision => "f344a1ffbe51794516e9cf2c4d58b203863d3070" + revision: "f344a1ffbe51794516e9cf2c4d58b203863d3070" end go_resource "github.com/pkg/errors" do url "https://github.com/pkg/errors.git", - :revision => "17b591df37844cde689f4d5813e5cea0927d8dd2" + revision: "17b591df37844cde689f4d5813e5cea0927d8dd2" end def install diff --git a/Formula/groovy.rb b/Formula/groovy.rb index ddf052f6234c4..e40a338a4bcd8 100644 --- a/Formula/groovy.rb +++ b/Formula/groovy.rb @@ -10,7 +10,7 @@ class Groovy < Formula deprecated_option "invokedynamic" => "with-invokedynamic" - conflicts_with "groovysdk", :because => "both install the same binaries" + conflicts_with "groovysdk", because: "both install the same binaries" def install # Don't need Windows files. diff --git a/Formula/groovysdk.rb b/Formula/groovysdk.rb index e8cea54bdc212..5d0960c97abb3 100644 --- a/Formula/groovysdk.rb +++ b/Formula/groovysdk.rb @@ -6,7 +6,7 @@ class Groovysdk < Formula bottle :unneeded - conflicts_with "groovy", :because => "both install the same binaries" + conflicts_with "groovy", because: "both install the same binaries" def install ENV["GROOVY_HOME"] = libexec @@ -17,7 +17,7 @@ def install prefix.install_metafiles bin.install Dir["bin/*"] libexec.install %w[conf lib embeddable src doc] - bin.env_script_all_files(libexec+"bin", :GROOVY_HOME => ENV["GROOVY_HOME"]) + bin.env_script_all_files(libexec+"bin", GROOVY_HOME: ENV["GROOVY_HOME"]) end test do diff --git a/Formula/gssh.rb b/Formula/gssh.rb index 5cc39b1b7a379..66a6e6645538c 100644 --- a/Formula/gssh.rb +++ b/Formula/gssh.rb @@ -7,7 +7,7 @@ class Gssh < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install if build.head? diff --git a/Formula/gst-plugins-good.rb b/Formula/gst-plugins-good.rb index d498026fdd0a2..c74c1a2bd6326 100644 --- a/Formula/gst-plugins-good.rb +++ b/Formula/gst-plugins-good.rb @@ -35,7 +35,7 @@ class GstPluginsGood < Formula depends_on "gst-plugins-base" depends_on "libsoup" - depends_on :x11 => :optional + depends_on x11: :optional # Dependencies based on the intersection of # https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/REQUIREMENTS diff --git a/Formula/gst-python.rb b/Formula/gst-python.rb index c90a760c9716c..7ea604dcf1588 100644 --- a/Formula/gst-python.rb +++ b/Formula/gst-python.rb @@ -12,7 +12,7 @@ class GstPython < Formula option "without-python", "Build without python 2 support" - depends_on :python3 => :optional + depends_on python3: :optional depends_on "gst-plugins-base" if build.with? "python" diff --git a/Formula/gtk+.rb b/Formula/gtk+.rb index 13460236c0430..2e72abecccb1d 100644 --- a/Formula/gtk+.rb +++ b/Formula/gtk+.rb @@ -15,7 +15,7 @@ class Gtkx < Formula end head do - url "https://git.gnome.org/browse/gtk+.git", :branch => "gtk-2-24" + url "https://git.gnome.org/browse/gtk+.git", branch: "gtk-2-24" depends_on "automake" => :build depends_on "autoconf" => :build diff --git a/Formula/gtk-doc.rb b/Formula/gtk-doc.rb index 2b943a102f7c8..f1f215355039f 100644 --- a/Formula/gtk-doc.rb +++ b/Formula/gtk-doc.rb @@ -19,7 +19,7 @@ class GtkDoc < Formula depends_on "docbook" depends_on "docbook-xsl" depends_on "libxml2" => "with-python" - depends_on :perl => "5.18" if MacOS.version <= :mavericks + depends_on perl: "5.18" if MacOS.version <= :mavericks def install ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages" diff --git a/Formula/gtk-vnc.rb b/Formula/gtk-vnc.rb index d1248224312c0..49c80b7aae4d4 100644 --- a/Formula/gtk-vnc.rb +++ b/Formula/gtk-vnc.rb @@ -13,7 +13,7 @@ class GtkVnc < Formula # Fails with Xcode 7.1 or older # error: use of undeclared identifier 'MAP_ANONYMOUS' # Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=602371 - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "gettext" => :build depends_on "intltool" => :build diff --git a/Formula/guile.rb b/Formula/guile.rb index 448f504251a36..bc532b97536f8 100644 --- a/Formula/guile.rb +++ b/Formula/guile.rb @@ -15,8 +15,8 @@ class Guile < Formula devel do url "http://git.savannah.gnu.org/r/guile.git", - :tag => "v2.1.2", - :revision => "d236022eb0d285af3d462de9e99a212eba459df2" + tag: "v2.1.2", + revision: "d236022eb0d285af3d462de9e99a212eba459df2" depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/gwyddion.rb b/Formula/gwyddion.rb index 135695db18514..3c9161d483f82 100644 --- a/Formula/gwyddion.rb +++ b/Formula/gwyddion.rb @@ -18,7 +18,7 @@ class Gwyddion < Formula depends_on "libxml2" depends_on "minizip" - depends_on :python => :optional + depends_on python: :optional depends_on "pygtk" if build.with? "python" depends_on "gtksourceview" if build.with? "python" diff --git a/Formula/gx-go.rb b/Formula/gx-go.rb index 091b9b76c537d..d1fd3859127c0 100644 --- a/Formula/gx-go.rb +++ b/Formula/gx-go.rb @@ -18,77 +18,77 @@ class GxGo < Formula go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "05fe449c81eb7305a34e9253c321c960a1c5e057" + revision: "05fe449c81eb7305a34e9253c321c960a1c5e057" end go_resource "github.com/ipfs/go-ipfs-api" do url "https://github.com/ipfs/go-ipfs-api.git", - :revision => "49d8bc426f918f3d5c0cc721e61e820c2f94943c" + revision: "49d8bc426f918f3d5c0cc721e61e820c2f94943c" end go_resource "github.com/jbenet/go-base58" do url "https://github.com/jbenet/go-base58.git", - :revision => "6237cf65f3a6f7111cd8a42be3590df99a66bc7d" + revision: "6237cf65f3a6f7111cd8a42be3590df99a66bc7d" end go_resource "github.com/jbenet/go-multiaddr" do url "https://github.com/jbenet/go-multiaddr.git", - :revision => "1dd0034f7fe862dd8dc86a02602ff6f9e546f5fe" + revision: "1dd0034f7fe862dd8dc86a02602ff6f9e546f5fe" end go_resource "github.com/jbenet/go-multiaddr-net" do url "https://github.com/jbenet/go-multiaddr-net.git", - :revision => "ff394cdaae087d110150f15418ea4585c23541c6" + revision: "ff394cdaae087d110150f15418ea4585c23541c6" end go_resource "github.com/jbenet/go-multihash" do url "https://github.com/jbenet/go-multihash.git", - :revision => "5bb8e87657d874eea0af6366dc6336c4d819e7c1" + revision: "5bb8e87657d874eea0af6366dc6336c4d819e7c1" end go_resource "github.com/jbenet/go-os-rename" do url "https://github.com/jbenet/go-os-rename.git", - :revision => "3ac97f61ef67a6b87b95c1282f6c317ed0e693c2" + revision: "3ac97f61ef67a6b87b95c1282f6c317ed0e693c2" end go_resource "github.com/kr/fs" do url "https://github.com/kr/fs.git", - :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b" + revision: "2788f0dbd16903de03cb8186e5c7d97b69ad387b" end go_resource "github.com/mitchellh/go-homedir" do url "https://github.com/mitchellh/go-homedir.git", - :revision => "756f7b183b7ab78acdbbee5c7f392838ed459dda" + revision: "756f7b183b7ab78acdbbee5c7f392838ed459dda" end go_resource "github.com/sabhiram/go-git-ignore" do url "https://github.com/sabhiram/go-git-ignore.git", - :revision => "228fcfa2a06e870a3ef238d54c45ea847f492a37" + revision: "228fcfa2a06e870a3ef238d54c45ea847f492a37" end go_resource "github.com/whyrusleeping/go-multipart-files" do url "https://github.com/whyrusleeping/go-multipart-files.git", - :revision => "3be93d9f6b618f2b8564bfb1d22f1e744eabbae2" + revision: "3be93d9f6b618f2b8564bfb1d22f1e744eabbae2" end go_resource "github.com/whyrusleeping/gx" do url "https://github.com/whyrusleeping/gx.git", - :revision => "7769c5d1c59ddc1013e8454bdd1f5a0c834e82fa" + revision: "7769c5d1c59ddc1013e8454bdd1f5a0c834e82fa" end go_resource "github.com/whyrusleeping/stump" do url "https://github.com/whyrusleeping/stump.git", - :revision => "206f8f13aae1697a6fc1f4a55799faf955971fc5" + revision: "206f8f13aae1697a6fc1f4a55799faf955971fc5" end go_resource "github.com/whyrusleeping/tar-utils" do url "https://github.com/whyrusleeping/tar-utils.git", - :revision => "beab27159606f5a7c978268dd1c3b12a0f1de8a7" + revision: "beab27159606f5a7c978268dd1c3b12a0f1de8a7" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "b35ccbc95a0eaae49fb65c5d627cb7149ed8d1ab" + revision: "b35ccbc95a0eaae49fb65c5d627cb7149ed8d1ab" end def install diff --git a/Formula/gx.rb b/Formula/gx.rb index 6af51aa8d220d..9a94860d57b27 100644 --- a/Formula/gx.rb +++ b/Formula/gx.rb @@ -18,82 +18,82 @@ class Gx < Formula go_resource "github.com/blang/semver" do url "https://github.com/blang/semver.git", - :revision => "60ec3488bfea7cca02b021d106d9911120d25fe9" + revision: "60ec3488bfea7cca02b021d106d9911120d25fe9" end go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "61f519fe5e57c2518c03627b194899a105838eba" + revision: "61f519fe5e57c2518c03627b194899a105838eba" end go_resource "github.com/ipfs/go-ipfs-api" do url "https://github.com/ipfs/go-ipfs-api.git", - :revision => "591ed9cdb542b0db25818cfab701d3772863e9ba" + revision: "591ed9cdb542b0db25818cfab701d3772863e9ba" end go_resource "github.com/ipfs/go-ipfs" do url "https://github.com/ipfs/go-ipfs.git", - :revision => "85da76a4eea9098d5874c168c728591d1d2f58a1" + revision: "85da76a4eea9098d5874c168c728591d1d2f58a1" end go_resource "github.com/jbenet/go-base58" do url "https://github.com/jbenet/go-base58.git", - :revision => "6237cf65f3a6f7111cd8a42be3590df99a66bc7d" + revision: "6237cf65f3a6f7111cd8a42be3590df99a66bc7d" end go_resource "github.com/jbenet/go-multiaddr" do url "https://github.com/jbenet/go-multiaddr.git", - :revision => "1dd0034f7fe862dd8dc86a02602ff6f9e546f5fe" + revision: "1dd0034f7fe862dd8dc86a02602ff6f9e546f5fe" end go_resource "github.com/jbenet/go-multiaddr-net" do url "https://github.com/jbenet/go-multiaddr-net.git", - :revision => "ff394cdaae087d110150f15418ea4585c23541c6" + revision: "ff394cdaae087d110150f15418ea4585c23541c6" end go_resource "github.com/jbenet/go-multihash" do url "https://github.com/jbenet/go-multihash.git", - :revision => "5bb8e87657d874eea0af6366dc6336c4d819e7c1" + revision: "5bb8e87657d874eea0af6366dc6336c4d819e7c1" end go_resource "github.com/jbenet/go-os-rename" do url "https://github.com/jbenet/go-os-rename.git", - :revision => "3ac97f61ef67a6b87b95c1282f6c317ed0e693c2" + revision: "3ac97f61ef67a6b87b95c1282f6c317ed0e693c2" end go_resource "github.com/mitchellh/go-homedir" do url "https://github.com/mitchellh/go-homedir.git", - :revision => "756f7b183b7ab78acdbbee5c7f392838ed459dda" + revision: "756f7b183b7ab78acdbbee5c7f392838ed459dda" end go_resource "github.com/sabhiram/go-git-ignore" do url "https://github.com/sabhiram/go-git-ignore.git", - :revision => "228fcfa2a06e870a3ef238d54c45ea847f492a37" + revision: "228fcfa2a06e870a3ef238d54c45ea847f492a37" end go_resource "github.com/whyrusleeping/go-multipart-files" do url "https://github.com/whyrusleeping/go-multipart-files.git", - :revision => "3be93d9f6b618f2b8564bfb1d22f1e744eabbae2" + revision: "3be93d9f6b618f2b8564bfb1d22f1e744eabbae2" end go_resource "github.com/whyrusleeping/json-filter" do url "https://github.com/whyrusleeping/json-filter.git", - :revision => "ff25329a9528f01c5175414f16cc0a6a162a5b8b" + revision: "ff25329a9528f01c5175414f16cc0a6a162a5b8b" end go_resource "github.com/whyrusleeping/stump" do url "https://github.com/whyrusleeping/stump.git", - :revision => "206f8f13aae1697a6fc1f4a55799faf955971fc5" + revision: "206f8f13aae1697a6fc1f4a55799faf955971fc5" end go_resource "github.com/whyrusleeping/tar-utils" do url "https://github.com/whyrusleeping/tar-utils.git", - :revision => "beab27159606f5a7c978268dd1c3b12a0f1de8a7" + revision: "beab27159606f5a7c978268dd1c3b12a0f1de8a7" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "119f50887f8fe324fe2386421c27a11af014b64e" + revision: "119f50887f8fe324fe2386421c27a11af014b64e" end def install diff --git a/Formula/h2.rb b/Formula/h2.rb index 4367696da7c31..81d5e87bfc848 100644 --- a/Formula/h2.rb +++ b/Formula/h2.rb @@ -32,7 +32,7 @@ def install (bin+"h2").write script end - plist_options :manual => "h2" + plist_options manual: "h2" def plist; <<-EOS.undent diff --git a/Formula/h2o.rb b/Formula/h2o.rb index 75c5d8d4d62a0..48d4953497de9 100644 --- a/Formula/h2o.rb +++ b/Formula/h2o.rb @@ -80,7 +80,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "h2o" + plist_options manual: "h2o" def plist; <<-EOS.undent diff --git a/Formula/hachoir-metadata.rb b/Formula/hachoir-metadata.rb index 69b0a5bcaea28..4cdb17b6d682b 100644 --- a/Formula/hachoir-metadata.rb +++ b/Formula/hachoir-metadata.rb @@ -40,7 +40,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/hadoop.rb b/Formula/hadoop.rb index ed84631ce3763..8e3a4eb1445b5 100644 --- a/Formula/hadoop.rb +++ b/Formula/hadoop.rb @@ -7,7 +7,7 @@ class Hadoop < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install rm_f Dir["bin/*.cmd", "sbin/*.cmd", "libexec/*.cmd", "etc/hadoop/*.cmd"] diff --git a/Formula/harbour.rb b/Formula/harbour.rb index 6c14a94eb306f..3c137ddecb7ba 100644 --- a/Formula/harbour.rb +++ b/Formula/harbour.rb @@ -16,7 +16,7 @@ class Harbour < Formula head "https://github.com/harbour/core.git" depends_on "pcre" - depends_on :x11 => :optional + depends_on x11: :optional # Missing a header that was deprecated by libcurl @ version 7.12.0 and # deleted sometime after Harbour 3.0.0 release. diff --git a/Formula/hashcat.rb b/Formula/hashcat.rb index 3622c32f5a609..e03e09bcedc45 100644 --- a/Formula/hashcat.rb +++ b/Formula/hashcat.rb @@ -14,7 +14,7 @@ class Hashcat < Formula # Upstream could not fix OpenCL issue on Mavericks. # https://github.com/hashcat/hashcat/issues/366 # https://github.com/Homebrew/homebrew-core/pull/4395 - depends_on :macos => :yosemite + depends_on macos: :yosemite def install system "make", "install", "CC=#{ENV.cc}", "PREFIX=#{prefix}" diff --git a/Formula/hashpump.rb b/Formula/hashpump.rb index 9b712b5513d69..425ebc72f12a4 100644 --- a/Formula/hashpump.rb +++ b/Formula/hashpump.rb @@ -16,8 +16,8 @@ class Hashpump < Formula option "without-python", "Build without python 2 support" depends_on "openssl" - depends_on :python => :recommended if MacOS.version <= :snow_leopard - depends_on :python3 => :optional + depends_on python: :recommended if MacOS.version <= :snow_leopard + depends_on python3: :optional # Remove on next release patch do diff --git a/Formula/haxe.rb b/Formula/haxe.rb index 6fc8fce7696ee..790d0820d262d 100644 --- a/Formula/haxe.rb +++ b/Formula/haxe.rb @@ -2,10 +2,10 @@ class Haxe < Formula desc "Multi-platform programming language" homepage "https://haxe.org/" url "https://github.com/HaxeFoundation/haxe.git", - :tag => "3.2.1", - :revision => "deab4424399b520750671e51e5f5c2684e942c17" + tag: "3.2.1", + revision: "deab4424399b520750671e51e5f5c2684e942c17" - head "https://github.com/HaxeFoundation/haxe.git", :branch => "development" + head "https://github.com/HaxeFoundation/haxe.git", branch: "development" bottle do cellar :any_skip_relocation diff --git a/Formula/hbase.rb b/Formula/hbase.rb index b050c96e16fff..1a31e948795ee 100644 --- a/Formula/hbase.rb +++ b/Formula/hbase.rb @@ -11,11 +11,11 @@ class Hbase < Formula sha256 "f6f10e6ccd23fc9f9586f570aca9c27fbb6500ae9156d63ad905ecda0eb9073e" => :mavericks end - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "hadoop" => :optional depends_on "lzo" => :recommended depends_on "ant" => :build if build.with? "lzo" - depends_on :arch => :x86_64 if build.with? "lzo" + depends_on arch: :x86_64 if build.with? "lzo" # 64 bit is required because of three things: # the lzo jar has a native extension # building native extensions requires a version of java that matches the architecture @@ -107,7 +107,7 @@ def post_install (var/"run/hbase").mkpath end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/hbase/bin/start-hbase.sh" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/hbase/bin/start-hbase.sh" def plist; <<-EOS.undent diff --git a/Formula/headphones.rb b/Formula/headphones.rb index 10545396a146e..3fff46f52802a 100644 --- a/Formula/headphones.rb +++ b/Formula/headphones.rb @@ -49,7 +49,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "headphones" + plist_options manual: "headphones" def plist; <<-EOS.undent diff --git a/Formula/hello.rb b/Formula/hello.rb index 55f8f3eeebabe..59575f7ef02c1 100644 --- a/Formula/hello.rb +++ b/Formula/hello.rb @@ -12,7 +12,7 @@ class Hello < Formula sha256 "c3468e676f2c9cb511e537774424299342ffd52740e252e515bddae6d9e79df3" => :mountain_lion end - conflicts_with "camlistore", :because => "both install `hello` binaries" + conflicts_with "camlistore", because: "both install `hello` binaries" def install system "./configure", "--disable-debug", diff --git a/Formula/henplus.rb b/Formula/henplus.rb index 2b11cd9fc97cf..5dbac47fafe2c 100644 --- a/Formula/henplus.rb +++ b/Formula/henplus.rb @@ -12,9 +12,9 @@ class Henplus < Formula sha256 "21f7ee166b94b30dd78cee8a6757fecd285544b8b12b332db9141e6a94eb29a7" => :mavericks end - depends_on :ant => :build + depends_on ant: :build depends_on "libreadline-java" - depends_on :java => "1.6+" + depends_on java: "1.6+" def install inreplace "bin/henplus" do |s| diff --git a/Formula/heroku.rb b/Formula/heroku.rb index 2ecc03c386a72..70cba2e9caf29 100644 --- a/Formula/heroku.rb +++ b/Formula/heroku.rb @@ -7,8 +7,8 @@ class Heroku < Formula bottle :unneeded - depends_on :arch => :x86_64 - depends_on :ruby => "1.9" + depends_on arch: :x86_64 + depends_on ruby: "1.9" def install libexec.install Dir["*"] diff --git a/Formula/hg-flow.rb b/Formula/hg-flow.rb index 716f4a5693419..0012fe1e691d8 100644 --- a/Formula/hg-flow.rb +++ b/Formula/hg-flow.rb @@ -3,7 +3,7 @@ class HgFlow < Formula homepage "https://bitbucket.org/yujiewu/hgflow" url "https://bitbucket.org/yujiewu/hgflow/downloads/hgflow-v0.9.8.1.tar.bz2" sha256 "aa49cf68ea8e0002be9ca6478daa7392d89113e985631316cab75e87d62d211c" - head "https://bitbucket.org/yujiewu/hgflow", :using => :hg, :branch => "develop" + head "https://bitbucket.org/yujiewu/hgflow", using: :hg, branch: "develop" bottle :unneeded diff --git a/Formula/hive.rb b/Formula/hive.rb index 14f58f8d67c6c..d05196fa2c17d 100644 --- a/Formula/hive.rb +++ b/Formula/hive.rb @@ -6,7 +6,7 @@ class Hive < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "hadoop" def install @@ -16,7 +16,7 @@ def install Pathname.glob("#{libexec}/bin/*") do |file| next if file.directory? (bin/file.basename).write_env_script file, - Language::Java.java_home_env("1.7+").merge(:HIVE_HOME => libexec) + Language::Java.java_home_env("1.7+").merge(HIVE_HOME: libexec) end end diff --git a/Formula/hledger.rb b/Formula/hledger.rb index bec226ef73139..65acec6987b21 100644 --- a/Formula/hledger.rb +++ b/Formula/hledger.rb @@ -19,7 +19,7 @@ class Hledger < Formula depends_on "cabal-install" => :build def install - install_cabal_package :using => ["happy"] + install_cabal_package using: ["happy"] end test do diff --git a/Formula/honcho.rb b/Formula/honcho.rb index 72e6e02cade0c..11167f1061365 100644 --- a/Formula/honcho.rb +++ b/Formula/honcho.rb @@ -16,7 +16,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"]) end test do diff --git a/Formula/hopenpgp-tools.rb b/Formula/hopenpgp-tools.rb index 09b393e5c70d4..8c0511ec977e7 100644 --- a/Formula/hopenpgp-tools.rb +++ b/Formula/hopenpgp-tools.rb @@ -27,7 +27,7 @@ class HopenpgpTools < Formula end def install - install_cabal_package :using => ["alex", "happy"] + install_cabal_package using: ["alex", "happy"] end test do diff --git a/Formula/htmlcleaner.rb b/Formula/htmlcleaner.rb index 6f1bb67f939fc..44c6a0668418e 100644 --- a/Formula/htmlcleaner.rb +++ b/Formula/htmlcleaner.rb @@ -12,7 +12,7 @@ class Htmlcleaner < Formula end depends_on "maven" => :build - depends_on :java => "1.8+" + depends_on java: "1.8+" def install ENV.java_cache diff --git a/Formula/htop-osx.rb b/Formula/htop-osx.rb index 33d98d31ba8af..ccd614da6cd69 100644 --- a/Formula/htop-osx.rb +++ b/Formula/htop-osx.rb @@ -16,7 +16,7 @@ class HtopOsx < Formula depends_on "automake" => :build depends_on "libtool" => :build - conflicts_with "htop", :because => "both install an `htop` binary" + conflicts_with "htop", because: "both install an `htop` binary" def install # Otherwise htop will segfault when resizing the terminal diff --git a/Formula/htop.rb b/Formula/htop.rb index ff2c9ddb02d1d..335ef8a65f565 100644 --- a/Formula/htop.rb +++ b/Formula/htop.rb @@ -23,7 +23,7 @@ class Htop < Formula depends_on "homebrew/dupes/ncurses" => :optional - conflicts_with "htop-osx", :because => "both install an `htop` binary" + conflicts_with "htop-osx", because: "both install an `htop` binary" def install system "./autogen.sh" if build.head? diff --git a/Formula/httpie.rb b/Formula/httpie.rb index d65a499f9c39b..5c74e1f0efeaf 100644 --- a/Formula/httpie.rb +++ b/Formula/httpie.rb @@ -39,7 +39,7 @@ def install system "python3", *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"]) end test do diff --git a/Formula/hubflow.rb b/Formula/hubflow.rb index 415277ecd90b5..351e358c5bf66 100644 --- a/Formula/hubflow.rb +++ b/Formula/hubflow.rb @@ -3,8 +3,8 @@ class Hubflow < Formula desc "GitFlow for GitHub" homepage "https://datasift.github.io/gitflow/" url "https://github.com/datasift/gitflow.git", - :tag => "1.5.2", - :revision => "8bb7890b39f782864d55cfca5a156c926fa53c0d" + tag: "1.5.2", + revision: "8bb7890b39f782864d55cfca5a156c926fa53c0d" head "https://github.com/datasift/gitflow.git" bottle :unneeded diff --git a/Formula/hugo.rb b/Formula/hugo.rb index 9d6d96ea822d4..4d197f618b253 100644 --- a/Formula/hugo.rb +++ b/Formula/hugo.rb @@ -19,177 +19,177 @@ class Hugo < Formula go_resource "github.com/BurntSushi/toml" do url "https://github.com/BurntSushi/toml.git", - :revision => "f0aeabca5a127c4078abb8c8d64298b147264b55" + revision: "f0aeabca5a127c4078abb8c8d64298b147264b55" end go_resource "github.com/PuerkitoBio/purell" do url "https://github.com/PuerkitoBio/purell.git", - :revision => "d69616f51cdfcd7514d6a380847a152dfc2a749d" + revision: "d69616f51cdfcd7514d6a380847a152dfc2a749d" end go_resource "github.com/bep/inflect" do url "https://github.com/bep/inflect.git", - :revision => "b896c45f5af983b1f416bdf3bb89c4f1f0926f69" + revision: "b896c45f5af983b1f416bdf3bb89c4f1f0926f69" end go_resource "github.com/cpuguy83/go-md2man" do url "https://github.com/cpuguy83/go-md2man.git", - :revision => "2724a9c9051aa62e9cca11304e7dd518e9e41599" + revision: "2724a9c9051aa62e9cca11304e7dd518e9e41599" end go_resource "github.com/dchest/cssmin" do url "https://github.com/dchest/cssmin.git", - :revision => "fb8d9b44afdc258bfff6052d3667521babcb2239" + revision: "fb8d9b44afdc258bfff6052d3667521babcb2239" end go_resource "github.com/eknkc/amber" do url "https://github.com/eknkc/amber.git", - :revision => "91774f050c1453128146169b626489e60108ec03" + revision: "91774f050c1453128146169b626489e60108ec03" end go_resource "github.com/fsnotify/fsnotify" do url "https://github.com/fsnotify/fsnotify.git", - :revision => "30411dbcefb7a1da7e84f75530ad3abe4011b4f8" + revision: "30411dbcefb7a1da7e84f75530ad3abe4011b4f8" end go_resource "github.com/gorilla/websocket" do url "https://github.com/gorilla/websocket.git", - :revision => "a68708917c6a4f06314ab4e52493cc61359c9d42" + revision: "a68708917c6a4f06314ab4e52493cc61359c9d42" end go_resource "github.com/hashicorp/hcl" do url "https://github.com/hashicorp/hcl.git", - :revision => "9a905a34e6280ce905da1a32344b25e81011197a" + revision: "9a905a34e6280ce905da1a32344b25e81011197a" end go_resource "github.com/kardianos/osext" do url "https://github.com/kardianos/osext.git", - :revision => "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc" + revision: "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc" end go_resource "github.com/kr/fs" do url "https://github.com/kr/fs.git", - :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b" + revision: "2788f0dbd16903de03cb8186e5c7d97b69ad387b" end go_resource "github.com/kyokomi/emoji" do url "https://github.com/kyokomi/emoji.git", - :revision => "17c5e7085c9d59630aa578df67f4469481fbe7a9" + revision: "17c5e7085c9d59630aa578df67f4469481fbe7a9" end go_resource "github.com/magiconair/properties" do url "https://github.com/magiconair/properties.git", - :revision => "c265cfa48dda6474e208715ca93e987829f572f8" + revision: "c265cfa48dda6474e208715ca93e987829f572f8" end go_resource "github.com/miekg/mmark" do url "https://github.com/miekg/mmark.git", - :revision => "1cc81181240610a61032c944355759771a652f71" + revision: "1cc81181240610a61032c944355759771a652f71" end go_resource "github.com/mitchellh/mapstructure" do url "https://github.com/mitchellh/mapstructure.git", - :revision => "d2dd0262208475919e1a362f675cfc0e7c10e905" + revision: "d2dd0262208475919e1a362f675cfc0e7c10e905" end go_resource "github.com/opennota/urlesc" do url "https://github.com/opennota/urlesc.git", - :revision => "5fa9ff0392746aeae1c4b37fcc42c65afa7a9587" + revision: "5fa9ff0392746aeae1c4b37fcc42c65afa7a9587" end go_resource "github.com/pkg/errors" do url "https://github.com/pkg/errors.git", - :revision => "f45f2b7903d2db989402601ad8ec27eff5c1dc9d" + revision: "f45f2b7903d2db989402601ad8ec27eff5c1dc9d" end go_resource "github.com/pkg/sftp" do url "https://github.com/pkg/sftp.git", - :revision => "526cf9b2b38d2f3675e34e473f2cef38e1e0565b" + revision: "526cf9b2b38d2f3675e34e473f2cef38e1e0565b" end go_resource "github.com/russross/blackfriday" do url "https://github.com/russross/blackfriday.git", - :revision => "1d6b8e9301e720b08a8938b8c25c018285885438" + revision: "1d6b8e9301e720b08a8938b8c25c018285885438" end go_resource "github.com/shurcooL/sanitized_anchor_name" do url "https://github.com/shurcooL/sanitized_anchor_name.git", - :revision => "10ef21a441db47d8b13ebcc5fd2310f636973c77" + revision: "10ef21a441db47d8b13ebcc5fd2310f636973c77" end go_resource "github.com/spf13/afero" do url "https://github.com/spf13/afero.git", - :revision => "1a8ecf8b9da1fb5306e149e83128fc447957d2a8" + revision: "1a8ecf8b9da1fb5306e149e83128fc447957d2a8" end go_resource "github.com/spf13/cast" do url "https://github.com/spf13/cast.git", - :revision => "27b586b42e29bec072fe7379259cc719e1289da6" + revision: "27b586b42e29bec072fe7379259cc719e1289da6" end go_resource "github.com/spf13/cobra" do url "https://github.com/spf13/cobra.git", - :revision => "f447048345b64b3247b29a679a14bd0da12c7f2f" + revision: "f447048345b64b3247b29a679a14bd0da12c7f2f" end go_resource "github.com/spf13/fsync" do url "https://github.com/spf13/fsync.git", - :revision => "eefee59ad7de621617d4ff085cf768aab4b919b1" + revision: "eefee59ad7de621617d4ff085cf768aab4b919b1" end go_resource "github.com/spf13/hugo" do url "https://github.com/spf13/hugo.git", - :revision => "48ebd598a9da395ae1ba39376b35fdd1105472ce" + revision: "48ebd598a9da395ae1ba39376b35fdd1105472ce" end go_resource "github.com/spf13/jwalterweatherman" do url "https://github.com/spf13/jwalterweatherman.git", - :revision => "33c24e77fb80341fe7130ee7c594256ff08ccc46" + revision: "33c24e77fb80341fe7130ee7c594256ff08ccc46" end go_resource "github.com/spf13/nitro" do url "https://github.com/spf13/nitro.git", - :revision => "24d7ef30a12da0bdc5e2eb370a79c659ddccf0e8" + revision: "24d7ef30a12da0bdc5e2eb370a79c659ddccf0e8" end go_resource "github.com/spf13/pflag" do url "https://github.com/spf13/pflag.git", - :revision => "cb88ea77998c3f024757528e3305022ab50b43be" + revision: "cb88ea77998c3f024757528e3305022ab50b43be" end go_resource "github.com/spf13/viper" do url "https://github.com/spf13/viper.git", - :revision => "c1ccc378a054ea8d4e38d8c67f6938d4760b53dd" + revision: "c1ccc378a054ea8d4e38d8c67f6938d4760b53dd" end go_resource "github.com/stretchr/testify" do url "https://github.com/stretchr/testify.git", - :revision => "8d64eb7173c7753d6419fd4a9caf057398611364" + revision: "8d64eb7173c7753d6419fd4a9caf057398611364" end go_resource "github.com/yosssi/ace" do url "https://github.com/yosssi/ace.git", - :revision => "71afeb714739f9d5f7e1849bcd4a0a5938e1a70d" + revision: "71afeb714739f9d5f7e1849bcd4a0a5938e1a70d" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "89d9e62992539701a49a19c52ebb33e84cbbe80f" + revision: "89d9e62992539701a49a19c52ebb33e84cbbe80f" end go_resource "golang.org/x/sys" do url "https://go.googlesource.com/sys.git", - :revision => "076b546753157f758b316e59bcb51e6807c04057" + revision: "076b546753157f758b316e59bcb51e6807c04057" end go_resource "golang.org/x/text" do url "https://go.googlesource.com/text.git", - :revision => "a4d77b4813ec88686efd8caedc113322933f9891" + revision: "a4d77b4813ec88686efd8caedc113322933f9891" end go_resource "gopkg.in/yaml.v2" do url "https://gopkg.in/yaml.v2.git", - :revision => "a83829b6f1293c91addabc89d0571c246397bbf4" + revision: "a83829b6f1293c91addabc89d0571c246397bbf4" end def install diff --git a/Formula/hunspell.rb b/Formula/hunspell.rb index 9f72ca6ca0484..d69953b4da377 100644 --- a/Formula/hunspell.rb +++ b/Formula/hunspell.rb @@ -13,7 +13,7 @@ class Hunspell < Formula depends_on "readline" - conflicts_with "freeling", :because => "both install 'analyze' binary" + conflicts_with "freeling", because: "both install 'analyze' binary" # hunspell does not prepend $HOME to all USEROODIRs # https://github.com/hunspell/hunspell/issues/32 diff --git a/Formula/hyper.rb b/Formula/hyper.rb index 01823d1de797e..7c08763b54127 100644 --- a/Formula/hyper.rb +++ b/Formula/hyper.rb @@ -2,8 +2,8 @@ class Hyper < Formula desc "Client for the Hyper_ cloud service" homepage "https://hyper.sh" url "https://github.com/hyperhq/hypercli.git", - :tag => "v1.10.1", - :revision => "bfea818f0bd5f2c8a19106b8f7997edd1878a631" + tag: "v1.10.1", + revision: "bfea818f0bd5f2c8a19106b8f7997edd1878a631" head "https://github.com/hyperhq/hypercli.git" diff --git a/Formula/hyperestraier.rb b/Formula/hyperestraier.rb index e73eb5cbb11e7..e864a542593b3 100644 --- a/Formula/hyperestraier.rb +++ b/Formula/hyperestraier.rb @@ -6,7 +6,7 @@ def initialize(tags = []) @mecab_ipadic_installed = Formula["mecab-ipadic"].installed? end - satisfy(:build_env => false) { @mecab_ipadic_installed && mecab_dic_charset == "euc" } + satisfy(build_env: false) { @mecab_ipadic_installed && mecab_dic_charset == "euc" } def message if @mecab_ipadic_installed diff --git a/Formula/hyperscan.rb b/Formula/hyperscan.rb index e67dfe0a6d452..f7abedba9912c 100644 --- a/Formula/hyperscan.rb +++ b/Formula/hyperscan.rb @@ -13,7 +13,7 @@ class Hyperscan < Formula option "with-debug", "Build with debug symbols" - depends_on :python => :build if MacOS.version <= :snow_leopard + depends_on python: :build if MacOS.version <= :snow_leopard depends_on "boost" => :build depends_on "ragel" => :build depends_on "cmake" => :build diff --git a/Formula/i2p.rb b/Formula/i2p.rb index 2af655c9b9eba..778752f27291d 100644 --- a/Formula/i2p.rb +++ b/Formula/i2p.rb @@ -6,7 +6,7 @@ class I2p < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install (buildpath/"path.conf").write "INSTALL_PATH=#{libexec}" diff --git a/Formula/ibex.rb b/Formula/ibex.rb index 6ae9489a6e205..a06dcaf4c1209 100644 --- a/Formula/ibex.rb +++ b/Formula/ibex.rb @@ -17,7 +17,7 @@ class Ibex < Formula option "without-ensta-robotics", "Don't build the Contractors for robotics (SLAM) plugin" option "without-param-estim", "Don't build the Parameter Estimation (enhanced Q-intersection algorithm) plugin" - depends_on :java => ["1.8+", :optional] + depends_on java: ["1.8+", :optional] depends_on "bison" => :build depends_on "flex" => :build depends_on "pkg-config" => :build diff --git a/Formula/ice.rb b/Formula/ice.rb index a88521dfe64b7..7dd3601513c01 100644 --- a/Formula/ice.rb +++ b/Formula/ice.rb @@ -13,8 +13,8 @@ class Ice < Formula option "with-java", "Build Ice for Java and the IceGrid Admin app" depends_on "mcpp" - depends_on :java => ["1.7+", :optional] - depends_on :macos => :mavericks + depends_on java: ["1.7+", :optional] + depends_on macos: :mavericks resource "berkeley-db" do url "https://zeroc.com/download/homebrew/db-5.3.28.NC.brew.tar.gz" diff --git a/Formula/icu4c.rb b/Formula/icu4c.rb index 228c0fdded392..9b1b849973af0 100644 --- a/Formula/icu4c.rb +++ b/Formula/icu4c.rb @@ -6,7 +6,7 @@ class Icu4c < Formula version "57.1" sha256 "ff8c67cb65949b1e7808f2359f2b80f722697048e90e7cfc382ec1fe229e9581" - head "https://ssl.icu-project.org/repos/icu/icu/trunk/", :using => :svn + head "https://ssl.icu-project.org/repos/icu/icu/trunk/", using: :svn bottle do cellar :any diff --git a/Formula/id3lib.rb b/Formula/id3lib.rb index 6d0a280f5e62b..10187bd120a78 100644 --- a/Formula/id3lib.rb +++ b/Formula/id3lib.rb @@ -19,7 +19,7 @@ class Id3lib < Formula end head ":pserver:anonymous:@id3lib.cvs.sourceforge.net:/cvsroot/id3lib", - :using => :cvs, :module => "id3lib-devel" + using: :cvs, module: "id3lib-devel" bottle do cellar :any diff --git a/Formula/idutils.rb b/Formula/idutils.rb index 76fe2bba21da7..50f70ba3dc11f 100644 --- a/Formula/idutils.rb +++ b/Formula/idutils.rb @@ -12,7 +12,7 @@ class Idutils < Formula sha256 "4625ef2ac2f7b2c87010880a0c31044ef850da4faded85c957b8ae23eeb7ab85" => :mavericks end - conflicts_with "coreutils", :because => "both install `gid` and `gid.1`" + conflicts_with "coreutils", because: "both install `gid` and `gid.1`" def install # Work around unremovable, nested dirs bug that affects lots of diff --git a/Formula/ii.rb b/Formula/ii.rb index 810a0c786c031..46b42d0123214 100644 --- a/Formula/ii.rb +++ b/Formula/ii.rb @@ -12,7 +12,7 @@ class Ii < Formula sha256 "5be7e1ba2e3dddf0d8700366c2ebee273c6c570fc4d6e20655d0bd9219478e9b" => :mavericks end - head "http://git.suckless.org/ii", :using => :git + head "http://git.suckless.org/ii", using: :git def install inreplace "config.mk" do |s| diff --git a/Formula/imagemagick.rb b/Formula/imagemagick.rb index 799522c1c32a0..f49b5d62d7c2d 100644 --- a/Formula/imagemagick.rb +++ b/Formula/imagemagick.rb @@ -43,7 +43,7 @@ class Imagemagick < Formula depends_on "libtiff" => :recommended depends_on "freetype" => :recommended - depends_on :x11 => :optional + depends_on x11: :optional depends_on "fontconfig" => :optional depends_on "little-cms" => :optional depends_on "little-cms2" => :optional @@ -56,7 +56,7 @@ class Imagemagick < Formula depends_on "openjpeg" => :optional depends_on "fftw" => :optional depends_on "pango" => :optional - depends_on :perl => ["5.5", :optional] + depends_on perl: ["5.5", :optional] needs :openmp if build.with? "openmp" diff --git a/Formula/imagesnap.rb b/Formula/imagesnap.rb index 9ca129c80a955..c1311756a0caf 100644 --- a/Formula/imagesnap.rb +++ b/Formula/imagesnap.rb @@ -14,7 +14,7 @@ class Imagesnap < Formula sha256 "72aaab7f5666295a48f2050a842ae9e04c6696507df68eed87559ace303c2dae" => :lion end - depends_on :xcode => :build + depends_on xcode: :build def install xcodebuild "-project", "ImageSnap.xcodeproj", "SYMROOT=build", "-sdk", "macosx#{MacOS.version}" diff --git a/Formula/imapsync.rb b/Formula/imapsync.rb index fdf7ee83cadef..f4e8a7ca8b55b 100644 --- a/Formula/imapsync.rb +++ b/Formula/imapsync.rb @@ -58,7 +58,7 @@ def install system "pod2man", "imapsync", "imapsync.1" bin.install "imapsync" man1.install "imapsync.1" - bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec+"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/imessage-ruby.rb b/Formula/imessage-ruby.rb index 906fa0d08bf8c..61d1e3626ae4b 100644 --- a/Formula/imessage-ruby.rb +++ b/Formula/imessage-ruby.rb @@ -12,7 +12,7 @@ class ImessageRuby < Formula sha256 "7b546ccf5cf13a7d474c635a57eebc8e74ff61ea6c7c3cdfefffe4c78737ab47" => :mavericks end - depends_on :macos => :mavericks + depends_on macos: :mavericks def install rake "standalone:install", "prefix=#{prefix}" diff --git a/Formula/imlib2.rb b/Formula/imlib2.rb index 09ce94c910ee3..1e879c70d18cf 100644 --- a/Formula/imlib2.rb +++ b/Formula/imlib2.rb @@ -20,7 +20,7 @@ class Imlib2 < Formula depends_on "giflib" => :recommended depends_on "libtiff" => :recommended depends_on "libid3tag" => :optional - depends_on :x11 => :recommended + depends_on x11: :recommended def install args = %W[ diff --git a/Formula/influxdb.rb b/Formula/influxdb.rb index 3ac7e82794881..1af609a30df34 100644 --- a/Formula/influxdb.rb +++ b/Formula/influxdb.rb @@ -6,12 +6,12 @@ class Influxdb < Formula stable do url "https://github.com/influxdata/influxdb.git", - :tag => "v1.0.0", - :revision => "37992377a55fbc138b2c01edd4deffed64b53989" + tag: "v1.0.0", + revision: "37992377a55fbc138b2c01edd4deffed64b53989" go_resource "github.com/dgrijalva/jwt-go" do url "https://github.com/dgrijalva/jwt-go.git", - :revision => "9b486c879bab3fde556ce8c27d9a2bb05d5b2c60" + revision: "9b486c879bab3fde556ce8c27d9a2bb05d5b2c60" end end @@ -28,7 +28,7 @@ class Influxdb < Formula go_resource "github.com/dgrijalva/jwt-go" do url "https://github.com/dgrijalva/jwt-go.git", - :revision => "63734eae1ef55eaac06fdc0f312615f2e321e273" + revision: "63734eae1ef55eaac06fdc0f312615f2e321e273" end end @@ -36,87 +36,87 @@ class Influxdb < Formula go_resource "collectd.org" do url "https://github.com/collectd/go-collectd.git", - :revision => "9fc824c70f713ea0f058a07b49a4c563ef2a3b98" + revision: "9fc824c70f713ea0f058a07b49a4c563ef2a3b98" end go_resource "github.com/BurntSushi/toml" do url "https://github.com/BurntSushi/toml.git", - :revision => "99064174e013895bbd9b025c31100bd1d9b590ca" + revision: "99064174e013895bbd9b025c31100bd1d9b590ca" end go_resource "github.com/bmizerany/pat" do url "https://github.com/bmizerany/pat.git", - :revision => "c068ca2f0aacee5ac3681d68e4d0a003b7d1fd2c" + revision: "c068ca2f0aacee5ac3681d68e4d0a003b7d1fd2c" end go_resource "github.com/boltdb/bolt" do url "https://github.com/boltdb/bolt.git", - :revision => "5cc10bbbc5c141029940133bb33c9e969512a698" + revision: "5cc10bbbc5c141029940133bb33c9e969512a698" end go_resource "github.com/davecgh/go-spew" do url "https://github.com/davecgh/go-spew.git", - :revision => "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + revision: "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" end go_resource "github.com/dgryski/go-bits" do url "https://github.com/dgryski/go-bits.git", - :revision => "2ad8d707cc05b1815ce6ff2543bb5e8d8f9298ef" + revision: "2ad8d707cc05b1815ce6ff2543bb5e8d8f9298ef" end go_resource "github.com/dgryski/go-bitstream" do url "https://github.com/dgryski/go-bitstream.git", - :revision => "7d46cd22db7004f0cceb6f7975824b560cf0e486" + revision: "7d46cd22db7004f0cceb6f7975824b560cf0e486" end go_resource "github.com/gogo/protobuf" do url "https://github.com/gogo/protobuf.git", - :revision => "6abcf94fd4c97dcb423fdafd42fe9f96ca7e421b" + revision: "6abcf94fd4c97dcb423fdafd42fe9f96ca7e421b" end go_resource "github.com/golang/snappy" do url "https://github.com/golang/snappy.git", - :revision => "d9eb7a3d35ec988b8585d4a0068e462c27d28380" + revision: "d9eb7a3d35ec988b8585d4a0068e462c27d28380" end go_resource "github.com/influxdata/usage-client" do url "https://github.com/influxdata/usage-client.git", - :revision => "475977e68d79883d9c8d67131c84e4241523f452" + revision: "475977e68d79883d9c8d67131c84e4241523f452" end go_resource "github.com/jwilder/encoding" do url "https://github.com/jwilder/encoding.git", - :revision => "ac74639f65b2180a2e5eb5ff197f0c122441aed0" + revision: "ac74639f65b2180a2e5eb5ff197f0c122441aed0" end go_resource "github.com/kimor79/gollectd" do url "https://github.com/kimor79/gollectd.git", - :revision => "61d0deeb4ffcc167b2a1baa8efd72365692811bc" + revision: "61d0deeb4ffcc167b2a1baa8efd72365692811bc" end go_resource "github.com/paulbellamy/ratecounter" do url "https://github.com/paulbellamy/ratecounter.git", - :revision => "5a11f585a31379765c190c033b6ad39956584447" + revision: "5a11f585a31379765c190c033b6ad39956584447" end go_resource "github.com/peterh/liner" do url "https://github.com/peterh/liner.git", - :revision => "8975875355a81d612fafb9f5a6037bdcc2d9b073" + revision: "8975875355a81d612fafb9f5a6037bdcc2d9b073" end go_resource "github.com/rakyll/statik" do url "https://github.com/rakyll/statik.git", - :revision => "274df120e9065bdd08eb1120e0375e3dc1ae8465" + revision: "274df120e9065bdd08eb1120e0375e3dc1ae8465" end go_resource "github.com/retailnext/hllpp" do url "https://github.com/retailnext/hllpp.git", - :revision => "38a7bb71b483e855d35010808143beaf05b67f9d" + revision: "38a7bb71b483e855d35010808143beaf05b67f9d" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6" + revision: "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6" end def install @@ -151,7 +151,7 @@ def install (var/"influxdb/wal").mkpath end - plist_options :manual => "influxd -config #{HOMEBREW_PREFIX}/etc/influxdb.conf" + plist_options manual: "influxd -config #{HOMEBREW_PREFIX}/etc/influxdb.conf" def plist; <<-EOS.undent diff --git a/Formula/iniparser.rb b/Formula/iniparser.rb index 0f51290d57853..527b2f7b4b1ab 100644 --- a/Formula/iniparser.rb +++ b/Formula/iniparser.rb @@ -12,7 +12,7 @@ class Iniparser < Formula sha256 "7e211ecdcd55d267ab0921a15cf27b739b7a1af62160ac8b62dd456119c1a5d0" => :mavericks end - conflicts_with "fastbit", :because => "Both install `include/dictionary.h`" + conflicts_with "fastbit", because: "Both install `include/dictionary.h`" def install # Only make the *.a file; the *.so target is useless (and fails). diff --git a/Formula/innotop.rb b/Formula/innotop.rb index 593466e482182..f1e32b5068c61 100644 --- a/Formula/innotop.rb +++ b/Formula/innotop.rb @@ -34,7 +34,7 @@ def install system "perl", "Makefile.PL", "INSTALL_BASE=#{prefix}" system "make", "install" share.install prefix/"man" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/ino.rb b/Formula/ino.rb index a5f1aa1793fad..4883aaab9f543 100644 --- a/Formula/ino.rb +++ b/Formula/ino.rb @@ -62,7 +62,7 @@ def install rm Dir["#{lib}/python2.7/site-packages/*.pth"] - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/inspircd.rb b/Formula/inspircd.rb index 09b2b05c0b0f6..cdebe0ee085c7 100644 --- a/Formula/inspircd.rb +++ b/Formula/inspircd.rb @@ -3,7 +3,7 @@ class Inspircd < Formula homepage "http://www.inspircd.org" url "https://github.com/inspircd/inspircd/archive/v2.0.23.tar.gz" sha256 "522b31fc80e8fd90b66837bf50f8a941233709d5b1fc9c0b3c47a413fb69f162" - head "https://github.com/inspircd/inspircd.git", :branch => "insp20" + head "https://github.com/inspircd/inspircd.git", branch: "insp20" bottle do sha256 "399ef38bf73da815b8474922013136e85045f1e8d060fb8e01ecf9eb2b84c9d4" => :el_capitan @@ -19,7 +19,7 @@ class Inspircd < Formula depends_on "pkg-config" => :build depends_on "geoip" => :optional depends_on "gnutls" => :optional - depends_on :mysql => :optional + depends_on mysql: :optional depends_on "openssl" => :optional depends_on "pcre" => :optional depends_on "postgresql" => :optional diff --git a/Formula/internetarchive.rb b/Formula/internetarchive.rb index 55e6824d969a7..ebf4ba8ab2122 100644 --- a/Formula/internetarchive.rb +++ b/Formula/internetarchive.rb @@ -105,7 +105,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"]) end test do diff --git a/Formula/io.rb b/Formula/io.rb index 3469766e52b0e..e952e782e775e 100644 --- a/Formula/io.rb +++ b/Formula/io.rb @@ -33,7 +33,7 @@ class Io < Formula depends_on "pcre" depends_on "yajl" depends_on "xz" - depends_on :python => :optional + depends_on python: :optional end def install diff --git a/Formula/ios-class-guard.rb b/Formula/ios-class-guard.rb index 3b02aff3d4132..9522a9361e251 100644 --- a/Formula/ios-class-guard.rb +++ b/Formula/ios-class-guard.rb @@ -12,8 +12,8 @@ class IosClassGuard < Formula sha256 "4eddde784c843628cb8bcb8c971142683c5a17373058f5bda62356b432dec00a" => :mavericks end - depends_on :macos => :mavericks - depends_on :xcode => :build + depends_on macos: :mavericks + depends_on xcode: :build def install xcodebuild "-workspace", "ios-class-guard.xcworkspace", "-scheme", "ios-class-guard", "-configuration", "Release", "SYMROOT=build", "PREFIX=#{prefix}", "ONLY_ACTIVE_ARCH=YES" diff --git a/Formula/ios-deploy.rb b/Formula/ios-deploy.rb index 3c92a08dd5283..da389b0e7deed 100644 --- a/Formula/ios-deploy.rb +++ b/Formula/ios-deploy.rb @@ -11,8 +11,8 @@ class IosDeploy < Formula sha256 "6349ec96d53235201ac3fffff6a89f211289ad1ea03e4bc3899d189fa84e63fc" => :yosemite end - depends_on :xcode => :build - depends_on :macos => :yosemite + depends_on xcode: :build + depends_on macos: :yosemite def install xcodebuild "-configuration", "Release", "SYMROOT=build" diff --git a/Formula/ios-sim.rb b/Formula/ios-sim.rb index 441c95d01248d..bbd8ea3e47fe9 100644 --- a/Formula/ios-sim.rb +++ b/Formula/ios-sim.rb @@ -13,7 +13,7 @@ class IosSim < Formula sha256 "2182681c195d4a616f9a3975ea986de04d7d5b4c434844e503b83e4b18cd035c" => :mountain_lion end - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion def install rake "install", "prefix=#{prefix}" diff --git a/Formula/ios-webkit-debug-proxy.rb b/Formula/ios-webkit-debug-proxy.rb index f98b3c48d6895..be2e32584c27f 100644 --- a/Formula/ios-webkit-debug-proxy.rb +++ b/Formula/ios-webkit-debug-proxy.rb @@ -11,7 +11,7 @@ class IosWebkitDebugProxy < Formula sha256 "54b86fcdc7fc1d6a3edcb80b252503b4b682603a3089e8deecfdbf532562fb27" => :mavericks end - depends_on :macos => :lion + depends_on macos: :lion depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build diff --git a/Formula/ipfs.rb b/Formula/ipfs.rb index cf2390ce4e735..fd0a9faeb3e77 100644 --- a/Formula/ipfs.rb +++ b/Formula/ipfs.rb @@ -2,8 +2,8 @@ class Ipfs < Formula desc "Peer-to-peer hypermedia protocol" homepage "https://ipfs.io/" url "https://github.com/ipfs/go-ipfs.git", - :tag => "v0.4.2", - :revision => "41c5e11ab1f99bd5aa2ba738fd7dd51392546863" + tag: "v0.4.2", + revision: "41c5e11ab1f99bd5aa2ba738fd7dd51392546863" head "https://github.com/ipfs/go-ipfs.git" bottle do diff --git a/Formula/ipmiutil.rb b/Formula/ipmiutil.rb index 39dd2744ce3ab..b2670ac1b59ec 100644 --- a/Formula/ipmiutil.rb +++ b/Formula/ipmiutil.rb @@ -19,7 +19,7 @@ class Ipmiutil < Formula # https://sourceforge.net/p/ipmiutil/mailman/message/33373858/ patch :DATA - conflicts_with "renameutils", :because => "both install `icmd` binaries" + conflicts_with "renameutils", because: "both install `icmd` binaries" def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Formula/ircd-hybrid.rb b/Formula/ircd-hybrid.rb index e70435bc74dec..9ae65709ba86f 100644 --- a/Formula/ircd-hybrid.rb +++ b/Formula/ircd-hybrid.rb @@ -15,7 +15,7 @@ class IrcdHybrid < Formula depends_on "openssl" - conflicts_with "ircd-irc2", :because => "both install an `ircd` binary" + conflicts_with "ircd-irc2", because: "both install an `ircd` binary" def install ENV.j1 # build system trips over itself @@ -35,7 +35,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "ircd" + plist_options manual: "ircd" def plist; <<-EOS.undent diff --git a/Formula/ircd-irc2.rb b/Formula/ircd-irc2.rb index c344abcc1df55..706382191540f 100644 --- a/Formula/ircd-irc2.rb +++ b/Formula/ircd-irc2.rb @@ -32,7 +32,7 @@ def default_ircd_conf EOS end - conflicts_with "ircd-hybrid", :because => "both install `ircd` binaries" + conflicts_with "ircd-hybrid", because: "both install `ircd` binaries" def install system "./configure", "--prefix=#{prefix}", @@ -56,7 +56,7 @@ def install (etc/"ircd.conf").write default_ircd_conf end - plist_options :manual => "ircd" + plist_options manual: "ircd" def plist; <<-EOS.undent diff --git a/Formula/irods.rb b/Formula/irods.rb index f8c17b1815cf9..aaf17a6ee6ca1 100644 --- a/Formula/irods.rb +++ b/Formula/irods.rb @@ -13,15 +13,15 @@ class Irods < Formula sha256 "6b0aa76607c2fec9b0007a6ad4fdca8ab53e7615edc01e3dccd35facbea9bb39" => :mountain_lion end - conflicts_with "sleuthkit", :because => "both install `ils`" + conflicts_with "sleuthkit", because: "both install `ils`" option "with-osxfuse", "Install iRODS FUSE client" - depends_on :osxfuse => :optional + depends_on osxfuse: :optional depends_on "openssl" conflicts_with "renameutils", - :because => "both install `icp` and `imv` binaries" + because: "both install `icp` and `imv` binaries" def install cd "iRODS" do diff --git a/Formula/irrlicht.rb b/Formula/irrlicht.rb index 1400fe6d653cb..056212d4adf99 100644 --- a/Formula/irrlicht.rb +++ b/Formula/irrlicht.rb @@ -12,7 +12,7 @@ class Irrlicht < Formula sha256 "4389e5f8047158f0ef3ae9c55c03f7a1584a90a0964b8ff4ea4669df3ef741d1" => :mavericks end - depends_on :xcode => :build + depends_on xcode: :build def install xcodebuild "-project", "source/Irrlicht/MacOSX/MacOSX.xcodeproj", diff --git a/Formula/isc-dhcp.rb b/Formula/isc-dhcp.rb index 4884c4d04c892..0e68559e93e3f 100644 --- a/Formula/isc-dhcp.rb +++ b/Formula/isc-dhcp.rb @@ -91,7 +91,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist <<-EOS.undent diff --git a/Formula/itstool.rb b/Formula/itstool.rb index b580d6c8f495e..93372f593407b 100644 --- a/Formula/itstool.rb +++ b/Formula/itstool.rb @@ -30,7 +30,7 @@ def install system "make", "install" 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"]) pkgshare.install_symlink libexec/"share/itstool/its" man1.install_symlink libexec/"share/man/man1/itstool.1" end diff --git a/Formula/jack.rb b/Formula/jack.rb index a7f1c85abdb57..5d997dbee7cae 100644 --- a/Formula/jack.rb +++ b/Formula/jack.rb @@ -27,7 +27,7 @@ class Jack < Formula # Change pThread header include from CarbonCore patch :p0, :DATA if MacOS.version >= :mountain_lion - plist_options :manual => "jackd -d coreaudio" + plist_options manual: "jackd -d coreaudio" def plist; <<-EOS.undent diff --git a/Formula/jadx.rb b/Formula/jadx.rb index b4984c9a0f9f7..0253c63730f93 100644 --- a/Formula/jadx.rb +++ b/Formula/jadx.rb @@ -6,16 +6,16 @@ class Jadx < Formula head do url "https://github.com/skylot/jadx.git" - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on "gradle" => :build end bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" resource "sample.apk" do - url "https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk", :using => :nounzip + url "https://github.com/downloads/stephanenicolas/RoboDemo/robodemo-sample-1.0.1.apk", using: :nounzip sha256 "bf3ec04631339538c8edb97ebbd5262c3962c5873a2df9022385156c775eb81f" end diff --git a/Formula/jam.rb b/Formula/jam.rb index db9ffb262ffd7..97c0bc1389aa3 100644 --- a/Formula/jam.rb +++ b/Formula/jam.rb @@ -11,7 +11,7 @@ class Jam < Formula sha256 "83ef7ba772948a5e06481cd0a32c54f09139d2693d880223b72ee27deb4d7e37" => :mavericks end - conflicts_with "ftjam", :because => "both install a `jam` binary" + conflicts_with "ftjam", because: "both install a `jam` binary" def install system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", "LOCATE_TARGET=bin" diff --git a/Formula/jbigkit.rb b/Formula/jbigkit.rb index 595a75abf0f29..97e8bf7b8d70b 100644 --- a/Formula/jbigkit.rb +++ b/Formula/jbigkit.rb @@ -14,7 +14,7 @@ class Jbigkit < Formula end head "https://www.cl.cam.ac.uk/~mgk25/git/jbigkit", - :using => :git + using: :git option :universal option "with-test", "Verify the library during install" diff --git a/Formula/jed.rb b/Formula/jed.rb index 661efa2368f34..cb643c1903f7c 100644 --- a/Formula/jed.rb +++ b/Formula/jed.rb @@ -19,7 +19,7 @@ class Jed < Formula end depends_on "s-lang" - depends_on :x11 => :optional + depends_on x11: :optional def install if build.head? diff --git a/Formula/jenkins-job-builder.rb b/Formula/jenkins-job-builder.rb index 61037410dcb10..979ef91201f65 100644 --- a/Formula/jenkins-job-builder.rb +++ b/Formula/jenkins-job-builder.rb @@ -60,7 +60,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"]) end test do diff --git a/Formula/jenkins.rb b/Formula/jenkins.rb index 7905e9065eebc..7f5cb16d6dd3e 100644 --- a/Formula/jenkins.rb +++ b/Formula/jenkins.rb @@ -11,7 +11,7 @@ class Jenkins < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install if build.head? @@ -30,7 +30,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "jenkins" + plist_options manual: "jenkins" def plist; <<-EOS.undent diff --git a/Formula/jetty.rb b/Formula/jetty.rb index 3c873e4e229a9..1029c256fd998 100644 --- a/Formula/jetty.rb +++ b/Formula/jetty.rb @@ -7,7 +7,7 @@ class Jetty < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install libexec.install Dir["*"] diff --git a/Formula/jflex.rb b/Formula/jflex.rb index 1e9f42bb9343d..b3e42aaecfefb 100644 --- a/Formula/jflex.rb +++ b/Formula/jflex.rb @@ -6,7 +6,7 @@ class Jflex < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install pkgshare.install "examples" diff --git a/Formula/jmxtrans.rb b/Formula/jmxtrans.rb index c7dcf022566bc..8aed45a9f45ca 100644 --- a/Formula/jmxtrans.rb +++ b/Formula/jmxtrans.rb @@ -12,7 +12,7 @@ class Jmxtrans < Formula sha256 "c57be793f849944d5fdb0a98ca089dacc61afb9a99ab3e353ef67aa1ff605d9f" => :mavericks end - depends_on :java => "1.6+" + depends_on java: "1.6+" depends_on "maven" => :build def install diff --git a/Formula/john-jumbo.rb b/Formula/john-jumbo.rb index bfcba0311cc5e..08c9fb5f52c40 100644 --- a/Formula/john-jumbo.rb +++ b/Formula/john-jumbo.rb @@ -24,7 +24,7 @@ class JohnJumbo < Formula sha256 "b36f66b0469b5c6cde95f780671db5b32e4e4dd7c16c4e7e591043bfdef2b65c" => :mavericks end - conflicts_with "john", :because => "both install the same binaries" + conflicts_with "john", because: "both install the same binaries" option "without-completion", "bash/zsh completion will not be installed" diff --git a/Formula/john.rb b/Formula/john.rb index 5e48980a11982..8377a5cbcafc4 100644 --- a/Formula/john.rb +++ b/Formula/john.rb @@ -12,7 +12,7 @@ class John < Formula sha256 "394909ad355846b561077f89a216fc87902d116dfcb970b92ff7f563a3d5ce3e" => :mavericks end - conflicts_with "john-jumbo", :because => "both install the same binaries" + conflicts_with "john-jumbo", because: "both install the same binaries" patch :DATA # Taken from MacPorts, tells john where to find runtime files diff --git a/Formula/jooby-bootstrap.rb b/Formula/jooby-bootstrap.rb index bf0b698dc7693..5a5796797003d 100644 --- a/Formula/jooby-bootstrap.rb +++ b/Formula/jooby-bootstrap.rb @@ -6,7 +6,7 @@ class JoobyBootstrap < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on "maven" def install diff --git a/Formula/joshua.rb b/Formula/joshua.rb index bda431a6dc73a..a2134d498a89f 100644 --- a/Formula/joshua.rb +++ b/Formula/joshua.rb @@ -21,7 +21,7 @@ class Joshua < Formula depends_on "ant" => :build depends_on "boost" => :build depends_on "md5sha1sum" => :build - depends_on :python => :build if MacOS.version <= :snow_leopard + depends_on python: :build if MacOS.version <= :snow_leopard resource "es-en-phrase-pack" do url "https://cs.jhu.edu/~post/language-packs/language-pack-es-en-phrase-2015-03-06.tgz" diff --git a/Formula/jruby.rb b/Formula/jruby.rb index 35d75ca5139df..9195a0130654c 100644 --- a/Formula/jruby.rb +++ b/Formula/jruby.rb @@ -6,7 +6,7 @@ class Jruby < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install # Remove Windows files diff --git a/Formula/jsdoc-toolkit.rb b/Formula/jsdoc-toolkit.rb index 3599c94f564a0..73fe37b24235a 100644 --- a/Formula/jsdoc-toolkit.rb +++ b/Formula/jsdoc-toolkit.rb @@ -6,7 +6,7 @@ class JsdocToolkit < Formula bottle :unneeded - conflicts_with "jsdoc3", :because => "both install jsdoc" + conflicts_with "jsdoc3", because: "both install jsdoc" def install system "/bin/echo '#!/bin/ksh\nJSDOCDIR=\"#{libexec}/jsdoc-toolkit\"' > jsdoc" diff --git a/Formula/jsdoc3.rb b/Formula/jsdoc3.rb index f783f0c479218..a970a64ca4bd8 100644 --- a/Formula/jsdoc3.rb +++ b/Formula/jsdoc3.rb @@ -16,7 +16,7 @@ class Jsdoc3 < Formula depends_on "node" - conflicts_with "jsdoc-toolkit", :because => "both install jsdoc" + conflicts_with "jsdoc-toolkit", because: "both install jsdoc" def install system "npm", "install", *Language::Node.std_npm_install_args(libexec) diff --git a/Formula/jsonnet.rb b/Formula/jsonnet.rb index ab42e5e22809a..aef2cee0b4966 100644 --- a/Formula/jsonnet.rb +++ b/Formula/jsonnet.rb @@ -13,7 +13,7 @@ class Jsonnet < Formula needs :cxx11 - depends_on :macos => :mavericks + depends_on macos: :mavericks def install ENV.cxx11 diff --git a/Formula/jsonschema2pojo.rb b/Formula/jsonschema2pojo.rb index f3a762d3731e7..77897e93bc639 100644 --- a/Formula/jsonschema2pojo.rb +++ b/Formula/jsonschema2pojo.rb @@ -6,7 +6,7 @@ class Jsonschema2pojo < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install libexec.install %W[jsonschema2pojo-cli-#{version}.jar lib] diff --git a/Formula/juju-quickstart.rb b/Formula/juju-quickstart.rb index 2e87e5b0dc240..b296c160646c4 100644 --- a/Formula/juju-quickstart.rb +++ b/Formula/juju-quickstart.rb @@ -18,7 +18,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec+"lib/python2.7/site-packages" system "python", "setup.py", "install", "--prefix=#{libexec}" bin.install Dir[libexec/"bin/juju-quickstart"] - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/jvgrep.rb b/Formula/jvgrep.rb index abaa84b3c9635..faafa96d0cb56 100644 --- a/Formula/jvgrep.rb +++ b/Formula/jvgrep.rb @@ -18,27 +18,27 @@ class Jvgrep < Formula go_resource "github.com/k-takata/go-iscygpty" do url "https://github.com/k-takata/go-iscygpty.git", - :revision => "f91f8810106213f01bd64933dc10d849bd9137ac" + revision: "f91f8810106213f01bd64933dc10d849bd9137ac" end go_resource "github.com/mattn/go-colorable" do url "https://github.com/mattn/go-colorable.git", - :revision => "9056b7a9f2d1f2d96498d6d146acd1f9d5ed3d59" + revision: "9056b7a9f2d1f2d96498d6d146acd1f9d5ed3d59" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "56b76bdf51f7708750eac80fa38b952bb9f32639" + revision: "56b76bdf51f7708750eac80fa38b952bb9f32639" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "e445b19913b9d40fdbdfe19ac5e3d314aafd6f63" + revision: "e445b19913b9d40fdbdfe19ac5e3d314aafd6f63" end go_resource "golang.org/x/text" do url "https://go.googlesource.com/text.git", - :revision => "4440cd4f4c2ea31e1872e00de675a86d0c19006c" + revision: "4440cd4f4c2ea31e1872e00de675a86d0c19006c" end def install diff --git a/Formula/jxrlib.rb b/Formula/jxrlib.rb index 728f20e9e0d71..60142025812b0 100644 --- a/Formula/jxrlib.rb +++ b/Formula/jxrlib.rb @@ -5,7 +5,7 @@ class Jxrlib < Formula version "1.1" sha256 "a79e27801ab19af936beb9ece36f1c6c1914c3baf25597fd270709dc4520a190" - head "https://git01.codeplex.com/jxrlib", :using => :git + head "https://git01.codeplex.com/jxrlib", using: :git bottle do cellar :any_skip_relocation diff --git a/Formula/kafka.rb b/Formula/kafka.rb index 565fe834c9751..a78f2d8e3109d 100644 --- a/Formula/kafka.rb +++ b/Formula/kafka.rb @@ -15,7 +15,7 @@ class Kafka < Formula end depends_on "zookeeper" - depends_on :java => "1.8+" + depends_on java: "1.8+" # Related to https://issues.apache.org/jira/browse/KAFKA-2034 # Since Kafka does not currently set the source or target compability version inside build.gradle @@ -52,7 +52,7 @@ def install (var+"log/kafka").mkpath end - plist_options :manual => "zookeeper-server-start #{HOMEBREW_PREFIX}/etc/kafka/zookeeper.properties; kafka-server-start #{HOMEBREW_PREFIX}/etc/kafka/server.properties" + plist_options manual: "zookeeper-server-start #{HOMEBREW_PREFIX}/etc/kafka/zookeeper.properties; kafka-server-start #{HOMEBREW_PREFIX}/etc/kafka/server.properties" def plist; <<-EOS.undent diff --git a/Formula/kapacitor.rb b/Formula/kapacitor.rb index 449f234cfb0c0..dc7b64e078843 100644 --- a/Formula/kapacitor.rb +++ b/Formula/kapacitor.rb @@ -2,8 +2,8 @@ class Kapacitor < Formula desc "Open source time series data processor" homepage "https://github.com/influxdata/kapacitor" url "https://github.com/influxdata/kapacitor.git", - :tag => "v1.0.0", - :revision => "c4953cf494f6019995434a6c152496013b7b474b" + tag: "v1.0.0", + revision: "c4953cf494f6019995434a6c152496013b7b474b" head "https://github.com/influxdata/kapacitor.git" @@ -41,7 +41,7 @@ def install (var/"kapacitor/tasks").mkpath end - plist_options :manual => "kapacitord -config #{HOMEBREW_PREFIX}/etc/kapacitor.conf" + plist_options manual: "kapacitord -config #{HOMEBREW_PREFIX}/etc/kapacitor.conf" def plist; <<-EOS.undent diff --git a/Formula/karn.rb b/Formula/karn.rb index 747015fbdf4e2..7dcfb250d4cc6 100644 --- a/Formula/karn.rb +++ b/Formula/karn.rb @@ -17,17 +17,17 @@ class Karn < Formula go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "f47f7b7e8568e846e9614acd5738092c3acf7058" + revision: "f47f7b7e8568e846e9614acd5738092c3acf7058" end go_resource "github.com/mitchellh/go-homedir" do url "https://github.com/mitchellh/go-homedir.git", - :revision => "7d2d8c8a4e078ce3c58736ab521a40b37a504c52" + revision: "7d2d8c8a4e078ce3c58736ab521a40b37a504c52" end go_resource "gopkg.in/yaml.v2" do url "https://gopkg.in/yaml.v2", - :revision => "49c95bdc21843256fb6c4e0d370a05f24a0bf213", :using => :git + revision: "49c95bdc21843256fb6c4e0d370a05f24a0bf213", using: :git end def install diff --git a/Formula/keepassc.rb b/Formula/keepassc.rb index 5d64aa8ac1c46..46a2c315184ab 100644 --- a/Formula/keepassc.rb +++ b/Formula/keepassc.rb @@ -3,7 +3,7 @@ class Keepassc < Formula homepage "https://raymontag.github.com/keepassc/" url "https://github.com/raymontag/keepassc/archive/1.7.0.tar.gz" sha256 "218537f6a16f70d907d22a23d1a4dec952d7622c65fae65f03c9ee98e64938dd" - head "https://github.com/raymontag/keepassc.git", :branch => "development" + head "https://github.com/raymontag/keepassc.git", branch: "development" revision 1 bottle do @@ -41,7 +41,7 @@ def install man1.install Dir["*.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 test do diff --git a/Formula/kes.rb b/Formula/kes.rb index 06084f9525c58..1b0111df54f55 100644 --- a/Formula/kes.rb +++ b/Formula/kes.rb @@ -16,7 +16,7 @@ class Kes < Formula depends_on "readline" - conflicts_with "es", :because => "both install 'es' binary" + conflicts_with "es", because: "both install 'es' binary" def install system "./configure", "--prefix=#{prefix}", diff --git a/Formula/kettle.rb b/Formula/kettle.rb index 5fd2c51683fe1..7460f6d639489 100644 --- a/Formula/kettle.rb +++ b/Formula/kettle.rb @@ -18,7 +18,7 @@ def install # We don't assume that carte, kitchen or pan are in anyway unique command names so we'll prepend "pdi" %w[carte kitchen pan].each do |command| - (bin+"pdi#{command}").write_env_script libexec+"#{command}.sh", :BASEDIR => libexec + (bin+"pdi#{command}").write_env_script libexec+"#{command}.sh", BASEDIR: libexec end end diff --git a/Formula/kibana.rb b/Formula/kibana.rb index 176744a4b8ed7..ffbd65cc66bd3 100644 --- a/Formula/kibana.rb +++ b/Formula/kibana.rb @@ -4,8 +4,8 @@ class Kibana < Formula desc "Analytics and search dashboard for Elasticsearch" homepage "https://www.elastic.co/products/kibana" url "https://github.com/elastic/kibana.git", - :tag => "v4.5.1", - :revision => "addb28966a74b61791ceda352cd5b8b1200f2b2a" + tag: "v4.5.1", + revision: "addb28966a74b61791ceda352cd5b8b1200f2b2a" head "https://github.com/elastic/kibana.git" @@ -18,8 +18,8 @@ class Kibana < Formula devel do url "https://github.com/elastic/kibana.git", - :tag => "v5.0.0-alpha3", - :revision => "b6190c95064a7c48c390c4566e82b5a562ca744f" + tag: "v5.0.0-alpha3", + revision: "b6190c95064a7c48c390c4566e82b5a562ca744f" version "5.0.0-alpha3" end @@ -88,7 +88,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "kibana" + plist_options manual: "kibana" def plist; <<-EOS.undent diff --git a/Formula/kitchen-sync.rb b/Formula/kitchen-sync.rb index 0783157ce2ddd..a009a46f35ad9 100644 --- a/Formula/kitchen-sync.rb +++ b/Formula/kitchen-sync.rb @@ -17,8 +17,8 @@ class KitchenSync < Formula depends_on "boost" depends_on "yaml-cpp" => (MacOS.version <= :mountain_lion ? "c++11" : []) - depends_on :mysql => :recommended - depends_on :postgresql => :optional + depends_on mysql: :recommended + depends_on postgresql: :optional needs :cxx11 diff --git a/Formula/knot.rb b/Formula/knot.rb index 62c70f090dc93..a37d2b85de5e2 100644 --- a/Formula/knot.rb +++ b/Formula/knot.rb @@ -27,7 +27,7 @@ class Knot < Formula end # due to AT_REMOVEDIR - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "automake" => :build depends_on "autoconf" => :build @@ -102,7 +102,7 @@ def knot_conf; <<-EOS.undent EOS end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/konoha.rb b/Formula/konoha.rb index ba93da4aee8b7..043b8d43749eb 100644 --- a/Formula/konoha.rb +++ b/Formula/konoha.rb @@ -22,7 +22,7 @@ class Konoha < Formula deprecated_option "tests" => "with-test" depends_on "cmake" => :build - depends_on :mpi => [:cc, :cxx] + depends_on mpi: [:cc, :cxx] depends_on "pcre" depends_on "json-c" depends_on "sqlite" diff --git a/Formula/kore.rb b/Formula/kore.rb index 6e239df8c3d58..8c7cc2010b3e5 100644 --- a/Formula/kore.rb +++ b/Formula/kore.rb @@ -12,7 +12,7 @@ class Kore < Formula # src/pool.c:151:6: error: use of undeclared identifier 'MAP_ANONYMOUS' # Reported 4 Aug 2016: https://github.com/jorisvink/kore/issues/140 - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "openssl" depends_on "postgresql" => :optional diff --git a/Formula/kpcli.rb b/Formula/kpcli.rb index a76b0c6e63409..f8de139724aa2 100644 --- a/Formula/kpcli.rb +++ b/Formula/kpcli.rb @@ -91,7 +91,7 @@ def install libexec.install "kpcli-3.0.pl" => "kpcli" chmod 0755, libexec/"kpcli" - (bin/"kpcli").write_env_script("#{libexec}/kpcli", :PERL5LIB => ENV["PERL5LIB"]) + (bin/"kpcli").write_env_script("#{libexec}/kpcli", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/ksh.rb b/Formula/ksh.rb index e9296a147c389..2b6a15637e0cd 100644 --- a/Formula/ksh.rb +++ b/Formula/ksh.rb @@ -3,7 +3,7 @@ class Ksh < Formula desc "ksh93, the KornShell" homepage "http://www.kornshell.com" url "https://opensource.apple.com/source/ksh/ksh-23/ast-ksh.2012-08-01.tgz", - :using => :nounzip + using: :nounzip mirror "https://www.mirrorservice.org/pub/pkgsrc/distfiles/ast-ksh.2012-08-01.tgz" version "93u+" # Versioning scheme: + means "+ patches", - means "beta/alpha". sha256 "e6192cfa52a6a9fd20618cbaf3fa81f0cc9fd83525500757e83017275e962851" diff --git a/Formula/kubernetes-cli.rb b/Formula/kubernetes-cli.rb index a4b9f3f43d6b4..27e586a5e76e1 100644 --- a/Formula/kubernetes-cli.rb +++ b/Formula/kubernetes-cli.rb @@ -16,8 +16,8 @@ class KubernetesCli < Formula devel do # building from the tag lets it pick up the correct version info url "https://github.com/kubernetes/kubernetes.git", - :tag => "v1.4.0-alpha.3", - :revision => "b44b716965db2d54c8c7dfcdbcb1d54792ab8559" + tag: "v1.4.0-alpha.3", + revision: "b44b716965db2d54c8c7dfcdbcb1d54792ab8559" version "1.4.0-alpha.3" end diff --git a/Formula/l-smash.rb b/Formula/l-smash.rb index 2cbe415ce8119..b8ff7d3a76e34 100644 --- a/Formula/l-smash.rb +++ b/Formula/l-smash.rb @@ -2,9 +2,9 @@ class LSmash < Formula desc "Tool for working with MP4 files" homepage "https://l-smash.github.io/l-smash/" url "https://github.com/l-smash/l-smash.git", - :shallow => false, - :tag => "v2.9.1", - :revision => "4cea08d264933634db5bc06da9d8d88fb5ddae07" + shallow: false, + tag: "v2.9.1", + revision: "4cea08d264933634db5bc06da9d8d88fb5ddae07" head "https://github.com/l-smash/l-smash.git" bottle do diff --git a/Formula/latex2html.rb b/Formula/latex2html.rb index 80359db0e9d8e..0efc6dca0dbc9 100644 --- a/Formula/latex2html.rb +++ b/Formula/latex2html.rb @@ -13,7 +13,7 @@ class Latex2html < Formula depends_on "netpbm" depends_on "ghostscript" - depends_on :tex => :optional + depends_on tex: :optional def install system "./configure", "--prefix=#{prefix}", diff --git a/Formula/latexml.rb b/Formula/latexml.rb index da68f80d682d1..2b0294b7d5dac 100644 --- a/Formula/latexml.rb +++ b/Formula/latexml.rb @@ -39,7 +39,7 @@ def install (libexec+"bin").find.each do |path| next if path.directory? program = path.basename - (bin+program).write_env_script("#{libexec}/bin/#{program}", :PERL5LIB => ENV["PERL5LIB"]) + (bin+program).write_env_script("#{libexec}/bin/#{program}", PERL5LIB: ENV["PERL5LIB"]) end end diff --git a/Formula/launch.rb b/Formula/launch.rb index 550bea5ebb5d3..3b264d79c5d94 100644 --- a/Formula/launch.rb +++ b/Formula/launch.rb @@ -29,7 +29,7 @@ class Launch < Formula sha256 "66516ede076656bf3603fb80b499965f7a8715eead23d56ff38de33077bf816b" => :mavericks end - depends_on :xcode => :build + depends_on xcode: :build def install rm_rf "launch" # We'll build it ourself, thanks. diff --git a/Formula/launch_socket_server.rb b/Formula/launch_socket_server.rb index b5c4c971c330a..6e2d0af5cb3f5 100644 --- a/Formula/launch_socket_server.rb +++ b/Formula/launch_socket_server.rb @@ -16,13 +16,13 @@ class LaunchSocketServer < Formula end depends_on "go" => :build - depends_on :macos => :yosemite + depends_on macos: :yosemite def install system "make", "install", "PREFIX=#{prefix}" end - plist_options :startup => true + plist_options startup: true def plist <<-EOS.undent diff --git a/Formula/launchdns.rb b/Formula/launchdns.rb index 375d63a8d47ba..3cb46e4825590 100644 --- a/Formula/launchdns.rb +++ b/Formula/launchdns.rb @@ -13,7 +13,7 @@ class Launchdns < Formula sha256 "7df1ba7afd33fb76de28051fc835e4c8aed32dcd8c8530189d7db021be5b8600" => :yosemite end - depends_on :macos => :yosemite + depends_on macos: :yosemite def install ENV["PREFIX"] = prefix @@ -29,7 +29,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "launchdns" + plist_options manual: "launchdns" def plist; <<-EOS.undent diff --git a/Formula/lcdf-typetools.rb b/Formula/lcdf-typetools.rb index 7490a20fa2ae6..0945acc19851c 100644 --- a/Formula/lcdf-typetools.rb +++ b/Formula/lcdf-typetools.rb @@ -10,7 +10,7 @@ class LcdfTypetools < Formula sha256 "07c5729e83fcfd149cacac02fd432f500e87cee4a645e15dd53677a3798eeeef" => :mavericks end - conflicts_with "open-mpi", :because => "both install same set of binaries." + conflicts_with "open-mpi", because: "both install same set of binaries." def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/lci.rb b/Formula/lci.rb index f4236ba74679d..6f9dc2f953223 100644 --- a/Formula/lci.rb +++ b/Formula/lci.rb @@ -10,7 +10,7 @@ class Lci < Formula sha256 "d9c2381543f5fff02005a66d07f5c8fb925e4c2c40d87392816947c3c1b22816" => :mavericks end - conflicts_with "lolcode", :because => "both install `lci` binaries" + conflicts_with "lolcode", because: "both install `lci` binaries" def install system "./configure", "--prefix=#{prefix}" diff --git a/Formula/lcm.rb b/Formula/lcm.rb index 6e794a072f375..a3d844feecfea 100644 --- a/Formula/lcm.rb +++ b/Formula/lcm.rb @@ -21,9 +21,9 @@ class Lcm < Formula depends_on "pkg-config" => :build depends_on "glib" - depends_on :java => :recommended - depends_on :python => :optional - depends_on :python3 => :optional + depends_on java: :recommended + depends_on python: :optional + depends_on python3: :optional def install ENV.java_cache diff --git a/Formula/ld64.rb b/Formula/ld64.rb index 77caa93238def..0535a75b3a214 100644 --- a/Formula/ld64.rb +++ b/Formula/ld64.rb @@ -9,7 +9,7 @@ class Ld64 < Formula sha256 "02bd46af0809eaa415d096d7d41c3e8e7d80f7d8d181840866fb87f036b4e089" resource "makefile" do - url "https://raw.githubusercontent.com/Homebrew/formula-patches/3b073fca/ld64/Makefile-97", :using => :nounzip + url "https://raw.githubusercontent.com/Homebrew/formula-patches/3b073fca/ld64/Makefile-97", using: :nounzip sha256 "48e3475bd73f9501d17b7d334d3bf319f5664f2d5ab9d13378e37c2519ae2a3a" end diff --git a/Formula/ldc.rb b/Formula/ldc.rb index dbb72e96ca4f9..8c2c8afa46189 100644 --- a/Formula/ldc.rb +++ b/Formula/ldc.rb @@ -31,10 +31,10 @@ class Ldc < Formula end head do - url "https://github.com/ldc-developers/ldc.git", :shallow => false + url "https://github.com/ldc-developers/ldc.git", shallow: false resource "ldc-lts" do - url "https://github.com/ldc-developers/ldc.git", :shallow => false, :branch => "ltsmaster" + url "https://github.com/ldc-developers/ldc.git", shallow: false, branch: "ltsmaster" end end diff --git a/Formula/ldid.rb b/Formula/ldid.rb index bc44d3b328312..64ea6056d4b2a 100644 --- a/Formula/ldid.rb +++ b/Formula/ldid.rb @@ -2,8 +2,8 @@ class Ldid < Formula desc "Lets you manipulate the signature block in a Mach-O binary" homepage "https://cydia.saurik.com/info/ldid/" url "git://git.saurik.com/ldid.git", - :tag => "v1.2.1", - :revision => "e4b7adc1e02c9f0e16cc9ae2841192b386f6d4ea" + tag: "v1.2.1", + revision: "e4b7adc1e02c9f0e16cc9ae2841192b386f6d4ea" head "git://git.saurik.com/ldid.git" diff --git a/Formula/ldns.rb b/Formula/ldns.rb index a90d4c14b2b49..0f36e5f0d3e23 100644 --- a/Formula/ldns.rb +++ b/Formula/ldns.rb @@ -13,7 +13,7 @@ class Ldns < Formula sha256 "17d5d97bafecaad3fdd635b1e765d4d9470a195aceb27ed2214fad8332f69aff" => :mountain_lion end - depends_on :python => :optional + depends_on python: :optional depends_on "openssl" depends_on "swig" => :build if build.with? "python" diff --git a/Formula/le.rb b/Formula/le.rb index c894a5afcf902..3746cf4bc89cd 100644 --- a/Formula/le.rb +++ b/Formula/le.rb @@ -10,7 +10,7 @@ class Le < Formula sha256 "e8afe5fcbb5b40311216d0026b2b74caef69ea2289ae971ad29664290a10d8b7" => :mavericks end - conflicts_with "logentries", :because => "both install a le binary" + conflicts_with "logentries", because: "both install a le binary" def install ENV.j1 diff --git a/Formula/leaps.rb b/Formula/leaps.rb index 54bdf75dcd673..9bf6c1b9eb1f5 100644 --- a/Formula/leaps.rb +++ b/Formula/leaps.rb @@ -4,8 +4,8 @@ class Leaps < Formula desc "Collaborative web-based text editing service written in Golang" homepage "https://github.com/jeffail/leaps" url "https://github.com/Jeffail/leaps.git", - :tag => "v0.5.0", - :revision => "5cf7328a8c498041d2a887e89f22f138498f4621" + tag: "v0.5.0", + revision: "5cf7328a8c498041d2a887e89f22f138498f4621" sha256 "5f3fe0bb1a0ca75616ba2cb6cba7b11c535ac6c732e83c71f708dc074e489b1f" bottle do @@ -20,7 +20,7 @@ class Leaps < Formula go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "db8e4de5b2d6653f66aea53094624468caad15d2" + revision: "db8e4de5b2d6653f66aea53094624468caad15d2" end def install diff --git a/Formula/ledger.rb b/Formula/ledger.rb index 96a5dcae9f0cd..3018ae17d88e7 100644 --- a/Formula/ledger.rb +++ b/Formula/ledger.rb @@ -22,7 +22,7 @@ class Ledger < Formula depends_on "cmake" => :build depends_on "gmp" depends_on "mpfr" - depends_on :python => :recommended if MacOS.version <= :snow_leopard + depends_on python: :recommended if MacOS.version <= :snow_leopard boost_opts = [] boost_opts << "c++11" if MacOS.version < "10.9" diff --git a/Formula/legit.rb b/Formula/legit.rb index 7968ca998f607..bdf15531f6fac 100644 --- a/Formula/legit.rb +++ b/Formula/legit.rb @@ -1,7 +1,7 @@ class Legit < Formula desc "Command-line interface for Git, optimized for workflow simplicity" homepage "http://www.git-legit.org/" - head "https://github.com/kennethreitz/legit.git", :branch => "develop" + head "https://github.com/kennethreitz/legit.git", branch: "develop" revision 1 stable do @@ -66,7 +66,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"]) bash_completion.install "extra/bash-completion/legit" zsh_completion.install "extra/zsh-completion/_legit" diff --git a/Formula/lego.rb b/Formula/lego.rb index 6c4f28bd075ac..a9bf192319ac7 100644 --- a/Formula/lego.rb +++ b/Formula/lego.rb @@ -17,72 +17,72 @@ class Lego < Formula go_resource "cloud.google.com/go" do url "https://code.googlesource.com/gocloud.git", - :revision => "49467e5deee2b3e98455bb834e029afc067d04f5" + revision: "49467e5deee2b3e98455bb834e029afc067d04f5" end go_resource "github.com/JamesClonk/vultr" do url "https://github.com/JamesClonk/vultr.git", - :revision => "42d4701246e48d1b81b80471e418ea0d1cc99586" + revision: "42d4701246e48d1b81b80471e418ea0d1cc99586" end go_resource "github.com/aws/aws-sdk-go" do url "https://github.com/aws/aws-sdk-go.git", - :revision => "00e2bf9d1518c2b7d8a97eb05b5d2a9afd1dd34e" + revision: "00e2bf9d1518c2b7d8a97eb05b5d2a9afd1dd34e" end go_resource "github.com/juju/ratelimit" do url "https://github.com/juju/ratelimit.git", - :revision => "77ed1c8a01217656d2080ad51981f6e99adaa177" + revision: "77ed1c8a01217656d2080ad51981f6e99adaa177" end go_resource "github.com/miekg/dns" do url "https://github.com/miekg/dns.git", - :revision => "db96a2b759cdef4f11a34506a42eb8d1290c598e" + revision: "db96a2b759cdef4f11a34506a42eb8d1290c598e" end go_resource "github.com/ovh/go-ovh" do url "https://github.com/ovh/go-ovh.git", - :revision => "d2b2eae2511fa5fcd0bdef9f1790ea3979fa35d4" + revision: "d2b2eae2511fa5fcd0bdef9f1790ea3979fa35d4" end go_resource "github.com/codegangsta/cli" do url "https://github.com/urfave/cli.git", - :revision => "168c95418e66e019fe17b8f4f5c45aa62ff80e23" + revision: "168c95418e66e019fe17b8f4f5c45aa62ff80e23" end go_resource "github.com/weppos/dnsimple-go" do url "https://github.com/weppos/dnsimple-go.git", - :revision => "65c1ca73cb19baf0f8b2b33219b7f57595a3ccb0" + revision: "65c1ca73cb19baf0f8b2b33219b7f57595a3ccb0" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "611beeb3d5df450a45f4b67f9e25235f54beda72" + revision: "611beeb3d5df450a45f4b67f9e25235f54beda72" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "57bfaa875b96fb91b4766077f34470528d4b03e9" + revision: "57bfaa875b96fb91b4766077f34470528d4b03e9" end go_resource "golang.org/x/oauth2" do url "https://go.googlesource.com/oauth2.git", - :revision => "04e1573abc896e70388bd387a69753c378d46466" + revision: "04e1573abc896e70388bd387a69753c378d46466" end go_resource "google.golang.org/api" do url "https://code.googlesource.com/google-api-go-client.git", - :revision => "593853e2d377362656ee40abf6df5cd3030c736b" + revision: "593853e2d377362656ee40abf6df5cd3030c736b" end go_resource "gopkg.in/ini.v1" do url "https://gopkg.in/ini.v1.git", - :revision => "cf53f9204df4fbdd7ec4164b57fa6184ba168292" + revision: "cf53f9204df4fbdd7ec4164b57fa6184ba168292" end go_resource "gopkg.in/square/go-jose.v1" do url "https://gopkg.in/square/go-jose.v1.git", - :revision => "e3f973b66b91445ec816dd7411ad1b6495a5a2fc" + revision: "e3f973b66b91445ec816dd7411ad1b6495a5a2fc" end def install diff --git a/Formula/leiningen.rb b/Formula/leiningen.rb index ec39e4b315981..fdf857bde07ac 100644 --- a/Formula/leiningen.rb +++ b/Formula/leiningen.rb @@ -14,7 +14,7 @@ class Leiningen < Formula end resource "jar" do - url "https://github.com/technomancy/leiningen/releases/download/2.7.0/leiningen-2.7.0-standalone.zip", :using => :nounzip + url "https://github.com/technomancy/leiningen/releases/download/2.7.0/leiningen-2.7.0-standalone.zip", using: :nounzip sha256 "b0a53fd9fa73e9d87c04ef25ba1ca174b0c062b803108648d7157176ccde7435" end diff --git a/Formula/leptonica.rb b/Formula/leptonica.rb index c1f63944c269e..e502873a90130 100644 --- a/Formula/leptonica.rb +++ b/Formula/leptonica.rb @@ -21,7 +21,7 @@ class Leptonica < Formula depends_on "pkg-config" => :build conflicts_with "osxutils", - :because => "both leptonica and osxutils ship a `fileinfo` executable." + because: "both leptonica and osxutils ship a `fileinfo` executable." def install args = %W[ diff --git a/Formula/lfe.rb b/Formula/lfe.rb index b35083d84b421..a118435c120f0 100644 --- a/Formula/lfe.rb +++ b/Formula/lfe.rb @@ -4,7 +4,7 @@ class Lfe < Formula url "https://github.com/rvirding/lfe/archive/v1.0.tar.gz" sha256 "a335f593faf96fadbe9d049c5be5d331ba19628bd5dd41cedcbc62bb7c597fe7" - head "https://github.com/rvirding/lfe.git", :branch => "develop" + head "https://github.com/rvirding/lfe.git", branch: "develop" bottle do sha256 "8a6adf72bf5d51ec031aeccfeef5b3f07a829a959ef238f0a01e4d2cee3fb0b8" => :el_capitan diff --git a/Formula/lha.rb b/Formula/lha.rb index 615467e2c519b..babac889c511d 100644 --- a/Formula/lha.rb +++ b/Formula/lha.rb @@ -13,7 +13,7 @@ class Lha < Formula sha256 "3def5e7035ef758428c7e158b93ad5459d6d221ba4698608cc1d14526cbfd5f8" => :mountain_lion end - conflicts_with "lhasa", :because => "both install a `lha` binary" + conflicts_with "lhasa", because: "both install a `lha` binary" head do url "http://scm.osdn.jp/gitroot/lha/lha.git" diff --git a/Formula/lhasa.rb b/Formula/lhasa.rb index 8e70d57d27e65..6b0c8152d0737 100644 --- a/Formula/lhasa.rb +++ b/Formula/lhasa.rb @@ -12,7 +12,7 @@ class Lhasa < Formula sha256 "eecde92149160d0ec03d5b2f88408d67a4bc03b415ed4a78ff12474f6aa965f4" => :mavericks end - conflicts_with "lha", :because => "both install a `lha` binary" + conflicts_with "lha", because: "both install a `lha` binary" depends_on "pkg-config" => :build depends_on "autoconf" => :build diff --git a/Formula/libagar.rb b/Formula/libagar.rb index b909cb520329f..52d2d003faf61 100644 --- a/Formula/libagar.rb +++ b/Formula/libagar.rb @@ -3,7 +3,7 @@ class Libagar < Formula homepage "http://libagar.org/" url "http://stable.hypertriton.com/agar/agar-1.5.0.tar.gz" sha256 "82342ded342c578141984befe9318f3d376176e5f427ae3278f8985f26663c00" - head "http://dev.csoft.net/agar/trunk", :using => :svn + head "http://dev.csoft.net/agar/trunk", using: :svn bottle do sha256 "ae98213b49a0215d9aedd4c2c5ace63924f3a80f7250c3916a610db51ada4da1" => :el_capitan diff --git a/Formula/libcapn.rb b/Formula/libcapn.rb index 4b3e876811b31..716cee6e4859e 100644 --- a/Formula/libcapn.rb +++ b/Formula/libcapn.rb @@ -9,7 +9,7 @@ class Libcapn < Formula resource "jansson" do url "https://github.com/akheron/jansson.git", - :revision => "8f067962f6442bda65f0a8909f589f2616a42c5a" + revision: "8f067962f6442bda65f0a8909f589f2616a42c5a" end end diff --git a/Formula/libechonest.rb b/Formula/libechonest.rb index 76ea118638ddb..6d7e3809de793 100644 --- a/Formula/libechonest.rb +++ b/Formula/libechonest.rb @@ -16,7 +16,7 @@ class Libechonest < Formula depends_on "qt" depends_on "qjson" - conflicts_with "doxygen", :because => "cmake fails to configure build." + conflicts_with "doxygen", because: "cmake fails to configure build." def install system "cmake", ".", *std_cmake_args diff --git a/Formula/libepoxy.rb b/Formula/libepoxy.rb index 2ab55cbd97e4f..b1a47bdab3131 100644 --- a/Formula/libepoxy.rb +++ b/Formula/libepoxy.rb @@ -19,7 +19,7 @@ class Libepoxy < Formula depends_on "automake" => :build depends_on "autoconf" => :build depends_on "libtool" => :build - depends_on :python => :build if MacOS.version <= :snow_leopard + depends_on python: :build if MacOS.version <= :snow_leopard resource "xorg-macros" do url "https://xorg.freedesktop.org/releases/individual/util/util-macros-1.19.0.tar.bz2" diff --git a/Formula/libevent.rb b/Formula/libevent.rb index ff82c685ebfe5..812a544edba61 100644 --- a/Formula/libevent.rb +++ b/Formula/libevent.rb @@ -55,7 +55,7 @@ class Libevent < Formula end conflicts_with "pincaster", - :because => "both install `event_rpcgen.py` binaries" + because: "both install `event_rpcgen.py` binaries" def install ENV.universal_binary if build.universal? diff --git a/Formula/libextractor.rb b/Formula/libextractor.rb index 6965e053bf251..1d69899fed83a 100644 --- a/Formula/libextractor.rb +++ b/Formula/libextractor.rb @@ -18,7 +18,7 @@ class Libextractor < Formula depends_on "libtool" => :run depends_on "iso-codes" => :optional - conflicts_with "pkcrack", :because => "both install `extract` binaries" + conflicts_with "pkcrack", because: "both install `extract` binaries" def install ENV.deparallelize diff --git a/Formula/libfaketime.rb b/Formula/libfaketime.rb index cb00c759dbf11..8594c8665a4fd 100644 --- a/Formula/libfaketime.rb +++ b/Formula/libfaketime.rb @@ -12,7 +12,7 @@ class Libfaketime < Formula sha256 "4b7477042b15dd475fc16de06df07e9cc3a983033d6d21ac6029dfc1ddfb1925" => :mountain_lion end - depends_on :macos => :lion + depends_on macos: :lion fails_with :llvm do build 2336 diff --git a/Formula/libftdi0.rb b/Formula/libftdi0.rb index 18c7af449aa39..4b2dcb54ae2a3 100644 --- a/Formula/libftdi0.rb +++ b/Formula/libftdi0.rb @@ -13,8 +13,8 @@ class Libftdi0 < Formula sha256 "29d786dcb87e4251c4cbd25c0d5e215eb248b74304f175054b31cbd6a464c071" => :mavericks end - conflicts_with "cspice", :because => "both install `simple` binaries" - conflicts_with "openhmd", :because => "both install `simple` binaries" + conflicts_with "cspice", because: "both install `simple` binaries" + conflicts_with "openhmd", because: "both install `simple` binaries" depends_on "libusb-compat" diff --git a/Formula/libgetdata.rb b/Formula/libgetdata.rb index 61a107d7e4b5f..ea2d5ef1c5669 100644 --- a/Formula/libgetdata.rb +++ b/Formula/libgetdata.rb @@ -19,8 +19,8 @@ class Libgetdata < Formula deprecated_option "lzma" => "with-xz" deprecated_option "zzip" => "with-libzzip" - depends_on :fortran => :optional - depends_on :perl => ["5.3", :optional] + depends_on fortran: :optional + depends_on perl: ["5.3", :optional] depends_on "xz" => :optional depends_on "libzzip" => :optional diff --git a/Formula/libgit2-glib.rb b/Formula/libgit2-glib.rb index 9bb7b8d3dcced..e6d38c0fe3beb 100644 --- a/Formula/libgit2-glib.rb +++ b/Formula/libgit2-glib.rb @@ -26,7 +26,7 @@ class Libgit2Glib < Formula depends_on "gobject-introspection" depends_on "glib" depends_on "vala" => :optional - depends_on :python => :optional + depends_on python: :optional def install args = %W[ diff --git a/Formula/libgroove.rb b/Formula/libgroove.rb index 8e261eb39769d..edc95061eab6f 100644 --- a/Formula/libgroove.rb +++ b/Formula/libgroove.rb @@ -12,7 +12,7 @@ class Libgroove < Formula sha256 "6034bb8923952e2b914d5649e7c2e5bb4b0eccbe3503096744d244f1866e0358" => :mavericks end - depends_on :macos => :mavericks + depends_on macos: :mavericks depends_on "cmake" => :build depends_on "ffmpeg" => "with-libvorbis" depends_on "chromaprint" diff --git a/Formula/liblunar.rb b/Formula/liblunar.rb index c62229fb1a4ec..3fe2390500f2f 100644 --- a/Formula/liblunar.rb +++ b/Formula/liblunar.rb @@ -19,7 +19,7 @@ class Liblunar < Formula depends_on "glib" depends_on "gettext" depends_on "vala" => :optional - depends_on :python => :optional + depends_on python: :optional depends_on "pygobject" if build.with? "python" def install diff --git a/Formula/libmagic.rb b/Formula/libmagic.rb index f8878d1928260..2675533433f5f 100644 --- a/Formula/libmagic.rb +++ b/Formula/libmagic.rb @@ -14,7 +14,7 @@ class Libmagic < Formula option :universal - depends_on :python => :optional + depends_on python: :optional def install ENV.universal_binary if build.universal? diff --git a/Formula/libming.rb b/Formula/libming.rb index 98afbabaaf34e..307b4162dc563 100644 --- a/Formula/libming.rb +++ b/Formula/libming.rb @@ -19,7 +19,7 @@ class Libming < Formula depends_on "libpng" depends_on "freetype" - depends_on :python => :optional + depends_on python: :optional depends_on "giflib" => :optional # Helps us find libgif.dylib, not libungif.dylib which is retired. diff --git a/Formula/libmongoclient.rb b/Formula/libmongoclient.rb index c667fa5272a95..f448e851af7e8 100644 --- a/Formula/libmongoclient.rb +++ b/Formula/libmongoclient.rb @@ -1,7 +1,7 @@ class Libmongoclient < Formula desc "C and C++ driver for MongoDB" homepage "https://www.mongodb.org" - head "https://github.com/mongodb/mongo-cxx-driver.git", :branch => "26compat" + head "https://github.com/mongodb/mongo-cxx-driver.git", branch: "26compat" stable do url "https://github.com/mongodb/mongo-cxx-driver/archive/legacy-0.0-26compat-2.6.11.tar.gz" diff --git a/Formula/libmxml.rb b/Formula/libmxml.rb index 9883546a907a5..6bc73f9e21186 100644 --- a/Formula/libmxml.rb +++ b/Formula/libmxml.rb @@ -14,7 +14,7 @@ class Libmxml < Formula sha256 "df203c2e058d9e4d7980c1bfef686a2033f3ad84e3b405ef2d698dbffbdc3919" => :mountain_lion end - depends_on :xcode => :build # for docsetutil + depends_on xcode: :build # for docsetutil def install system "./configure", "--disable-debug", diff --git a/Formula/libowfat.rb b/Formula/libowfat.rb index f67f30d118cec..cd5198707383a 100644 --- a/Formula/libowfat.rb +++ b/Formula/libowfat.rb @@ -3,7 +3,7 @@ class Libowfat < Formula homepage "https://www.fefe.de/libowfat/" url "https://dl.fefe.de/libowfat-0.29.tar.bz2" sha256 "4badbdeed6bef4337f1edd6b86fb7154c5592509c272dcdc09c693161cbc6427" - head ":pserver:cvs:@cvs.fefe.de:/cvs", :using => :cvs + head ":pserver:cvs:@cvs.fefe.de:/cvs", using: :cvs bottle do cellar :any_skip_relocation diff --git a/Formula/libphonenumber.rb b/Formula/libphonenumber.rb index 93eed16469003..78781898ecf99 100644 --- a/Formula/libphonenumber.rb +++ b/Formula/libphonenumber.rb @@ -13,7 +13,7 @@ class Libphonenumber < Formula end depends_on "cmake" => :build - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "icu4c" depends_on "protobuf" depends_on "boost" diff --git a/Formula/libplist.rb b/Formula/libplist.rb index 431178bc191c5..58e98c64105bd 100644 --- a/Formula/libplist.rb +++ b/Formula/libplist.rb @@ -25,7 +25,7 @@ class Libplist < Formula depends_on "pkg-config" => :build depends_on "libxml2" - depends_on :python => :optional + depends_on python: :optional resource "cython" do url "https://pypi.python.org/packages/c6/fe/97319581905de40f1be7015a0ea1bd336a756f6249914b148a17eefa75dc/Cython-0.24.1.tar.gz#md5=890b494a12951f1d6228c416a5789554" diff --git a/Formula/libpst.rb b/Formula/libpst.rb index ea7c24f39d952..ad1bbbaa8c220 100644 --- a/Formula/libpst.rb +++ b/Formula/libpst.rb @@ -15,7 +15,7 @@ class Libpst < Formula deprecated_option "pst2dii" => "with-pst2dii" - depends_on :python => :optional + depends_on python: :optional depends_on "pkg-config" => :build depends_on "gd" if build.with? "pst2dii" depends_on "boost" diff --git a/Formula/libraw.rb b/Formula/libraw.rb index c77f509b33dfb..b30ab830a1d87 100644 --- a/Formula/libraw.rb +++ b/Formula/libraw.rb @@ -17,7 +17,7 @@ class Libraw < Formula resource "librawtestfile" do url "https://www.rawsamples.ch/raws/nikon/d1/RAW_NIKON_D1.NEF", - :using => :nounzip + using: :nounzip sha256 "7886d8b0e1257897faa7404b98fe1086ee2d95606531b6285aed83a0939b768f" end diff --git a/Formula/libreadline-java.rb b/Formula/libreadline-java.rb index df2183fcc0fbd..90f146ed649c2 100644 --- a/Formula/libreadline-java.rb +++ b/Formula/libreadline-java.rb @@ -13,7 +13,7 @@ class LibreadlineJava < Formula end depends_on "readline" - depends_on :java => "1.6+" + depends_on java: "1.6+" # Fix "non-void function should return a value"-Error # https://sourceforge.net/tracker/?func=detail&atid=453822&aid=3566332&group_id=48669 diff --git a/Formula/librtlsdr.rb b/Formula/librtlsdr.rb index 3a468d2e1a571..d67da02b6e635 100644 --- a/Formula/librtlsdr.rb +++ b/Formula/librtlsdr.rb @@ -3,7 +3,7 @@ class Librtlsdr < Formula homepage "https://sdr.osmocom.org/trac/wiki/rtl-sdr" url "https://github.com/steve-m/librtlsdr/archive/v0.5.3.tar.gz" sha256 "98fb5c34ac94d6f2235a0bb41a08f8bed7949e1d1b91ea57a7c1110191ea58de" - head "git://git.osmocom.org/rtl-sdr.git", :shallow => false + head "git://git.osmocom.org/rtl-sdr.git", shallow: false bottle do cellar :any diff --git a/Formula/libsass.rb b/Formula/libsass.rb index 1ea37e1d20a37..2af3d370a7d66 100644 --- a/Formula/libsass.rb +++ b/Formula/libsass.rb @@ -1,7 +1,7 @@ class Libsass < Formula desc "C implementation of a Sass compiler" homepage "https://github.com/sass/libsass" - url "https://github.com/sass/libsass.git", :tag => "3.3.6", :revision => "3ae9a2066152f9438aebaaacd12f39deaceaebc2" + url "https://github.com/sass/libsass.git", tag: "3.3.6", revision: "3ae9a2066152f9438aebaaacd12f39deaceaebc2" head "https://github.com/sass/libsass.git" bottle do diff --git a/Formula/libsoundio.rb b/Formula/libsoundio.rb index 48ec75f87f29f..d5afb190827e6 100644 --- a/Formula/libsoundio.rb +++ b/Formula/libsoundio.rb @@ -11,7 +11,7 @@ class Libsoundio < Formula end # fatal error: 'stdatomic.h' file not found - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "cmake" => :build diff --git a/Formula/libspatialite.rb b/Formula/libspatialite.rb index 109681ea98c3a..23e839397fbf4 100644 --- a/Formula/libspatialite.rb +++ b/Formula/libspatialite.rb @@ -24,7 +24,7 @@ class Libspatialite < Formula end head do - url "https://www.gaia-gis.it/fossil/libspatialite", :using => :fossil + url "https://www.gaia-gis.it/fossil/libspatialite", using: :fossil depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build diff --git a/Formula/libspnav.rb b/Formula/libspnav.rb index 1b7982f16ce32..fb7f4310db12d 100644 --- a/Formula/libspnav.rb +++ b/Formula/libspnav.rb @@ -14,7 +14,7 @@ class Libspnav < Formula option "with-x11", "Enable support for sending mouse events through the x11 protocol" - depends_on :x11 => :optional + depends_on x11: :optional def install args = %W[ diff --git a/Formula/libstfl.rb b/Formula/libstfl.rb index 406f433786974..52eb67ee0b5c2 100644 --- a/Formula/libstfl.rb +++ b/Formula/libstfl.rb @@ -14,7 +14,7 @@ class Libstfl < Formula option "without-perl", "Build without Perl support" option "without-python", "Build without Python 2 support" - depends_on :ruby => ["1.8", :recommended] + depends_on ruby: ["1.8", :recommended] depends_on "swig" => :build if build.with?("python") || build.with?("ruby") || build.with?("perl") def install diff --git a/Formula/libtar.rb b/Formula/libtar.rb index 024dc44ad3631..efff5133b9708 100644 --- a/Formula/libtar.rb +++ b/Formula/libtar.rb @@ -2,8 +2,8 @@ class Libtar < Formula desc "C library for manipulating POSIX tar files" homepage "http://repo.or.cz/w/libtar.git" url "http://repo.or.cz/libtar.git", - :tag => "v1.2.20", - :revision => "0907a9034eaf2a57e8e4a9439f793f3f05d446cd" + tag: "v1.2.20", + revision: "0907a9034eaf2a57e8e4a9439f793f3f05d446cd" bottle do cellar :any diff --git a/Formula/libtorrent-rasterbar.rb b/Formula/libtorrent-rasterbar.rb index bd7d103b4a345..2d0cc373980ee 100644 --- a/Formula/libtorrent-rasterbar.rb +++ b/Formula/libtorrent-rasterbar.rb @@ -20,7 +20,7 @@ class LibtorrentRasterbar < Formula depends_on "pkg-config" => :build depends_on "openssl" - depends_on :python => :optional + depends_on python: :optional depends_on "geoip" => :optional depends_on "boost" depends_on "boost-python" if build.with? "python" diff --git a/Formula/libuv.rb b/Formula/libuv.rb index fb8baf816135f..cb81790fa6162 100644 --- a/Formula/libuv.rb +++ b/Formula/libuv.rb @@ -3,7 +3,7 @@ class Libuv < Formula homepage "https://github.com/libuv/libuv" url "https://github.com/libuv/libuv/archive/v1.9.1.tar.gz" sha256 "a6ca9f0648973d1463f46b495ce546ddcbe7cce2f04b32e802a15539e46c57ad" - head "https://github.com/libuv/libuv.git", :branch => "v1.x" + head "https://github.com/libuv/libuv.git", branch: "v1.x" bottle do cellar :any diff --git a/Formula/libvoikko.rb b/Formula/libvoikko.rb index 6705a598dcf5e..af3edfb71df24 100644 --- a/Formula/libvoikko.rb +++ b/Formula/libvoikko.rb @@ -19,7 +19,7 @@ class Libvoikko < Formula end depends_on "pkg-config" => :build - depends_on :python3 => :build + depends_on python3: :build depends_on "foma" => :build depends_on "hfstospell" diff --git a/Formula/libvpx.rb b/Formula/libvpx.rb index a537cbb7e2709..0d1037157614f 100644 --- a/Formula/libvpx.rb +++ b/Formula/libvpx.rb @@ -3,7 +3,7 @@ class Libvpx < Formula homepage "https://www.webmproject.org/code/" url "https://github.com/webmproject/libvpx/archive/v1.6.0.tar.gz" sha256 "e2fc00c9f60c76f91a1cde16a2356e33a45b76a5a5a1370df65fd57052a4994a" - head "https://chromium.googlesource.com/webm/libvpx", :using => :git + head "https://chromium.googlesource.com/webm/libvpx", using: :git bottle do sha256 "47a0e17e27fb345630f5bad78aeb7bf88699a96f8d78a62c84c0be7e9e165cc7" => :sierra diff --git a/Formula/libxml2.rb b/Formula/libxml2.rb index 43e8fc6375e18..8acdf33ed86a1 100644 --- a/Formula/libxml2.rb +++ b/Formula/libxml2.rb @@ -25,7 +25,7 @@ class Libxml2 < Formula option :universal - depends_on :python => :optional + depends_on python: :optional fails_with :llvm do build 2326 diff --git a/Formula/libzdb.rb b/Formula/libzdb.rb index 2dc82842b9256..43b723e3ce18c 100644 --- a/Formula/libzdb.rb +++ b/Formula/libzdb.rb @@ -13,8 +13,8 @@ class Libzdb < Formula end depends_on "openssl" - depends_on :postgresql => :recommended - depends_on :mysql => :recommended + depends_on postgresql: :recommended + depends_on mysql: :recommended depends_on "sqlite" => :recommended def install diff --git a/Formula/lighttpd.rb b/Formula/lighttpd.rb index 28627d9c54f51..451bc6c0c970c 100644 --- a/Formula/lighttpd.rb +++ b/Formula/lighttpd.rb @@ -108,7 +108,7 @@ def caveats; <<-EOS.undent system "#{bin}/lighttpd", "-t", "-f", config_path+"lighttpd.conf" end - plist_options :manual => "lighttpd -f #{HOMEBREW_PREFIX}/etc/lighttpd/lighttpd.conf" + plist_options manual: "lighttpd -f #{HOMEBREW_PREFIX}/etc/lighttpd/lighttpd.conf" def plist; <<-EOS.undent diff --git a/Formula/link-grammar.rb b/Formula/link-grammar.rb index 8d02f55d85e9a..9b99ef7972541 100644 --- a/Formula/link-grammar.rb +++ b/Formula/link-grammar.rb @@ -15,7 +15,7 @@ class LinkGrammar < Formula depends_on "autoconf-archive" => :build depends_on "automake" => :build depends_on "libtool" => :build - depends_on :ant => :build + depends_on ant: :build def install inreplace "autogen.sh", "libtoolize", "glibtoolize" diff --git a/Formula/links.rb b/Formula/links.rb index a1fde15d3351a..f96ba1601a8e7 100644 --- a/Formula/links.rb +++ b/Formula/links.rb @@ -20,7 +20,7 @@ class Links < Formula depends_on "libtiff" => :optional depends_on "jpeg" => :optional depends_on "librsvg" => :optional - depends_on :x11 => :optional + depends_on x11: :optional def install args = %W[ diff --git a/Formula/liquigraph.rb b/Formula/liquigraph.rb index 1b3d2d60d597d..998da05ce4bf1 100644 --- a/Formula/liquigraph.rb +++ b/Formula/liquigraph.rb @@ -13,7 +13,7 @@ class Liquigraph < Formula end depends_on "maven" => :build - depends_on :java => "1.8+" + depends_on java: "1.8+" def install ENV.java_cache diff --git a/Formula/little-cms.rb b/Formula/little-cms.rb index 3759d465ef52c..fc8024d447ed3 100644 --- a/Formula/little-cms.rb +++ b/Formula/little-cms.rb @@ -16,7 +16,7 @@ class LittleCms < Formula option :universal - depends_on :python => :optional + depends_on python: :optional depends_on "jpeg" => :recommended depends_on "libtiff" => :recommended diff --git a/Formula/livestreamer.rb b/Formula/livestreamer.rb index 07caeaa51b2f8..9dfe5ada5f435 100644 --- a/Formula/livestreamer.rb +++ b/Formula/livestreamer.rb @@ -45,7 +45,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"]) end test do diff --git a/Formula/lldpd.rb b/Formula/lldpd.rb index 2ac70389b1e7b..83bd8ef1b2719 100644 --- a/Formula/lldpd.rb +++ b/Formula/lldpd.rb @@ -46,7 +46,7 @@ def post_install (var/"run").mkpath end - plist_options :startup => true + plist_options startup: true def plist additional_args = "" diff --git a/Formula/llnode.rb b/Formula/llnode.rb index ba6d00e912ecc..e29fcb44e845a 100644 --- a/Formula/llnode.rb +++ b/Formula/llnode.rb @@ -10,17 +10,17 @@ class Llnode < Formula sha256 "e761fdb6dc583cead747bcce0907d023ac800c18f0d754397187e3018f513874" => :yosemite end - depends_on :macos => :yosemite - depends_on :python => :build + depends_on macos: :yosemite + depends_on python: :build resource "gyp" do url "https://chromium.googlesource.com/external/gyp.git", - :revision => "db72e9fcf55ba9d8089f0bc7e447180f8972b5c0" + revision: "db72e9fcf55ba9d8089f0bc7e447180f8972b5c0" end resource "lldb" do url "https://github.com/llvm-mirror/lldb.git", - :revision => "839b868e2993dcffc7fea898a1167f1cec097a82" + revision: "839b868e2993dcffc7fea898a1167f1cec097a82" end def install diff --git a/Formula/llvm.rb b/Formula/llvm.rb index 7b3e1bb457860..2ee924abd06d3 100644 --- a/Formula/llvm.rb +++ b/Formula/llvm.rb @@ -2,7 +2,7 @@ class CodesignRequirement < Requirement include FileUtils fatal true - satisfy(:build_env => false) do + satisfy(build_env: false) do mktemp do cp "/usr/bin/false", "llvm_check" quiet_system "/usr/bin/codesign", "-f", "-s", "lldb_codesign", "--dryrun", "llvm_check" @@ -145,7 +145,7 @@ class Llvm < Formula if MacOS.version <= :snow_leopard depends_on :python else - depends_on :python => :optional + depends_on python: :optional end depends_on "cmake" => :build @@ -160,7 +160,7 @@ class Llvm < Formula fails_with :gcc_4_0 fails_with :gcc ("4.3".."4.6").each do |n| - fails_with :gcc => n + fails_with gcc: n end def build_libcxx? diff --git a/Formula/lmdb.rb b/Formula/lmdb.rb index 1315eafa4e1a4..887e62a1caff5 100644 --- a/Formula/lmdb.rb +++ b/Formula/lmdb.rb @@ -3,7 +3,7 @@ class Lmdb < Formula homepage "https://symas.com/mdb-and-sqlite/" url "https://github.com/LMDB/lmdb/archive/LMDB_0.9.18.tar.gz" sha256 "dd35b471d6eea84f48f2feece13d121abf59ef255308b8624a36223ffbdf9989" - head "https://github.com/LMDB/lmdb.git", :branch => "mdb.master" + head "https://github.com/LMDB/lmdb.git", branch: "mdb.master" bottle do cellar :any diff --git a/Formula/log4c.rb b/Formula/log4c.rb index 52b80721dbdf4..8f4947f42361a 100644 --- a/Formula/log4c.rb +++ b/Formula/log4c.rb @@ -4,7 +4,7 @@ class Log4c < Formula url "https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz" sha256 "5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea" - head ":pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c", :using => :cvs + head ":pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c", using: :cvs bottle do sha256 "2334e58e3ae201b28362707d2b64701e2e1378695e915baad886956e4edea50a" => :el_capitan diff --git a/Formula/logentries.rb b/Formula/logentries.rb index b4f3b18fdcf5f..693a11175a96d 100644 --- a/Formula/logentries.rb +++ b/Formula/logentries.rb @@ -12,17 +12,17 @@ class Logentries < Formula sha256 "01edb0fe82fade9c94c86f93e0ab284d6eda959d007eb747908819e395df1bee" => :mavericks end - conflicts_with "le", :because => "both install a le binary" + conflicts_with "le", because: "both install a le binary" def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end - plist_options :manual => "le monitor" + plist_options manual: "le monitor" def plist; <<-EOS.undent diff --git a/Formula/logstash.rb b/Formula/logstash.rb index 04bf56e27aa44..7e5fa07a74052 100644 --- a/Formula/logstash.rb +++ b/Formula/logstash.rb @@ -5,19 +5,19 @@ class Logstash < Formula stable do url "https://download.elastic.co/logstash/logstash/logstash-2.4.0.tar.gz" sha256 "622c435c5c0f40e205fd4d9411eb409cc52992cf62dde4c7cd46e480cd8247cc" - depends_on :java => "1.7+" + depends_on java: "1.7+" end devel do url "https://download.elastic.co/logstash/logstash/logstash-5.0.0-alpha3.tar.gz" sha256 "22ab6665f1049e7df18f020ba5e1f5287bffa0b53e205b178e9e3364941550d1" version "5.0.0-alpha3" - depends_on :java => "1.8" + depends_on java: "1.8" end head do url "https://github.com/elastic/logstash.git" - depends_on :java => "1.8" + depends_on java: "1.8" end bottle :unneeded diff --git a/Formula/lolcode.rb b/Formula/lolcode.rb index c3c2f2d341131..ea789f2dab590 100644 --- a/Formula/lolcode.rb +++ b/Formula/lolcode.rb @@ -17,7 +17,7 @@ class Lolcode < Formula depends_on "cmake" => :build - conflicts_with "lci", :because => "both install `lci` binaries" + conflicts_with "lci", because: "both install `lci` binaries" def install system "cmake", "." diff --git a/Formula/lsh.rb b/Formula/lsh.rb index 1f85a963b7564..bc603731092bb 100644 --- a/Formula/lsh.rb +++ b/Formula/lsh.rb @@ -14,7 +14,7 @@ class Lsh < Formula depends_on "autoconf" => :build depends_on "automake" => :build - depends_on :x11 => :optional # For libXau library + depends_on x11: :optional # For libXau library depends_on "nettle" depends_on "gmp" diff --git a/Formula/luciddb.rb b/Formula/luciddb.rb index 64e5989a25c62..e368a342e0e21 100644 --- a/Formula/luciddb.rb +++ b/Formula/luciddb.rb @@ -22,7 +22,7 @@ def install end end - plist_options :manual => "lucidDbServer" + plist_options manual: "lucidDbServer" def plist; <<-EOS.undent diff --git a/Formula/mackup.rb b/Formula/mackup.rb index c1732029a3867..9f53265ce7720 100644 --- a/Formula/mackup.rb +++ b/Formula/mackup.rb @@ -33,7 +33,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"]) end test do diff --git a/Formula/macosvpn.rb b/Formula/macosvpn.rb index 449d3ba6696bc..9043a2a6b2061 100644 --- a/Formula/macosvpn.rb +++ b/Formula/macosvpn.rb @@ -9,7 +9,7 @@ class Macosvpn < Formula sha256 "c2d16daa3ef23c14f2db4320b4a9c1450ad7aa30563c330e7119a4584847edac" => :el_capitan end - depends_on :xcode => ["7.3", :build] + depends_on xcode: ["7.3", :build] def install xcodebuild diff --git a/Formula/macvim.rb b/Formula/macvim.rb index 4c07d41949d22..cda012ef5f07c 100644 --- a/Formula/macvim.rb +++ b/Formula/macvim.rb @@ -18,7 +18,7 @@ class Macvim < Formula deprecated_option "override-system-vim" => "with-override-system-vim" - depends_on :xcode => :build + depends_on xcode: :build depends_on "cscope" => :recommended depends_on "lua" => :optional depends_on "luajit" => :optional @@ -27,8 +27,8 @@ class Macvim < Formula option "with-custom-python", "Build with a custom Python 2 instead of the Homebrew version." end - depends_on :python => :recommended - depends_on :python3 => :optional + depends_on python: :recommended + depends_on python3: :optional # Help us! We'd like to use superenv in these environments, too env :std if MacOS.version <= :snow_leopard diff --git a/Formula/mailhog.rb b/Formula/mailhog.rb index 7ce577a4b6efb..ad162c3bada7b 100644 --- a/Formula/mailhog.rb +++ b/Formula/mailhog.rb @@ -42,7 +42,7 @@ def install end end - plist_options :manual => "MailHog" + plist_options manual: "MailHog" def plist; <<-EOS.undent diff --git a/Formula/makeicns.rb b/Formula/makeicns.rb index fc58197805ab9..1ad4719bea8a9 100644 --- a/Formula/makeicns.rb +++ b/Formula/makeicns.rb @@ -3,7 +3,7 @@ class Makeicns < Formula homepage "https://bitbucket.org/mkae/makeicns" url "https://bitbucket.org/mkae/makeicns/downloads/makeicns-1.4.10a.tar.bz2" sha256 "10e44b8d84cb33ed8d92b9c2cfa42f46514586d2ec11ae9832683b69996ddeb8" - head "https://bitbucket.org/mkae/makeicns", :using => :hg + head "https://bitbucket.org/mkae/makeicns", using: :hg bottle do cellar :any_skip_relocation diff --git a/Formula/makepkg.rb b/Formula/makepkg.rb index cd3d880dc3338..e2f8a1d0ba2f3 100644 --- a/Formula/makepkg.rb +++ b/Formula/makepkg.rb @@ -2,8 +2,8 @@ class Makepkg < Formula desc "Compile and build packages suitable for installation with pacman" homepage "https://wiki.archlinux.org/index.php/makepkg" url "https://projects.archlinux.org/git/pacman.git", - :tag => "v5.0.1", - :revision => "f38de43eb68f1d9c577b4378310640c1eaa93338" + tag: "v5.0.1", + revision: "f38de43eb68f1d9c577b4378310640c1eaa93338" head "https://projects.archlinux.org/git/pacman.git" bottle do @@ -14,7 +14,7 @@ class Makepkg < Formula # libalpm now calls fstatat, which is only available for >= 10.10 # Regression due to https://git.archlinux.org/pacman.git/commit/?id=16718a21 # Reported 19 Jun 2016: https://bugs.archlinux.org/task/49771 - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "automake" => :build depends_on "autoconf" => :build diff --git a/Formula/mal4s.rb b/Formula/mal4s.rb index e3708c76369fa..e883038292ad4 100644 --- a/Formula/mal4s.rb +++ b/Formula/mal4s.rb @@ -25,7 +25,7 @@ class Mal4s < Formula depends_on "sdl2_image" depends_on "sdl2_mixer" depends_on "freetype" - depends_on :x11 => :optional + depends_on x11: :optional if MacOS.version < :mavericks depends_on "boost" => "c++11" diff --git a/Formula/mandoc.rb b/Formula/mandoc.rb index c96a0c078a4bf..bb6cd0798252a 100644 --- a/Formula/mandoc.rb +++ b/Formula/mandoc.rb @@ -4,7 +4,7 @@ class Mandoc < Formula url "http://mdocml.bsd.lv/snapshots/mdocml-1.13.3.tar.gz" sha256 "23ccab4800d50bf4c327979af5d4aa1a6a2dc490789cb67c4c3ac1bd40b8cad8" - head "anoncvs@mdocml.bsd.lv:/cvs", :module => "mdocml", :using => :cvs + head "anoncvs@mdocml.bsd.lv:/cvs", module: "mdocml", using: :cvs bottle do sha256 "86aeb9459638f425f5e40c33732b641f90942cd0ff66f37c81ea611b25eb0a10" => :el_capitan diff --git a/Formula/mariadb-connector-c.rb b/Formula/mariadb-connector-c.rb index 5e5855efcc34e..6c1f9545a5a77 100644 --- a/Formula/mariadb-connector-c.rb +++ b/Formula/mariadb-connector-c.rb @@ -14,7 +14,7 @@ class MariadbConnectorC < Formula depends_on "openssl" conflicts_with "mysql", "mariadb", "percona-server", - :because => "both install plugins" + because: "both install plugins" def install args = std_cmake_args diff --git a/Formula/mariadb.rb b/Formula/mariadb.rb index 1f82adee01b16..b5a638dc1852e 100644 --- a/Formula/mariadb.rb +++ b/Formula/mariadb.rb @@ -37,12 +37,12 @@ class Mariadb < Formula depends_on "openssl" conflicts_with "mysql", "mysql-cluster", "percona-server", - :because => "mariadb, mysql, and percona install the same binaries." + because: "mariadb, mysql, and percona install the same binaries." conflicts_with "mysql-connector-c", - :because => "both install MySQL client libraries" - conflicts_with "mytop", :because => "both install `mytop` binaries" + because: "both install MySQL client libraries" + conflicts_with "mytop", because: "both install `mytop` binaries" conflicts_with "mariadb-connector-c", - :because => "both install plugins" + because: "both install plugins" def install # Don't hard-code the libtool path. See: @@ -171,7 +171,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "mysql.server start" + plist_options manual: "mysql.server start" def plist; <<-EOS.undent diff --git a/Formula/markdown.rb b/Formula/markdown.rb index be767b6736695..6d6c1fe157454 100644 --- a/Formula/markdown.rb +++ b/Formula/markdown.rb @@ -12,8 +12,8 @@ class Markdown < Formula sha256 "66fffda1a29fd9e2dcddcb52fb9606f21d897bf4680583626b612a95d27b1e04" => :mavericks end - conflicts_with "discount", :because => "both install `markdown` binaries" - conflicts_with "multimarkdown", :because => "both install `markdown` binaries" + conflicts_with "discount", because: "both install `markdown` binaries" + conflicts_with "multimarkdown", because: "both install `markdown` binaries" def install bin.install "Markdown.pl" => "markdown" diff --git a/Formula/mas.rb b/Formula/mas.rb index e7cc45d284b96..0fa590964b945 100644 --- a/Formula/mas.rb +++ b/Formula/mas.rb @@ -11,7 +11,7 @@ class Mas < Formula sha256 "360664b0d88c79c1e917df02bdb749bc1cdc9337075059944c49bb8f451baf71" => :el_capitan end - depends_on :xcode => ["7.3", :build] + depends_on xcode: ["7.3", :build] def install ENV["GEM_HOME"] = buildpath/".gem" diff --git a/Formula/mat.rb b/Formula/mat.rb index cfa62d2321fed..731dedab41af8 100644 --- a/Formula/mat.rb +++ b/Formula/mat.rb @@ -11,7 +11,7 @@ class Mat < Formula sha256 "53c46830d2c77a24e2096e8aa6e30fdc1a2510957573b8578d8316dfeab1b635" => :mavericks end - depends_on :python => :optional + depends_on python: :optional depends_on "coreutils" depends_on "poppler" depends_on "pygobject3" @@ -66,7 +66,7 @@ def install rm bin/"mat-gui" man1.install Dir["*.1"] - 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 diff --git a/Formula/maven.rb b/Formula/maven.rb index 11cf81e7af2f2..3595ceb562b40 100644 --- a/Formula/maven.rb +++ b/Formula/maven.rb @@ -28,7 +28,7 @@ def install end end - conflicts_with "mvnvm", :because => "also installs a 'mvn' executable" + conflicts_with "mvnvm", because: "also installs a 'mvn' executable" test do (testpath/"pom.xml").write <<-EOS.undent diff --git a/Formula/mbedtls.rb b/Formula/mbedtls.rb index 0d06f44a68cd0..837119f835737 100644 --- a/Formula/mbedtls.rb +++ b/Formula/mbedtls.rb @@ -1,7 +1,7 @@ class Mbedtls < Formula desc "Cryptographic & SSL/TLS library" homepage "https://tls.mbed.org/" - head "https://github.com/ARMmbed/mbedtls.git", :branch => "development" + head "https://github.com/ARMmbed/mbedtls.git", branch: "development" revision 1 stable do diff --git a/Formula/mcabber.rb b/Formula/mcabber.rb index 6d16a8335bfbf..4aed551971314 100644 --- a/Formula/mcabber.rb +++ b/Formula/mcabber.rb @@ -12,7 +12,7 @@ class Mcabber < Formula end head do - url "https://mcabber.com/hg/", :using => :hg + url "https://mcabber.com/hg/", using: :hg depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/mdv.rb b/Formula/mdv.rb index d6b856621244d..b8bf6a4125757 100644 --- a/Formula/mdv.rb +++ b/Formula/mdv.rb @@ -41,7 +41,7 @@ def install (libexec/"bin").install %w[mdv.py docopt.py tabulate.py ansi_tables.json] bin.install_symlink "mdv.py" => "mdv" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/mecab-ko.rb b/Formula/mecab-ko.rb index e79fa6e20ea01..910c5211ad7c6 100644 --- a/Formula/mecab-ko.rb +++ b/Formula/mecab-ko.rb @@ -13,7 +13,7 @@ class MecabKo < Formula sha256 "5193bbfc4308dc54ce44f1a9c46f89040e3c8bd0a2d389afd44ef240e98f6838" => :mountain_lion end - conflicts_with "mecab", :becasue => "both install mecab binaries" + conflicts_with "mecab", becasue: "both install mecab binaries" def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/mecab.rb b/Formula/mecab.rb index 616e4a6fa5585..10435ca8a87ad 100644 --- a/Formula/mecab.rb +++ b/Formula/mecab.rb @@ -15,7 +15,7 @@ class Mecab < Formula sha256 "5cbe634aaf3101f1889ff6b21a00359940bca964f770b51ab143e06357d3af16" => :mountain_lion end - conflicts_with "mecab-ko", :because => "both install mecab binaries" + conflicts_with "mecab-ko", because: "both install mecab binaries" def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/megacmd.rb b/Formula/megacmd.rb index 49c00da7b493e..cc5711bc389c7 100644 --- a/Formula/megacmd.rb +++ b/Formula/megacmd.rb @@ -20,17 +20,17 @@ class Megacmd < Formula go_resource "github.com/t3rm1n4l/go-humanize" do url "https://github.com/t3rm1n4l/go-humanize.git", - :revision => "e7ed15be05eb554fbaa83ac9b335556d6390fb9f" + revision: "e7ed15be05eb554fbaa83ac9b335556d6390fb9f" end go_resource "github.com/t3rm1n4l/go-mega" do url "https://github.com/t3rm1n4l/go-mega.git", - :revision => "551abb8f1c87053be3f24282d198a6614c0ca14f" + revision: "551abb8f1c87053be3f24282d198a6614c0ca14f" end go_resource "github.com/t3rm1n4l/megacmd" do url "https://github.com/t3rm1n4l/megacmd.git", - :revision => "d7f3f3a2427cc52b71cad90b26889e2a33fc3565" + revision: "d7f3f3a2427cc52b71cad90b26889e2a33fc3565" end def install diff --git a/Formula/memcached.rb b/Formula/memcached.rb index e07d0e1888f86..414ad03959a5a 100644 --- a/Formula/memcached.rb +++ b/Formula/memcached.rb @@ -21,7 +21,7 @@ class Memcached < Formula deprecated_option "enable-sasl" => "with-sasl" deprecated_option "enable-sasl-pwdb" => "with-sasl-pwdb" - conflicts_with "mysql-cluster", :because => "both install `bin/memcached`" + conflicts_with "mysql-cluster", because: "both install `bin/memcached`" def install args = ["--prefix=#{prefix}", "--disable-coverage"] @@ -32,7 +32,7 @@ def install system "make", "install" end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/memcached/bin/memcached" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/memcached/bin/memcached" def plist; <<-EOS.undent diff --git a/Formula/meson.rb b/Formula/meson.rb index fbce5bba209e0..d2eab4cefd015 100644 --- a/Formula/meson.rb +++ b/Formula/meson.rb @@ -21,7 +21,7 @@ def install system "python3", *Language::Python.setup_install_args(prefix) - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/mesos.rb b/Formula/mesos.rb index e5589534ce5d3..88c3e98ab9959 100644 --- a/Formula/mesos.rb +++ b/Formula/mesos.rb @@ -12,9 +12,9 @@ class Mesos < Formula sha256 "2b0aab36735f07c2db20b45b8b381003d93898213c41ff6ed071cdd26da54346" => :mavericks end - depends_on :java => "1.7+" - depends_on :macos => :mountain_lion - depends_on :apr => :build + depends_on java: "1.7+" + depends_on macos: :mountain_lion + depends_on apr: :build depends_on "maven" => :build depends_on "subversion" diff --git a/Formula/metabase.rb b/Formula/metabase.rb index 86819e7bdb601..79c79041fda03 100644 --- a/Formula/metabase.rb +++ b/Formula/metabase.rb @@ -14,7 +14,7 @@ class Metabase < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install if build.head? @@ -27,7 +27,7 @@ def install bin.write_jar_script libexec/"metabase.jar", "metabase" end - plist_options :startup => true, :manual => "metabase" + plist_options startup: true, manual: "metabase" def plist; <<-EOS.undent diff --git a/Formula/mg.rb b/Formula/mg.rb index f939b00ff186a..6c264c091ef60 100644 --- a/Formula/mg.rb +++ b/Formula/mg.rb @@ -10,9 +10,9 @@ class Mg < Formula sha256 "b75b2d2ce24746207c5d0253745a992ae6e6a83f190a32ba5fd4aedd08028bb5" => :yosemite end - depends_on :macos => :yosemite # older versions don't support fstatat(2) + depends_on macos: :yosemite # older versions don't support fstatat(2) - conflicts_with "mg3a", :because => "both install `mg` binaries" + conflicts_with "mg3a", because: "both install `mg` binaries" def install system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}" diff --git a/Formula/mg3a.rb b/Formula/mg3a.rb index a94dd84c02023..8c962d2ba135a 100644 --- a/Formula/mg3a.rb +++ b/Formula/mg3a.rb @@ -17,7 +17,7 @@ class Mg3a < Formula option "with-most", "Include c-like and python modes, user modes and user macros" option "with-all", "Include all fancy stuff" - conflicts_with "mg", :because => "both install `mg`" + conflicts_with "mg", because: "both install `mg`" def install if build.with?("all") diff --git a/Formula/micro.rb b/Formula/micro.rb index bc7ba4527de8a..8221d9a2c8ab1 100644 --- a/Formula/micro.rb +++ b/Formula/micro.rb @@ -4,8 +4,8 @@ class Micro < Formula desc "Modern and intuitive terminal-based text editor" homepage "https://github.com/zyedidia/micro" url "https://github.com/zyedidia/micro.git", - :tag => "v1.0.3", - :revision => "5e82fc467314b07988c39eba5f0be6d1717605f7" + tag: "v1.0.3", + revision: "5e82fc467314b07988c39eba5f0be6d1717605f7" head "https://github.com/zyedidia/micro.git" bottle do @@ -19,72 +19,72 @@ class Micro < Formula go_resource "github.com/gdamore/encoding" do url "https://github.com/gdamore/encoding.git", - :revision => "b23993cbb6353f0e6aa98d0ee318a34728f628b9" + revision: "b23993cbb6353f0e6aa98d0ee318a34728f628b9" end go_resource "github.com/go-errors/errors" do url "https://github.com/go-errors/errors.git", - :revision => "a41850380601eeb43f4350f7d17c6bbd8944aaf8" + revision: "a41850380601eeb43f4350f7d17c6bbd8944aaf8" end go_resource "github.com/layeh/gopher-luar" do url "https://github.com/layeh/gopher-luar.git", - :revision => "921d03e21a7844141b02d4c729269b6709762f28" + revision: "921d03e21a7844141b02d4c729269b6709762f28" end go_resource "github.com/lucasb-eyer/go-colorful" do url "https://github.com/lucasb-eyer/go-colorful.git", - :revision => "9c2852a141bf4711e4276f8f119c90d0f20a556c" + revision: "9c2852a141bf4711e4276f8f119c90d0f20a556c" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8" + revision: "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8" end go_resource "github.com/mattn/go-runewidth" do url "https://github.com/mattn/go-runewidth.git", - :revision => "d6bea18f789704b5f83375793155289da36a3c7f" + revision: "d6bea18f789704b5f83375793155289da36a3c7f" end go_resource "github.com/mitchellh/go-homedir" do url "https://github.com/mitchellh/go-homedir.git", - :revision => "756f7b183b7ab78acdbbee5c7f392838ed459dda" + revision: "756f7b183b7ab78acdbbee5c7f392838ed459dda" end go_resource "github.com/sergi/go-diff" do url "https://github.com/sergi/go-diff.git", - :revision => "ec7fdbb58eb3e300c8595ad5ac74a5aa50019cc7" + revision: "ec7fdbb58eb3e300c8595ad5ac74a5aa50019cc7" end go_resource "github.com/yosuke-furukawa/json5" do url "https://github.com/yosuke-furukawa/json5.git", - :revision => "07fdad7a3c55f2098b172ea58890470c07f7d392" + revision: "07fdad7a3c55f2098b172ea58890470c07f7d392" end go_resource "github.com/yuin/gopher-lua" do url "https://github.com/yuin/gopher-lua.git", - :revision => "6a1397dfb6f8e7af08496129dd96f5f62c148f47" + revision: "6a1397dfb6f8e7af08496129dd96f5f62c148f47" end go_resource "github.com/zyedidia/clipboard" do url "https://github.com/zyedidia/clipboard.git", - :revision => "72497670a7bd47eb648153f55bea83852546abe0" + revision: "72497670a7bd47eb648153f55bea83852546abe0" end go_resource "github.com/zyedidia/glob" do url "https://github.com/zyedidia/glob.git", - :revision => "7cf5a078d22fc41b27fbda73685c88a3f2c6fe28" + revision: "7cf5a078d22fc41b27fbda73685c88a3f2c6fe28" end go_resource "github.com/zyedidia/tcell" do url "https://github.com/zyedidia/tcell.git", - :revision => "66ed19afb88b4adad8e1374b5718a76497a994d3" + revision: "66ed19afb88b4adad8e1374b5718a76497a994d3" end go_resource "golang.org/x/text" do url "https://go.googlesource.com/text.git", - :revision => "ceefd2213ed29504fff30155163c8f59827734f3" + revision: "ceefd2213ed29504fff30155163c8f59827734f3" end def install diff --git a/Formula/micropython.rb b/Formula/micropython.rb index ee47635ebaa42..d4c8831e09ebd 100644 --- a/Formula/micropython.rb +++ b/Formula/micropython.rb @@ -2,8 +2,8 @@ class Micropython < Formula desc "Python implementation for microcontrollers and constrained systems" homepage "https://www.micropython.org/" url "https://github.com/micropython/micropython.git", - :tag => "v1.8.4", - :revision => "3611dcc260cef08eaa497cea4e3ca17977848b6c" + tag: "v1.8.4", + revision: "3611dcc260cef08eaa497cea4e3ca17977848b6c" bottle do cellar :any diff --git a/Formula/midgard2.rb b/Formula/midgard2.rb index 4bf29e9e8fe31..4f46d393ab410 100644 --- a/Formula/midgard2.rb +++ b/Formula/midgard2.rb @@ -12,7 +12,7 @@ class Midgard2 < Formula end head do - url "https://github.com/midgardproject/midgard-core.git", :branch => "ratatoskr" + url "https://github.com/midgardproject/midgard-core.git", branch: "ratatoskr" depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/midnight-commander.rb b/Formula/midnight-commander.rb index 0e5e26a758945..a7a743bdf6bc3 100644 --- a/Formula/midnight-commander.rb +++ b/Formula/midnight-commander.rb @@ -23,7 +23,7 @@ class MidnightCommander < Formula depends_on "s-lang" depends_on "libssh2" - conflicts_with "minio-mc", :because => "Both install a `mc` binary" + conflicts_with "minio-mc", because: "Both install a `mc` binary" def install args = %W[ diff --git a/Formula/mimms.rb b/Formula/mimms.rb index 34d4068891cd5..3c69667550a31 100644 --- a/Formula/mimms.rb +++ b/Formula/mimms.rb @@ -21,7 +21,7 @@ class Mimms < Formula def install ENV["PYTHONPATH"] = lib+"python2.7/site-packages" system "python", "setup.py", "install", "--prefix=#{prefix}" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/minio-mc.rb b/Formula/minio-mc.rb index b928d459dbb14..1fd3b3d9e6b96 100644 --- a/Formula/minio-mc.rb +++ b/Formula/minio-mc.rb @@ -2,8 +2,8 @@ class MinioMc < Formula desc "ls, cp, mkdir, diff and rsync for filesystems and object storage" homepage "https://github.com/minio/mc" url "https://github.com/minio/mc.git", - :tag => "RELEASE.2016-08-21T03-02-49Z", - :revision => "768be74f74578137951f65874cfc2e454b64aca0" + tag: "RELEASE.2016-08-21T03-02-49Z", + revision: "768be74f74578137951f65874cfc2e454b64aca0" version "20160821030249" bottle do @@ -15,7 +15,7 @@ class MinioMc < Formula depends_on "go" => :build - conflicts_with "midnight-commander", :because => "Both install a `mc` binary" + conflicts_with "midnight-commander", because: "Both install a `mc` binary" def install ENV["GOPATH"] = buildpath diff --git a/Formula/minio.rb b/Formula/minio.rb index 3fd35e156d816..0ad9835895130 100644 --- a/Formula/minio.rb +++ b/Formula/minio.rb @@ -2,8 +2,8 @@ class Minio < Formula desc "object storage server compatible with Amazon S3" homepage "https://github.com/minio/minio" url "https://github.com/minio/minio.git", - :tag => "RELEASE.2016-09-11T17-42-18Z", - :revision => "85e2d886bcb005d49f3876d6849a2b5a55e03cd3" + tag: "RELEASE.2016-09-11T17-42-18Z", + revision: "85e2d886bcb005d49f3876d6849a2b5a55e03cd3" version "20160911174218" bottle do @@ -46,7 +46,7 @@ def post_install (etc/"minio").mkpath end - plist_options :manual => "minio server" + plist_options manual: "minio server" def plist; <<-EOS.undent diff --git a/Formula/minizinc.rb b/Formula/minizinc.rb index eb2f549641029..8aca0860c4656 100644 --- a/Formula/minizinc.rb +++ b/Formula/minizinc.rb @@ -3,7 +3,7 @@ class Minizinc < Formula homepage "http://www.minizinc.org" url "https://github.com/MiniZinc/libminizinc/archive/2.0.13.tar.gz" sha256 "0b94f56553d162c6888d5eb336342df27cb605e0c18b01c7f2a54ee7e31dcd46" - head "https://github.com/MiniZinc/libminizinc.git", :branch => "develop" + head "https://github.com/MiniZinc/libminizinc.git", branch: "develop" bottle do cellar :any_skip_relocation @@ -12,7 +12,7 @@ class Minizinc < Formula sha256 "2b48f64eabd1c4e88c71dc2c45d50fa7a6ba9fa90fc5e620de6baf2555e51ea6" => :mavericks end - depends_on :arch => :x86_64 + depends_on arch: :x86_64 depends_on "cmake" => :build def install diff --git a/Formula/mit-scheme.rb b/Formula/mit-scheme.rb index baabc533f570e..fb68ed5128b33 100644 --- a/Formula/mit-scheme.rb +++ b/Formula/mit-scheme.rb @@ -16,9 +16,9 @@ class MitScheme < Formula # Has a hardcoded compile check for /Applications/Xcode.app # Dies on "configure: error: SIZEOF_CHAR is not 1" without Xcode. # https://github.com/Homebrew/homebrew-x11/issues/103#issuecomment-125014423 - depends_on :xcode => :build + depends_on xcode: :build depends_on "openssl" - depends_on :x11 => :optional + depends_on x11: :optional def install # Setting -march=native, which is what --build-from-source does, can fail diff --git a/Formula/mitmproxy.rb b/Formula/mitmproxy.rb index a9edc5e0dd1a0..3f9aa1d31b7c2 100644 --- a/Formula/mitmproxy.rb +++ b/Formula/mitmproxy.rb @@ -262,7 +262,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"]) end test do diff --git a/Formula/mjpegtools.rb b/Formula/mjpegtools.rb index c31e52d15c1a5..0d01d6e85bb34 100644 --- a/Formula/mjpegtools.rb +++ b/Formula/mjpegtools.rb @@ -12,7 +12,7 @@ class Mjpegtools < Formula sha256 "3477b7df54eaef29d1502fb505eb5f55b2da05ab40cb529460d10523a1b5ab93" => :mavericks end - depends_on :x11 => :optional + depends_on x11: :optional depends_on "pkg-config" => :build depends_on "jpeg" diff --git a/Formula/mkdocs.rb b/Formula/mkdocs.rb index f8af7d29e8803..271a408b8eac4 100644 --- a/Formula/mkdocs.rb +++ b/Formula/mkdocs.rb @@ -95,7 +95,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"]) end test do diff --git a/Formula/mkvtomp4.rb b/Formula/mkvtomp4.rb index 4890c1f9b1978..e832afa95c779 100644 --- a/Formula/mkvtomp4.rb +++ b/Formula/mkvtomp4.rb @@ -25,7 +25,7 @@ def install system "python", "setup.py", "install", "--prefix=#{prefix}" bin.install "mkvtomp4.py" => "mkvtomp4" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/mkvtoolnix.rb b/Formula/mkvtoolnix.rb index cc018663aaa01..5bf0ed65f019d 100644 --- a/Formula/mkvtoolnix.rb +++ b/Formula/mkvtoolnix.rb @@ -21,7 +21,7 @@ class Mkvtoolnix < Formula option "with-qt5", "Build with QT GUI" depends_on "pkg-config" => :build - depends_on :ruby => ["1.9", :build] + depends_on ruby: ["1.9", :build] depends_on "libogg" depends_on "libvorbis" depends_on "flac" => :recommended diff --git a/Formula/mldonkey.rb b/Formula/mldonkey.rb index eef4fb4e86f51..edef47b78f06f 100644 --- a/Formula/mldonkey.rb +++ b/Formula/mldonkey.rb @@ -3,7 +3,7 @@ class Mldonkey < Formula homepage "http://mldonkey.sourceforge.net/Main_Page" revision 1 - head "https://github.com/ygrek/mldonkey.git", :branch => "next" + head "https://github.com/ygrek/mldonkey.git", branch: "next" stable do url "https://downloads.sourceforge.net/project/mldonkey/mldonkey/3.1.5/mldonkey-3.1.5.tar.bz2" diff --git a/Formula/mobile-shell.rb b/Formula/mobile-shell.rb index f7b75b8fd89e4..5ee7202fe4304 100644 --- a/Formula/mobile-shell.rb +++ b/Formula/mobile-shell.rb @@ -13,7 +13,7 @@ class MobileShell < Formula end head do - url "https://github.com/mobile-shell/mosh.git", :shallow => false + url "https://github.com/mobile-shell/mosh.git", shallow: false depends_on "autoconf" => :build depends_on "automake" => :build @@ -25,7 +25,7 @@ class MobileShell < Formula depends_on "pkg-config" => :build depends_on "protobuf" - depends_on :perl => "5.14" if MacOS.version <= :mountain_lion + depends_on perl: "5.14" if MacOS.version <= :mountain_lion def install # teach mosh to locate mosh-client without referring diff --git a/Formula/mockserver.rb b/Formula/mockserver.rb index dbb13cfce88d9..ebb4dc2d3afe4 100644 --- a/Formula/mockserver.rb +++ b/Formula/mockserver.rb @@ -7,7 +7,7 @@ class Mockserver < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install libexec.install Dir["*"] diff --git a/Formula/modules.rb b/Formula/modules.rb index a056a81142631..ef834c74a6b02 100644 --- a/Formula/modules.rb +++ b/Formula/modules.rb @@ -10,7 +10,7 @@ class Modules < Formula sha256 "d46c87889814f42b07e22b634061a899baac9a49191cb049c8eb3c91ad3650bc" => :mavericks end - depends_on :x11 => :optional + depends_on x11: :optional def install # -DUSE_INTERP_ERRORLINE fixes diff --git a/Formula/mogenerator.rb b/Formula/mogenerator.rb index 65843bb29aafe..59ce040b2d244 100644 --- a/Formula/mogenerator.rb +++ b/Formula/mogenerator.rb @@ -12,8 +12,8 @@ class Mogenerator < Formula sha256 "621065a5fec651c0f3a4ef46ab8b5064d74f6cb4b9c2357a809f2cef6281d216" => :yosemite end - depends_on :xcode => :build - depends_on :macos => :yosemite + depends_on xcode: :build + depends_on macos: :yosemite def install xcodebuild "-target", "mogenerator", "-configuration", "Release", "SYMROOT=symroot", "OBJROOT=objroot" diff --git a/Formula/monetdb.rb b/Formula/monetdb.rb index bc1297ff6d453..48d33b923274e 100644 --- a/Formula/monetdb.rb +++ b/Formula/monetdb.rb @@ -26,7 +26,7 @@ class Monetdb < Formula end head do - url "https://dev.monetdb.org/hg/MonetDB", :using => :hg + url "https://dev.monetdb.org/hg/MonetDB", using: :hg depends_on "libtool" => :build depends_on "gettext" => :build @@ -41,7 +41,7 @@ class Monetdb < Formula depends_on RRequirement => :optional depends_on "pkg-config" => :build - depends_on :ant => :build + depends_on ant: :build depends_on "libatomic_ops" => [:build, :recommended] depends_on "pcre" depends_on "readline" # Compilation fails with libedit. diff --git a/Formula/mongo-c.rb b/Formula/mongo-c.rb index 6cc4c4c4f989a..256bc840b80ca 100644 --- a/Formula/mongo-c.rb +++ b/Formula/mongo-c.rb @@ -22,7 +22,7 @@ class MongoC < Formula depends_on "openssl" => :recommended conflicts_with "libbson", - :because => "mongo-c installs the libbson headers" + because: "mongo-c installs the libbson headers" def install args = %W[--prefix=#{prefix}] diff --git a/Formula/mongo-orchestration.rb b/Formula/mongo-orchestration.rb index 36fba53df642c..afb092f79e89f 100644 --- a/Formula/mongo-orchestration.rb +++ b/Formula/mongo-orchestration.rb @@ -43,7 +43,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"]) end def plist; <<-EOS.undent diff --git a/Formula/mongodb.rb b/Formula/mongodb.rb index d9c3759b8c351..736f73d9bf11f 100644 --- a/Formula/mongodb.rb +++ b/Formula/mongodb.rb @@ -18,15 +18,15 @@ class Mongodb < Formula depends_on "boost" => :optional depends_on "go" => :build - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion depends_on "scons" => :build depends_on "openssl" => :recommended go_resource "github.com/mongodb/mongo-tools" do url "https://github.com/mongodb/mongo-tools.git", - :tag => "r3.2.9", - :revision => "4a4e7d30773b28cf66f75e45bc289a5d3ca49ddd", - :shallow => false + tag: "r3.2.9", + revision: "4a4e7d30773b28cf66f75e45bc289a5d3ca49ddd", + shallow: false end needs :cxx11 @@ -98,7 +98,7 @@ def mongodb_conf; <<-EOS.undent EOS end - plist_options :manual => "mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf" + plist_options manual: "mongod --config #{HOMEBREW_PREFIX}/etc/mongod.conf" def plist; <<-EOS.undent diff --git a/Formula/mongrel2.rb b/Formula/mongrel2.rb index 7499b6c04b273..40837c47ce7b1 100644 --- a/Formula/mongrel2.rb +++ b/Formula/mongrel2.rb @@ -1,7 +1,7 @@ class Mongrel2 < Formula desc "Application, language, and network architecture agnostic web server" homepage "http://mongrel2.org/" - head "https://github.com/mongrel2/mongrel2.git", :branch => "develop" + head "https://github.com/mongrel2/mongrel2.git", branch: "develop" stable do url "https://github.com/mongrel2/mongrel2/releases/download/v1.11.0/mongrel2-v1.11.0.tar.bz2" diff --git a/Formula/mono.rb b/Formula/mono.rb index 8c113b637f82e..157b7de133456 100644 --- a/Formula/mono.rb +++ b/Formula/mono.rb @@ -28,13 +28,13 @@ class Mono < Formula depends_on "autoconf" => :build depends_on "pkg-config" => :build - conflicts_with "xsd", :because => "both install `xsd` binaries" - conflicts_with "czmq", :because => "both install `makecert` binaries" + conflicts_with "xsd", because: "both install `xsd` binaries" + conflicts_with "czmq", because: "both install `makecert` binaries" resource "fsharp" do url "https://github.com/fsharp/fsharp.git", - :tag => "4.0.1.10", - :revision => "d654e56bbc09bd6c1da5bd1f07abc1d9d347b6c3" + tag: "4.0.1.10", + revision: "d654e56bbc09bd6c1da5bd1f07abc1d9d347b6c3" end def install diff --git a/Formula/montage.rb b/Formula/montage.rb index 569cefb3eafbc..a1eb6cfc6d845 100644 --- a/Formula/montage.rb +++ b/Formula/montage.rb @@ -11,7 +11,7 @@ class Montage < Formula sha256 "30e68dcecc111af10a65b1edd33a0142457b2f2064e1bce45e33a6d3d11539d4" => :mavericks end - conflicts_with "wdiff", :because => "Both install an mdiff executable" + conflicts_with "wdiff", because: "Both install an mdiff executable" def install system "make" diff --git a/Formula/moreutils.rb b/Formula/moreutils.rb index d2857a816bfea..5111a1fb0b14c 100644 --- a/Formula/moreutils.rb +++ b/Formula/moreutils.rb @@ -2,8 +2,8 @@ class Moreutils < Formula desc "Collection of tools that nobody wrote when UNIX was young" homepage "https://joeyh.name/code/moreutils/" url "git://git.kitenet.net/moreutils", - :tag => "0.60", - :revision => "1173bd9f10d731485f3b63f1c7ff55eb9c58a605" + tag: "0.60", + revision: "1173bd9f10d731485f3b63f1c7ff55eb9c58a605" head "git://git.joeyh.name/moreutils" bottle do @@ -18,9 +18,9 @@ class Moreutils < Formula depends_on "docbook-xsl" => :build - conflicts_with "parallel", :because => "Both install a `parallel` executable." - conflicts_with "pwntools", :because => "Both install an `errno` executable." - conflicts_with "task-spooler", :because => "Both install a `ts` executable." + conflicts_with "parallel", because: "Both install a `parallel` executable." + conflicts_with "pwntools", because: "Both install an `errno` executable." + conflicts_with "task-spooler", because: "Both install a `ts` executable." resource "Time::Duration" do url "https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-1.20.tar.gz" @@ -57,7 +57,7 @@ def install system "make", "all" system "make", "check" system "make", "install", "PREFIX=#{prefix}" - bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec+"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/mosquitto.rb b/Formula/mosquitto.rb index 984cfc1e07977..497084fc7a8ba 100644 --- a/Formula/mosquitto.rb +++ b/Formula/mosquitto.rb @@ -36,7 +36,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "mosquitto -c #{HOMEBREW_PREFIX}/etc/mosquitto/mosquitto.conf" + plist_options manual: "mosquitto -c #{HOMEBREW_PREFIX}/etc/mosquitto/mosquitto.conf" def plist; <<-EOS.undent diff --git a/Formula/moz-git-tools.rb b/Formula/moz-git-tools.rb index 9ba0d30198a5f..4e1ab36ca7c1b 100644 --- a/Formula/moz-git-tools.rb +++ b/Formula/moz-git-tools.rb @@ -2,7 +2,7 @@ class MozGitTools < Formula desc "Tools for working with Git at Mozilla" homepage "https://github.com/mozilla/moz-git-tools" url "https://github.com/mozilla/moz-git-tools.git", - :tag => "v0.1", :revision => "cfe890e6f81745c8b093b20a3dc22d28f9fc0032" + tag: "v0.1", revision: "cfe890e6f81745c8b093b20a3dc22d28f9fc0032" head "https://github.com/mozilla/moz-git-tools.git" bottle do diff --git a/Formula/mpd.rb b/Formula/mpd.rb index cd564b2aff239..75f47b7ba40a3 100644 --- a/Formula/mpd.rb +++ b/Formula/mpd.rb @@ -100,7 +100,7 @@ def install (etc/"mpd").install "doc/mpdconf.example" => "mpd.conf" end - plist_options :manual => "mpd" + plist_options manual: "mpd" def plist; <<-EOS.undent diff --git a/Formula/mpdscribble.rb b/Formula/mpdscribble.rb index 8da1363d5bd95..6c5d5a4542243 100644 --- a/Formula/mpdscribble.rb +++ b/Formula/mpdscribble.rb @@ -25,7 +25,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "mpdscribble" + plist_options manual: "mpdscribble" def plist; <<-EOS.undent diff --git a/Formula/mpdviz.rb b/Formula/mpdviz.rb index 045811396a508..48612145a7e3f 100644 --- a/Formula/mpdviz.rb +++ b/Formula/mpdviz.rb @@ -18,22 +18,22 @@ class Mpdviz < Formula go_resource "github.com/lucy/go-fftw" do url "https://github.com/lucy/go-fftw.git", - :revision => "37bfa0d3053b133f7067e9524611a7a963294124" + revision: "37bfa0d3053b133f7067e9524611a7a963294124" end go_resource "github.com/lucy/pflag" do url "https://github.com/lucy/pflag.git", - :revision => "20db95b725d76759ba16e25ae6ae2ec67bf45216" + revision: "20db95b725d76759ba16e25ae6ae2ec67bf45216" end go_resource "github.com/lucy/termbox-go" do url "https://github.com/lucy/termbox-go.git", - :revision => "a09edf97f26bd0a461d4660b5322236ecf9d4397" + revision: "a09edf97f26bd0a461d4660b5322236ecf9d4397" end go_resource "github.com/mattn/go-runewidth" do url "https://github.com/mattn/go-runewidth.git", - :revision => "36f63b8223e701c16f36010094fb6e84ffbaf8e0" + revision: "36f63b8223e701c16f36010094fb6e84ffbaf8e0" end def install diff --git a/Formula/mpich.rb b/Formula/mpich.rb index a171bed3fa685..1c843c1feab42 100644 --- a/Formula/mpich.rb +++ b/Formula/mpich.rb @@ -27,9 +27,9 @@ class Mpich < Formula end deprecated_option "disable-fortran" => "without-fortran" - depends_on :fortran => :recommended + depends_on fortran: :recommended - conflicts_with "open-mpi", :because => "both install mpi__ compiler wrappers" + conflicts_with "open-mpi", because: "both install mpi__ compiler wrappers" def install # Fix segfault; remove for next mpich releaase > 3.2 diff --git a/Formula/mplayershell.rb b/Formula/mplayershell.rb index 4297287d63c17..db8e2a79dc7c8 100644 --- a/Formula/mplayershell.rb +++ b/Formula/mplayershell.rb @@ -22,8 +22,8 @@ class Mplayershell < Formula end depends_on MPlayerRequirement - depends_on :macos => :lion - depends_on :xcode => :build + depends_on macos: :lion + depends_on xcode: :build def install xcodebuild "-project", diff --git a/Formula/mpv.rb b/Formula/mpv.rb index 3beefb40bb7e6..61897fd93f9fe 100644 --- a/Formula/mpv.rb +++ b/Formula/mpv.rb @@ -35,9 +35,9 @@ class Mpv < Formula depends_on "libaacs" => :optional depends_on "vapoursynth" => :optional depends_on "uchardet" => :optional - depends_on :x11 => :optional + depends_on x11: :optional - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion resource "waf" do url "https://waf.io/waf-1.9.2" diff --git a/Formula/mr.rb b/Formula/mr.rb index 5dbbe2718db39..4480ba67b3d40 100644 --- a/Formula/mr.rb +++ b/Formula/mr.rb @@ -1,7 +1,7 @@ class Mr < Formula desc "Multiple Repository management tool" homepage "https://myrepos.branchable.com/" - url "git://myrepos.branchable.com/", :tag => "1.20160123", :revision => "6cd6c0ced619695cdede1fb6b0d654acee1bceb1" + url "git://myrepos.branchable.com/", tag: "1.20160123", revision: "6cd6c0ced619695cdede1fb6b0d654acee1bceb1" bottle do cellar :any_skip_relocation diff --git a/Formula/mtools.rb b/Formula/mtools.rb index 9a7f0a69534a2..27871dc05aaf7 100644 --- a/Formula/mtools.rb +++ b/Formula/mtools.rb @@ -12,9 +12,9 @@ class Mtools < Formula sha256 "2415b06b3cc473180cf59e0bd13a4b373ea38996afea75fc24a3f6d71f8bea38" => :mavericks end - conflicts_with "multimarkdown", :because => "both install `mmd` binaries" + conflicts_with "multimarkdown", because: "both install `mmd` binaries" - depends_on :x11 => :optional + depends_on x11: :optional def install # Prevents errors such as "mainloop.c:89:15: error: expected ')'" diff --git a/Formula/mu.rb b/Formula/mu.rb index 3abab80c4cdab..3536cf3a656e5 100644 --- a/Formula/mu.rb +++ b/Formula/mu.rb @@ -23,7 +23,7 @@ class Mu < Formula depends_on "glib" depends_on "gmime" depends_on "xapian" - depends_on :emacs => ["23", :optional] + depends_on emacs: ["23", :optional] def install # Explicitly tell the build not to include emacs support as the version diff --git a/Formula/multimarkdown.rb b/Formula/multimarkdown.rb index e094055197103..a3cee06ce0973 100644 --- a/Formula/multimarkdown.rb +++ b/Formula/multimarkdown.rb @@ -3,8 +3,8 @@ class Multimarkdown < Formula homepage "http://fletcherpenney.net/multimarkdown/" # Use git tag instead of the tarball to get submodules url "https://github.com/fletcher/MultiMarkdown-5.git", - :tag => "5.4.0", - :revision => "193c09a5362eb8a6c6433cd5d5f1d7db3efe986a" + tag: "5.4.0", + revision: "193c09a5362eb8a6c6433cd5d5f1d7db3efe986a" head "https://github.com/fletcher/MultiMarkdown-5.git" @@ -18,9 +18,9 @@ class Multimarkdown < Formula depends_on "cmake" => :build - conflicts_with "mtools", :because => "both install `mmd` binaries" - conflicts_with "markdown", :because => "both install `markdown` binaries" - conflicts_with "discount", :because => "both install `markdown` binaries" + conflicts_with "mtools", because: "both install `mmd` binaries" + conflicts_with "markdown", because: "both install `markdown` binaries" + conflicts_with "discount", because: "both install `markdown` binaries" def install system "sh", "link_git_modules" diff --git a/Formula/multirust.rb b/Formula/multirust.rb index fff1795ce0cb1..47eb3cbf4eb75 100644 --- a/Formula/multirust.rb +++ b/Formula/multirust.rb @@ -3,8 +3,8 @@ class Multirust < Formula homepage "https://github.com/brson/multirust" # Use the tag instead of the tarball to get submodules url "https://github.com/brson/multirust.git", - :tag => "0.8.0", - :revision => "8654d1c07729e961c172425088c451509557ef32" + tag: "0.8.0", + revision: "8654d1c07729e961c172425088c451509557ef32" revision 1 head "https://github.com/brson/multirust.git" @@ -16,9 +16,9 @@ class Multirust < Formula sha256 "26ad5ec92fbf20e556bffd4a73fdd7ce968db17c9078f626c497a91897fad4c7" => :mavericks end - depends_on :gpg => [:recommended, :run] + depends_on gpg: [:recommended, :run] - conflicts_with "rust", :because => "both install rustc, rustdoc, cargo, rust-lldb, rust-gdb" + conflicts_with "rust", because: "both install rustc, rustdoc, cargo, rust-lldb, rust-gdb" def install system "./build.sh" diff --git a/Formula/mupdf-tools.rb b/Formula/mupdf-tools.rb index 81c049b229b96..160d340565221 100644 --- a/Formula/mupdf-tools.rb +++ b/Formula/mupdf-tools.rb @@ -12,7 +12,7 @@ class MupdfTools < Formula sha256 "0dfd41dbe9c11575ce9a84449997d5291f8dca58066ac2fe4817b69178d09a6b" => :mavericks end - depends_on :macos => :snow_leopard + depends_on macos: :snow_leopard def install system "make", "install", diff --git a/Formula/mutt.rb b/Formula/mutt.rb index 7563ebd30fd21..0c45c69288887 100644 --- a/Formula/mutt.rb +++ b/Formula/mutt.rb @@ -22,10 +22,10 @@ class Mutt < Formula end head do - url "https://dev.mutt.org/hg/mutt#default", :using => :hg + url "https://dev.mutt.org/hg/mutt#default", using: :hg resource "html" do - url "https://dev.mutt.org/doc/manual.html", :using => :nounzip + url "https://dev.mutt.org/doc/manual.html", using: :nounzip end end @@ -42,7 +42,7 @@ class Mutt < Formula depends_on "s-lang" => :optional conflicts_with "tin", - :because => "both install mmdf.5 and mbox.5 man pages" + because: "both install mmdf.5 and mbox.5 man pages" def install user_admin = Etc.getgrnam("admin").mem.include?(ENV["USER"]) diff --git a/Formula/muttils.rb b/Formula/muttils.rb index 88339732f3b03..cc4f88a8b34bc 100644 --- a/Formula/muttils.rb +++ b/Formula/muttils.rb @@ -11,17 +11,17 @@ class Muttils < Formula sha256 "63e819c0bb96a56ed0f159ab816aeac84805a52333bd23298a17cd2abddcb17b" => :mountain_lion end - head "https://bitbucket.org/blacktrash/muttils", :using => :hg + head "https://bitbucket.org/blacktrash/muttils", using: :hg depends_on :python if MacOS.version <= :snow_leopard - conflicts_with "talk-filters", :because => "both install `wrap` binaries" + conflicts_with "talk-filters", because: "both install `wrap` binaries" def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/mvnvm.rb b/Formula/mvnvm.rb index b7bf9ffb9f255..95b25482867d7 100644 --- a/Formula/mvnvm.rb +++ b/Formula/mvnvm.rb @@ -7,7 +7,7 @@ class Mvnvm < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install bin.install "mvn" @@ -15,7 +15,7 @@ def install bin.env_script_all_files(libexec/"bin", Language::Java.overridable_java_home_env("1.7+")) end - conflicts_with "maven", :because => "also installs a 'mvn' executable" + conflicts_with "maven", because: "also installs a 'mvn' executable" test do (testpath/"settings.xml").write <<-EOS.undent diff --git a/Formula/mycli.rb b/Formula/mycli.rb index 8a5c68381ca99..568a49113d400 100644 --- a/Formula/mycli.rb +++ b/Formula/mycli.rb @@ -77,7 +77,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"]) end test do diff --git a/Formula/mypy.rb b/Formula/mypy.rb index 5ded3bf69263a..ea5579a7d488b 100644 --- a/Formula/mypy.rb +++ b/Formula/mypy.rb @@ -2,8 +2,8 @@ class Mypy < Formula desc "Experimental optional static type checker for Python" homepage "http://www.mypy-lang.org/" url "https://github.com/JukkaL/mypy.git", - :tag => "v0.4.4", - :revision => "3935fe0efc68318e2a3a08a98c2097c527a8d8d4" + tag: "v0.4.4", + revision: "3935fe0efc68318e2a3a08a98c2097c527a8d8d4" head "https://github.com/JukkaL/mypy.git" bottle do @@ -41,7 +41,7 @@ def install system "python3", *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"]) end test do diff --git a/Formula/mysql-cluster.rb b/Formula/mysql-cluster.rb index 65d8ba9e923d5..9d53ed40ce78b 100644 --- a/Formula/mysql-cluster.rb +++ b/Formula/mysql-cluster.rb @@ -23,14 +23,14 @@ class MysqlCluster < Formula deprecated_option "enable-local-infile" => "with-local-infile" deprecated_option "enable-debug" => "with-debug" - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "cmake" => :build depends_on "pidof" unless MacOS.version >= :mountain_lion depends_on "openssl" - conflicts_with "memcached", :because => "both install `bin/memcached`" + conflicts_with "memcached", because: "both install `bin/memcached`" conflicts_with "mysql", "mariadb", "percona-server", - :because => "mysql, mariadb, and percona install the same binaries." + because: "mysql, mariadb, and percona install the same binaries." fails_with :clang do build 500 diff --git a/Formula/mysql-connector-c.rb b/Formula/mysql-connector-c.rb index 7536a9be1fbbb..eabfb473d73a0 100644 --- a/Formula/mysql-connector-c.rb +++ b/Formula/mysql-connector-c.rb @@ -15,7 +15,7 @@ class MysqlConnectorC < Formula depends_on "cmake" => :build conflicts_with "mysql", "mariadb", "percona-server", - :because => "both install MySQL client libraries" + because: "both install MySQL client libraries" fails_with :llvm do build 2334 diff --git a/Formula/mysql-sandbox.rb b/Formula/mysql-sandbox.rb index 288c24c490eac..704601f3d23ed 100644 --- a/Formula/mysql-sandbox.rb +++ b/Formula/mysql-sandbox.rb @@ -30,7 +30,7 @@ def install system "make", "test", "install" bin.install Dir["#{libexec}/bin/*"] - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/mysql.rb b/Formula/mysql.rb index e8f5b8ab4bc97..39cf225211e9d 100644 --- a/Formula/mysql.rb +++ b/Formula/mysql.rb @@ -29,14 +29,14 @@ class Mysql < Formula # https://github.com/Homebrew/homebrew-core/issues/1475 # Needs at least Clang 3.3, which shipped alongside Lion. # Note: MySQL themselves don't support anything below Mavericks. - depends_on :macos => :lion + depends_on macos: :lion conflicts_with "mysql-cluster", "mariadb", "percona-server", - :because => "mysql, mariadb, and percona install the same binaries." + because: "mysql, mariadb, and percona install the same binaries." conflicts_with "mysql-connector-c", - :because => "both install MySQL client libraries" + because: "both install MySQL client libraries" conflicts_with "mariadb-connector-c", - :because => "both install plugins" + because: "both install plugins" fails_with :llvm do build 2326 @@ -160,7 +160,7 @@ def caveats s end - plist_options :manual => "mysql.server start" + plist_options manual: "mysql.server start" def plist; <<-EOS.undent diff --git a/Formula/mytop.rb b/Formula/mytop.rb index cae48747348b2..b88dc9a2556b3 100644 --- a/Formula/mytop.rb +++ b/Formula/mytop.rb @@ -17,7 +17,7 @@ class Mytop < Formula depends_on :mysql depends_on "openssl" - conflicts_with "mariadb", :because => "both install `mytop` binaries" + conflicts_with "mariadb", because: "both install `mytop` binaries" resource "List::Util" do url "https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.45.tar.gz" @@ -68,7 +68,7 @@ def install system "perl", "Makefile.PL", "INSTALL_BASE=#{prefix}" system "make", "test", "install" share.install prefix/"man" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/nagios-plugins.rb b/Formula/nagios-plugins.rb index 2cc2bdffb6915..bb76c5f24205c 100644 --- a/Formula/nagios-plugins.rb +++ b/Formula/nagios-plugins.rb @@ -13,7 +13,7 @@ class NagiosPlugins < Formula depends_on "openssl" depends_on "postgresql" => :optional - depends_on :mysql => :optional + depends_on mysql: :optional def install args = %W[ diff --git a/Formula/nagios.rb b/Formula/nagios.rb index d399323529ea7..befddfd400d05 100644 --- a/Formula/nagios.rb +++ b/Formula/nagios.rb @@ -64,7 +64,7 @@ def install mkdir HOMEBREW_PREFIX+"var/lib/nagios/rw" unless File.exist? HOMEBREW_PREFIX+"var/lib/nagios/rw" end - plist_options :startup => true, :manual => "nagios #{HOMEBREW_PREFIX}/etc/nagios/nagios.cfg" + plist_options startup: true, manual: "nagios #{HOMEBREW_PREFIX}/etc/nagios/nagios.cfg" def plist; <<-EOS.undent diff --git a/Formula/namebench.rb b/Formula/namebench.rb index e51cacdf8d2f8..cad0e8d4ec9e1 100644 --- a/Formula/namebench.rb +++ b/Formula/namebench.rb @@ -23,7 +23,7 @@ def install "--install-data=#{libexec}/lib/python2.7/site-packages" bin.install "namebench.py" => "namebench" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/nanopb-generator.rb b/Formula/nanopb-generator.rb index ef50d5a292e92..02794b025ac36 100644 --- a/Formula/nanopb-generator.rb +++ b/Formula/nanopb-generator.rb @@ -37,8 +37,8 @@ def install libexec.install "nanopb_generator.py", "protoc-gen-nanopb", "proto" - (bin/"protoc-gen-nanopb").write_env_script libexec/"protoc-gen-nanopb", :PYTHONPATH => ENV["PYTHONPATH"] - (bin/"nanopb_generator").write_env_script libexec/"nanopb_generator.py", :PYTHONPATH => ENV["PYTHONPATH"] + (bin/"protoc-gen-nanopb").write_env_script libexec/"protoc-gen-nanopb", PYTHONPATH: ENV["PYTHONPATH"] + (bin/"nanopb_generator").write_env_script libexec/"nanopb_generator.py", PYTHONPATH: ENV["PYTHONPATH"] end test do diff --git a/Formula/narwhal.rb b/Formula/narwhal.rb index 740554bc406fe..4018082b49789 100644 --- a/Formula/narwhal.rb +++ b/Formula/narwhal.rb @@ -7,8 +7,8 @@ class Narwhal < Formula bottle :unneeded - conflicts_with "spidermonkey", :because => "both install a js binary" - conflicts_with "elixir-build", :because => "both install `json` binaries" + conflicts_with "spidermonkey", because: "both install a js binary" + conflicts_with "elixir-build", because: "both install `json` binaries" def install rm Dir["bin/*.cmd"] diff --git a/Formula/natalie.rb b/Formula/natalie.rb index 67dc8df47af12..2f4e4fe53fc45 100644 --- a/Formula/natalie.rb +++ b/Formula/natalie.rb @@ -11,7 +11,7 @@ class Natalie < Formula sha256 "49c77d43fca5c3e76dfc00d5d8c4465cb2e98772415a3372b747b9f73b3eeff6" => :yosemite end - depends_on :xcode => "7.0" + depends_on xcode: "7.0" def install mv "natalie.swift", "natalie-script.swift" diff --git a/Formula/nats-streaming-server.rb b/Formula/nats-streaming-server.rb index 69d27e6277e9e..cfab1130c4573 100644 --- a/Formula/nats-streaming-server.rb +++ b/Formula/nats-streaming-server.rb @@ -22,7 +22,7 @@ def install system "go", "build", "-v", "-o", bin/"nats-streaming-server", buildfile end - plist_options :manual => "nats-streaming-server" + plist_options manual: "nats-streaming-server" def plist; <<-EOS.undent diff --git a/Formula/ncdc.rb b/Formula/ncdc.rb index 035acc864a3ff..e3bba5992b43d 100644 --- a/Formula/ncdc.rb +++ b/Formula/ncdc.rb @@ -14,7 +14,7 @@ class Ncdc < Formula end head do - url "https://g.blicky.net/ncdc.git", :shallow => false + url "https://g.blicky.net/ncdc.git", shallow: false depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/ncp.rb b/Formula/ncp.rb index 8d0f397d19acf..69fa9d0eb75a6 100644 --- a/Formula/ncp.rb +++ b/Formula/ncp.rb @@ -3,7 +3,7 @@ class Ncp < Formula homepage "https://www.fefe.de/ncp/" url "https://dl.fefe.de/ncp-1.2.4.tar.bz2" sha256 "6cfa72edd5f7717bf7a4a93ccc74c4abd89892360e2e0bb095a73c24b9359b88" - head ":pserver:cvs:@cvs.fefe.de:/cvs", :using => :cvs + head ":pserver:cvs:@cvs.fefe.de:/cvs", using: :cvs bottle do cellar :any_skip_relocation diff --git a/Formula/ndiff.rb b/Formula/ndiff.rb index 2057ee687f6a7..e9a0307be864d 100644 --- a/Formula/ndiff.rb +++ b/Formula/ndiff.rb @@ -11,7 +11,7 @@ class Ndiff < Formula sha256 "7451587f9747af6e7ffd0e5dbacd337a72cd9b7f3c45a1240c2033e0731d5d46" => :mavericks end - conflicts_with "nmap", :because => "both install `ndiff` binaries" + conflicts_with "nmap", because: "both install `ndiff` binaries" def install ENV.j1 diff --git a/Formula/neo4j.rb b/Formula/neo4j.rb index 3d07adf0ad765..01af93c28a0f2 100644 --- a/Formula/neo4j.rb +++ b/Formula/neo4j.rb @@ -7,7 +7,7 @@ class Neo4j < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install ENV["NEO4J_HOME"] = libexec @@ -19,7 +19,7 @@ def install # Symlink binaries bin.install Dir["#{libexec}/bin/neo4j{,-shell,-import,-shared.sh,-admin}"] - bin.env_script_all_files(libexec/"bin", :NEO4J_HOME => ENV["NEO4J_HOME"]) + bin.env_script_all_files(libexec/"bin", NEO4J_HOME: ENV["NEO4J_HOME"]) # Adjust UDC props # Suppress the empty, focus-stealing java gui. diff --git a/Formula/nesc.rb b/Formula/nesc.rb index 41ac5bbfba3ac..6f1391c0b95ac 100644 --- a/Formula/nesc.rb +++ b/Formula/nesc.rb @@ -6,8 +6,8 @@ class Nesc < Formula depends_on "automake" => :build depends_on "autoconf" => :build - depends_on :java => :build - depends_on :emacs => :build + depends_on java: :build + depends_on emacs: :build bottle do cellar :any_skip_relocation diff --git a/Formula/net-snmp.rb b/Formula/net-snmp.rb index a0a678c6c9921..513d2ec0def54 100644 --- a/Formula/net-snmp.rb +++ b/Formula/net-snmp.rb @@ -15,7 +15,7 @@ class NetSnmp < Formula keg_only :provided_by_osx depends_on "openssl" - depends_on :python => :optional + depends_on python: :optional def install args = %W[ diff --git a/Formula/netpbm.rb b/Formula/netpbm.rb index 34e8518d7dc3d..9f5ec17e2efb0 100644 --- a/Formula/netpbm.rb +++ b/Formula/netpbm.rb @@ -3,7 +3,7 @@ class Netpbm < Formula homepage "http://netpbm.sourceforge.net" # Maintainers: Look at https://sourceforge.net/p/netpbm/code/HEAD/tree/ # for versions and matching revisions - url "http://svn.code.sf.net/p/netpbm/code/advanced", :revision => 2294 + url "http://svn.code.sf.net/p/netpbm/code/advanced", revision: 2294 version "10.68" head "http://svn.code.sf.net/p/netpbm/code/trunk" diff --git a/Formula/nexus.rb b/Formula/nexus.rb index 9fa8587630d78..8c820a0b0ba43 100644 --- a/Formula/nexus.rb +++ b/Formula/nexus.rb @@ -17,7 +17,7 @@ def install bin.install_symlink libexec/"bin/nexus" end - plist_options :manual => "nexus start" + plist_options manual: "nexus start" def plist; <<-EOS.undent diff --git a/Formula/nghttp2.rb b/Formula/nghttp2.rb index 1e43682c16cbe..3176370829177 100644 --- a/Formula/nghttp2.rb +++ b/Formula/nghttp2.rb @@ -24,7 +24,7 @@ class Nghttp2 < Formula option "without-docs", "Don't build man pages" option "with-python3", "Build python3 bindings" - depends_on :python3 => :optional + depends_on python3: :optional depends_on "sphinx-doc" => :build if build.with? "docs" depends_on "libxml2" if MacOS.version <= :lion depends_on "pkg-config" => :build diff --git a/Formula/nginx.rb b/Formula/nginx.rb index 5e72bc532cab5..cb4d306a8c45e 100644 --- a/Formula/nginx.rb +++ b/Formula/nginx.rb @@ -24,7 +24,7 @@ class Nginx < Formula end head do - url "http://hg.nginx.org/nginx/", :using => :hg + url "http://hg.nginx.org/nginx/", using: :hg depends_on "openssl@1.1" end @@ -150,7 +150,7 @@ def caveats s end - plist_options :manual => "nginx" + plist_options manual: "nginx" def plist; <<-EOS.undent diff --git a/Formula/ngspice.rb b/Formula/ngspice.rb index f5149555611b3..783b3358b769f 100644 --- a/Formula/ngspice.rb +++ b/Formula/ngspice.rb @@ -23,7 +23,7 @@ class Ngspice < Formula deprecated_option "with-x" => "with-x11" - depends_on :x11 => :optional + depends_on x11: :optional def install system "./autogen.sh" if build.head? diff --git a/Formula/nifi.rb b/Formula/nifi.rb index a2ef3deabfd90..c9853c1e51f9e 100644 --- a/Formula/nifi.rb +++ b/Formula/nifi.rb @@ -6,7 +6,7 @@ class Nifi < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install Dir["*"] @@ -14,7 +14,7 @@ def install ENV["NIFI_HOME"] = libexec bin.install libexec/"bin/nifi.sh" => "nifi" - bin.env_script_all_files libexec/"bin/", :NIFI_HOME => libexec + bin.env_script_all_files libexec/"bin/", NIFI_HOME: libexec end test do diff --git a/Formula/nim.rb b/Formula/nim.rb index 9e16821442a25..fa08091117e18 100644 --- a/Formula/nim.rb +++ b/Formula/nim.rb @@ -3,7 +3,7 @@ class Nim < Formula homepage "http://nim-lang.org/" url "http://nim-lang.org/download/nim-0.14.2.tar.xz" sha256 "8f8d38d70ed57164795fc55e19de4c11488fcd31dbe42094e44a92a23e3f5e92" - head "https://github.com/nim-lang/Nim.git", :branch => "devel" + head "https://github.com/nim-lang/Nim.git", branch: "devel" bottle do cellar :any diff --git a/Formula/nmap.rb b/Formula/nmap.rb index 36038c4362ecb..4b3a330bd6bae 100644 --- a/Formula/nmap.rb +++ b/Formula/nmap.rb @@ -3,7 +3,7 @@ class Nmap < Formula homepage "https://nmap.org/" url "https://nmap.org/dist/nmap-7.12.tar.bz2" sha256 "63df082a87c95a189865d37304357405160fc6333addcf5b84204c95e0539b04" - head "https://guest:@svn.nmap.org/nmap/", :using => :svn + head "https://guest:@svn.nmap.org/nmap/", using: :svn bottle do sha256 "eb56ae006d639d6b524ec8fa9c47cb5166e3cd119f107a835d1a12b575f52e4d" => :sierra @@ -17,7 +17,7 @@ class Nmap < Formula depends_on "openssl" depends_on "pygtk" => :optional - conflicts_with "ndiff", :because => "both install `ndiff` binaries" + conflicts_with "ndiff", because: "both install `ndiff` binaries" fails_with :llvm do build 2334 diff --git a/Formula/node.rb b/Formula/node.rb index a4c1362584a4b..3a6ca17862cf3 100644 --- a/Formula/node.rb +++ b/Formula/node.rb @@ -20,7 +20,7 @@ class Node < Formula deprecated_option "enable-debug" => "with-debug" deprecated_option "with-icu4c" => "with-full-icu" - depends_on :python => :build if MacOS.version <= :snow_leopard + depends_on python: :build if MacOS.version <= :snow_leopard depends_on "pkg-config" => :build depends_on "openssl" => :optional @@ -30,7 +30,7 @@ class Node < Formula fails_with :gcc_4_0 fails_with :gcc ("4.3".."4.7").each do |n| - fails_with :gcc => n + fails_with gcc: n end # We track major/minor from upstream Node releases. diff --git a/Formula/normalize.rb b/Formula/normalize.rb index 718c6fdd3a057..09e47400d9bb4 100644 --- a/Formula/normalize.rb +++ b/Formula/normalize.rb @@ -16,7 +16,7 @@ class Normalize < Formula depends_on "mad" => :recommended - conflicts_with "num-utils", :because => "both install `normalize` binaries" + conflicts_with "num-utils", because: "both install `normalize` binaries" def install args = %W[ diff --git a/Formula/notmuch.rb b/Formula/notmuch.rb index 46a3b82338080..a4e0f5049713c 100644 --- a/Formula/notmuch.rb +++ b/Formula/notmuch.rb @@ -18,9 +18,9 @@ class Notmuch < Formula depends_on "gmime" depends_on "talloc" depends_on "xapian" - depends_on :emacs => ["21.1", :optional] - depends_on :python3 => :optional - depends_on :ruby => ["1.9", :optional] + depends_on emacs: ["21.1", :optional] + depends_on python3: :optional + depends_on ruby: ["1.9", :optional] # Requires zlib >= 1.2.5.2 resource "zlib" do diff --git a/Formula/nq.rb b/Formula/nq.rb index adcd69d970119..59dad1b108daa 100644 --- a/Formula/nq.rb +++ b/Formula/nq.rb @@ -12,7 +12,7 @@ class Nq < Formula sha256 "1d6d53c0c53a230a600ee3be346c07625d7deffd2c134c46eb61d429d4392722" => :yosemite end - depends_on :macos => :yosemite + depends_on macos: :yosemite def install system "make", "all", "PREFIX=#{prefix}" diff --git a/Formula/nsq.rb b/Formula/nsq.rb index 1c7f688619318..1c639724dc7fc 100644 --- a/Formula/nsq.rb +++ b/Formula/nsq.rb @@ -18,57 +18,57 @@ class Nsq < Formula go_resource "github.com/BurntSushi/toml" do url "https://github.com/BurntSushi/toml.git", - :revision => "2dff11163ee667d51dcc066660925a92ce138deb" + revision: "2dff11163ee667d51dcc066660925a92ce138deb" end go_resource "github.com/bitly/go-hostpool" do url "https://github.com/bitly/go-hostpool.git", - :revision => "58b95b10d6ca26723a7f46017b348653b825a8d6" + revision: "58b95b10d6ca26723a7f46017b348653b825a8d6" end go_resource "github.com/nsqio/go-nsq" do url "https://github.com/nsqio/go-nsq.git", - :revision => "642a3f9935f12cb3b747294318d730f56f4c34b4" + revision: "642a3f9935f12cb3b747294318d730f56f4c34b4" end go_resource "github.com/bitly/go-simplejson" do url "https://github.com/bitly/go-simplejson.git", - :revision => "18db6e68d8fd9cbf2e8ebe4c81a78b96fd9bf05a" + revision: "18db6e68d8fd9cbf2e8ebe4c81a78b96fd9bf05a" end go_resource "github.com/bmizerany/perks" do url "https://github.com/bmizerany/perks.git", - :revision => "6cb9d9d729303ee2628580d9aec5db968da3a607" + revision: "6cb9d9d729303ee2628580d9aec5db968da3a607" end go_resource "github.com/mreiferson/go-options" do url "https://github.com/mreiferson/go-options.git", - :revision => "7ae3226d3e1fa6a0548f73089c72c96c141f3b95" + revision: "7ae3226d3e1fa6a0548f73089c72c96c141f3b95" end go_resource "github.com/mreiferson/go-snappystream" do url "https://github.com/mreiferson/go-snappystream.git", - :revision => "028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504" + revision: "028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504" end go_resource "github.com/bitly/timer_metrics" do url "https://github.com/bitly/timer_metrics.git", - :revision => "afad1794bb13e2a094720aeb27c088aa64564895" + revision: "afad1794bb13e2a094720aeb27c088aa64564895" end go_resource "github.com/blang/semver" do url "https://github.com/blang/semver.git", - :revision => "9bf7bff48b0388cb75991e58c6df7d13e982f1f2" + revision: "9bf7bff48b0388cb75991e58c6df7d13e982f1f2" end go_resource "github.com/julienschmidt/httprouter" do url "https://github.com/julienschmidt/httprouter.git", - :revision => "6aacfd5ab513e34f7e64ea9627ab9670371b34e7" + revision: "6aacfd5ab513e34f7e64ea9627ab9670371b34e7" end go_resource "github.com/judwhite/go-svc" do url "https://github.com/judwhite/go-svc.git", - :revision => "63c12402f579f0bdf022653c821a1aa5d7544f01" + revision: "63c12402f579f0bdf022653c821a1aa5d7544f01" end def install diff --git a/Formula/ntopng.rb b/Formula/ntopng.rb index 234a151a3476b..21ccc973b411b 100644 --- a/Formula/ntopng.rb +++ b/Formula/ntopng.rb @@ -10,7 +10,7 @@ class Ntopng < Formula resource "nDPI" do # tip of 1.8-stable branch; four commits beyond the 1.8 tag url "https://github.com/ntop/nDPI.git", - :revision => "6fb81f146e2542cfbf7fab7d53678339c7747b35" + revision: "6fb81f146e2542cfbf7fab7d53678339c7747b35" end end @@ -21,10 +21,10 @@ class Ntopng < Formula end head do - url "https://github.com/ntop/ntopng.git", :branch => "dev" + url "https://github.com/ntop/ntopng.git", branch: "dev" resource "nDPI" do - url "https://github.com/ntop/nDPI.git", :branch => "dev" + url "https://github.com/ntop/nDPI.git", branch: "dev" end end diff --git a/Formula/nu.rb b/Formula/nu.rb index e571924f36875..d7bb7133e4df6 100644 --- a/Formula/nu.rb +++ b/Formula/nu.rb @@ -12,7 +12,7 @@ class Nu < Formula sha256 "c6075aa6a0ea3a36067295f9e9e16fca5ec0d4c79db5f7c5fde19e774a24f69e" => :mavericks end - depends_on :macos => :lion + depends_on macos: :lion depends_on "pcre" fails_with :llvm do diff --git a/Formula/num-utils.rb b/Formula/num-utils.rb index f25f6abe3efcb..1121c1fb21722 100644 --- a/Formula/num-utils.rb +++ b/Formula/num-utils.rb @@ -13,9 +13,9 @@ class NumUtils < Formula sha256 "ef3654fed50aff148b0264fdfc75f25310702e8931cc6dcecb4bb3ebce657f7a" => :mountain_lion end - conflicts_with "normalize", :because => "both install `normalize` binaries" - conflicts_with "crush-tools", :because => "both install an `range` binary" - conflicts_with "argyll-cms", :because => "both install `average` binaries" + conflicts_with "normalize", because: "both install `normalize` binaries" + conflicts_with "crush-tools", because: "both install an `range` binary" + conflicts_with "argyll-cms", because: "both install `average` binaries" def install %w[average bound interval normalize numgrep numprocess numsum random range round].each do |p| diff --git a/Formula/nut.rb b/Formula/nut.rb index 758887b6ec0f1..02847789085cc 100644 --- a/Formula/nut.rb +++ b/Formula/nut.rb @@ -38,7 +38,7 @@ class Nut < Formula depends_on "libtool" => :build depends_on "gd" if build.with? "cgi" - conflicts_with "rhino", :because => "both install `rhino` binaries" + conflicts_with "rhino", because: "both install `rhino` binaries" def install if build.head? diff --git a/Formula/nuxeo.rb b/Formula/nuxeo.rb index 4ed19ff04993c..c53c43bef4fdd 100644 --- a/Formula/nuxeo.rb +++ b/Formula/nuxeo.rb @@ -20,7 +20,7 @@ def install libexec.install Dir["#{buildpath}/*"] (bin/"nuxeoctl").write_env_script "#{libexec}/bin/nuxeoctl", - :NUXEO_HOME => libexec.to_s, :NUXEO_CONF => "#{etc}/nuxeo.conf" + NUXEO_HOME: libexec.to_s, NUXEO_CONF: "#{etc}/nuxeo.conf" inreplace "#{libexec}/bin/nuxeo.conf" do |s| s.gsub! /#nuxeo\.log\.dir.*/, "nuxeo.log.dir=#{var}/log/nuxeo" diff --git a/Formula/nzbget.rb b/Formula/nzbget.rb index 169420c37869a..11f27597d7889 100644 --- a/Formula/nzbget.rb +++ b/Formula/nzbget.rb @@ -56,7 +56,7 @@ def install etc.install "nzbget.conf" end - plist_options :manual => "nzbget" + plist_options manual: "nzbget" def plist; <<-EOS.undent diff --git a/Formula/oauth2_proxy.rb b/Formula/oauth2_proxy.rb index b8c806f177ce9..4d43e904aa80a 100644 --- a/Formula/oauth2_proxy.rb +++ b/Formula/oauth2_proxy.rb @@ -17,57 +17,57 @@ class Oauth2Proxy < Formula go_resource "cloud.google.com/go" do url "https://code.googlesource.com/gocloud.git", - :revision => "34b7f5b9fef1f79d2953ca03a36a9b824a1c54af" + revision: "34b7f5b9fef1f79d2953ca03a36a9b824a1c54af" end go_resource "github.com/18F/hmacauth" do url "https://github.com/18F/hmacauth.git", - :revision => "9232a6386b737d7d1e5c1c6e817aa48d5d8ee7cd" + revision: "9232a6386b737d7d1e5c1c6e817aa48d5d8ee7cd" end go_resource "github.com/BurntSushi/toml" do url "https://github.com/BurntSushi/toml.git", - :revision => "99064174e013895bbd9b025c31100bd1d9b590ca" + revision: "99064174e013895bbd9b025c31100bd1d9b590ca" end go_resource "github.com/bitly/go-simplejson" do url "https://github.com/bitly/go-simplejson.git", - :revision => "aabad6e819789e569bd6aabf444c935aa9ba1e44" + revision: "aabad6e819789e569bd6aabf444c935aa9ba1e44" end go_resource "github.com/bmizerany/assert" do url "https://github.com/bmizerany/assert.git", - :revision => "b7ed37b82869576c289d7d97fb2bbd8b64a0cb28" + revision: "b7ed37b82869576c289d7d97fb2bbd8b64a0cb28" end go_resource "github.com/mreiferson/go-options" do url "https://github.com/mreiferson/go-options.git", - :revision => "33795234b6f327f1be2d78a541893012362a4e06" + revision: "33795234b6f327f1be2d78a541893012362a4e06" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "9313baa13d9262e49d07b20ed57dceafcd7240cc" + revision: "9313baa13d9262e49d07b20ed57dceafcd7240cc" end go_resource "golang.org/x/oauth2" do url "https://go.googlesource.com/oauth2.git", - :revision => "3c3a985cb79f52a3190fbc056984415ca6763d01" + revision: "3c3a985cb79f52a3190fbc056984415ca6763d01" end go_resource "golang.org/x/sys" do url "https://go.googlesource.com/sys.git", - :revision => "30de6d19a3bd89a5f38ae4028e23aaa5582648af" + revision: "30de6d19a3bd89a5f38ae4028e23aaa5582648af" end go_resource "google.golang.org/api" do url "https://code.googlesource.com/google-api-go-client.git", - :revision => "a69f0f19d246419bb931b0ac8f4f8d3f3e6d4feb" + revision: "a69f0f19d246419bb931b0ac8f4f8d3f3e6d4feb" end go_resource "gopkg.in/fsnotify.v1" do url "https://gopkg.in/fsnotify.v1.git", - :revision => "a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb" + revision: "a8a77c9133d2d6fd8334f3260d06f60e8d80a5fb" end def install @@ -87,7 +87,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "oauth2_proxy" + plist_options manual: "oauth2_proxy" def plist; <<-EOS.undent diff --git a/Formula/objc-codegenutils.rb b/Formula/objc-codegenutils.rb index b78666485601f..be8bdb650ef21 100644 --- a/Formula/objc-codegenutils.rb +++ b/Formula/objc-codegenutils.rb @@ -13,8 +13,8 @@ class ObjcCodegenutils < Formula head "https://github.com/square/objc-codegenutils.git" - depends_on :macos => :mountain_lion - depends_on :xcode => :build + depends_on macos: :mountain_lion + depends_on xcode: :build def install xcodebuild "-project", "codegenutils.xcodeproj", "-target", "assetgen", "-configuration", "Release", "SYMROOT=build", "OBJROOT=build" diff --git a/Formula/ocaml.rb b/Formula/ocaml.rb index 17b8341265c5b..49290aeb253ed 100644 --- a/Formula/ocaml.rb +++ b/Formula/ocaml.rb @@ -16,7 +16,7 @@ class Ocaml < Formula homepage "https://ocaml.org/" url "http://caml.inria.fr/pub/distrib/ocaml-4.03/ocaml-4.03.0.tar.gz" sha256 "7fdf280cc6c0a2de4fc9891d0bf4633ea417046ece619f011fd44540fcfc8da2" - head "http://caml.inria.fr/svn/ocaml/trunk", :using => :svn + head "http://caml.inria.fr/svn/ocaml/trunk", using: :svn pour_bottle? do # The ocaml compilers embed prefix information in weird ways that the default @@ -36,7 +36,7 @@ class Ocaml < Formula option "with-x11", "Install with the Graphics module" option "with-flambda", "Install with flambda support" - depends_on :x11 => :optional + depends_on x11: :optional def install ENV.deparallelize # Builds are not parallel-safe, esp. with many cores diff --git a/Formula/ode.rb b/Formula/ode.rb index 41111f20cb171..8960c6cc4c2bc 100644 --- a/Formula/ode.rb +++ b/Formula/ode.rb @@ -3,7 +3,7 @@ class Ode < Formula homepage "http://www.ode.org/" url "https://bitbucket.org/odedevs/ode/downloads/ode-0.14.tar.gz" sha256 "1072fc98d9d00262a0d6136e7b9ff7f5d953bbdb23b646f426909d28c0b4f6db" - head "https://bitbucket.org/odedevs/ode/", :using => :hg + head "https://bitbucket.org/odedevs/ode/", using: :hg bottle do cellar :any_skip_relocation @@ -25,7 +25,7 @@ class Ode < Formula depends_on "automake" => :build depends_on "libtool" => :build depends_on "pkg-config" => :build - depends_on :x11 => :optional + depends_on x11: :optional def install args = ["--prefix=#{prefix}"] diff --git a/Formula/offlineimap.rb b/Formula/offlineimap.rb index f4815a83ef0bf..3a0af04ba6618 100644 --- a/Formula/offlineimap.rb +++ b/Formula/offlineimap.rb @@ -27,7 +27,7 @@ def install libexec.install "bin/offlineimap" => "offlineimap.py" libexec.install "offlineimap" (bin/"offlineimap").write_env_script(libexec/"offlineimap.py", - :PYTHONPATH => ENV["PYTHONPATH"]) + PYTHONPATH: ENV["PYTHONPATH"]) end def caveats; <<-EOS.undent @@ -40,7 +40,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "offlineimap" + plist_options manual: "offlineimap" def plist; <<-EOS.undent diff --git a/Formula/ola.rb b/Formula/ola.rb index 621df07edf1a7..2ab4e1033d8f7 100644 --- a/Formula/ola.rb +++ b/Formula/ola.rb @@ -41,7 +41,7 @@ class Ola < Formula if build.with? "rdm-tests" depends_on :python if MacOS.version <= :snow_leopard else - depends_on :python => :optional + depends_on python: :optional end def install diff --git a/Formula/olsrd.rb b/Formula/olsrd.rb index ebd177ae71b37..ad604e9f7f082 100644 --- a/Formula/olsrd.rb +++ b/Formula/olsrd.rb @@ -23,7 +23,7 @@ def install system "make", "install_all", *args end - plist_options :startup => true, :manual => "olsrd -f #{HOMEBREW_PREFIX}/etc/olsrd.conf" + plist_options startup: true, manual: "olsrd -f #{HOMEBREW_PREFIX}/etc/olsrd.conf" def startup_plist; <<-EOS.undent diff --git a/Formula/onepass.rb b/Formula/onepass.rb index f99a895c913ee..8dd6d65cf08ff 100644 --- a/Formula/onepass.rb +++ b/Formula/onepass.rb @@ -48,7 +48,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"]) (share+"tests").install Dir["tests/data/*"] end diff --git a/Formula/ooniprobe.rb b/Formula/ooniprobe.rb index fb744725ef5c3..d79818e3e9989 100644 --- a/Formula/ooniprobe.rb +++ b/Formula/ooniprobe.rb @@ -157,7 +157,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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["data/*.1"] (share/"ooni").install Dir["data/*"] @@ -180,7 +180,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => "true", :manual => "ooniprobe -i #{HOMEBREW_PREFIX}/share/ooni/decks/current.deck" + plist_options startup: "true", manual: "ooniprobe -i #{HOMEBREW_PREFIX}/share/ooni/decks/current.deck" def plist; <<-EOS.undent diff --git a/Formula/open-babel.rb b/Formula/open-babel.rb index 1a26855f8cf13..867ebb4e24f8c 100644 --- a/Formula/open-babel.rb +++ b/Formula/open-babel.rb @@ -35,7 +35,7 @@ class OpenBabel < Formula depends_on "pkg-config" => :build depends_on "cmake" => :build - depends_on :python => :optional + depends_on python: :optional depends_on "wxmac" => :optional depends_on "cairo" => :optional depends_on "eigen" diff --git a/Formula/open-cobol.rb b/Formula/open-cobol.rb index 898d4467d7007..4d663648d6ead 100644 --- a/Formula/open-cobol.rb +++ b/Formula/open-cobol.rb @@ -14,7 +14,7 @@ class OpenCobol < Formula depends_on "berkeley-db" conflicts_with "gnu-cobol", - :because => "both install `cob-config`, `cobc` and `cobcrun` binaries" + because: "both install `cob-config`, `cobc` and `cobcrun` binaries" def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Formula/open-mesh.rb b/Formula/open-mesh.rb index 85039bdfcf9d4..744a959f16136 100644 --- a/Formula/open-mesh.rb +++ b/Formula/open-mesh.rb @@ -3,7 +3,7 @@ class OpenMesh < Formula homepage "https://openmesh.org/" url "https://www.openmesh.org/media/Releases/5.1/OpenMesh-5.1.tar.gz" sha256 "643262dec62d1c2527950286739613a5b8d450943c601ecc42a817738556e6f7" - head "http://openmesh.org/svnrepo/OpenMesh/trunk/", :using => :svn + head "http://openmesh.org/svnrepo/OpenMesh/trunk/", using: :svn bottle do cellar :any diff --git a/Formula/open-mpi.rb b/Formula/open-mpi.rb index 5cea604c3d2c4..c479b6af3a172 100644 --- a/Formula/open-mpi.rb +++ b/Formula/open-mpi.rb @@ -25,12 +25,12 @@ class OpenMpi < Formula deprecated_option "disable-fortran" => "without-fortran" deprecated_option "enable-mpi-thread-multiple" => "with-mpi-thread-multiple" - depends_on :fortran => :recommended - depends_on :java => :optional + depends_on fortran: :recommended + depends_on java: :optional depends_on "libevent" - conflicts_with "mpich", :because => "both install mpi__ compiler wrappers" - conflicts_with "lcdf-typetools", :because => "both install same set of binaries." + conflicts_with "mpich", because: "both install mpi__ compiler wrappers" + conflicts_with "lcdf-typetools", because: "both install same set of binaries." def install ENV.cxx11 if build.cxx11? diff --git a/Formula/opencolorio.rb b/Formula/opencolorio.rb index b12c3a3cc4ee4..9dad396a9df01 100644 --- a/Formula/opencolorio.rb +++ b/Formula/opencolorio.rb @@ -22,7 +22,7 @@ class Opencolorio < Formula depends_on "cmake" => :build depends_on "pkg-config" => :build depends_on "little-cms2" - depends_on :python => :optional + depends_on python: :optional # Fix build with libc++ patch do diff --git a/Formula/openconnect.rb b/Formula/openconnect.rb index 6f62bb5a4a24d..5761096447b48 100644 --- a/Formula/openconnect.rb +++ b/Formula/openconnect.rb @@ -12,7 +12,7 @@ class Openconnect < Formula end head do - url "git://git.infradead.org/users/dwmw2/openconnect.git", :shallow => false + url "git://git.infradead.org/users/dwmw2/openconnect.git", shallow: false depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build diff --git a/Formula/openhmd.rb b/Formula/openhmd.rb index 9bd35ddec17b1..26768da782801 100644 --- a/Formula/openhmd.rb +++ b/Formula/openhmd.rb @@ -19,8 +19,8 @@ class Openhmd < Formula depends_on "libtool" => :build end - conflicts_with "cspice", :because => "both install `simple` binaries" - conflicts_with "libftdi0", :because => "both install `simple` binaries" + conflicts_with "cspice", because: "both install `simple` binaries" + conflicts_with "libftdi0", because: "both install `simple` binaries" depends_on "cmake" => :build depends_on "pkg-config" => :build diff --git a/Formula/openshift-cli.rb b/Formula/openshift-cli.rb index 8f83c2cd4b0c6..1b97411295a19 100644 --- a/Formula/openshift-cli.rb +++ b/Formula/openshift-cli.rb @@ -2,8 +2,8 @@ class OpenshiftCli < Formula desc "OpenShift command-line interface tools" homepage "https://www.openshift.com/" url "https://github.com/openshift/origin.git", - :tag => "v1.2.1", - :revision => "5e723f67f1e36d387a8a7faa6aa8a7f40cc9ca46" + tag: "v1.2.1", + revision: "5e723f67f1e36d387a8a7faa6aa8a7f40cc9ca46" head "https://github.com/openshift/origin.git" @@ -17,8 +17,8 @@ class OpenshiftCli < Formula devel do url "https://github.com/openshift/origin.git", - :tag => "v1.3.0-rc1", - :revision => "884520c98e75d0f96e679959b28caf17f0e7fa29" + tag: "v1.3.0-rc1", + revision: "884520c98e75d0f96e679959b28caf17f0e7fa29" version "1.3.0-rc1" depends_on "socat" diff --git a/Formula/openssl.rb b/Formula/openssl.rb index 3116a6dfe7e57..e0bebfd7648b0 100644 --- a/Formula/openssl.rb +++ b/Formula/openssl.rb @@ -29,8 +29,8 @@ class Openssl < Formula def arch_args { - :x86_64 => %w[darwin64-x86_64-cc enable-ec_nistp_64_gcc_128], - :i386 => %w[darwin-i386-cc], + x86_64: %w[darwin64-x86_64-cc enable-ec_nistp_64_gcc_128], + i386: %w[darwin-i386-cc], } end diff --git a/Formula/openssl@1.1.rb b/Formula/openssl@1.1.rb index f80815d49e5a6..4ee66a74ad58f 100644 --- a/Formula/openssl@1.1.rb +++ b/Formula/openssl@1.1.rb @@ -22,15 +22,15 @@ class OpensslAT11 < Formula # https://github.com/openssl/openssl/blob/4b16fa791d3ad8/README.PERL # The MacOS ML tag is same hack as the way we handle most :python deps. if build.with? "test" - depends_on :perl => "5.14" if MacOS.version <= :mountain_lion + depends_on perl: "5.14" if MacOS.version <= :mountain_lion else - depends_on :perl => "5.10" + depends_on perl: "5.10" end def arch_args { - :x86_64 => %w[darwin64-x86_64-cc enable-ec_nistp_64_gcc_128], - :i386 => %w[darwin-i386-cc], + x86_64: %w[darwin64-x86_64-cc enable-ec_nistp_64_gcc_128], + i386: %w[darwin-i386-cc], } end diff --git a/Formula/opentsdb.rb b/Formula/opentsdb.rb index 0545d32d26b18..353964dc8bd1f 100644 --- a/Formula/opentsdb.rb +++ b/Formula/opentsdb.rb @@ -1,7 +1,7 @@ class HbaseLZORequirement < Requirement fatal true - satisfy(:build_env => false) { Tab.for_name("hbase").with?("lzo") } + satisfy(build_env: false) { Tab.for_name("hbase").with?("lzo") } def message; <<-EOS.undent hbase must not have disabled lzo compression to use it in opentsdb: @@ -28,7 +28,7 @@ class Opentsdb < Formula depends_on "hbase" depends_on "lzo" => :recommended depends_on HbaseLZORequirement if build.with?("lzo") - depends_on :java => "1.6+" + depends_on java: "1.6+" depends_on "gnuplot" => :optional def install @@ -55,8 +55,8 @@ def install end env = { - :HBASE_HOME => Formula["hbase"].opt_libexec, - :COMPRESSION => (build.with?("lzo") ? "LZO" : "NONE"), + HBASE_HOME: Formula["hbase"].opt_libexec, + COMPRESSION: (build.with?("lzo") ? "LZO" : "NONE"), } env = Language::Java.java_home_env.merge(env) create_table = pkgshare/"tools/create_table_with_env.sh" @@ -92,7 +92,7 @@ def post_install end end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/opentsdb/bin/start-tsdb.sh" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/opentsdb/bin/start-tsdb.sh" def plist; <<-EOS.undent diff --git a/Formula/openvpn.rb b/Formula/openvpn.rb index 2c63daf985144..f2fe500fc30d9 100644 --- a/Formula/openvpn.rb +++ b/Formula/openvpn.rb @@ -13,7 +13,7 @@ class Openvpn < Formula end # Requires tuntap for < 10.10 - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "lzo" depends_on "openssl" @@ -56,7 +56,7 @@ def post_install (var/"run/openvpn").mkpath end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/optipng.rb b/Formula/optipng.rb index a1644ab618d5d..bf90f9d9696ce 100644 --- a/Formula/optipng.rb +++ b/Formula/optipng.rb @@ -3,7 +3,7 @@ class Optipng < Formula homepage "http://optipng.sourceforge.net/" url "https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.6/optipng-0.7.6.tar.gz" sha256 "4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80" - head "http://hg.code.sf.net/p/optipng/mercurial", :using => :hg + head "http://hg.code.sf.net/p/optipng/mercurial", using: :hg bottle do cellar :any_skip_relocation diff --git a/Formula/osc.rb b/Formula/osc.rb index 3580a60b01a41..41e8147c38ff2 100644 --- a/Formula/osc.rb +++ b/Formula/osc.rb @@ -47,7 +47,7 @@ def install system "python", *Language::Python.setup_install_args(prefix) bin.install "osc-wrapper.py" => "osc" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/oscats.rb b/Formula/oscats.rb index 30b67d1da980c..20fbffdc4d250 100644 --- a/Formula/oscats.rb +++ b/Formula/oscats.rb @@ -15,7 +15,7 @@ class Oscats < Formula depends_on "pkg-config" => :build depends_on "gsl" depends_on "glib" - depends_on :python => :optional + depends_on python: :optional depends_on "pygobject" if build.with? "python" def install diff --git a/Formula/osquery.rb b/Formula/osquery.rb index 7bd90415ed59a..13a301b9be690 100644 --- a/Formula/osquery.rb +++ b/Formula/osquery.rb @@ -3,8 +3,8 @@ class Osquery < Formula homepage "https://osquery.io" # pull from git tag to get submodules url "https://github.com/facebook/osquery.git", - :tag => "1.7.3", - :revision => "6901aa644a9bcc0667207008db71471abf756b82" + tag: "1.7.3", + revision: "6901aa644a9bcc0667207008db71471abf756b82" revision 3 bottle do @@ -16,7 +16,7 @@ class Osquery < Formula end # osquery only supports OS X 10.9 and above. Do not remove this. - depends_on :macos => :mavericks + depends_on macos: :mavericks depends_on "cmake" => :build depends_on "doxygen" => :build @@ -73,7 +73,7 @@ def install system "make", "install" end - plist_options :startup => true, :manual => "osqueryd" + plist_options startup: true, manual: "osqueryd" test do (testpath/"test.cpp").write <<-EOS.undent diff --git a/Formula/osxutils.rb b/Formula/osxutils.rb index 14728b87a334e..cb8e61fffc1bf 100644 --- a/Formula/osxutils.rb +++ b/Formula/osxutils.rb @@ -12,10 +12,10 @@ class Osxutils < Formula sha256 "91808d79c75537c563ee9a36b45e21703fcc4377d6c6ea7e7215f5ad9b0aa605" => :mavericks end - conflicts_with "trash", :because => "both install a trash binary" + conflicts_with "trash", because: "both install a trash binary" conflicts_with "leptonica", - :because => "both leptonica and osxutils ship a `fileinfo` executable." - conflicts_with "wiki", :because => "both install `wiki` binaries" + because: "both leptonica and osxutils ship a `fileinfo` executable." + conflicts_with "wiki", because: "both install `wiki` binaries" def install system "make" diff --git a/Formula/otto.rb b/Formula/otto.rb index 69243f7d79ee3..dac7164559f06 100644 --- a/Formula/otto.rb +++ b/Formula/otto.rb @@ -4,8 +4,8 @@ class Otto < Formula desc "Development and deployment system designed as the successor to Vagrant" homepage "https://ottoproject.io" url "https://github.com/hashicorp/otto.git", - :tag => "v0.2.0", - :revision => "d3d825bb135a2fa27a604e82e40f60151a5e2118" + tag: "v0.2.0", + revision: "d3d825bb135a2fa27a604e82e40f60151a5e2118" revision 1 head "https://github.com/hashicorp/otto.git" @@ -58,18 +58,18 @@ class Otto < Formula ] otto_deps.each_slice(2) do |x, y| go_resource x do - url "https://#{x}.git", :revision => y + url "https://#{x}.git", revision: y end end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "803f01ea27e23d998825ec085f0d153cac01c828" + revision: "803f01ea27e23d998825ec085f0d153cac01c828" end go_resource "golang.org/x/tools" do url "https://go.googlesource.com/tools.git", - :revision => "4ad533583d0194672e7d3bc6fb8b67c8e905d853" + revision: "4ad533583d0194672e7d3bc6fb8b67c8e905d853" end def install diff --git a/Formula/oysttyer.rb b/Formula/oysttyer.rb index ef7879844fe54..b055be2a16644 100644 --- a/Formula/oysttyer.rb +++ b/Formula/oysttyer.rb @@ -25,7 +25,7 @@ def install system "make" system "make", "install" end - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end end diff --git a/Formula/packer.rb b/Formula/packer.rb index 3a588ae41fc96..6d27ba021855f 100644 --- a/Formula/packer.rb +++ b/Formula/packer.rb @@ -4,8 +4,8 @@ class Packer < Formula desc "Tool for creating identical machine images for multiple platforms" homepage "https://packer.io" url "https://github.com/mitchellh/packer.git", - :tag => "v0.10.1", - :revision => "4e5f65131b5491ab44ff8aa0626abe4a85597ac0" + tag: "v0.10.1", + revision: "4e5f65131b5491ab44ff8aa0626abe4a85597ac0" bottle do cellar :any_skip_relocation @@ -15,22 +15,22 @@ class Packer < Formula sha256 "2931abdc89cce4f51c85fc05c649af2d6839a72ef96f6d2f69e11b498d7dfca6" => :mavericks end - depends_on :hg => :build + depends_on hg: :build depends_on "go" => :build go_resource "github.com/mitchellh/gox" do url "https://github.com/mitchellh/gox.git", - :revision => "6e9ee79eab7bb1b84155379b3f94ff9a87b344e4" + revision: "6e9ee79eab7bb1b84155379b3f94ff9a87b344e4" end go_resource "github.com/mitchellh/iochan" do url "https://github.com/mitchellh/iochan.git", - :revision => "87b45ffd0e9581375c491fef3d32130bb15c5bd7" + revision: "87b45ffd0e9581375c491fef3d32130bb15c5bd7" end go_resource "golang.org/x/tools" do url "https://go.googlesource.com/tools.git", - :revision => "8b3828f1c8f7c67e5ebb863a4c632937778eaaae" + revision: "8b3828f1c8f7c67e5ebb863a4c632937778eaaae" end def install diff --git a/Formula/pango.rb b/Formula/pango.rb index 3ab3171eef6da..bfce0e5c11268 100644 --- a/Formula/pango.rb +++ b/Formula/pango.rb @@ -23,7 +23,7 @@ class Pango < Formula option :universal depends_on "pkg-config" => :build - depends_on :x11 => :optional + depends_on x11: :optional depends_on "glib" depends_on "cairo" depends_on "harfbuzz" diff --git a/Formula/par.rb b/Formula/par.rb index 586a540cb4f9f..b331a3a203f9f 100644 --- a/Formula/par.rb +++ b/Formula/par.rb @@ -13,7 +13,7 @@ class Par < Formula sha256 "3d666b815997eda86ee0f96e71ba6fca3193432c5a01affb59918f22408c8dc6" => :mavericks end - conflicts_with "rancid", :because => "both install `par` binaries" + conflicts_with "rancid", because: "both install `par` binaries" # A patch by Jérôme Pouiller that adds support for multibyte # charsets (like UTF-8), plus Debian packaging. diff --git a/Formula/parallel.rb b/Formula/parallel.rb index 3291ce749d1ee..1e3749820dfe5 100644 --- a/Formula/parallel.rb +++ b/Formula/parallel.rb @@ -14,7 +14,7 @@ class Parallel < Formula sha256 "dfbd47a069df6fec320b56ce0246280a1338af106dfa7fe407801e5e07ad6af2" => :mavericks end - conflicts_with "moreutils", :because => "both install a 'parallel' executable." + conflicts_with "moreutils", because: "both install a 'parallel' executable." def install system "./configure", "--prefix=#{prefix}" diff --git a/Formula/parquet-tools.rb b/Formula/parquet-tools.rb index a011b30135dcd..0b81f78d4037b 100644 --- a/Formula/parquet-tools.rb +++ b/Formula/parquet-tools.rb @@ -2,8 +2,8 @@ class ParquetTools < Formula desc "Apache Parquet command-line tools and utilities" homepage "https://parquet.apache.org/" url "https://github.com/apache/parquet-mr.git", - :tag => "apache-parquet-1.8.1", - :revision => "4aba4dae7bb0d4edbcf7923ae1339f28fd3f7fcf" + tag: "apache-parquet-1.8.1", + revision: "4aba4dae7bb0d4edbcf7923ae1339f28fd3f7fcf" head "https://github.com/apache/parquet-mr.git" diff --git a/Formula/pass.rb b/Formula/pass.rb index b4cc3ef77dca0..61456259690d2 100644 --- a/Formula/pass.rb +++ b/Formula/pass.rb @@ -5,7 +5,7 @@ class Pass < Formula sha256 "337a39767e6a8e69b2bcc549f27ff3915efacea57e5334c6068fcb72331d7315" revision 1 - head "https://git.zx2c4.com/password-store", :using => :git + head "https://git.zx2c4.com/password-store", using: :git bottle do cellar :any_skip_relocation @@ -18,7 +18,7 @@ class Pass < Formula depends_on "pwgen" depends_on "tree" depends_on "gnu-getopt" - depends_on :gpg => :run + depends_on gpg: :run def install system "make", "PREFIX=#{prefix}", "install" diff --git a/Formula/passenger.rb b/Formula/passenger.rb index c726c224fd263..dbc2ab36d4f73 100644 --- a/Formula/passenger.rb +++ b/Formula/passenger.rb @@ -16,7 +16,7 @@ class Passenger < Formula depends_on "pcre" depends_on "openssl" - depends_on :macos => :lion + depends_on macos: :lion def install # https://github.com/Homebrew/homebrew-core/pull/1046 @@ -39,7 +39,7 @@ def install "passenger.gemspec", "build", "bin", "doc", "man", "dev", "src", "resources", "buildout"] libexec.mkpath - cp_r necessary_files, libexec, :preserve => true + cp_r necessary_files, libexec, preserve: true # Allow Homebrew to create symlinks for the Phusion Passenger commands. bin.install_symlink Dir["#{libexec}/bin/*"] diff --git a/Formula/pcap_dnsproxy.rb b/Formula/pcap_dnsproxy.rb index 5017429df0372..977ecd82ac85d 100644 --- a/Formula/pcap_dnsproxy.rb +++ b/Formula/pcap_dnsproxy.rb @@ -11,8 +11,8 @@ class PcapDnsproxy < Formula sha256 "5c5116f0dce4f632b089393a5dc2981c947e9f5ac0c1a91aa6d708a01cf4123b" => :yosemite end - depends_on :macos => :yosemite - depends_on :xcode => :build + depends_on macos: :yosemite + depends_on xcode: :build def install xcodebuild "-project", "./Source/Pcap_DNSProxy.xcodeproj", "-target", "Pcap_DNSProxy", "-configuration", "Release", "SYMROOT=build" @@ -20,7 +20,7 @@ def install (etc/"pcap_DNSproxy").install Dir["Source/ExampleConfig/*.{ini,txt}"] end - plist_options :startup => true, :manual => "sudo #{HOMEBREW_PREFIX}/opt/pcap_dnsproxy/bin/Pcap_DNSProxy -c #{HOMEBREW_PREFIX}/etc/pcap_dnsproxy/" + plist_options startup: true, manual: "sudo #{HOMEBREW_PREFIX}/opt/pcap_dnsproxy/bin/Pcap_DNSProxy -c #{HOMEBREW_PREFIX}/etc/pcap_dnsproxy/" def plist; <<-EOS.undent diff --git a/Formula/pdf-redact-tools.rb b/Formula/pdf-redact-tools.rb index 86d1202877bd5..bbb2cb1efbf0b 100644 --- a/Formula/pdf-redact-tools.rb +++ b/Formula/pdf-redact-tools.rb @@ -22,7 +22,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"]) end test do diff --git a/Formula/pdf2htmlex.rb b/Formula/pdf2htmlex.rb index 27c4898c592a7..59ea23f5798cc 100644 --- a/Formula/pdf2htmlex.rb +++ b/Formula/pdf2htmlex.rb @@ -14,7 +14,7 @@ class Pdf2htmlex < Formula sha256 "4e382071a0f7653e174eb16cdaa4150c71d081fc6d0e08251fc1cba3f2bd34ac" => :mavericks end - depends_on :macos => :lion + depends_on macos: :lion depends_on "cmake" => :build depends_on "pkg-config" => :build depends_on "poppler" @@ -35,7 +35,7 @@ class Pdf2htmlex < Formula # Pdf2htmlex use an outdated, customised Fontforge installation. # See https://github.com/coolwanglu/pdf2htmlEX/wiki/Building resource "fontforge" do - url "https://github.com/coolwanglu/fontforge.git", :branch => "pdf2htmlEX" + url "https://github.com/coolwanglu/fontforge.git", branch: "pdf2htmlEX" end # And failures diff --git a/Formula/pdftohtml.rb b/Formula/pdftohtml.rb index 6ebcac44c5b91..783d3022c990a 100644 --- a/Formula/pdftohtml.rb +++ b/Formula/pdftohtml.rb @@ -11,7 +11,7 @@ class Pdftohtml < Formula sha256 "9dc35272d91c790627d21a93ca058c038ab660b9a6e619f35758a10c02e7dea9" => :mavericks end - conflicts_with "poppler", :because => "both install `pdftohtml` binaries" + conflicts_with "poppler", because: "both install `pdftohtml` binaries" def install system "make" diff --git a/Formula/pdns.rb b/Formula/pdns.rb index d0928fb44ff75..ea82b6de5ca57 100644 --- a/Formula/pdns.rb +++ b/Formula/pdns.rb @@ -55,7 +55,7 @@ def install system "make", "install" end - plist_options :manual => "pdns_server start" + plist_options manual: "pdns_server start" def plist; <<-EOS.undent diff --git a/Formula/pdnsd.rb b/Formula/pdnsd.rb index fcce1d6918bb5..e3bc683f1f289 100644 --- a/Formula/pdnsd.rb +++ b/Formula/pdnsd.rb @@ -42,7 +42,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true, :manual => "sudo pdnsd" + plist_options startup: true, manual: "sudo pdnsd" def plist; <<-EOS.undent diff --git a/Formula/pdsh.rb b/Formula/pdsh.rb index 283d6dca7ba64..57b6cbeb051b8 100644 --- a/Formula/pdsh.rb +++ b/Formula/pdsh.rb @@ -2,8 +2,8 @@ class Pdsh < Formula desc "Efficient rsh-like utility, for using hosts in parallel" homepage "https://code.google.com/p/pdsh/" url "https://github.com/grondo/pdsh.git", - :tag => "pdsh-2.31", - :revision => "e1c8e71dd6a26b40cd067a8322bd14e10e4f7ded" + tag: "pdsh-2.31", + revision: "e1c8e71dd6a26b40cd067a8322bd14e10e4f7ded" head "https://github.com/grondo/pdsh.git" diff --git a/Formula/percol.rb b/Formula/percol.rb index c3921cd9bdc52..2756ecc0d5ca2 100644 --- a/Formula/percol.rb +++ b/Formula/percol.rb @@ -36,7 +36,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"]) end test do diff --git a/Formula/percona-server.rb b/Formula/percona-server.rb index 2f0c99ced5890..eeaaec35b209a 100644 --- a/Formula/percona-server.rb +++ b/Formula/percona-server.rb @@ -23,14 +23,14 @@ class PerconaServer < Formula depends_on "openssl" conflicts_with "mysql-connector-c", - :because => "both install `mysql_config`" + because: "both install `mysql_config`" conflicts_with "mariadb", "mysql", "mysql-cluster", - :because => "percona, mariadb, and mysql install the same binaries." + because: "percona, mariadb, and mysql install the same binaries." conflicts_with "mysql-connector-c", - :because => "both install MySQL client libraries" + because: "both install MySQL client libraries" conflicts_with "mariadb-connector-c", - :because => "both install plugins" + because: "both install plugins" fails_with :llvm do build 2334 @@ -153,7 +153,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "mysql.server start" + plist_options manual: "mysql.server start" def plist; <<-EOS.undent diff --git a/Formula/percona-toolkit.rb b/Formula/percona-toolkit.rb index a05593ae927a9..2e983b3209eb0 100644 --- a/Formula/percona-toolkit.rb +++ b/Formula/percona-toolkit.rb @@ -6,7 +6,7 @@ class PerconaToolkit < Formula sha256 "62f6bab6ed4a57259b86a5ccbcc5ced8d37f22d06ed18a0508314a7d1c7e19f5" revision 1 - head "lp:percona-toolkit", :using => :bzr + head "lp:percona-toolkit", using: :bzr bottle :disable, "To use the user's database of choice." @@ -37,7 +37,7 @@ def install system "perl", "Makefile.PL", "INSTALL_BASE=#{prefix}" system "make", "test", "install" share.install prefix/"man" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/percona-xtrabackup.rb b/Formula/percona-xtrabackup.rb index 86ecbb9018694..d61834d615b02 100644 --- a/Formula/percona-xtrabackup.rb +++ b/Formula/percona-xtrabackup.rb @@ -15,7 +15,7 @@ class PerconaXtrabackup < Formula depends_on "cmake" => :build depends_on "sphinx-doc" => :build if build.with? "docs" - depends_on :mysql => :recommended + depends_on mysql: :recommended depends_on "libev" depends_on "libgcrypt" depends_on "openssl" @@ -70,7 +70,7 @@ def install system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}" system "make", "install" end - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end end diff --git a/Formula/perl.rb b/Formula/perl.rb index d9b8e28adbd52..bb8dbfb54769d 100644 --- a/Formula/perl.rb +++ b/Formula/perl.rb @@ -6,7 +6,7 @@ class Perl < Formula sha256 "a9a37c0860380ecd7b23aa06d61c20fc5bc6d95198029f3684c44a9d7e2952f2" revision 1 - head "https://perl5.git.perl.org/perl.git", :branch => "blead" + head "https://perl5.git.perl.org/perl.git", branch: "blead" bottle do sha256 "318daffb06729e7b46543310d568020dac45de0f420ec76e327ab762fd1c8f02" => :sierra diff --git a/Formula/pgbouncer.rb b/Formula/pgbouncer.rb index 88ee43c9600d9..e4dd350c7cf60 100644 --- a/Formula/pgbouncer.rb +++ b/Formula/pgbouncer.rb @@ -37,7 +37,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "pgbouncer -q #{HOMEBREW_PREFIX}/etc/pgbouncer.ini" + plist_options manual: "pgbouncer -q #{HOMEBREW_PREFIX}/etc/pgbouncer.ini" def plist; <<-EOS.undent diff --git a/Formula/pgcli.rb b/Formula/pgcli.rb index 13a07893a26bf..ea5143a6d56e2 100644 --- a/Formula/pgcli.rb +++ b/Formula/pgcli.rb @@ -83,7 +83,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"]) end test do diff --git a/Formula/pgloader.rb b/Formula/pgloader.rb index 1601666fca9c0..f87ae75d3b252 100644 --- a/Formula/pgloader.rb +++ b/Formula/pgloader.rb @@ -15,7 +15,7 @@ class Pgloader < Formula depends_on "sbcl" depends_on "freetds" depends_on "buildapp" => :build - depends_on :postgresql => :recommended + depends_on postgresql: :recommended # Resource stanzas are generated automatically by quicklisp-roundup. # See: https://github.com/benesch/quicklisp-homebrew-roundup diff --git a/Formula/pgtap.rb b/Formula/pgtap.rb index a9cc69f9b7de8..a8f0c6ab2bbe2 100644 --- a/Formula/pgtap.rb +++ b/Formula/pgtap.rb @@ -66,7 +66,7 @@ def install system "make", "install", "DESTDIR=#{buildpath}/stage" (doc/"postgresql/extension").install Dir["stage/**/share/doc/postgresql/extension/*"] (share/"postgresql/extension").install Dir["stage/**/share/postgresql/extension/*"] - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) end test do diff --git a/Formula/phantomjs.rb b/Formula/phantomjs.rb index 0dce60d4db66c..6813c7acbe233 100644 --- a/Formula/phantomjs.rb +++ b/Formula/phantomjs.rb @@ -5,8 +5,8 @@ class Phantomjs < Formula stable do url "https://github.com/ariya/phantomjs.git", - :tag => "2.1.1", - :revision => "d9cda3dcd26b0e463533c5cc96e39c0f39fc32c1" + tag: "2.1.1", + revision: "d9cda3dcd26b0e463533c5cc96e39c0f39fc32c1" # Fixes build.py for non-standard Homebrew prefixes. Applied # upstream, can be removed in next release. @@ -26,7 +26,7 @@ class Phantomjs < Formula end depends_on MinimumMacOSRequirement => :lion - depends_on :xcode => :build + depends_on xcode: :build depends_on "openssl" def install diff --git a/Formula/physfs.rb b/Formula/physfs.rb index ee7ec3d5e25ff..1ae82d1e052da 100644 --- a/Formula/physfs.rb +++ b/Formula/physfs.rb @@ -3,7 +3,7 @@ class Physfs < Formula homepage "https://icculus.org/physfs/" url "https://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2" sha256 "ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69" - head "https://hg.icculus.org/icculus/physfs/", :using => :hg + head "https://hg.icculus.org/icculus/physfs/", using: :hg bottle do cellar :any diff --git a/Formula/pig.rb b/Formula/pig.rb index 93ed47fbbda3d..01fd88caf5f2e 100644 --- a/Formula/pig.rb +++ b/Formula/pig.rb @@ -7,12 +7,12 @@ class Pig < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install (libexec/"bin").install "bin/pig" libexec.install ["pig-#{version}-core-h1.jar", "pig-#{version}-core-h2.jar", "lib"] - (bin/"pig").write_env_script libexec/"bin/pig", Language::Java.java_home_env("1.6+").merge(:PIG_HOME => libexec) + (bin/"pig").write_env_script libexec/"bin/pig", Language::Java.java_home_env("1.6+").merge(PIG_HOME: libexec) end test do diff --git a/Formula/pike.rb b/Formula/pike.rb index bffdfd6d41ba7..b04ead7483478 100644 --- a/Formula/pike.rb +++ b/Formula/pike.rb @@ -26,7 +26,7 @@ class Pike < Formula depends_on "nettle" depends_on "gmp" depends_on "pcre" - depends_on :x11 => :optional + depends_on x11: :optional depends_on "libtiff" => :recommended # optional dependencies diff --git a/Formula/pincaster.rb b/Formula/pincaster.rb index 97c0075bf04e7..fc674ff084ee4 100644 --- a/Formula/pincaster.rb +++ b/Formula/pincaster.rb @@ -14,7 +14,7 @@ class Pincaster < Formula depends_on "openssl" - conflicts_with "libevent", :because => "Pincaster embeds libevent" + conflicts_with "libevent", because: "Pincaster embeds libevent" def install system "./configure", "--prefix=#{prefix}", "--with-yajl=embedded" @@ -29,7 +29,7 @@ def install (var/"db/pincaster/").mkpath end - plist_options :manual => "pincaster #{HOMEBREW_PREFIX}/etc/pincaster.conf" + plist_options manual: "pincaster #{HOMEBREW_PREFIX}/etc/pincaster.conf" def plist; <<-EOS.undent diff --git a/Formula/pinentry-mac.rb b/Formula/pinentry-mac.rb index 91bed319a40b8..beda6da035963 100644 --- a/Formula/pinentry-mac.rb +++ b/Formula/pinentry-mac.rb @@ -16,7 +16,7 @@ class PinentryMac < Formula sha256 "0d6eb6b84a6389e208d4ec055d5f10f84b48bad94d00e9599b9aafb3dfaf71d8" => :mountain_lion end - depends_on :xcode => :build + depends_on xcode: :build def install system "make" diff --git a/Formula/pius.rb b/Formula/pius.rb index 3e40be89872ab..951e3c336b3a6 100644 --- a/Formula/pius.rb +++ b/Formula/pius.rb @@ -16,7 +16,7 @@ class Pius < Formula sha256 "8879e7d0fc7970e838091dfaed8b1d36676528cc185cdda4908c63858b8b124b" => :mavericks end - depends_on :gpg => :run + depends_on gpg: :run def install # Replace hardcoded gpg path (WONTFIX) diff --git a/Formula/pkcrack.rb b/Formula/pkcrack.rb index 791a85c663f75..117ae04f9f643 100644 --- a/Formula/pkcrack.rb +++ b/Formula/pkcrack.rb @@ -21,7 +21,7 @@ class Pkcrack < Formula sha256 "e0303d9adeffb2fb2a61a82ad040a3fec4edc23cae044ac1517b826c27fce412" end - conflicts_with "libextractor", :because => "both install `extract` binaries" + conflicts_with "libextractor", because: "both install `extract` binaries" def install system "make", "-C", "src/" diff --git a/Formula/plan9port.rb b/Formula/plan9port.rb index 3b140ac25f98e..7f85d2f8ecc92 100644 --- a/Formula/plan9port.rb +++ b/Formula/plan9port.rb @@ -12,7 +12,7 @@ class Plan9port < Formula sha256 "ef0059997655128f6b41faa1023b37a071ff9976f4c94d3b3bd706be65177aa1" => :mavericks end - depends_on :x11 => :optional + depends_on x11: :optional def install ENV["PLAN9_TARGET"] = libexec diff --git a/Formula/planck.rb b/Formula/planck.rb index f62f68b6713f8..b5bc55b00121b 100644 --- a/Formula/planck.rb +++ b/Formula/planck.rb @@ -14,8 +14,8 @@ class Planck < Formula end depends_on "leiningen" => :build - depends_on :xcode => :build - depends_on :macos => :mavericks + depends_on xcode: :build + depends_on macos: :mavericks def install system "./script/build-sandbox" diff --git a/Formula/platypus.rb b/Formula/platypus.rb index af1add883822d..152d9a35372d7 100644 --- a/Formula/platypus.rb +++ b/Formula/platypus.rb @@ -12,7 +12,7 @@ class Platypus < Formula sha256 "db54229624888569c9a9e5356e1a91ee141b96a257cab6f3230880938faf6d7f" => :yosemite end - depends_on :xcode => ["7.0", :build] + depends_on xcode: ["7.0", :build] def install xcodebuild "SYMROOT=build", "DSTROOT=#{buildpath}", diff --git a/Formula/pldebugger.rb b/Formula/pldebugger.rb index 5cd58eaedc16d..7759cc1653c1e 100644 --- a/Formula/pldebugger.rb +++ b/Formula/pldebugger.rb @@ -2,8 +2,8 @@ class Pldebugger < Formula desc "PL/pgSQL debugger server-side code" homepage "https://git.postgresql.org/gitweb/" url "https://git.postgresql.org/git/pldebugger.git", - :tag => "REL-9_5_0", - :revision => "85d7b3b2821301e182d5974d9e6f353d7a241eff" + tag: "REL-9_5_0", + revision: "85d7b3b2821301e182d5974d9e6f353d7a241eff" version "1.0" # See default_version field in pldbgapi.control revision 1 head "https://git.postgresql.org/git/pldebugger.git" diff --git a/Formula/plotutils.rb b/Formula/plotutils.rb index ddc52e3deca5c..f36a027b27e48 100644 --- a/Formula/plotutils.rb +++ b/Formula/plotutils.rb @@ -17,7 +17,7 @@ class Plotutils < Formula end depends_on "libpng" - depends_on :x11 => :optional + depends_on x11: :optional def install # Fix usage of libpng to be 1.5 compatible diff --git a/Formula/plplot.rb b/Formula/plplot.rb index 8ee693aa2af54..71a93ec0291ee 100644 --- a/Formula/plplot.rb +++ b/Formula/plplot.rb @@ -18,8 +18,8 @@ class Plplot < Formula depends_on "pango" depends_on "libtool" => :run depends_on "freetype" - depends_on :x11 => :optional - depends_on :fortran => :optional + depends_on x11: :optional + depends_on fortran: :optional def install args = std_cmake_args diff --git a/Formula/pmd.rb b/Formula/pmd.rb index 804a463d76e55..15ab4695aea8f 100644 --- a/Formula/pmd.rb +++ b/Formula/pmd.rb @@ -11,7 +11,7 @@ class Pmd < Formula sha256 "c667db1c2b048b940b1770b06d0f23055a4d1d34968492ffd34c0493b0e91c64" => :mavericks end - depends_on :java => "1.8+" + depends_on java: "1.8+" depends_on "maven" => :build # Fix doclint errors; see https://sourceforge.net/p/pmd/bugs/1516/ diff --git a/Formula/poco.rb b/Formula/poco.rb index fb5adda567486..feb36711d0875 100644 --- a/Formula/poco.rb +++ b/Formula/poco.rb @@ -3,7 +3,7 @@ class Poco < Formula homepage "http://pocoproject.org/" url "http://pocoproject.org/releases/poco-1.7.5/poco-1.7.5-all.tar.gz" sha256 "74fb9f9810ea200b8ff744d222626ec5c10613f9121f2ab7cd70e0e24cb30f38" - head "https://github.com/pocoproject/poco.git", :branch => "develop" + head "https://github.com/pocoproject/poco.git", branch: "develop" bottle do cellar :any diff --git a/Formula/points2grid.rb b/Formula/points2grid.rb index ea781e80297dc..69ffd2e14a06c 100644 --- a/Formula/points2grid.rb +++ b/Formula/points2grid.rb @@ -11,7 +11,7 @@ class Points2grid < Formula sha256 "0e57a93ae8dde68b2e1e9d8d41a4085de4c0dc29a8ba10ceac638f3896f463e9" => :mavericks end - depends_on :macos => :mavericks + depends_on macos: :mavericks depends_on "cmake" => :build depends_on "boost" diff --git a/Formula/pond.rb b/Formula/pond.rb index d4767389785f7..591d61f3344b2 100644 --- a/Formula/pond.rb +++ b/Formula/pond.rb @@ -28,32 +28,32 @@ class Pond < Formula go_resource "github.com/agl/ed25519" do url "https://github.com/agl/ed25519.git", - :revision => "278e1ec8e8a6e017cd07577924d6766039146ced" + revision: "278e1ec8e8a6e017cd07577924d6766039146ced" end go_resource "github.com/agl/pond" do url "https://github.com/agl/pond.git", - :revision => "bce6e0dc61803c23699c749e29a83f81da3c41b2" + revision: "bce6e0dc61803c23699c749e29a83f81da3c41b2" end go_resource "github.com/golang/protobuf" do url "https://github.com/golang/protobuf.git", - :revision => "68415e7123da32b07eab49c96d2c4d6158360e9b" + revision: "68415e7123da32b07eab49c96d2c4d6158360e9b" end go_resource "github.com/agl/go-gtk" do url "https://github.com/agl/go-gtk.git", - :revision => "91c1edb38c241d73129e6b098ca1c9fa83abfc15" + revision: "91c1edb38c241d73129e6b098ca1c9fa83abfc15" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "7b85b097bf7527677d54d3220065e966a0e3b613" + revision: "7b85b097bf7527677d54d3220065e966a0e3b613" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "72b0708b72ac7a531f8e89f370e6214aad23ee2e" + revision: "72b0708b72ac7a531f8e89f370e6214aad23ee2e" end def install diff --git a/Formula/ponyc.rb b/Formula/ponyc.rb index b680cab846779..d77c30b1e1b6b 100644 --- a/Formula/ponyc.rb +++ b/Formula/ponyc.rb @@ -11,7 +11,7 @@ class Ponyc < Formula sha256 "93d43c3485beb717990c3e294c9eefbf2638fb80b5344b9ce958d6a0972b58c3" => :yosemite end - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "llvm" depends_on "libressl" depends_on "pcre2" diff --git a/Formula/poppler.rb b/Formula/poppler.rb index 5eedf5c94cb22..c13f9d7bc6254 100644 --- a/Formula/poppler.rb +++ b/Formula/poppler.rb @@ -33,7 +33,7 @@ class Poppler < Formula depends_on "qt5" => :optional depends_on "little-cms2" => :optional - conflicts_with "pdftohtml", :because => "both install `pdftohtml` binaries" + conflicts_with "pdftohtml", because: "both install `pdftohtml` binaries" resource "font-data" do url "https://poppler.freedesktop.org/poppler-data-0.4.7.tar.gz" diff --git a/Formula/portaudio.rb b/Formula/portaudio.rb index 084e6832f97f7..76884f1e131ba 100644 --- a/Formula/portaudio.rb +++ b/Formula/portaudio.rb @@ -3,7 +3,7 @@ class Portaudio < Formula homepage "http://www.portaudio.com" url "http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz" sha256 "8fe024a5f0681e112c6979808f684c3516061cc51d3acc0b726af98fc96c8d57" - head "https://subversion.assembla.com/svn/portaudio/portaudio/trunk/", :using => :svn + head "https://subversion.assembla.com/svn/portaudio/portaudio/trunk/", using: :svn bottle do cellar :any diff --git a/Formula/portmidi.rb b/Formula/portmidi.rb index bc0a228201ae8..ce9e2573afb1f 100644 --- a/Formula/portmidi.rb +++ b/Formula/portmidi.rb @@ -16,8 +16,8 @@ class Portmidi < Formula option "with-java", "Build Java-based app and bindings." depends_on "cmake" => :build - depends_on :python => :optional - depends_on :java => :optional + depends_on python: :optional + depends_on java: :optional # Avoid that the Makefile.osx builds the java app and fails because: fatal error: 'jni.h' file not found # Since 217 the Makefile.osx includes pm_common/CMakeLists.txt wich builds the Java app diff --git a/Formula/postgres-xc.rb b/Formula/postgres-xc.rb index fd808b27ad370..bf43536d74b1c 100644 --- a/Formula/postgres-xc.rb +++ b/Formula/postgres-xc.rb @@ -17,15 +17,15 @@ class PostgresXc < Formula deprecated_option "no-perl" => "without-perl" deprecated_option "enable-dtrace" => "with-dtrace" - depends_on :arch => :x86_64 + depends_on arch: :x86_64 depends_on "openssl" depends_on "readline" depends_on "libxml2" if MacOS.version <= :leopard # Leopard libxml is too old depends_on "ossp-uuid" => :recommended - depends_on :python => :optional + depends_on python: :optional conflicts_with "postgresql", - :because => "postgres-xc and postgresql install the same binaries." + because: "postgres-xc and postgresql install the same binaries." fails_with :clang do build 211 diff --git a/Formula/postgresql.rb b/Formula/postgresql.rb index 7c7933828d065..a1777b020b3e5 100644 --- a/Formula/postgresql.rb +++ b/Formula/postgresql.rb @@ -31,13 +31,13 @@ class Postgresql < Formula depends_on "libxml2" if MacOS.version <= :leopard # Leopard libxml is too old option "with-python", "Enable PL/Python2" - depends_on :python => :optional + depends_on python: :optional option "with-python3", "Enable PL/Python3 (incompatible with --with-python)" - depends_on :python3 => :optional + depends_on python3: :optional conflicts_with "postgres-xc", - :because => "postgresql and postgres-xc install the same binaries." + because: "postgresql and postgres-xc install the same binaries." fails_with :clang do build 211 @@ -128,7 +128,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "postgres -D #{HOMEBREW_PREFIX}/var/postgres" + plist_options manual: "postgres -D #{HOMEBREW_PREFIX}/var/postgres" def plist; <<-EOS.undent diff --git a/Formula/postgrest.rb b/Formula/postgrest.rb index 5cd4b2251d045..6073b0ae74fa9 100644 --- a/Formula/postgrest.rb +++ b/Formula/postgrest.rb @@ -21,7 +21,7 @@ class Postgrest < Formula depends_on "postgresql" def install - install_cabal_package :using => ["happy"] + install_cabal_package using: ["happy"] end test do diff --git a/Formula/povray.rb b/Formula/povray.rb index 34f984b95137a..7c796a1c11fd6 100644 --- a/Formula/povray.rb +++ b/Formula/povray.rb @@ -13,7 +13,7 @@ class Povray < Formula deprecated_option "use-openexr" => "with-openexr" - depends_on :macos => :lion + depends_on macos: :lion depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libpng" diff --git a/Formula/predictionio.rb b/Formula/predictionio.rb index 52aebd7068454..2f1dce9cd098a 100644 --- a/Formula/predictionio.rb +++ b/Formula/predictionio.rb @@ -10,7 +10,7 @@ class Predictionio < Formula depends_on "hadoop" depends_on "hbase" depends_on "apache-spark" - depends_on :java => "1.7+" + depends_on java: "1.7+" def install rm_f Dir["bin/*.bat"] diff --git a/Formula/presto.rb b/Formula/presto.rb index f94d8409fdc44..fa82d173ab1d7 100644 --- a/Formula/presto.rb +++ b/Formula/presto.rb @@ -6,7 +6,7 @@ class Presto < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" resource "presto-cli" do url "https://search.maven.org/remotecontent?filepath=com/facebook/presto/presto-cli/0.150/presto-cli-0.150-executable.jar" @@ -67,7 +67,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "presto-server run" + plist_options manual: "presto-server run" def plist; <<-EOS.undent diff --git a/Formula/privoxy.rb b/Formula/privoxy.rb index 6eb3fa559bd32..b121f4a0dfcc3 100644 --- a/Formula/privoxy.rb +++ b/Formula/privoxy.rb @@ -34,7 +34,7 @@ def install system "make", "install" end - plist_options :manual => "privoxy #{HOMEBREW_PREFIX}/etc/privoxy/config" + plist_options manual: "privoxy #{HOMEBREW_PREFIX}/etc/privoxy/config" def plist; <<-EOS.undent diff --git a/Formula/procyon-decompiler.rb b/Formula/procyon-decompiler.rb index 98a4326383853..ebae28fb0e1aa 100644 --- a/Formula/procyon-decompiler.rb +++ b/Formula/procyon-decompiler.rb @@ -6,7 +6,7 @@ class ProcyonDecompiler < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install libexec.install "procyon-decompiler-#{version}.jar" diff --git a/Formula/proof-general.rb b/Formula/proof-general.rb index aa345914a4ec4..6c22d9ec4d914 100644 --- a/Formula/proof-general.rb +++ b/Formula/proof-general.rb @@ -18,7 +18,7 @@ class ProofGeneral < Formula sha256 "5f3f943cc6c7c5f5ff344a01b25054a62877f090f382b1c84917906cfea367bc" end - depends_on :emacs => "22.3" + depends_on emacs: "22.3" def install ENV.j1 # Otherwise lisp compilation can result in 0-byte files diff --git a/Formula/protobuf.rb b/Formula/protobuf.rb index 71dfc8c6c4879..19b8a91e49390 100644 --- a/Formula/protobuf.rb +++ b/Formula/protobuf.rb @@ -23,7 +23,7 @@ class Protobuf < Formula depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build - depends_on :python => :recommended if MacOS.version <= :snow_leopard + depends_on python: :recommended if MacOS.version <= :snow_leopard fails_with :llvm do build 2334 diff --git a/Formula/pssh.rb b/Formula/pssh.rb index 81ad5b27b9871..a44db2bde98c2 100644 --- a/Formula/pssh.rb +++ b/Formula/pssh.rb @@ -13,7 +13,7 @@ class Pssh < Formula depends_on :python if MacOS.version <= :snow_leopard - conflicts_with "putty", :because => "both install `pscp` binaries" + conflicts_with "putty", because: "both install `pscp` binaries" def install ENV["PYTHONPATH"] = lib/"python2.7/site-packages" @@ -21,7 +21,7 @@ def install system "python", "setup.py", "install", "--prefix=#{prefix}", "--install-data=#{share}" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/puddletag.rb b/Formula/puddletag.rb index 3dc2048f9f3b2..308d637f0b169 100644 --- a/Formula/puddletag.rb +++ b/Formula/puddletag.rb @@ -49,7 +49,7 @@ def install ENV.prepend_create_path "PYTHONPATH", HOMEBREW_PREFIX/"lib/python2.7/site-packages" bin.install Dir[libexec/"bin/*"] - bin.env_script_all_files(libexec/"bin", :PATH => "#{HOMEBREW_PREFIX}/bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PATH: "#{HOMEBREW_PREFIX}/bin", PYTHONPATH: ENV["PYTHONPATH"]) system "sh", "create_macos_app_bundle.sh", "--name", "Puddletag", "--icon", "puddletag.png", "--script", "#{bin}/puddletag" diff --git a/Formula/pulledpork.rb b/Formula/pulledpork.rb index a94095ffcfb1c..988c2bfc15850 100644 --- a/Formula/pulledpork.rb +++ b/Formula/pulledpork.rb @@ -40,7 +40,7 @@ def install chmod 0755, "pulledpork.pl" bin.install "pulledpork.pl" - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) doc.install Dir["doc/*"] (etc/"pulledpork").install Dir["etc/*"] end diff --git a/Formula/pulseaudio.rb b/Formula/pulseaudio.rb index 0855e8634466b..9f9973335d0d4 100644 --- a/Formula/pulseaudio.rb +++ b/Formula/pulseaudio.rb @@ -34,7 +34,7 @@ class Pulseaudio < Formula depends_on "libsoxr" depends_on "openssl" - depends_on :x11 => :optional + depends_on x11: :optional depends_on "glib" => :optional depends_on "gconf" => :optional depends_on "dbus" => :optional diff --git a/Formula/pup.rb b/Formula/pup.rb index a145b8ebbc480..1b092ac9295af 100644 --- a/Formula/pup.rb +++ b/Formula/pup.rb @@ -18,12 +18,12 @@ class Pup < Formula go_resource "github.com/mitchellh/iochan" do url "https://github.com/mitchellh/iochan.git", - :revision => "87b45ffd0e9581375c491fef3d32130bb15c5bd7" + revision: "87b45ffd0e9581375c491fef3d32130bb15c5bd7" end go_resource "github.com/mitchellh/gox" do url "https://github.com/mitchellh/gox.git", - :revision => "6e9ee79eab7bb1b84155379b3f94ff9a87b344e4" + revision: "6e9ee79eab7bb1b84155379b3f94ff9a87b344e4" end def install diff --git a/Formula/pure-ftpd.rb b/Formula/pure-ftpd.rb index 5a94a68b9d130..3668ef569fe76 100644 --- a/Formula/pure-ftpd.rb +++ b/Formula/pure-ftpd.rb @@ -17,8 +17,8 @@ class PureFtpd < Formula depends_on "libsodium" depends_on "openssl" - depends_on :postgresql => :optional - depends_on :mysql => :optional + depends_on postgresql: :optional + depends_on mysql: :optional def install args = %W[ @@ -40,7 +40,7 @@ def install system "make", "install" end - plist_options :manual => "pure-ftpd" + plist_options manual: "pure-ftpd" def plist; <<-EOS.undent diff --git a/Formula/purescript.rb b/Formula/purescript.rb index c106cede81341..621958fd2e022 100644 --- a/Formula/purescript.rb +++ b/Formula/purescript.rb @@ -19,7 +19,7 @@ class Purescript < Formula depends_on "cabal-install" => :build def install - install_cabal_package :using => ["alex", "happy"] + install_cabal_package using: ["alex", "happy"] end test do diff --git a/Formula/putty.rb b/Formula/putty.rb index 9bfee3edbfd25..b5e4456db04ba 100644 --- a/Formula/putty.rb +++ b/Formula/putty.rb @@ -14,7 +14,7 @@ class Putty < Formula sha256 "066385a68e8c73e006f886930a267899eb02da47b8802b17c8f9cfe1263a45b6" => :mavericks end - conflicts_with "pssh", :because => "both install `pscp` binaries" + conflicts_with "pssh", because: "both install `pscp` binaries" head do url "git://git.tartarus.org/simon/putty.git" diff --git a/Formula/pwntools.rb b/Formula/pwntools.rb index 75be7d97b712d..edb5b2216a54d 100644 --- a/Formula/pwntools.rb +++ b/Formula/pwntools.rb @@ -17,7 +17,7 @@ class Pwntools < Formula depends_on "binutils" => :recommended depends_on "openssl" - conflicts_with "moreutils", :because => "Both install `errno` binaries" + conflicts_with "moreutils", because: "Both install `errno` binaries" # Don't bump this beyond 2.1 # error: could not create '/Library/Python/2.7/site-packages/capstone': Operation not permitted diff --git a/Formula/pygobject3.rb b/Formula/pygobject3.rb index 541841b53bdf1..96a13dcd6b056 100644 --- a/Formula/pygobject3.rb +++ b/Formula/pygobject3.rb @@ -19,7 +19,7 @@ class Pygobject3 < Formula depends_on "pkg-config" => :build depends_on "libffi" => :optional depends_on "glib" - depends_on :python3 => :optional + depends_on python3: :optional depends_on "py2cairo" if build.with? "python" depends_on "py3cairo" if build.with? "python3" depends_on "gobject-introspection" diff --git a/Formula/pypy.rb b/Formula/pypy.rb index bf67f2ce006ca..f62f89fa72c12 100644 --- a/Formula/pypy.rb +++ b/Formula/pypy.rb @@ -16,7 +16,7 @@ class Pypy < Formula "perform the translation (adds 30-60 minutes " \ "to build)" - depends_on :arch => :x86_64 + depends_on arch: :x86_64 depends_on "pkg-config" => :build depends_on "gdbm" => :recommended depends_on "sqlite" => :recommended diff --git a/Formula/pypy3.rb b/Formula/pypy3.rb index ac15a28743a8e..6d945a8385569 100644 --- a/Formula/pypy3.rb +++ b/Formula/pypy3.rb @@ -13,7 +13,7 @@ class Pypy3 < Formula sha256 "71d8d4319969feb8969e62a4ed4592e7779058c1cb7bcf9c3d506ea39d135ebf" => :mountain_lion end - depends_on :arch => :x86_64 + depends_on arch: :x86_64 depends_on "pkg-config" => :build depends_on "openssl" diff --git a/Formula/pyqt.rb b/Formula/pyqt.rb index 3ae349198be27..e32b387e91a75 100644 --- a/Formula/pyqt.rb +++ b/Formula/pyqt.rb @@ -12,7 +12,7 @@ class Pyqt < Formula end option "without-python", "Build without python 2 support" - depends_on :python3 => :optional + depends_on python3: :optional if build.without?("python3") && build.without?("python") odie "pyqt: --with-python3 must be specified when using --without-python" diff --git a/Formula/pyqt5.rb b/Formula/pyqt5.rb index 4e1f39527ce14..cd100431f1a74 100644 --- a/Formula/pyqt5.rb +++ b/Formula/pyqt5.rb @@ -15,8 +15,8 @@ class Pyqt5 < Formula deprecated_option "enable-debug" => "with-debug" - depends_on :python3 => :recommended - depends_on :python => :optional + depends_on python3: :recommended + depends_on python: :optional depends_on "qt5" if build.with? "python3" diff --git a/Formula/pyside.rb b/Formula/pyside.rb index 71a4d45380e55..43167c6710b79 100644 --- a/Formula/pyside.rb +++ b/Formula/pyside.rb @@ -16,8 +16,8 @@ class Pyside < Formula # don't use depends_on :python because then bottles install Homebrew's python option "without-python", "Build without python 2 support" - depends_on :python => :recommended if MacOS.version <= :snow_leopard - depends_on :python3 => :optional + depends_on python: :recommended if MacOS.version <= :snow_leopard + depends_on python3: :optional option "without-docs", "Skip building documentation" diff --git a/Formula/python-markdown.rb b/Formula/python-markdown.rb index 60db979ae3666..16cd98bc3e813 100644 --- a/Formula/python-markdown.rb +++ b/Formula/python-markdown.rb @@ -17,7 +17,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/python.rb b/Formula/python.rb index 676bfb11847dd..e1c0f36317441 100644 --- a/Formula/python.rb +++ b/Formula/python.rb @@ -3,7 +3,7 @@ class Python < Formula homepage "https://www.python.org" url "https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz" sha256 "d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80a1f978" - head "https://hg.python.org/cpython", :using => :hg, :branch => "2.7" + head "https://hg.python.org/cpython", using: :hg, branch: "2.7" bottle do sha256 "deebe116d0876f67d814f2a13560eae9040f9be6324ef67fce57321b3f4c2691" => :sierra diff --git a/Formula/python3.rb b/Formula/python3.rb index af9f2bbb72bf1..ebee0f70964ea 100644 --- a/Formula/python3.rb +++ b/Formula/python3.rb @@ -3,7 +3,7 @@ class Python3 < Formula homepage "https://www.python.org/" revision 1 - head "https://hg.python.org/cpython", :using => :hg + head "https://hg.python.org/cpython", using: :hg stable do url "https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz" diff --git a/Formula/pyvim.rb b/Formula/pyvim.rb index 0662f2d9794fe..aa94d95db34c1 100644 --- a/Formula/pyvim.rb +++ b/Formula/pyvim.rb @@ -63,7 +63,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/qca.rb b/Formula/qca.rb index 116ec5f4b3cce..ee5515aaf9913 100644 --- a/Formula/qca.rb +++ b/Formula/qca.rb @@ -34,7 +34,7 @@ class Qca < Formula depends_on "openssl" # qca-ossl depends_on "botan" => :optional # qca-botan depends_on "libgcrypt" => :optional # qca-gcrypt - depends_on :gpg => [:optional, :run] # qca-gnupg + depends_on gpg: [:optional, :run] # qca-gnupg depends_on "nss" => :optional # qca-nss depends_on "pkcs11-helper" => :optional # qca-pkcs11 diff --git a/Formula/qd.rb b/Formula/qd.rb index c64ca3f824424..918bc45df9b52 100644 --- a/Formula/qd.rb +++ b/Formula/qd.rb @@ -11,7 +11,7 @@ class Qd < Formula sha256 "35c7acae6a87c02301cde8c5d76b59bb696d9c3dd04970948c5fdbe3c1c6776e" => :mavericks end - depends_on :fortran => :recommended + depends_on fortran: :recommended def install args = ["--disable-dependency-tracking", "--enable-shared", "--prefix=#{prefix}"] diff --git a/Formula/qpm.rb b/Formula/qpm.rb index cc33dc3f14f8e..9eb1725e5f8ba 100644 --- a/Formula/qpm.rb +++ b/Formula/qpm.rb @@ -4,8 +4,8 @@ class Qpm < Formula desc "Package manager for Qt applications" homepage "https://www.qpm.io" url "https://github.com/Cutehacks/qpm.git", - :tag => "v0.10.0", - :revision => "b0dfc0f26e009ff778cc25ebb8b166fa460ea998" + tag: "v0.10.0", + revision: "b0dfc0f26e009ff778cc25ebb8b166fa460ea998" bottle do cellar :any_skip_relocation @@ -18,27 +18,27 @@ class Qpm < Formula go_resource "github.com/golang/protobuf" do url "https://github.com/golang/protobuf.git", - :revision => "d3d78384b82d449651d2435ed329d70f7c48aa56" + revision: "d3d78384b82d449651d2435ed329d70f7c48aa56" end go_resource "github.com/howeyc/gopass" do url "https://github.com/howeyc/gopass.git", - :revision => "10b54de414cc9693221d5ff2ae14fd2fbf1b0ac1" + revision: "10b54de414cc9693221d5ff2ae14fd2fbf1b0ac1" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "575fdbe86e5dd89229707ebec0575ce7d088a4a6" + revision: "575fdbe86e5dd89229707ebec0575ce7d088a4a6" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "042ba42fa6633b34205efc66ba5719cd3afd8d38" + revision: "042ba42fa6633b34205efc66ba5719cd3afd8d38" end go_resource "google.golang.org/grpc" do url "https://github.com/grpc/grpc-go.git", - :revision => "3490323066222fe765ef7903b53a48cbc876906d" + revision: "3490323066222fe765ef7903b53a48cbc876906d" end def install diff --git a/Formula/qscintilla2.rb b/Formula/qscintilla2.rb index 52b498d5224e9..984d2b38cba3f 100644 --- a/Formula/qscintilla2.rb +++ b/Formula/qscintilla2.rb @@ -16,8 +16,8 @@ class Qscintilla2 < Formula option "without-python3", "Do not build Python3 bindings" depends_on "qt5" - depends_on :python3 => :recommended - depends_on :python => :optional + depends_on python3: :recommended + depends_on python: :optional if build.with?("python") && build.with?("python3") depends_on "sip" => "with-python3" diff --git a/Formula/qt.rb b/Formula/qt.rb index 3086f57601e7b..62fe56ed831ad 100644 --- a/Formula/qt.rb +++ b/Formula/qt.rb @@ -6,7 +6,7 @@ class Qt < Formula sha256 "e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0" revision 2 - head "https://code.qt.io/qt/qt.git", :branch => "4.8" + head "https://code.qt.io/qt/qt.git", branch: "4.8" bottle do sha256 "f6dc9df6f78e1d8c12ebf961c8a9196885a1ee732eed098b2cbe8320f2d9a7a8" => :el_capitan @@ -40,7 +40,7 @@ class Qt < Formula resource "test-project" do url "https://gist.github.com/tdsmith/f55e7e69ae174b5b5a03.git", - :revision => "6f565390395a0259fa85fdd3a4f1968ebcd1cc7d" + revision: "6f565390395a0259fa85fdd3a4f1968ebcd1cc7d" end def install diff --git a/Formula/qt5.rb b/Formula/qt5.rb index fab7d5e5c7a6a..f63a40f4fc361 100644 --- a/Formula/qt5.rb +++ b/Formula/qt5.rb @@ -1,6 +1,6 @@ class OracleHomeVarRequirement < Requirement fatal true - satisfy(:build_env => false) { ENV["ORACLE_HOME"] } + satisfy(build_env: false) { ENV["ORACLE_HOME"] } def message; <<-EOS.undent To use --with-oci you have to set the ORACLE_HOME environment variable. @@ -18,7 +18,7 @@ class Qt5 < Formula mirror "https://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/5.6/5.6.1-1/single/qt-everywhere-opensource-src-5.6.1-1.tar.xz" sha256 "ce08a7eb54661705f55fb283d895a089b267c688fabe017062bd71b9231736db" - head "https://code.qt.io/qt/qt5.git", :branch => "5.6", :shallow => false + head "https://code.qt.io/qt/qt5.git", branch: "5.6", shallow: false bottle do sha256 "2aaa410f2ab2fbbddbc8c3438e43bc9f4271774c794bcae8f935fb6b1b5a82ed" => :el_capitan @@ -62,12 +62,12 @@ class Qt5 < Formula # OS X 10.7 Lion is still supported in Qt 5.5, but is no longer a reference # configuration and thus untested in practice. Builds on OS X 10.7 have been # reported to fail: . - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion depends_on "dbus" => :optional - depends_on :mysql => :optional - depends_on :postgresql => :optional - depends_on :xcode => :build + depends_on mysql: :optional + depends_on postgresql: :optional + depends_on xcode: :build depends_on OracleHomeVarRequirement if build.with? "oci" diff --git a/Formula/rabbitmq.rb b/Formula/rabbitmq.rb index 1431184651639..60187a419bde1 100644 --- a/Formula/rabbitmq.rb +++ b/Formula/rabbitmq.rb @@ -61,7 +61,7 @@ def rabbitmq_env; <<-EOS.undent EOS end - plist_options :manual => "rabbitmq-server" + plist_options manual: "rabbitmq-server" def plist; <<-EOS.undent diff --git a/Formula/rack.rb b/Formula/rack.rb index 46c643e2c29c4..2538190a78469 100644 --- a/Formula/rack.rb +++ b/Formula/rack.rb @@ -2,8 +2,8 @@ class Rack < Formula desc "CLI for Rackspace" homepage "https://github.com/rackspace/rack" url "https://github.com/rackspace/rack.git", - :tag => "1.2", - :revision => "09c14b061f4a115c8f1ff07ae6be96d9b11e08df" + tag: "1.2", + revision: "09c14b061f4a115c8f1ff07ae6be96d9b11e08df" head "https://github.com/rackspace/rack.git" bottle do diff --git a/Formula/radare2.rb b/Formula/radare2.rb index 2cd8f23c1e7ca..c9eca02c8d1f4 100644 --- a/Formula/radare2.rb +++ b/Formula/radare2.rb @@ -2,7 +2,7 @@ class CodesignRequirement < Requirement include FileUtils fatal true - satisfy(:build_env => false) do + satisfy(build_env: false) do mktemp do cp "/usr/bin/false", "radare2_check" quiet_system "/usr/bin/codesign", "-f", "-s", "org.radare.radare2", "--dryrun", "radare2_check" diff --git a/Formula/rancid.rb b/Formula/rancid.rb index fd31de7513ead..5058ab1342e7d 100644 --- a/Formula/rancid.rb +++ b/Formula/rancid.rb @@ -13,7 +13,7 @@ class Rancid < Formula sha256 "d1933933b5d1c6af784af00697791a9ed8e5fa56c3b6fc4ae6ef8b7656dafef2" => :mavericks end - conflicts_with "par", :because => "both install `par` binaries" + conflicts_with "par", because: "both install `par` binaries" def install system "./configure", "--prefix=#{prefix}", "--exec-prefix=#{prefix}", "--mandir=#{man}" diff --git a/Formula/ranger.rb b/Formula/ranger.rb index 3e92248028b77..0bd6aa16c9684 100644 --- a/Formula/ranger.rb +++ b/Formula/ranger.rb @@ -23,7 +23,6 @@ def install "#!/usr/bin/python", "#!#{PythonRequirement.new.which_python}" end - man1.install "doc/ranger.1" libexec.install "ranger.py", "ranger" bin.install_symlink libexec+"ranger.py" => "ranger" diff --git a/Formula/rarian.rb b/Formula/rarian.rb index 76a5af5011ca4..54840e538c3b6 100644 --- a/Formula/rarian.rb +++ b/Formula/rarian.rb @@ -12,7 +12,7 @@ class Rarian < Formula end conflicts_with "scrollkeeper", - :because => "rarian and scrollkeeper install the same binaries." + because: "rarian and scrollkeeper install the same binaries." def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/rclone.rb b/Formula/rclone.rb index a8d4bbce4e248..a93954bbd2405 100644 --- a/Formula/rclone.rb +++ b/Formula/rclone.rb @@ -17,142 +17,142 @@ class Rclone < Formula go_resource "golang.org/x/oauth2" do url "https://go.googlesource.com/oauth2.git", - :revision => "1364adb2c63445016c5ed4518fc71f6a3cda6169" + revision: "1364adb2c63445016c5ed4518fc71f6a3cda6169" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "6a513affb38dc9788b449d59ffed099b8de18fa0" + revision: "6a513affb38dc9788b449d59ffed099b8de18fa0" end go_resource "golang.org/x/tools" do url "https://go.googlesource.com/tools.git", - :revision => "9e7459099f9afd6a15464d69d93c6eed49bb545d" + revision: "9e7459099f9afd6a15464d69d93c6eed49bb545d" end go_resource "google.golang.org/api" do url "https://code.googlesource.com/google-api-go-client.git", - :revision => "fa0566afd4c8fdae644725fdf9b57b5851a20742" + revision: "fa0566afd4c8fdae644725fdf9b57b5851a20742" end go_resource "google.golang.org/cloud" do url "https://code.googlesource.com/gocloud.git", - :revision => "30fab6304c9888af49f1884cf4eddad7027e2e7b" + revision: "30fab6304c9888af49f1884cf4eddad7027e2e7b" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "bc89c496413265e715159bdc8478ee9a92fdc265" + revision: "bc89c496413265e715159bdc8478ee9a92fdc265" end go_resource "golang.org/x/text" do url "https://go.googlesource.com/text.git", - :revision => "2910a502d2bf9e43193af9d68ca516529614eed3" + revision: "2910a502d2bf9e43193af9d68ca516529614eed3" end go_resource "github.com/kisielk/errcheck" do url "https://github.com/kisielk/errcheck.git", - :revision => "50ffcb6f3595daac70aff9e63afe8b8b277b1a1a" + revision: "50ffcb6f3595daac70aff9e63afe8b8b277b1a1a" end go_resource "github.com/golang/lint" do url "https://github.com/golang/lint.git", - :revision => "c7bacac2b21ca01afa1dee0acf64df3ce047c28f" + revision: "c7bacac2b21ca01afa1dee0acf64df3ce047c28f" end go_resource "github.com/tsenart/tb" do url "https://github.com/tsenart/tb.git", - :revision => "19f4c3d79d2bd67d0911b2e310b999eeea4454c1" + revision: "19f4c3d79d2bd67d0911b2e310b999eeea4454c1" end go_resource "github.com/stacktic/dropbox" do url "https://github.com/stacktic/dropbox.git", - :revision => "58f839b21094d5e0af7caf613599830589233d20" + revision: "58f839b21094d5e0af7caf613599830589233d20" end go_resource "github.com/spf13/pflag" do url "https://github.com/spf13/pflag.git", - :revision => "1560c1005499d61b80f865c04d39ca7505bf7f0b" + revision: "1560c1005499d61b80f865c04d39ca7505bf7f0b" end go_resource "github.com/skratchdot/open-golang" do url "https://github.com/skratchdot/open-golang.git", - :revision => "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c" + revision: "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c" end go_resource "github.com/Unknwon/goconfig" do url "https://github.com/Unknwon/goconfig.git", - :revision => "5f601ca6ef4d5cea8d52be2f8b3a420ee4b574a5" + revision: "5f601ca6ef4d5cea8d52be2f8b3a420ee4b574a5" end go_resource "github.com/VividCortex/ewma" do url "https://github.com/VividCortex/ewma.git", - :revision => "8b9f1311551e712ea8a06b494238b8a2351e1c33" + revision: "8b9f1311551e712ea8a06b494238b8a2351e1c33" end go_resource "github.com/aws/aws-sdk-go" do url "https://github.com/aws/aws-sdk-go.git", - :revision => "3b8c171554fc7d4fc53b87e25d4926a9e7495c2e" + revision: "3b8c171554fc7d4fc53b87e25d4926a9e7495c2e" end go_resource "github.com/mreiferson/go-httpclient" do url "https://github.com/mreiferson/go-httpclient.git", - :revision => "31f0106b4474f14bc441575c19d3a5fa21aa1f6c" + revision: "31f0106b4474f14bc441575c19d3a5fa21aa1f6c" end go_resource "github.com/ncw/go-acd" do url "https://github.com/ncw/go-acd.git", - :revision => "0bd73ce86fffd8afeafe4e46f419f1a8ce6324b9" + revision: "0bd73ce86fffd8afeafe4e46f419f1a8ce6324b9" end go_resource "github.com/ncw/swift" do url "https://github.com/ncw/swift.git", - :revision => "b964f2ca856aac39885e258ad25aec08d5f64ee6" + revision: "b964f2ca856aac39885e258ad25aec08d5f64ee6" end go_resource "github.com/pkg/errors" do url "https://github.com/pkg/errors.git", - :revision => "1d2e60385a13aaa66134984235061c2f9302520e" + revision: "1d2e60385a13aaa66134984235061c2f9302520e" end go_resource "github.com/google/go-querystring" do url "https://github.com/google/go-querystring.git", - :revision => "9235644dd9e52eeae6fa48efd539fdc351a0af53" + revision: "9235644dd9e52eeae6fa48efd539fdc351a0af53" end go_resource "bazil.org/fuse" do url "https://github.com/bazil/fuse.git", - :revision => "371fbbdaa8987b715bdd21d6adc4c9b20155f748" + revision: "371fbbdaa8987b715bdd21d6adc4c9b20155f748" end go_resource "github.com/ogier/pflag" do url "https://github.com/ogier/pflag.git", - :revision => "45c278ab3607870051a2ea9040bb85fcb8557481" + revision: "45c278ab3607870051a2ea9040bb85fcb8557481" end go_resource "github.com/rfjakob/eme" do url "https://github.com/rfjakob/eme.git", - :revision => "601d0e278ceda9aa2085a61c9265f6e690ef5255" + revision: "601d0e278ceda9aa2085a61c9265f6e690ef5255" end go_resource "github.com/spf13/cobra" do url "https://github.com/spf13/cobra.git", - :revision => "37c3f8060359192150945916cbc2d72bce804b4d" + revision: "37c3f8060359192150945916cbc2d72bce804b4d" end go_resource "github.com/cpuguy83/go-md2man" do url "https://github.com/cpuguy83/go-md2man.git", - :revision => "2724a9c9051aa62e9cca11304e7dd518e9e41599" + revision: "2724a9c9051aa62e9cca11304e7dd518e9e41599" end go_resource "github.com/russross/blackfriday" do url "https://github.com/russross/blackfriday.git", - :revision => "93622da34e54fb6529bfb7c57e710f37a8d9cbd8" + revision: "93622da34e54fb6529bfb7c57e710f37a8d9cbd8" end go_resource "github.com/shurcooL/sanitized_anchor_name" do url "https://github.com/shurcooL/sanitized_anchor_name.git", - :revision => "10ef21a441db47d8b13ebcc5fd2310f636973c77" + revision: "10ef21a441db47d8b13ebcc5fd2310f636973c77" end def install diff --git a/Formula/rds-command-line-tools.rb b/Formula/rds-command-line-tools.rb index 80c01eae372cb..e5d28b6d4de54 100644 --- a/Formula/rds-command-line-tools.rb +++ b/Formula/rds-command-line-tools.rb @@ -9,7 +9,7 @@ class RdsCommandLineTools < Formula depends_on :java def install - env = Language::Java.java_home_env.merge(:AWS_RDS_HOME => libexec) + env = Language::Java.java_home_env.merge(AWS_RDS_HOME: libexec) rm Dir["bin/*.cmd"] # Remove Windows versions etc.install "credential-file-path.template" libexec.install Dir["*"] diff --git a/Formula/re2.rb b/Formula/re2.rb index af21b8fb58ca6..cf6fec6a80fb4 100644 --- a/Formula/re2.rb +++ b/Formula/re2.rb @@ -17,7 +17,7 @@ class Re2 < Formula # https://github.com/google/re2/issues/102 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 - fails_with :gcc => "6" do + fails_with gcc: "6" do cause "error: field 'next_' has incomplete type 'std::atomic []'" end diff --git a/Formula/reclass.rb b/Formula/reclass.rb index e8f4dcb6b6ee9..366340a991156 100644 --- a/Formula/reclass.rb +++ b/Formula/reclass.rb @@ -20,7 +20,7 @@ def install system "python", "setup.py", "install", "--prefix=#{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"]) end test do diff --git a/Formula/redis.rb b/Formula/redis.rb index 3ce3e0866b4b3..9085857048864 100644 --- a/Formula/redis.rb +++ b/Formula/redis.rb @@ -3,7 +3,7 @@ class Redis < Formula homepage "http://redis.io/" url "http://download.redis.io/releases/redis-3.2.3.tar.gz" sha256 "674e9c38472e96491b7d4f7b42c38b71b5acbca945856e209cb428fbc6135f15" - head "https://github.com/antirez/redis.git", :branch => "unstable" + head "https://github.com/antirez/redis.git", branch: "unstable" bottle do cellar :any_skip_relocation @@ -46,7 +46,7 @@ def install etc.install "sentinel.conf" => "redis-sentinel.conf" end - plist_options :manual => "redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" + plist_options manual: "redis-server #{HOMEBREW_PREFIX}/etc/redis.conf" def plist; <<-EOS.undent diff --git a/Formula/redland.rb b/Formula/redland.rb index 898405c6a792e..fd0cdc1504975 100644 --- a/Formula/redland.rb +++ b/Formula/redland.rb @@ -22,7 +22,7 @@ class Redland < Formula depends_on "unixodbc" depends_on "sqlite" => :recommended depends_on "berkeley-db" => :optional - depends_on :python => :optional + depends_on python: :optional resource "bindings" do url "http://download.librdf.org/source/redland-bindings-1.0.17.1.tar.gz" diff --git a/Formula/redo.rb b/Formula/redo.rb index 7c93fbb861283..23f9d61e5af9d 100644 --- a/Formula/redo.rb +++ b/Formula/redo.rb @@ -11,7 +11,7 @@ class Redo < Formula end resource "docs" do - url "https://github.com/apenwarr/redo.git", :branch => "man" + url "https://github.com/apenwarr/redo.git", branch: "man" end def install diff --git a/Formula/redpen.rb b/Formula/redpen.rb index 37ce03e467746..29a66ce3ac114 100644 --- a/Formula/redpen.rb +++ b/Formula/redpen.rb @@ -6,7 +6,7 @@ class Redpen < Formula bottle :unneeded - depends_on :java => "1.8" + depends_on java: "1.8" def install # Don't need Windows files. diff --git a/Formula/redshift.rb b/Formula/redshift.rb index 3619e9a4ae44d..cbaac3691dd49 100644 --- a/Formula/redshift.rb +++ b/Formula/redshift.rb @@ -50,7 +50,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "redshift" + plist_options manual: "redshift" def plist; <<-EOS.undent diff --git a/Formula/rem.rb b/Formula/rem.rb index 2f86879a7dac0..11fab2e1230b3 100644 --- a/Formula/rem.rb +++ b/Formula/rem.rb @@ -12,9 +12,9 @@ class Rem < Formula sha256 "3c858e09bce1941b84ca3e5d77163cac4e3b7efcd6a1afcc72354a450c8ee495" => :mountain_lion end - depends_on :xcode => :build + depends_on xcode: :build - conflicts_with "remind", :because => "both install `rem` binaries" + conflicts_with "remind", because: "both install `rem` binaries" def install xcodebuild diff --git a/Formula/remind.rb b/Formula/remind.rb index b2300755b2215..67081b41836d9 100644 --- a/Formula/remind.rb +++ b/Formula/remind.rb @@ -12,7 +12,7 @@ class Remind < Formula sha256 "fb78fa7e3df893822473b56d79d64d48ff5827c7df3ce6d518985262c99d3056" => :mountain_lion end - conflicts_with "rem", :because => "both install `rem` binaries" + conflicts_with "rem", because: "both install `rem` binaries" def install # Remove unnecessary sleeps when running on Apple diff --git a/Formula/renameutils.rb b/Formula/renameutils.rb index 0e17f7792fb58..97ef790e1ef2f 100644 --- a/Formula/renameutils.rb +++ b/Formula/renameutils.rb @@ -23,8 +23,8 @@ class Renameutils < Formula # Remove patch #4 at version > 0.12.0. The first three should persist. patch :DATA - conflicts_with "ipmiutil", :because => "both install `icmd` binaries" - conflicts_with "irods", :because => "both install `icp` and `imv` binaries" + conflicts_with "ipmiutil", because: "both install `icmd` binaries" + conflicts_with "irods", because: "both install `icp` and `imv` binaries" def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/repo.rb b/Formula/repo.rb index 2891a99eb9181..f85ac77e8c949 100644 --- a/Formula/repo.rb +++ b/Formula/repo.rb @@ -2,8 +2,8 @@ class Repo < Formula desc "Repository tool for Android development" homepage "https://source.android.com/source/developing.html" url "https://gerrit.googlesource.com/git-repo.git", - :tag => "v1.12.34", - :revision => "39252ba028012fd14e4e283217d842fb80206c52" + tag: "v1.12.34", + revision: "39252ba028012fd14e4e283217d842fb80206c52" version_scheme 1 bottle :unneeded diff --git a/Formula/reposurgeon.rb b/Formula/reposurgeon.rb index 46f79fe4d132b..6ce290bd3f356 100644 --- a/Formula/reposurgeon.rb +++ b/Formula/reposurgeon.rb @@ -2,8 +2,8 @@ class Reposurgeon < Formula desc "Edit version-control repository history" homepage "http://www.catb.org/esr/reposurgeon/" url "https://gitlab.com/esr/reposurgeon.git", - :tag => "3.39", - :revision => "bad2af083903e74775e0c63f0705a6c20f854462" + tag: "3.39", + revision: "bad2af083903e74775e0c63f0705a6c20f854462" head "https://gitlab.com/esr/reposurgeon.git" bottle do diff --git a/Formula/rethinkdb.rb b/Formula/rethinkdb.rb index 9fb290693d187..4e11dab12eb40 100644 --- a/Formula/rethinkdb.rb +++ b/Formula/rethinkdb.rb @@ -12,7 +12,7 @@ class Rethinkdb < Formula sha256 "dfa15869b955c42614200ff00987f8a4e9a50e1aabf9ee9738f43a617bf6cdac" => :mavericks end - depends_on :macos => :lion + depends_on macos: :lion depends_on "boost" => :build depends_on "openssl" @@ -46,7 +46,7 @@ def install etc.install "packaging/assets/config/default.conf.sample" => "rethinkdb.conf" end - plist_options :manual => "rethinkdb" + plist_options manual: "rethinkdb" def plist; <<-EOS.undent diff --git a/Formula/rhino.rb b/Formula/rhino.rb index 941c3b2f302c2..38e3aa9df4835 100644 --- a/Formula/rhino.rb +++ b/Formula/rhino.rb @@ -6,7 +6,7 @@ class Rhino < Formula bottle :unneeded - conflicts_with "nut", :because => "both install `rhino` binaries" + conflicts_with "nut", because: "both install `rhino` binaries" def install rhino_jar = "rhino-#{version}.jar" diff --git a/Formula/riak.rb b/Formula/riak.rb index e9c50c1ea1da9..e94520704045e 100644 --- a/Formula/riak.rb +++ b/Formula/riak.rb @@ -7,8 +7,8 @@ class Riak < Formula bottle :unneeded - depends_on :macos => :mountain_lion - depends_on :arch => :x86_64 + depends_on macos: :mountain_lion + depends_on arch: :x86_64 def install logdir = var + "log/riak" diff --git a/Formula/riemann.rb b/Formula/riemann.rb index 440a82ee677bd..52ace24d717b7 100644 --- a/Formula/riemann.rb +++ b/Formula/riemann.rb @@ -37,7 +37,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "riemann" + plist_options manual: "riemann" def plist; <<-EOS.undent diff --git a/Formula/rp.rb b/Formula/rp.rb index e61cc9857ee15..5738f97e1f0c2 100644 --- a/Formula/rp.rb +++ b/Formula/rp.rb @@ -13,7 +13,7 @@ class Rp < Formula sha256 "398c2c7776b0da352930a13a9339cd66b4e74c773313eb347740cfd2ea8ccf24" => :mavericks end - depends_on :macos => :lion + depends_on macos: :lion depends_on "cmake" => :build # In order to have the same binary name in 32 and 64 bits. diff --git a/Formula/rpm.rb b/Formula/rpm.rb index 91c03a9a1833d..abc11d08e75a1 100644 --- a/Formula/rpm.rb +++ b/Formula/rpm.rb @@ -15,7 +15,7 @@ class Rpm < Formula desc "Standard unix software packaging tool" homepage "http://www.rpm5.org/" url "http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm", - :using => RpmDownloadStrategy + using: RpmDownloadStrategy version "5.4.15" sha256 "d4ae5e9ed5df8ab9931b660f491418d20ab5c4d72eb17ed9055b80b71ef6c4ee" diff --git a/Formula/rswift.rb b/Formula/rswift.rb index f6e017867522a..ccef9eb0638ea 100644 --- a/Formula/rswift.rb +++ b/Formula/rswift.rb @@ -2,8 +2,8 @@ class Rswift < Formula desc "Get strong typed, autocompleted resources like images, fonts and segues" homepage "https://github.com/mac-cain13/R.swift" url "https://github.com/mac-cain13/R.swift.git", - :tag => "v2.3.0", - :revision => "d49c00dfe93066d5ab61ab7ae92965857c98d60f" + tag: "v2.3.0", + revision: "d49c00dfe93066d5ab61ab7ae92965857c98d60f" bottle do cellar :any_skip_relocation @@ -11,7 +11,7 @@ class Rswift < Formula sha256 "77bfe21d31b824a7d61ab66f65a9678e69dc22a1cd590156a019d3f313491a8d" => :yosemite end - depends_on :xcode => "7.0" + depends_on xcode: "7.0" def install xcodebuild "-configuration", "Release", "-scheme", "rswift", "SYMROOT=symroot", "OBJROOT=objroot" diff --git a/Formula/rtags.rb b/Formula/rtags.rb index d0f55d8bf79bc..60d5b97e97a2e 100644 --- a/Formula/rtags.rb +++ b/Formula/rtags.rb @@ -2,8 +2,8 @@ class Rtags < Formula desc "ctags-like source code cross-referencer with a clang frontend" homepage "https://github.com/Andersbakken/rtags" url "https://github.com/Andersbakken/rtags.git", - :tag => "v2.3", - :revision => "da75268b1caa973402ab17e501718da7fc748b34" + tag: "v2.3", + revision: "da75268b1caa973402ab17e501718da7fc748b34" head "https://github.com/Andersbakken/rtags.git" diff --git a/Formula/rtmpdump.rb b/Formula/rtmpdump.rb index 33890872cdf3a..3841709a5a93d 100644 --- a/Formula/rtmpdump.rb +++ b/Formula/rtmpdump.rb @@ -6,7 +6,7 @@ class Rtmpdump < Formula version "2.4+20151223" sha256 "5c032f5c8cc2937eb55a81a94effdfed3b0a0304b6376147b86f951e225e3ab5" - head "git://git.ffmpeg.org/rtmpdump", :shallow => false + head "git://git.ffmpeg.org/rtmpdump", shallow: false bottle do cellar :any @@ -16,7 +16,7 @@ class Rtmpdump < Formula sha256 "f4c8dbdf3f8a04626a7975abf96eccd5e494a3f6a795b2035c6d418bfbe8079d" => :mavericks end - conflicts_with "flvstreamer", :because => "both install 'rtmpsrv', 'rtmpsuck' and 'streams' binary" + conflicts_with "flvstreamer", because: "both install 'rtmpsrv', 'rtmpsuck' and 'streams' binary" depends_on "openssl" diff --git a/Formula/rubberband.rb b/Formula/rubberband.rb index 7d2dafd7ea651..79ed7e00e0689 100644 --- a/Formula/rubberband.rb +++ b/Formula/rubberband.rb @@ -1,7 +1,7 @@ class Rubberband < Formula desc "audio time stretcher tool and library" homepage "http://breakfastquay.com/rubberband/" - head "https://bitbucket.org/breakfastquay/rubberband/", :using => :hg + head "https://bitbucket.org/breakfastquay/rubberband/", using: :hg stable do url "http://code.breakfastquay.com/attachments/download/34/rubberband-1.8.1.tar.bz2" diff --git a/Formula/rust.rb b/Formula/rust.rb index 4340a70cda651..be06387d90335 100644 --- a/Formula/rust.rb +++ b/Formula/rust.rb @@ -8,7 +8,7 @@ class Rust < Formula resource "cargo" do # git required because of submodules - url "https://github.com/rust-lang/cargo.git", :tag => "0.11.0", :revision => "259324cd8f9bb6e1068a3a2b77685e90fda3e3b6" + url "https://github.com/rust-lang/cargo.git", tag: "0.11.0", revision: "259324cd8f9bb6e1068a3a2b77685e90fda3e3b6" end # name includes date to satisfy cache @@ -39,13 +39,13 @@ class Rust < Formula depends_on "openssl" depends_on "libssh2" - conflicts_with "multirust", :because => "both install rustc, rustdoc, cargo, rust-lldb, rust-gdb" + conflicts_with "multirust", because: "both install rustc, rustdoc, cargo, rust-lldb, rust-gdb" # According to the official readme, GCC 4.7+ is required fails_with :gcc_4_0 fails_with :gcc ("4.3".."4.6").each do |n| - fails_with :gcc => n + fails_with gcc: n end def install diff --git a/Formula/s-search.rb b/Formula/s-search.rb index 5698ebafcdc7d..271696101ffc7 100644 --- a/Formula/s-search.rb +++ b/Formula/s-search.rb @@ -18,7 +18,7 @@ class SSearch < Formula go_resource "github.com/FiloSottile/gvt" do url "https://github.com/FiloSottile/gvt.git", - :revision => "945672cd8cb7d1fe502c627952ebf6fcb1f883f1" + revision: "945672cd8cb7d1fe502c627952ebf6fcb1f883f1" end def install diff --git a/Formula/s3cmd.rb b/Formula/s3cmd.rb index d8481bbc7b2a5..3fcdcc61958e9 100644 --- a/Formula/s3cmd.rb +++ b/Formula/s3cmd.rb @@ -40,7 +40,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 end diff --git a/Formula/s3sync.rb b/Formula/s3sync.rb index 3a71884057feb..1b65328c3e93a 100644 --- a/Formula/s3sync.rb +++ b/Formula/s3sync.rb @@ -1,7 +1,7 @@ class S3sync < Formula desc "Interfaces to Amazon S3" homepage "http://s3sync.net" - url "http://s3sync-s3cmd.googlecode.com/svn/trunk/", :revision => "4" + url "http://s3sync-s3cmd.googlecode.com/svn/trunk/", revision: "4" version "1.2.6" bottle :unneeded diff --git a/Formula/s6.rb b/Formula/s6.rb index f2dbf82dac760..d8684149893db 100644 --- a/Formula/s6.rb +++ b/Formula/s6.rb @@ -68,9 +68,9 @@ def install system "make", "install" # Some S6 tools expect execline binaries to be on the path - bin.env_script_all_files(libexec/"bin", :PATH => "#{libexec}/execline:$PATH") - sbin.env_script_all_files(libexec/"sbin", :PATH => "#{libexec}/execline:$PATH") - (bin/"execlineb").write_env_script libexec/"execline/execlineb", :PATH => "#{libexec}/execline:$PATH" + bin.env_script_all_files(libexec/"bin", PATH: "#{libexec}/execline:$PATH") + sbin.env_script_all_files(libexec/"sbin", PATH: "#{libexec}/execline:$PATH") + (bin/"execlineb").write_env_script libexec/"execline/execlineb", PATH: "#{libexec}/execline:$PATH" end test do diff --git a/Formula/sagittarius-scheme.rb b/Formula/sagittarius-scheme.rb index 9ea54b58a1656..687194260ceeb 100644 --- a/Formula/sagittarius-scheme.rb +++ b/Formula/sagittarius-scheme.rb @@ -3,7 +3,7 @@ class SagittariusScheme < Formula homepage "https://bitbucket.org/ktakashi/sagittarius-scheme/wiki/Home" url "https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/sagittarius-0.7.5.tar.gz" sha256 "1f51978587d525017d5562148ca966de7de373f129fb6515f479b386ff26e5e6" - head "https://bitbucket.org/ktakashi/sagittarius-scheme", :using => :hg + head "https://bitbucket.org/ktakashi/sagittarius-scheme", using: :hg bottle do cellar :any diff --git a/Formula/saldl.rb b/Formula/saldl.rb index ff7602adfe405..a186a7474ebf8 100644 --- a/Formula/saldl.rb +++ b/Formula/saldl.rb @@ -3,7 +3,7 @@ class Saldl < Formula homepage "https://saldl.github.io" url "https://github.com/saldl/saldl/archive/v34.tar.gz" sha256 "12053f306306023e5bbdc6bb8594cc83f8793da0ce99dab1981179cdeccea4da" - head "https://github.com/saldl/saldl.git", :shallow => false + head "https://github.com/saldl/saldl.git", shallow: false bottle do cellar :any diff --git a/Formula/saltstack.rb b/Formula/saltstack.rb index be75933bbe82c..ece008493f4be 100644 --- a/Formula/saltstack.rb +++ b/Formula/saltstack.rb @@ -5,7 +5,7 @@ class Saltstack < Formula homepage "http://www.saltstack.org" url "https://files.pythonhosted.org/packages/1d/75/b969c2495ae6ccbf8b76f6a121027f3ee8cfab9d9a1086e9ccf07d10deae/salt-2016.3.3.tar.gz" sha256 "5906038594f1b9b3ac41714774fbd78f0af80d2f3ffe1c1bf20308032d7d52b6" - head "https://github.com/saltstack/salt.git", :branch => "develop", :shallow => false + head "https://github.com/saltstack/salt.git", branch: "develop", shallow: false bottle do cellar :any diff --git a/Formula/sassc.rb b/Formula/sassc.rb index fec71efd72213..d17f3ec681784 100644 --- a/Formula/sassc.rb +++ b/Formula/sassc.rb @@ -1,7 +1,7 @@ class Sassc < Formula desc "Wrapper around libsass that helps to create command-line apps" homepage "https://github.com/sass/sassc" - url "https://github.com/sass/sassc.git", :tag => "3.3.2", :revision => "7efa9c452f4f2a814fbe74448ebdc2e703e67a4a" + url "https://github.com/sass/sassc.git", tag: "3.3.2", revision: "7efa9c452f4f2a814fbe74448ebdc2e703e67a4a" head "https://github.com/sass/sassc.git" bottle do diff --git a/Formula/sbcl.rb b/Formula/sbcl.rb index ed626ac41a55b..b3ac2b885e0d6 100644 --- a/Formula/sbcl.rb +++ b/Formula/sbcl.rb @@ -100,7 +100,7 @@ def install system "sh", "install.sh" if build.with? "sources" - bin.env_script_all_files(libexec/"bin", :SBCL_SOURCE_ROOT => pkgshare/"src") + bin.env_script_all_files(libexec/"bin", SBCL_SOURCE_ROOT: pkgshare/"src") pkgshare.install %w[contrib src] (lib/"sbcl/sbclrc").write <<-EOS.undent diff --git a/Formula/sbt.rb b/Formula/sbt.rb index be4fb95cbae34..6f3f88eeb438e 100644 --- a/Formula/sbt.rb +++ b/Formula/sbt.rb @@ -12,7 +12,7 @@ class Sbt < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install inreplace "bin/sbt" do |s| diff --git a/Formula/sbuild.rb b/Formula/sbuild.rb index 686a100b277f4..2b4d5231288ff 100644 --- a/Formula/sbuild.rb +++ b/Formula/sbuild.rb @@ -6,7 +6,7 @@ class Sbuild < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install libexec.install Dir["*"] diff --git a/Formula/scala.rb b/Formula/scala.rb index 07916ff920c59..f4c91e69d37e3 100644 --- a/Formula/scala.rb +++ b/Formula/scala.rb @@ -6,7 +6,7 @@ class Scala < Formula url "https://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz" sha256 "87fc86a19d9725edb5fd9866c5ee9424cdb2cd86b767f1bb7d47313e8e391ace" - depends_on :java => "1.6+" + depends_on java: "1.6+" resource "docs" do url "https://downloads.lightbend.com/scala/2.11.8/scala-docs-2.11.8.zip" @@ -32,7 +32,7 @@ class Scala < Formula sha256 "ac4f05a75306b241a60a57dfabd8c5adec15435f0f380688ee5eb1caaa600192" version "2.12.0-RC1" - depends_on :java => "1.8+" + depends_on java: "1.8+" resource "docs" do url "http://www.scala-lang.org/files/archive/scala-docs-2.12.0-RC1.zip" diff --git a/Formula/scheme48.rb b/Formula/scheme48.rb index 35a0e04753d1e..b69cca6077bb9 100644 --- a/Formula/scheme48.rb +++ b/Formula/scheme48.rb @@ -11,7 +11,7 @@ class Scheme48 < Formula sha256 "6ae24159bb6e2485465135ba60d60291be7681dfc9662e42f176bb9f9d4a6f00" => :mavericks end - conflicts_with "scsh", :because => "both install include/scheme48.h" + conflicts_with "scsh", because: "both install include/scheme48.h" def install ENV.O0 if ENV.compiler == :clang diff --git a/Formula/schismtracker.rb b/Formula/schismtracker.rb index ada85e38e23e8..c82e905001bb6 100644 --- a/Formula/schismtracker.rb +++ b/Formula/schismtracker.rb @@ -3,7 +3,7 @@ class Schismtracker < Formula homepage "http://schismtracker.org/" url "https://bitbucket.org/Storlek/schismtracker/get/20120105.tar.bz2" sha256 "736163682c476c2f1afca9b3ebf2a1f5d1a0420dc2da12f2d8cfe6d1b3de379b" - head "https://bitbucket.org/Storlek/schismtracker", :using => :hg + head "https://bitbucket.org/Storlek/schismtracker", using: :hg bottle do cellar :any diff --git a/Formula/scm-manager.rb b/Formula/scm-manager.rb index bf7e61c7576e6..eb663ea8facc4 100644 --- a/Formula/scm-manager.rb +++ b/Formula/scm-manager.rb @@ -12,7 +12,7 @@ class ScmManager < Formula sha256 "10f94fa5dafdb40dbcf6a7744a98b2433e294af16e7712a572de49daaed031e0" => :mavericks end - depends_on :java => "1.6+" + depends_on java: "1.6+" resource "client" do url "https://maven.scm-manager.org/nexus/content/repositories/releases/sonia/scm/clients/scm-cli-client/1.47/scm-cli-client-1.47-jar-with-dependencies.jar" @@ -45,7 +45,7 @@ def install chmod 0755, scm_cli_client end - plist_options :manual => "scm-server start" + plist_options manual: "scm-server start" def plist; <<-EOS.undent diff --git a/Formula/screenfetch.rb b/Formula/screenfetch.rb index f7cb29117b82a..8e7703ee6b224 100644 --- a/Formula/screenfetch.rb +++ b/Formula/screenfetch.rb @@ -3,7 +3,7 @@ class Screenfetch < Formula homepage "https://github.com/KittyKatt/screenFetch" url "https://github.com/KittyKatt/screenFetch/archive/v3.7.0.tar.gz" sha256 "6711fe924833919d53c1dfbbb43f3777d33e20357a1b1536c4472f6a1b3c6be0" - head "https://github.com/KittyKatt/screenFetch.git", :shallow => false + head "https://github.com/KittyKatt/screenFetch.git", shallow: false bottle do cellar :any_skip_relocation diff --git a/Formula/screenresolution.rb b/Formula/screenresolution.rb index d0d9cdc47b587..fef3d999acaa7 100644 --- a/Formula/screenresolution.rb +++ b/Formula/screenresolution.rb @@ -13,7 +13,7 @@ class Screenresolution < Formula end # Uses CGDisplayModeRef type, introduced in 10.6 - depends_on :macos => :snow_leopard + depends_on macos: :snow_leopard def install system "make", "CC=#{ENV.cc}" diff --git a/Formula/scrollkeeper.rb b/Formula/scrollkeeper.rb index 95352564df62c..ec10f891e8a60 100644 --- a/Formula/scrollkeeper.rb +++ b/Formula/scrollkeeper.rb @@ -15,7 +15,7 @@ class Scrollkeeper < Formula depends_on "docbook" conflicts_with "rarian", - :because => "scrollkeeper and rarian install the same binaries." + because: "scrollkeeper and rarian install the same binaries." def install ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog" diff --git a/Formula/sdcv.rb b/Formula/sdcv.rb index 585065dbc0ebc..8b086be56d995 100644 --- a/Formula/sdcv.rb +++ b/Formula/sdcv.rb @@ -3,7 +3,7 @@ class Sdcv < Formula homepage "https://dushistov.github.io/sdcv/" # Requested a tag 16 Sep 2016 https://github.com/Dushistov/sdcv/issues/10 url "https://github.com/Dushistov/sdcv.git", - :revision => "c347ae7da9b7969e00696b18035d9a7d200e43e3" + revision: "c347ae7da9b7969e00696b18035d9a7d200e43e3" version "0.5-2013-09-10" revision 1 diff --git a/Formula/sdedit.rb b/Formula/sdedit.rb index 71a3ca98bebba..124fa9e01b885 100644 --- a/Formula/sdedit.rb +++ b/Formula/sdedit.rb @@ -6,7 +6,7 @@ class Sdedit < Formula bottle :unneeded - depends_on :java => "1.5+" + depends_on java: "1.5+" def install libexec.install "sdedit-#{version}.jar" diff --git a/Formula/sdl.rb b/Formula/sdl.rb index 7a600863b6b18..515c5d3d75e99 100644 --- a/Formula/sdl.rb +++ b/Formula/sdl.rb @@ -15,7 +15,7 @@ class Sdl < Formula end head do - url "https://hg.libsdl.org/SDL", :branch => "SDL-1.2", :using => :hg + url "https://hg.libsdl.org/SDL", branch: "SDL-1.2", using: :hg depends_on "autoconf" => :build depends_on "automake" => :build @@ -29,7 +29,7 @@ class Sdl < Formula deprecated_option "with-x11-driver" => "with-x11" deprecated_option "with-tests" => "with-test" - depends_on :x11 => :optional + depends_on x11: :optional if build.with? "x11" depends_on "autoconf" => :build diff --git a/Formula/sdl2.rb b/Formula/sdl2.rb index 37ce5862a01df..7a346603de93a 100644 --- a/Formula/sdl2.rb +++ b/Formula/sdl2.rb @@ -14,7 +14,7 @@ class Sdl2 < Formula end head do - url "https://hg.libsdl.org/SDL", :using => :hg + url "https://hg.libsdl.org/SDL", using: :hg depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/sdl2_mixer.rb b/Formula/sdl2_mixer.rb index 73b65e1409a99..7b78d1ec53efd 100644 --- a/Formula/sdl2_mixer.rb +++ b/Formula/sdl2_mixer.rb @@ -3,7 +3,7 @@ class Sdl2Mixer < Formula homepage "https://www.libsdl.org/projects/SDL_mixer/" url "https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.1.tar.gz" sha256 "5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f" - head "https://hg.libsdl.org/SDL_mixer", :using => :hg + head "https://hg.libsdl.org/SDL_mixer", using: :hg bottle do cellar :any diff --git a/Formula/sdl_rtf.rb b/Formula/sdl_rtf.rb index 2e028b8323ed3..b236a70c4aef7 100644 --- a/Formula/sdl_rtf.rb +++ b/Formula/sdl_rtf.rb @@ -11,7 +11,7 @@ class SdlRtf < Formula sha256 "9d077d10fc0102738e3c7d445cf2c8290150f98b4fb92e1b72bb3e5857dc3b3e" => :mavericks end - head "https://hg.libsdl.org/SDL_rtf", :using => :hg + head "https://hg.libsdl.org/SDL_rtf", using: :hg depends_on "sdl" diff --git a/Formula/sdl_sound.rb b/Formula/sdl_sound.rb index def97705f219d..b182cfdf4a598 100644 --- a/Formula/sdl_sound.rb +++ b/Formula/sdl_sound.rb @@ -14,7 +14,7 @@ class SdlSound < Formula end head do - url "https://hg.icculus.org/icculus/SDL_sound", :using => :hg + url "https://hg.icculus.org/icculus/SDL_sound", using: :hg depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/selecta.rb b/Formula/selecta.rb index 8624d3130fde7..e381951feab74 100644 --- a/Formula/selecta.rb +++ b/Formula/selecta.rb @@ -6,7 +6,7 @@ class Selecta < Formula bottle :unneeded - depends_on :ruby => "1.9" + depends_on ruby: "1.9" def install bin.install "selecta" diff --git a/Formula/selenium-server-standalone.rb b/Formula/selenium-server-standalone.rb index f224a6a705f38..2a722c1a70e73 100644 --- a/Formula/selenium-server-standalone.rb +++ b/Formula/selenium-server-standalone.rb @@ -11,7 +11,7 @@ def install bin.write_jar_script libexec/"selenium-server-standalone-#{version}.jar", "selenium-server" end - plist_options :manual => "selenium-server -p 4444" + plist_options manual: "selenium-server -p 4444" def plist; <<-EOS.undent diff --git a/Formula/ser2net.rb b/Formula/ser2net.rb index d0c3d1e9de85c..1ce70168d8ea2 100644 --- a/Formula/ser2net.rb +++ b/Formula/ser2net.rb @@ -27,7 +27,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "ser2net -p 12345" + plist_options manual: "ser2net -p 12345" def plist; <<-EOS.undent diff --git a/Formula/serf.rb b/Formula/serf.rb index fb4cccc2e976c..d0a336408b597 100644 --- a/Formula/serf.rb +++ b/Formula/serf.rb @@ -4,8 +4,8 @@ class Serf < Formula desc "Service orchestration and management tool" homepage "https://serfdom.io/" url "https://github.com/hashicorp/serf.git", - :tag => "v0.8.0", - :revision => "b9642a47e6139e50548b6f14588a1a3c0839660a" + tag: "v0.8.0", + revision: "b9642a47e6139e50548b6f14588a1a3c0839660a" head "https://github.com/hashicorp/serf.git" @@ -20,82 +20,82 @@ class Serf < Formula go_resource "github.com/mitchellh/iochan" do url "https://github.com/mitchellh/iochan.git", - :revision => "87b45ffd0e9581375c491fef3d32130bb15c5bd7" + revision: "87b45ffd0e9581375c491fef3d32130bb15c5bd7" end go_resource "github.com/armon/circbuf" do url "https://github.com/armon/circbuf.git", - :revision => "bbbad097214e2918d8543d5201d12bfd7bca254d" + revision: "bbbad097214e2918d8543d5201d12bfd7bca254d" end go_resource "github.com/armon/go-metrics" do url "https://github.com/armon/go-metrics.git", - :revision => "345426c77237ece5dab0e1605c3e4b35c3f54757" + revision: "345426c77237ece5dab0e1605c3e4b35c3f54757" end go_resource "github.com/armon/go-radix" do url "https://github.com/armon/go-radix.git", - :revision => "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2" + revision: "4239b77079c7b5d1243b7b4736304ce8ddb6f0f2" end go_resource "github.com/bgentry/speakeasy" do url "https://github.com/bgentry/speakeasy.git", - :revision => "36e9cfdd690967f4f690c6edcc9ffacd006014a0" + revision: "36e9cfdd690967f4f690c6edcc9ffacd006014a0" end go_resource "github.com/hashicorp/go-msgpack" do url "https://github.com/hashicorp/go-msgpack.git", - :revision => "fa3f63826f7c23912c15263591e65d54d080b458" + revision: "fa3f63826f7c23912c15263591e65d54d080b458" end go_resource "github.com/hashicorp/go-syslog" do url "https://github.com/hashicorp/go-syslog.git", - :revision => "42a2b573b664dbf281bd48c3cc12c086b17a39ba" + revision: "42a2b573b664dbf281bd48c3cc12c086b17a39ba" end go_resource "github.com/hashicorp/go.net" do url "https://github.com/hashicorp/go.net.git", - :revision => "104dcad90073cd8d1e6828b2af19185b60cf3e29" + revision: "104dcad90073cd8d1e6828b2af19185b60cf3e29" end go_resource "github.com/hashicorp/logutils" do url "https://github.com/hashicorp/logutils.git", - :revision => "0dc08b1671f34c4250ce212759ebd880f743d883" + revision: "0dc08b1671f34c4250ce212759ebd880f743d883" end go_resource "github.com/hashicorp/mdns" do url "https://github.com/hashicorp/mdns.git", - :revision => "9d85cf22f9f8d53cb5c81c1b2749f438b2ee333f" + revision: "9d85cf22f9f8d53cb5c81c1b2749f438b2ee333f" end go_resource "github.com/hashicorp/memberlist" do url "https://github.com/hashicorp/memberlist.git", - :revision => "9888dc523910e5d22c5be4f6e34520943df21809" + revision: "9888dc523910e5d22c5be4f6e34520943df21809" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "56b76bdf51f7708750eac80fa38b952bb9f32639" + revision: "56b76bdf51f7708750eac80fa38b952bb9f32639" end go_resource "github.com/miekg/dns" do url "https://github.com/miekg/dns.git", - :revision => "4687536c727745d43759e8baae72cccf716f813a" + revision: "4687536c727745d43759e8baae72cccf716f813a" end go_resource "github.com/mitchellh/cli" do url "https://github.com/mitchellh/cli.git", - :revision => "cb6853d606ea4a12a15ac83cc43503df99fd28fb" + revision: "cb6853d606ea4a12a15ac83cc43503df99fd28fb" end go_resource "github.com/mitchellh/mapstructure" do url "https://github.com/mitchellh/mapstructure.git", - :revision => "281073eb9eb092240d33ef253c404f1cca550309" + revision: "281073eb9eb092240d33ef253c404f1cca550309" end go_resource "github.com/ryanuber/columnize" do url "https://github.com/ryanuber/columnize.git", - :revision => "983d3a5fab1bf04d1b412465d2d9f8430e2e917e" + revision: "983d3a5fab1bf04d1b412465d2d9f8430e2e917e" end def install diff --git a/Formula/serialosc.rb b/Formula/serialosc.rb index 858a587cfbbb9..a84bd8cf5b507 100644 --- a/Formula/serialosc.rb +++ b/Formula/serialosc.rb @@ -2,8 +2,8 @@ class Serialosc < Formula desc "Opensound control server for monome devices" homepage "http://monome.org/docs/osc/" url "https://github.com/monome/serialosc.git", - :tag => "v1.4", - :revision => "c46a0fa5ded4ed9dff57a47d77ecb54281e2e2ea" + tag: "v1.4", + revision: "c46a0fa5ded4ed9dff57a47d77ecb54281e2e2ea" head "https://github.com/monome/serialosc.git" bottle do diff --git a/Formula/serveit.rb b/Formula/serveit.rb index 76910c5b524f6..006168cc19b35 100644 --- a/Formula/serveit.rb +++ b/Formula/serveit.rb @@ -7,7 +7,7 @@ class Serveit < Formula bottle :unneeded - depends_on :ruby => "1.9" + depends_on ruby: "1.9" def install bin.install "serveit" diff --git a/Formula/sf-pwgen.rb b/Formula/sf-pwgen.rb index da6c11e6c97da..5ba41b9cfc0ea 100644 --- a/Formula/sf-pwgen.rb +++ b/Formula/sf-pwgen.rb @@ -4,7 +4,7 @@ class SfPwgen < Formula url "https://bitbucket.org/anders/sf-pwgen/downloads/sf-pwgen-1.3.tar.gz" sha256 "0489dace9de7ad65bf545e774dbf67b6d24cecdcbd32fe5d41397140ccf3aa84" - head "https://bitbucket.org/anders/sf-pwgen", :using => :hg + head "https://bitbucket.org/anders/sf-pwgen", using: :hg bottle do cellar :any_skip_relocation @@ -14,7 +14,7 @@ class SfPwgen < Formula sha256 "5b91f63b28d364f5a09b7d11db9a1b3de1958e858d51f99ed9ce7e235aa74936" => :mountain_lion end - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion def install system "make" diff --git a/Formula/sfml.rb b/Formula/sfml.rb index 2f4e529bd1e7d..62d1a72c29acd 100644 --- a/Formula/sfml.rb +++ b/Formula/sfml.rb @@ -23,7 +23,7 @@ class Sfml < Formula depends_on "openal-soft" => :optional # https://github.com/Homebrew/homebrew/issues/40301 - depends_on :macos => :lion + depends_on macos: :lion def install args = std_cmake_args diff --git a/Formula/shadowsocks-libev.rb b/Formula/shadowsocks-libev.rb index 1a70149432c99..ad51917f94856 100644 --- a/Formula/shadowsocks-libev.rb +++ b/Formula/shadowsocks-libev.rb @@ -41,7 +41,7 @@ def install system "make", "install" end - plist_options :manual => "#{HOMEBREW_PREFIX}/opt/shadowsocks-libev/bin/ss-local -c #{HOMEBREW_PREFIX}/etc/shadowsocks-libev.json" + plist_options manual: "#{HOMEBREW_PREFIX}/opt/shadowsocks-libev/bin/ss-local -c #{HOMEBREW_PREFIX}/etc/shadowsocks-libev.json" def plist; <<-EOS.undent diff --git a/Formula/shairport-sync.rb b/Formula/shairport-sync.rb index b5e363739b407..b0ea867bd1abe 100644 --- a/Formula/shairport-sync.rb +++ b/Formula/shairport-sync.rb @@ -3,7 +3,7 @@ class ShairportSync < Formula homepage "https://github.com/mikebrady/shairport-sync" url "https://github.com/mikebrady/shairport-sync/archive/2.8.4.tar.gz" sha256 "80dd94c5f37b43e9b157dd5335f8edaf11109859d0144e0046c7b86fe88f6547" - head "https://github.com/mikebrady/shairport-sync.git", :branch => "development" + head "https://github.com/mikebrady/shairport-sync.git", branch: "development" bottle do cellar :any diff --git a/Formula/shibboleth-sp.rb b/Formula/shibboleth-sp.rb index f311346d0fe26..3e03d6669e041 100644 --- a/Formula/shibboleth-sp.rb +++ b/Formula/shibboleth-sp.rb @@ -11,7 +11,7 @@ class ShibbolethSp < Formula option "with-apache-22", "Build mod_shib_22.so instead of mod_shib_24.so" - depends_on :macos => :yosemite + depends_on macos: :yosemite depends_on "curl" => "with-openssl" depends_on "opensaml" depends_on "xml-tooling-c" @@ -43,7 +43,7 @@ def install system "make", "install" end - plist_options :startup => true, :manual => "shibd" + plist_options startup: true, manual: "shibd" def plist; <<-EOS.undent diff --git a/Formula/shiboken.rb b/Formula/shiboken.rb index f7891b55dc219..5f06e3f25776a 100644 --- a/Formula/shiboken.rb +++ b/Formula/shiboken.rb @@ -20,8 +20,8 @@ class Shiboken < Formula # don't use depends_on :python because then bottles install Homebrew's python option "without-python", "Build without python 2 support" - depends_on :python => :recommended if MacOS.version <= :snow_leopard - depends_on :python3 => :optional + depends_on python: :recommended if MacOS.version <= :snow_leopard + depends_on python3: :optional def install # As of 1.1.1 the install fails unless you do an out of tree build and put diff --git a/Formula/sic.rb b/Formula/sic.rb index 28963f18e1899..31e679a29735d 100644 --- a/Formula/sic.rb +++ b/Formula/sic.rb @@ -4,7 +4,7 @@ class Sic < Formula url "http://dl.suckless.org/tools/sic-1.2.tar.gz" sha256 "ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185" - head "http://git.suckless.org/sic", :using => :git + head "http://git.suckless.org/sic", using: :git bottle do cellar :any_skip_relocation diff --git a/Formula/sickbeard.rb b/Formula/sickbeard.rb index dbb8fb338915d..6c398c4be1c08 100644 --- a/Formula/sickbeard.rb +++ b/Formula/sickbeard.rb @@ -38,7 +38,7 @@ def install (bin+"sickbeard").write(startup_script) end - plist_options :manual => "sickbeard" + plist_options manual: "sickbeard" def plist; <<-EOS.undent diff --git a/Formula/sift.rb b/Formula/sift.rb index ceff96000eca0..b3a794d979ee2 100644 --- a/Formula/sift.rb +++ b/Formula/sift.rb @@ -17,22 +17,22 @@ class Sift < Formula go_resource "github.com/svent/go-flags" do url "https://github.com/svent/go-flags.git", - :revision => "4bcbad344f0318adaf7aabc16929701459009aa3" + revision: "4bcbad344f0318adaf7aabc16929701459009aa3" end go_resource "github.com/svent/go-nbreader" do url "https://github.com/svent/go-nbreader.git", - :revision => "7cef48da76dca6a496faa7fe63e39ed665cbd219" + revision: "7cef48da76dca6a496faa7fe63e39ed665cbd219" end go_resource "github.com/svent/sift" do url "https://github.com/svent/sift.git", - :revision => "2d175c4137cad933fa40e0af69020bd658ef5fb3" + revision: "2d175c4137cad933fa40e0af69020bd658ef5fb3" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "1f22c0103821b9390939b6776727195525381532" + revision: "1f22c0103821b9390939b6776727195525381532" end def install diff --git a/Formula/silk.rb b/Formula/silk.rb index dbff6f560c244..2bf9d445f28fb 100644 --- a/Formula/silk.rb +++ b/Formula/silk.rb @@ -17,7 +17,7 @@ class Silk < Formula depends_on "glib" depends_on "libfixbuf" depends_on "yaf" - depends_on :python => :optional + depends_on python: :optional def install args = %W[ diff --git a/Formula/sip.rb b/Formula/sip.rb index dcc8071e94e68..7113ebad28260 100644 --- a/Formula/sip.rb +++ b/Formula/sip.rb @@ -3,7 +3,7 @@ class Sip < Formula homepage "https://www.riverbankcomputing.com/software/sip/intro" url "https://downloads.sourceforge.net/project/pyqt/sip/sip-4.18.1/sip-4.18.1.tar.gz" sha256 "9bce7a2dbf7f105bf68ad1bab58eebc0ce33087ec40396da756463f086ffa290" - head "https://www.riverbankcomputing.com/hg/sip", :using => :hg + head "https://www.riverbankcomputing.com/hg/sip", using: :hg bottle do cellar :any_skip_relocation @@ -14,8 +14,8 @@ class Sip < Formula end option "without-python", "Build without python2 support" - depends_on :python => :recommended if MacOS.version <= :snow_leopard - depends_on :python3 => :optional + depends_on python: :recommended if MacOS.version <= :snow_leopard + depends_on python3: :optional def install if build.without?("python3") && build.without?("python") diff --git a/Formula/slackcat.rb b/Formula/slackcat.rb index da84e5cd237d0..7069f61bcc6ab 100644 --- a/Formula/slackcat.rb +++ b/Formula/slackcat.rb @@ -17,32 +17,32 @@ class Slackcat < Formula go_resource "github.com/bluele/slack" do url "https://github.com/bluele/slack.git", - :revision => "ffdcd19858d03d5ebabba5bead2b5dfb18b2c73f" + revision: "ffdcd19858d03d5ebabba5bead2b5dfb18b2c73f" end go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "1efa31f08b9333f1bd4882d61f9d668a70cd902e" + revision: "1efa31f08b9333f1bd4882d61f9d668a70cd902e" end go_resource "github.com/fatih/color" do url "https://github.com/fatih/color.git", - :revision => "87d4004f2ab62d0d255e0a38f1680aa534549fe3" + revision: "87d4004f2ab62d0d255e0a38f1680aa534549fe3" end go_resource "github.com/mattn/go-colorable" do url "https://github.com/mattn/go-colorable.git", - :revision => "9056b7a9f2d1f2d96498d6d146acd1f9d5ed3d59" + revision: "9056b7a9f2d1f2d96498d6d146acd1f9d5ed3d59" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "56b76bdf51f7708750eac80fa38b952bb9f32639" + revision: "56b76bdf51f7708750eac80fa38b952bb9f32639" end go_resource "github.com/skratchdot/open-golang" do url "https://github.com/skratchdot/open-golang.git", - :revision => "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c" + revision: "75fb7ed4208cf72d323d7d02fd1a5964a7a9073c" end def install diff --git a/Formula/sleuthkit.rb b/Formula/sleuthkit.rb index df7750cb54824..9408deb9a3340 100644 --- a/Formula/sleuthkit.rb +++ b/Formula/sleuthkit.rb @@ -3,7 +3,7 @@ class Sleuthkit < Formula homepage "http://www.sleuthkit.org/" url "https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-4.3.0.tar.gz" sha256 "64a57a44955e91300e1ae69b34e8702afda0fb5bd72e2116429875c9f5f28980" - head "https://github.com/sleuthkit/sleuthkit.git", :branch => "develop" + head "https://github.com/sleuthkit/sleuthkit.git", branch: "develop" bottle do cellar :any @@ -13,14 +13,14 @@ class Sleuthkit < Formula sha256 "c6045be0a652903ab303584e521aaae53a7fdb82af2b008408017749a22beacb" => :mavericks end - conflicts_with "irods", :because => "both install `ils`" + conflicts_with "irods", because: "both install `ils`" option "with-jni", "Build Sleuthkit with JNI bindings" option "with-debug", "Build debug version" if build.with? "jni" depends_on :java - depends_on :ant => :build + depends_on ant: :build end depends_on "autoconf" => :build @@ -30,7 +30,7 @@ class Sleuthkit < Formula depends_on "libewf" => :optional conflicts_with "ffind", - :because => "both install a 'ffind' executable." + because: "both install a 'ffind' executable." def install ENV.append_to_cflags "-DNDEBUG" if build.without? "debug" diff --git a/Formula/slimerjs.rb b/Formula/slimerjs.rb index 7074931e6e455..d48fea4391f3a 100644 --- a/Formula/slimerjs.rb +++ b/Formula/slimerjs.rb @@ -10,7 +10,7 @@ def self.firefox_installation paths.find { |p| File.exist? File.expand_path(p) } end - satisfy(:build_env => false) { FirefoxRequirement.firefox_installation } + satisfy(build_env: false) { FirefoxRequirement.firefox_installation } def message "Firefox must be available." @@ -32,7 +32,7 @@ class Slimerjs < Formula bottle :unneeded # Min supported OS X version by Firefox is 10.6. - depends_on :macos => :leopard + depends_on macos: :leopard depends_on FirefoxRequirement def install diff --git a/Formula/smpeg.rb b/Formula/smpeg.rb index 29d099bac5d85..72e3fe4862288 100644 --- a/Formula/smpeg.rb +++ b/Formula/smpeg.rb @@ -1,7 +1,7 @@ class Smpeg < Formula desc "SDL MPEG Player Library" homepage "https://icculus.org/smpeg/" - url "svn://svn.icculus.org/smpeg/tags/release_0_4_5/", :revision => "399" + url "svn://svn.icculus.org/smpeg/tags/release_0_4_5/", revision: "399" bottle do cellar :any diff --git a/Formula/smpeg2.rb b/Formula/smpeg2.rb index ab10cf421ab0d..901eb043a78ef 100644 --- a/Formula/smpeg2.rb +++ b/Formula/smpeg2.rb @@ -1,7 +1,7 @@ class Smpeg2 < Formula desc "SDL MPEG Player Library" homepage "https://icculus.org/smpeg/" - url "svn://svn.icculus.org/smpeg/tags/release_2_0_0/", :revision => "408" + url "svn://svn.icculus.org/smpeg/tags/release_2_0_0/", revision: "408" head "svn://svn.icculus.org/smpeg/trunk" bottle do diff --git a/Formula/snakemake.rb b/Formula/snakemake.rb index 2e36ebb13e93c..a5b840425ca47 100644 --- a/Formula/snakemake.rb +++ b/Formula/snakemake.rb @@ -19,7 +19,7 @@ def install system "python3", *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"]) end test do diff --git a/Formula/solr.rb b/Formula/solr.rb index 6e1b03a5cb466..ba7547bb1b29a 100644 --- a/Formula/solr.rb +++ b/Formula/solr.rb @@ -31,7 +31,7 @@ def install end end - plist_options :manual => "solr start" + plist_options manual: "solr start" def plist; <<-EOS.undent diff --git a/Formula/sonarqube.rb b/Formula/sonarqube.rb index d50b1507eb602..f5a19aaeed782 100644 --- a/Formula/sonarqube.rb +++ b/Formula/sonarqube.rb @@ -6,7 +6,7 @@ class Sonarqube < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install # Delete native bin directories for other systems @@ -29,7 +29,7 @@ def install end end - plist_options :manual => "sonar console" + plist_options manual: "sonar console" def plist; <<-EOS.undent diff --git a/Formula/sourcekitten.rb b/Formula/sourcekitten.rb index 14831ba0f3d18..8d6636a95fec9 100644 --- a/Formula/sourcekitten.rb +++ b/Formula/sourcekitten.rb @@ -2,8 +2,8 @@ class Sourcekitten < Formula desc "Framework and command-line tool for interacting with SourceKit" homepage "https://github.com/jpsim/SourceKitten" url "https://github.com/jpsim/SourceKitten.git", - :tag => "0.13.0", - :revision => "3a70e6b718908d20553df2351f209d966df0ead7" + tag: "0.13.0", + revision: "3a70e6b718908d20553df2351f209d966df0ead7" head "https://github.com/jpsim/SourceKitten.git" bottle do @@ -11,7 +11,7 @@ class Sourcekitten < Formula sha256 "6a1b1dfd5844e55e6282f32e3ca743af19855a645f8c6ccbf57b8944a99e6904" => :el_capitan end - depends_on :xcode => "7.3" + depends_on xcode: "7.3" def install system "make", "prefix_install", "PREFIX=#{prefix}", "TEMPORARY_FOLDER=#{buildpath}/SourceKitten.dst" diff --git a/Formula/speech-tools.rb b/Formula/speech-tools.rb index 7b8d7bce3a3e0..7eaf4328efc1e 100644 --- a/Formula/speech-tools.rb +++ b/Formula/speech-tools.rb @@ -12,7 +12,7 @@ class SpeechTools < Formula sha256 "16895a28e900f2b7d209d2c4dda0228024c6da9627189f356c631f1b8c990c27" => :mountain_lion end - conflicts_with "align", :because => "both install `align` binaries" + conflicts_with "align", because: "both install `align` binaries" def install ENV.deparallelize diff --git a/Formula/sphinx-doc.rb b/Formula/sphinx-doc.rb index 8b54d1d101f08..a337766ef6641 100644 --- a/Formula/sphinx-doc.rb +++ b/Formula/sphinx-doc.rb @@ -81,7 +81,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"]) end test do diff --git a/Formula/sphinx.rb b/Formula/sphinx.rb index e93b2b5b71eb9..07e03d2606d30 100644 --- a/Formula/sphinx.rb +++ b/Formula/sphinx.rb @@ -21,13 +21,13 @@ class Sphinx < Formula deprecated_option "id64" => "with-id64" depends_on "re2" => :optional - depends_on :mysql => :optional - depends_on :postgresql => :optional + depends_on mysql: :optional + depends_on postgresql: :optional depends_on "openssl" if build.with? "mysql" resource "stemmer" do url "https://github.com/snowballstem/snowball.git", - :revision => "9b58e92c965cd7e3208247ace3cc00d173397f3c" + revision: "9b58e92c965cd7e3208247ace3cc00d173397f3c" end fails_with :llvm do diff --git a/Formula/spidermonkey.rb b/Formula/spidermonkey.rb index 042717cc5796f..4967a8a2eaadd 100644 --- a/Formula/spidermonkey.rb +++ b/Formula/spidermonkey.rb @@ -17,7 +17,7 @@ class Spidermonkey < Formula sha256 "a48533ba8f2e0edbb635d5b7270740c8f86c3800e71489ed02cbf9869c874748" => :mavericks end - conflicts_with "narwhal", :because => "both install a js binary" + conflicts_with "narwhal", because: "both install a js binary" depends_on "readline" depends_on "nspr" diff --git a/Formula/spim.rb b/Formula/spim.rb index 24c3cec61e73c..e01a3e71df3a0 100644 --- a/Formula/spim.rb +++ b/Formula/spim.rb @@ -2,7 +2,7 @@ class Spim < Formula desc "MIPS32 simulator" homepage "http://spimsimulator.sourceforge.net/" # No source code tarball exists - url "http://svn.code.sf.net/p/spimsimulator/code", :revision => 641 + url "http://svn.code.sf.net/p/spimsimulator/code", revision: 641 version "9.1.13" bottle do diff --git a/Formula/spoof-mac.rb b/Formula/spoof-mac.rb index d36cce8ec85ef..7436b40b2b68c 100644 --- a/Formula/spoof-mac.rb +++ b/Formula/spoof-mac.rb @@ -29,7 +29,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"]) end def caveats; <<-EOS.undent @@ -46,7 +46,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true, :manual => "spoof-mac" + plist_options startup: true, manual: "spoof-mac" def plist; <<-EOS.undent diff --git a/Formula/sqlite.rb b/Formula/sqlite.rb index de3259c0553dd..a39cccb4890b4 100644 --- a/Formula/sqlite.rb +++ b/Formula/sqlite.rb @@ -32,7 +32,7 @@ class Sqlite < Formula depends_on "icu4c" => :optional resource "functions" do - url "https://sqlite.org/contrib/download/extension-functions.c?get=25", :using => :nounzip + url "https://sqlite.org/contrib/download/extension-functions.c?get=25", using: :nounzip version "2010-01-06" sha256 "991b40fe8b2799edc215f7260b890f14a833512c9d9896aa080891330ffe4052" end diff --git a/Formula/sqoop.rb b/Formula/sqoop.rb index 4a65cdf637ac8..563ac9925167d 100644 --- a/Formula/sqoop.rb +++ b/Formula/sqoop.rb @@ -7,7 +7,7 @@ class Sqoop < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" depends_on "hadoop" depends_on "hbase" depends_on "hive" diff --git a/Formula/squid.rb b/Formula/squid.rb index f9ce5e1160f43..b123554030541 100644 --- a/Formula/squid.rb +++ b/Formula/squid.rb @@ -12,7 +12,7 @@ class Squid < Formula end head do - url "lp:squid", :using => :bzr + url "lp:squid", using: :bzr depends_on "autoconf" => :build depends_on "automake" => :build @@ -52,7 +52,7 @@ def install system "make", "install" end - plist_options :manual => "squid" + plist_options manual: "squid" def plist; <<-EOS.undent diff --git a/Formula/src.rb b/Formula/src.rb index 1a935b90f17a2..bb210a32381e0 100644 --- a/Formula/src.rb +++ b/Formula/src.rb @@ -16,7 +16,7 @@ class Src < Formula depends_on "asciidoc" => :build end - conflicts_with "srclib", :because => "both install a 'src' binary" + conflicts_with "srclib", because: "both install a 'src' binary" depends_on "rcs" diff --git a/Formula/srclib.rb b/Formula/srclib.rb index e2c9194bb3b58..a6a03c38cc7a5 100644 --- a/Formula/srclib.rb +++ b/Formula/srclib.rb @@ -15,164 +15,164 @@ class Srclib < Formula sha256 "2e8c68f8948ae220448400680108083931ca78273fd1f320b084879d14a567bb" => :mavericks end - conflicts_with "src", :because => "both install a 'src' binary" + conflicts_with "src", because: "both install a 'src' binary" - depends_on :hg => :build + depends_on hg: :build depends_on "go" => :build go_resource "code.google.com/p/rog-go" do url "https://code.google.com/p/rog-go", - :revision => "7088342b70fc1995ada4986ef2d093f340439c78", :using => :hg + revision: "7088342b70fc1995ada4986ef2d093f340439c78", using: :hg end go_resource "github.com/Sirupsen/logrus" do url "https://github.com/Sirupsen/logrus", - :revision => "cdd90c38c6e3718c731b555b9c3ed1becebec3ba", :using => :git + revision: "cdd90c38c6e3718c731b555b9c3ed1becebec3ba", using: :git end go_resource "github.com/alecthomas/binary" do url "https://github.com/alecthomas/binary", - :revision => "21c37b530bec7c512af0208bfb15f34400301682", :using => :git + revision: "21c37b530bec7c512af0208bfb15f34400301682", using: :git end go_resource "github.com/alecthomas/unsafeslice" do url "https://github.com/alecthomas/unsafeslice", - :revision => "a2ace32dbd4787714f87adb14a8aa369142efac5", :using => :git + revision: "a2ace32dbd4787714f87adb14a8aa369142efac5", using: :git end go_resource "github.com/aybabtme/color" do url "https://github.com/aybabtme/color", - :revision => "28ad4cc941d69a60df8d0af1233fd5a2793c2801", :using => :git + revision: "28ad4cc941d69a60df8d0af1233fd5a2793c2801", using: :git end go_resource "github.com/docker/docker" do url "https://github.com/docker/docker", - :revision => "9c505c906d318df7b5e8652c37e4df06b4f30d56", :using => :git + revision: "9c505c906d318df7b5e8652c37e4df06b4f30d56", using: :git end go_resource "github.com/fsouza/go-dockerclient" do url "https://github.com/fsouza/go-dockerclient", - :revision => "ddb122d10f547ee6cfc4ea7debff407d80abdabc", :using => :git + revision: "ddb122d10f547ee6cfc4ea7debff407d80abdabc", using: :git end go_resource "github.com/gogo/protobuf" do url "https://github.com/gogo/protobuf", - :revision => "bc946d07d1016848dfd2507f90f0859c9471681e", :using => :git + revision: "bc946d07d1016848dfd2507f90f0859c9471681e", using: :git end go_resource "github.com/google/go-querystring" do url "https://github.com/google/go-querystring", - :revision => "d8840cbb2baa915f4836edda4750050a2c0b7aea", :using => :git + revision: "d8840cbb2baa915f4836edda4750050a2c0b7aea", using: :git end go_resource "github.com/gorilla/context" do url "https://github.com/gorilla/context", - :revision => "215affda49addc4c8ef7e2534915df2c8c35c6cd", :using => :git + revision: "215affda49addc4c8ef7e2534915df2c8c35c6cd", using: :git end go_resource "github.com/inconshreveable/go-update" do url "https://github.com/inconshreveable/go-update", - :revision => "68f5725818189545231c1fd8694793d45f2fc529", :using => :git + revision: "68f5725818189545231c1fd8694793d45f2fc529", using: :git end go_resource "github.com/kardianos/osext" do url "https://github.com/kardianos/osext", - :revision => "efacde03154693404c65e7aa7d461ac9014acd0c", :using => :git + revision: "efacde03154693404c65e7aa7d461ac9014acd0c", using: :git end go_resource "github.com/kr/binarydist" do url "https://github.com/kr/binarydist", - :revision => "9955b0ab8708602d411341e55fffd7e0700f86bd", :using => :git + revision: "9955b0ab8708602d411341e55fffd7e0700f86bd", using: :git end go_resource "github.com/kr/fs" do url "https://github.com/kr/fs", - :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b", :using => :git + revision: "2788f0dbd16903de03cb8186e5c7d97b69ad387b", using: :git end go_resource "github.com/petar/GoLLRB" do url "https://github.com/petar/GoLLRB", - :revision => "53be0d36a84c2a886ca057d34b6aa4468df9ccb4", :using => :git + revision: "53be0d36a84c2a886ca057d34b6aa4468df9ccb4", using: :git end go_resource "github.com/peterbourgon/diskv" do url "https://github.com/peterbourgon/diskv", - :revision => "72aa5da9f7d1125b480b83c6dc5ad09a1f04508c", :using => :git + revision: "72aa5da9f7d1125b480b83c6dc5ad09a1f04508c", using: :git end go_resource "github.com/peterh/liner" do url "https://github.com/peterh/liner", - :revision => "1bb0d1c1a25ed393d8feb09bab039b2b1b1fbced", :using => :git + revision: "1bb0d1c1a25ed393d8feb09bab039b2b1b1fbced", using: :git end go_resource "github.com/smartystreets/mafsa" do url "https://github.com/smartystreets/mafsa", - :revision => "ab6b5abc58c9d82560b127e23bfd3e39a25e8f05", :using => :git + revision: "ab6b5abc58c9d82560b127e23bfd3e39a25e8f05", using: :git end go_resource "github.com/sourcegraph/go-github" do url "https://github.com/sourcegraph/go-github", - :revision => "c6edc3e74760ee3c825f46ad9d4eb3e40469cb92", :using => :git + revision: "c6edc3e74760ee3c825f46ad9d4eb3e40469cb92", using: :git end go_resource "github.com/sourcegraph/httpcache" do url "https://github.com/sourcegraph/httpcache", - :revision => "e2fdd7ddabf459df5cd87bd18a4616ae7084763e", :using => :git + revision: "e2fdd7ddabf459df5cd87bd18a4616ae7084763e", using: :git end go_resource "github.com/sourcegraph/mux" do url "https://github.com/sourcegraph/mux", - :revision => "dd22f369d469f65c3946889f5d8a1fb3933192e9", :using => :git + revision: "dd22f369d469f65c3946889f5d8a1fb3933192e9", using: :git end go_resource "github.com/sqs/fileset" do url "https://github.com/sqs/fileset", - :revision => "4317e899aa9438ba7603a6e322389571cb3ffdff", :using => :git + revision: "4317e899aa9438ba7603a6e322389571cb3ffdff", using: :git end go_resource "golang.org/x/tools" do url "https://go.googlesource.com/tools", - :revision => "a18bb1d557dac8d19062dd0240b44ab09cfa14fd", :using => :git + revision: "a18bb1d557dac8d19062dd0240b44ab09cfa14fd", using: :git end go_resource "sourcegraph.com/sourcegraph/go-diff" do url "https://github.com/sourcegraph/go-diff", - :revision => "07d9929e8741ec84aa708aba12a4b1efd3a7a0dd", :using => :git + revision: "07d9929e8741ec84aa708aba12a4b1efd3a7a0dd", using: :git end go_resource "sourcegraph.com/sourcegraph/go-flags" do url "https://github.com/sourcegraph/go-flags", - :revision => "f59c328da6215a0b6acf0441ef19e361660ff405", :using => :git + revision: "f59c328da6215a0b6acf0441ef19e361660ff405", using: :git end go_resource "sourcegraph.com/sourcegraph/go-nnz" do url "https://github.com/sourcegraph/go-nnz", - :revision => "62f271ba06026cf310d94721425eda2ec72f894c", :using => :git + revision: "62f271ba06026cf310d94721425eda2ec72f894c", using: :git end go_resource "sourcegraph.com/sourcegraph/go-sourcegraph" do url "https://github.com/sourcegraph/go-sourcegraph", - :revision => "6f1cd4d2b721cff7913ed2f04bcd820590ce3b94", :using => :git + revision: "6f1cd4d2b721cff7913ed2f04bcd820590ce3b94", using: :git end go_resource "sourcegraph.com/sourcegraph/go-vcs" do url "https://github.com/sourcegraph/go-vcs", - :revision => "1dcc4655df7318c3f105f9212900e1d0c68f7424", :using => :git + revision: "1dcc4655df7318c3f105f9212900e1d0c68f7424", using: :git end go_resource "sourcegraph.com/sourcegraph/makex" do url "https://github.com/sourcegraph/makex", - :revision => "ba5e243479d710a5d378c97d007568a405d04492", :using => :git + revision: "ba5e243479d710a5d378c97d007568a405d04492", using: :git end go_resource "sourcegraph.com/sourcegraph/rwvfs" do url "https://github.com/sourcegraph/rwvfs", - :revision => "451122bc19b9f1cdfeb2f1fdccadbc33ef5aa9f7", :using => :git + revision: "451122bc19b9f1cdfeb2f1fdccadbc33ef5aa9f7", using: :git end go_resource "sourcegraph.com/sourcegraph/vcsstore" do url "https://github.com/sourcegraph/vcsstore", - :revision => "53d0c58fd11f7dc451456eb983050c58cd005268", :using => :git + revision: "53d0c58fd11f7dc451456eb983050c58cd005268", using: :git end def install @@ -192,7 +192,7 @@ def install # For test resource "srclib-sample" do url "https://github.com/sourcegraph/srclib-sample.git", - :revision => "e753b113784bf383f627394e86e4936629a3b588" + revision: "e753b113784bf383f627394e86e4936629a3b588" end test do diff --git a/Formula/ssdb.rb b/Formula/ssdb.rb index 7e39a5e034939..b595e1d0b9237 100644 --- a/Formula/ssdb.rb +++ b/Formula/ssdb.rb @@ -50,7 +50,7 @@ def install etc.install "ssdb_slave.conf" end - plist_options :manual => "ssdb-server #{HOMEBREW_PREFIX}/etc/ssdb.conf" + plist_options manual: "ssdb-server #{HOMEBREW_PREFIX}/etc/ssdb.conf" def plist; <<-EOS.undent diff --git a/Formula/ssed.rb b/Formula/ssed.rb index 7676ebc1143e3..1c0d804bf0623 100644 --- a/Formula/ssed.rb +++ b/Formula/ssed.rb @@ -11,7 +11,7 @@ class Ssed < Formula sha256 "793435451341ea1e475bde0d46745ba233df28c5ed4bd86f7761a2fad3568fba" => :mountain_lion end - conflicts_with "gnu-sed", :because => "both install share/info/sed.info" + conflicts_with "gnu-sed", because: "both install share/info/sed.info" def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/sshguard.rb b/Formula/sshguard.rb index c1913dc9dfc58..602af683d7d4f 100644 --- a/Formula/sshguard.rb +++ b/Formula/sshguard.rb @@ -43,7 +43,7 @@ def caveats end end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/sslmate.rb b/Formula/sslmate.rb index 1a53a364444e5..fbf9c381a81b0 100644 --- a/Formula/sslmate.rb +++ b/Formula/sslmate.rb @@ -76,7 +76,7 @@ def install system "make", "PREFIX=#{prefix}" system "make", "install", "PREFIX=#{prefix}" - env = { :PERL5LIB => ENV["PERL5LIB"] } + env = { PERL5LIB: ENV["PERL5LIB"] } if MacOS.version <= :snow_leopard env[:PATH] = "#{Formula["perl"].bin}:#{Formula["curl"].bin}:$PATH" end diff --git a/Formula/sslsplit.rb b/Formula/sslsplit.rb index 2896c1c2831d9..97244af319971 100644 --- a/Formula/sslsplit.rb +++ b/Formula/sslsplit.rb @@ -3,7 +3,7 @@ class Sslsplit < Formula homepage "https://www.roe.ch/SSLsplit" url "https://mirror.roe.ch/rel/sslsplit/sslsplit-0.5.0.tar.bz2" sha256 "3eb13c1d0164bf04e7602d9fc45ef7460444b953efaee3ee7d52c357adb3a89a" - head "https://github.com/droe/sslsplit.git", :branch => "develop" + head "https://github.com/droe/sslsplit.git", branch: "develop" bottle do cellar :any diff --git a/Formula/sslyze.rb b/Formula/sslyze.rb index 06e7c01a63a62..6fc77753e327b 100644 --- a/Formula/sslyze.rb +++ b/Formula/sslyze.rb @@ -12,7 +12,7 @@ class Sslyze < Formula sha256 "0fab1f496b3f52e7637e0ed8ef23d8b435b925150ca15b85899c95cf61084e8b" => :mavericks end - depends_on :arch => :x86_64 + depends_on arch: :x86_64 depends_on :python if MacOS.version <= :snow_leopard resource "nassl" do diff --git a/Formula/ssreflect.rb b/Formula/ssreflect.rb index 80ccc2acfd84a..244848035e155 100644 --- a/Formula/ssreflect.rb +++ b/Formula/ssreflect.rb @@ -1,7 +1,7 @@ class Camlp5TransitionalModeRequirement < Requirement fatal true - satisfy(:build_env => false) { !Tab.for_name("camlp5").with?("strict") } + satisfy(build_env: false) { !Tab.for_name("camlp5").with?("strict") } def message; <<-EOS.undent camlp5 must be compiled in transitional mode (instead of --strict mode): diff --git a/Formula/st.rb b/Formula/st.rb index a9d8010675d00..f2004c4774b7a 100644 --- a/Formula/st.rb +++ b/Formula/st.rb @@ -20,7 +20,7 @@ def install inreplace libexec/"bin/st", "perl -T", "perl" bin.install Dir[libexec/"bin/*"] - bin.env_script_all_files libexec/"bin", :PERL5LIB => ENV["PERL5LIB"] + bin.env_script_all_files libexec/"bin", PERL5LIB: ENV["PERL5LIB"] end test do diff --git a/Formula/stanford-ner.rb b/Formula/stanford-ner.rb index d5194387eaef6..ca2a1e1186e12 100644 --- a/Formula/stanford-ner.rb +++ b/Formula/stanford-ner.rb @@ -7,7 +7,7 @@ class StanfordNer < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install libexec.install Dir["*"] diff --git a/Formula/stanford-parser.rb b/Formula/stanford-parser.rb index 83617c81a021c..e84b2ccd2dbf2 100644 --- a/Formula/stanford-parser.rb +++ b/Formula/stanford-parser.rb @@ -7,7 +7,7 @@ class StanfordParser < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install libexec.install Dir["*"] diff --git a/Formula/stash-cli.rb b/Formula/stash-cli.rb index 0a7b148401ce9..4b545f9637dd1 100644 --- a/Formula/stash-cli.rb +++ b/Formula/stash-cli.rb @@ -7,7 +7,7 @@ class StashCli < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install Dir.glob("*.sh") do |f| diff --git a/Formula/storm.rb b/Formula/storm.rb index 13d20ecb7b2f6..228849c305e0a 100644 --- a/Formula/storm.rb +++ b/Formula/storm.rb @@ -6,7 +6,7 @@ class Storm < Formula bottle :unneeded - conflicts_with "stormssh", :because => "both install 'storm' binary" + conflicts_with "stormssh", because: "both install 'storm' binary" def install libexec.install Dir["*"] diff --git a/Formula/stormpath-cli.rb b/Formula/stormpath-cli.rb index 8d7ab153a0722..27cd508eae8c5 100644 --- a/Formula/stormpath-cli.rb +++ b/Formula/stormpath-cli.rb @@ -91,7 +91,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"]) end test do diff --git a/Formula/stormssh.rb b/Formula/stormssh.rb index 8162cbb56a4c3..5e76d7676d317 100644 --- a/Formula/stormssh.rb +++ b/Formula/stormssh.rb @@ -15,7 +15,7 @@ class Stormssh < Formula depends_on :python if MacOS.version <= :snow_leopard - conflicts_with "storm", :because => "both install 'storm' binary" + conflicts_with "storm", because: "both install 'storm' binary" resource "pycrypto" do url "https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz" @@ -77,7 +77,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"]) end test do diff --git a/Formula/subversion.rb b/Formula/subversion.rb index 4f03e56715e5f..21bf4765354ea 100644 --- a/Formula/subversion.rb +++ b/Formula/subversion.rb @@ -32,7 +32,7 @@ class Subversion < Formula depends_on "apr-util" depends_on "apr" else - depends_on :apr => :build + depends_on apr: :build end resource "serf" do @@ -42,7 +42,7 @@ class Subversion < Formula # Always build against Homebrew versions instead of system versions for consistency. depends_on "sqlite" - depends_on :python => :optional + depends_on python: :optional # Bindings require swig depends_on "swig" if build.with?("perl") || build.with?("python") || build.with?("ruby") @@ -53,7 +53,7 @@ class Subversion < Formula # Other optional dependencies depends_on "gpg-agent" => :optional - depends_on :java => :optional + depends_on java: :optional # Fix #23993 by stripping flags swig can't handle from SWIG_CPPFLAGS # Prevent "-arch ppc" from being pulled in from Perl's $Config{ccflags} diff --git a/Formula/suil.rb b/Formula/suil.rb index 9800f364ba4a4..a9a1438d19bb1 100644 --- a/Formula/suil.rb +++ b/Formula/suil.rb @@ -15,7 +15,7 @@ class Suil < Formula depends_on "lv2" depends_on "gtk+" => :recommended depends_on "qt" => :optional - depends_on :x11 => :optional + depends_on x11: :optional def install system "./waf", "configure", "--prefix=#{prefix}" diff --git a/Formula/supervisor.rb b/Formula/supervisor.rb index d4fc812eb7623..90df46304bb52 100644 --- a/Formula/supervisor.rb +++ b/Formula/supervisor.rb @@ -34,7 +34,7 @@ def install etc.install buildpath/"supervisor/skel/sample.conf" => "supervisord.ini" end - plist_options :manual => "supervisord -c #{HOMEBREW_PREFIX}/etc/supervisord.ini" + plist_options manual: "supervisord -c #{HOMEBREW_PREFIX}/etc/supervisord.ini" def plist <<-EOS.undent diff --git a/Formula/surfraw.rb b/Formula/surfraw.rb index da13290302d60..1369eb7798580 100644 --- a/Formula/surfraw.rb +++ b/Formula/surfraw.rb @@ -14,7 +14,7 @@ class Surfraw < Formula end head do - url "https://anonscm.debian.org/git/surfraw/surfraw.git", :shallow => false + url "https://anonscm.debian.org/git/surfraw/surfraw.git", shallow: false depends_on "autoconf" => :build depends_on "automake" => :build diff --git a/Formula/suricata.rb b/Formula/suricata.rb index 95a1ebdb0e079..8cabe3ab3581d 100644 --- a/Formula/suricata.rb +++ b/Formula/suricata.rb @@ -84,7 +84,7 @@ def install system "./configure", *args system "make", "install-full" - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) # Leave the magic-file: prefix in otherwise it overrides a commented out line rather than intended line. inreplace etc/"suricata/suricata.yaml", %r{magic-file: /.+/magic}, "magic-file: #{libmagic.opt_share}/misc/magic" diff --git a/Formula/swagger-codegen.rb b/Formula/swagger-codegen.rb index bd38759d0f2b7..193284c9a7ed2 100644 --- a/Formula/swagger-codegen.rb +++ b/Formula/swagger-codegen.rb @@ -13,7 +13,7 @@ class SwaggerCodegen < Formula sha256 "01614863b7c91a94b27ecccda0bf6617244c53d43cf641a4148bdead33031a33" => :mavericks end - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "maven" => :build def install diff --git a/Formula/swftools.rb b/Formula/swftools.rb index 28c3a78a7a7c4..013fa9a9eea46 100644 --- a/Formula/swftools.rb +++ b/Formula/swftools.rb @@ -21,7 +21,7 @@ class Swftools < Formula depends_on "fftw" => :optional resource "xpdf" do - url "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz", :using => :nounzip + url "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz", using: :nounzip sha256 "11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5" end diff --git a/Formula/swift.rb b/Formula/swift.rb index ace4fb58d3324..51059c3cab18a 100644 --- a/Formula/swift.rb +++ b/Formula/swift.rb @@ -36,11 +36,11 @@ class Swift < Formula end resource "clang" do - url "https://github.com/apple/swift-clang.git", :branch => "stable" + url "https://github.com/apple/swift-clang.git", branch: "stable" end resource "llvm" do - url "https://github.com/apple/swift-llvm.git", :branch => "stable" + url "https://github.com/apple/swift-llvm.git", branch: "stable" end end @@ -48,13 +48,13 @@ class Swift < Formula depends_on "cmake" => :build depends_on "ninja" => :build - depends_on :xcode => ["7.0", :build] + depends_on xcode: ["7.0", :build] # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 fails_with :gcc ("4.3".."4.6").each do |n| - fails_with :gcc => n + fails_with gcc: n end def install diff --git a/Formula/swiftgen.rb b/Formula/swiftgen.rb index a72ea7a07fea9..62f49bfc8236b 100644 --- a/Formula/swiftgen.rb +++ b/Formula/swiftgen.rb @@ -11,7 +11,7 @@ class Swiftgen < Formula sha256 "84dea0c4d8a0594f6aae49c7a8f0bc0fe7f8ba131cbdcff4239413cbf7724452" => :yosemite end - depends_on :xcode => "7.0" + depends_on xcode: "7.0" def install rake "install[#{bin},#{lib},#{pkgshare}/templates]" diff --git a/Formula/swiftlint.rb b/Formula/swiftlint.rb index cb896fd063e0f..76744f0b3ea36 100644 --- a/Formula/swiftlint.rb +++ b/Formula/swiftlint.rb @@ -2,8 +2,8 @@ class Swiftlint < Formula desc "Tool to enforce Swift style and conventions" homepage "https://github.com/realm/SwiftLint" url "https://github.com/realm/SwiftLint.git", - :tag => "0.12.0", - :revision => "0c605fb98dc94c913a1f716e1a8bcaa357f477c5" + tag: "0.12.0", + revision: "0c605fb98dc94c913a1f716e1a8bcaa357f477c5" head "https://github.com/realm/SwiftLint.git" bottle do @@ -11,7 +11,7 @@ class Swiftlint < Formula sha256 "b174799dda134addcae206c520f3242ce3733686b61669c76305064e51738614" => :el_capitan end - depends_on :xcode => "7.3" + depends_on xcode: "7.3" def install system "make", "prefix_install", "PREFIX=#{prefix}", "TEMPORARY_FOLDER=#{buildpath}/SwiftLint.dst" diff --git a/Formula/switchaudio-osx.rb b/Formula/switchaudio-osx.rb index a6339d697ea0b..930cb3a811030 100644 --- a/Formula/switchaudio-osx.rb +++ b/Formula/switchaudio-osx.rb @@ -13,8 +13,8 @@ class SwitchaudioOsx < Formula sha256 "01ca5833d2b9c29e1299517feb31ff3bebc72c6a2c409830a0007e6aadc292b3" => :mavericks end - depends_on :macos => :lion - depends_on :xcode => :build + depends_on macos: :lion + depends_on xcode: :build def install xcodebuild "-project", "AudioSwitcher.xcodeproj", diff --git a/Formula/sync_gateway.rb b/Formula/sync_gateway.rb index 5c746f4aefef0..887a7a13e19db 100644 --- a/Formula/sync_gateway.rb +++ b/Formula/sync_gateway.rb @@ -2,8 +2,8 @@ class SyncGateway < Formula desc "Make Couchbase Server a replication endpoint for Couchbase Lite" homepage "http://docs.couchbase.com/sync-gateway" url "https://github.com/couchbase/sync_gateway.git", - :tag => "1.2.1", - :revision => "26c202a800226ce599cbaf9b2fcc4576a924d45e" + tag: "1.2.1", + revision: "26c202a800226ce599cbaf9b2fcc4576a924d45e" head "https://github.com/couchbase/sync_gateway.git" diff --git a/Formula/syncthing-inotify.rb b/Formula/syncthing-inotify.rb index dc1b6bf7ba37f..4486e483a776c 100644 --- a/Formula/syncthing-inotify.rb +++ b/Formula/syncthing-inotify.rb @@ -26,7 +26,7 @@ def install end end - plist_options :manual => "syncthing-inotify" + plist_options manual: "syncthing-inotify" def plist; <<-EOS.undent diff --git a/Formula/syncthing.rb b/Formula/syncthing.rb index 5e617ed22f9c1..8ba99e7dc2a9a 100644 --- a/Formula/syncthing.rb +++ b/Formula/syncthing.rb @@ -2,8 +2,8 @@ class Syncthing < Formula desc "Open source continuous file synchronization application" homepage "https://syncthing.net/" url "https://github.com/syncthing/syncthing.git", - :tag => "v0.14.6", - :revision => "7569b75d61cb7a1f964f09aafa1c87d86554f377" + tag: "v0.14.6", + revision: "7569b75d61cb7a1f964f09aafa1c87d86554f377" head "https://github.com/syncthing/syncthing.git" @@ -27,7 +27,7 @@ def install bin.install "syncthing" end - plist_options :manual => "syncthing" + plist_options manual: "syncthing" def plist; <<-EOS.undent diff --git a/Formula/sysbench.rb b/Formula/sysbench.rb index 1ebec392b0f9a..42aa6a04babd2 100644 --- a/Formula/sysbench.rb +++ b/Formula/sysbench.rb @@ -16,8 +16,8 @@ class Sysbench < Formula depends_on "autoconf" => :build depends_on "automake" => :build depends_on "openssl" - depends_on :postgresql => :optional - depends_on :mysql => :recommended + depends_on postgresql: :optional + depends_on mysql: :recommended def install inreplace "configure.ac", "AC_PROG_LIBTOOL", "AC_PROG_RANLIB" diff --git a/Formula/szl.rb b/Formula/szl.rb index 0fb005555a8f0..3fbe2eb132547 100644 --- a/Formula/szl.rb +++ b/Formula/szl.rb @@ -12,7 +12,7 @@ class Szl < Formula sha256 "44060a3952401c38c46b7d4cdb22d975cff21b1bbf999a651f45034ab74f7f6f" => :mavericks end - depends_on :macos => :mavericks + depends_on macos: :mavericks depends_on "binutils" # For objdump depends_on "icu4c" diff --git a/Formula/tag.rb b/Formula/tag.rb index e6fb46ace4a77..23a7f33ac8706 100644 --- a/Formula/tag.rb +++ b/Formula/tag.rb @@ -12,7 +12,7 @@ class Tag < Formula sha256 "8aa970a198d4c14b310d0f2ba5dcb238699d44585205137061a21d0e7690d629" => :mavericks end - depends_on :macos => :mavericks + depends_on macos: :mavericks def install system "make" diff --git a/Formula/tailor.rb b/Formula/tailor.rb index 4f5c16981d2ce..a7445508bf526 100644 --- a/Formula/tailor.rb +++ b/Formula/tailor.rb @@ -6,7 +6,7 @@ class Tailor < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install libexec.install Dir["*"] diff --git a/Formula/talk-filters.rb b/Formula/talk-filters.rb index 6c942a565380a..d1811848c02bd 100644 --- a/Formula/talk-filters.rb +++ b/Formula/talk-filters.rb @@ -12,7 +12,7 @@ class TalkFilters < Formula sha256 "10bb0f88a6d8c6fc726677611fd115e71d9df1dcfc80e13ecab36fe1da9ee6f8" => :mountain_lion end - conflicts_with "muttils", :because => "both install `wrap` binaries" + conflicts_with "muttils", because: "both install `wrap` binaries" def install system "./configure", "--disable-debug", diff --git a/Formula/tarantool.rb b/Formula/tarantool.rb index e7f99675cdc04..1aa477bcf93aa 100644 --- a/Formula/tarantool.rb +++ b/Formula/tarantool.rb @@ -4,7 +4,7 @@ class Tarantool < Formula url "https://tarantool.org/dist/1.6/tarantool-1.6.8.653.tar.gz" version "1.6.8-653" sha256 "1c7f210dfadb8660db6ddc4bb680cd167f37e93d3747d57989850eef7f17933e" - head "https://github.com/tarantool/tarantool.git", :branch => "1.7", :shallow => false + head "https://github.com/tarantool/tarantool.git", branch: "1.7", shallow: false bottle do sha256 "47f9dbb5080b9fad24d8e4bc34d5c5e6decb386e7050aafceb47f1ba2162bfe0" => :el_capitan diff --git a/Formula/task-spooler.rb b/Formula/task-spooler.rb index 139155b83cc0e..9247deda32dce 100644 --- a/Formula/task-spooler.rb +++ b/Formula/task-spooler.rb @@ -13,7 +13,7 @@ class TaskSpooler < Formula end conflicts_with "moreutils", - :because => "both install a 'ts' executable." + because: "both install a 'ts' executable." def install system "make", "install", "PREFIX=#{prefix}" diff --git a/Formula/task.rb b/Formula/task.rb index 1508da7d72f53..c8436f640b2ea 100644 --- a/Formula/task.rb +++ b/Formula/task.rb @@ -4,7 +4,7 @@ class Task < Formula url "https://taskwarrior.org/download/task-2.5.1.tar.gz" sha256 "d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15" - head "https://git.tasktools.org/scm/tm/task.git", :branch => "2.6.0", :shallow => false + head "https://git.tasktools.org/scm/tm/task.git", branch: "2.6.0", shallow: false bottle do sha256 "07aa2c19ae6d7a9a46b286bfc48fa970aa9a9e0237e034bbaab354dcfc4f6848" => :el_capitan diff --git a/Formula/taylor.rb b/Formula/taylor.rb index a981c185d5ba4..32f9b8a61d9dd 100644 --- a/Formula/taylor.rb +++ b/Formula/taylor.rb @@ -10,7 +10,7 @@ class Taylor < Formula sha256 "892f7e3145820f4ac482bef208b7a96435dfae38efe7bb2e1723b27a244c19cb" => :el_capitan end - depends_on :xcode => ["7.3"] + depends_on xcode: ["7.3"] def install system "make", "install", "PREFIX=#{prefix}", "MAKE_SYMLINKS=no" diff --git a/Formula/tbb.rb b/Formula/tbb.rb index 800cec7b78bce..e378c08392eac 100644 --- a/Formula/tbb.rb +++ b/Formula/tbb.rb @@ -18,7 +18,7 @@ class Tbb < Formula # requires malloc features first introduced in Lion # https://github.com/Homebrew/homebrew/issues/32274 - depends_on :macos => :lion + depends_on macos: :lion depends_on :python if MacOS.version <= :snow_leopard depends_on "swig" => :build diff --git a/Formula/td.rb b/Formula/td.rb index 32483be03b091..60210e385c8ff 100644 --- a/Formula/td.rb +++ b/Formula/td.rb @@ -18,12 +18,12 @@ class Td < Formula go_resource "github.com/codegangsta/cli" do url "https://github.com/codegangsta/cli.git", - :revision => "bca61c476e3c752594983e4c9bcd5f62fb09f157" + revision: "bca61c476e3c752594983e4c9bcd5f62fb09f157" end go_resource "github.com/daviddengcn/go-colortext" do url "https://github.com/daviddengcn/go-colortext.git", - :revision => "3b18c8575a432453d41fdafb340099fff5bba2f7" + revision: "3b18c8575a432453d41fdafb340099fff5bba2f7" end def install diff --git a/Formula/tee-clc.rb b/Formula/tee-clc.rb index 18d1d37f665d8..0210c2e434250 100644 --- a/Formula/tee-clc.rb +++ b/Formula/tee-clc.rb @@ -6,7 +6,7 @@ class TeeClc < Formula bottle :unneeded - conflicts_with "tiny-fugue", :because => "both install a `tf` binary" + conflicts_with "tiny-fugue", because: "both install a `tf` binary" def install libexec.install "tf", "lib" diff --git a/Formula/telegraf.rb b/Formula/telegraf.rb index f43eee3e4351f..19d4894a10fa8 100644 --- a/Formula/telegraf.rb +++ b/Formula/telegraf.rb @@ -6,27 +6,27 @@ class Telegraf < Formula stable do url "https://github.com/influxdata/telegraf.git", - :tag => "1.0.0", - :revision => "59ab7931ecd883689933edf215a7004488941856" + tag: "1.0.0", + revision: "59ab7931ecd883689933edf215a7004488941856" go_resource "github.com/aerospike/aerospike-client-go" do url "https://github.com/aerospike/aerospike-client-go.git", - :revision => "45863b7fd8640dc12f7fdd397104d97e1986f25a" + revision: "45863b7fd8640dc12f7fdd397104d97e1986f25a" end go_resource "github.com/nats-io/nats" do url "https://github.com/nats-io/nats.git", - :revision => "b13fc9d12b0b123ebc374e6b808c6228ae4234a3" + revision: "b13fc9d12b0b123ebc374e6b808c6228ae4234a3" end go_resource "github.com/nats-io/nuid" do url "https://github.com/nats-io/nuid.git", - :revision => "4f84f5f3b2786224e336af2e13dba0a0a80b76fa" + revision: "4f84f5f3b2786224e336af2e13dba0a0a80b76fa" end go_resource "github.com/sparrc/aerospike-client-go" do url "https://github.com/sparrc/aerospike-client-go.git", - :revision => "d4bb42d2c2d39dae68e054116f4538af189e05d5" + revision: "d4bb42d2c2d39dae68e054116f4538af189e05d5" end end @@ -43,17 +43,17 @@ class Telegraf < Formula go_resource "github.com/aerospike/aerospike-client-go" do url "https://github.com/aerospike/aerospike-client-go.git", - :revision => "7f3a312c3b2a60ac083ec6da296091c52c795c63" + revision: "7f3a312c3b2a60ac083ec6da296091c52c795c63" end go_resource "github.com/nats-io/nats" do url "https://github.com/nats-io/nats.git", - :revision => "ea8b4fd12ebb823073c0004b9f09ac8748f4f165" + revision: "ea8b4fd12ebb823073c0004b9f09ac8748f4f165" end go_resource "github.com/nats-io/nuid" do url "https://github.com/nats-io/nuid.git", - :revision => "a5152d67cf63cbfb5d992a395458722a45194715" + revision: "a5152d67cf63cbfb5d992a395458722a45194715" end end @@ -61,307 +61,307 @@ class Telegraf < Formula go_resource "github.com/Shopify/sarama" do url "https://github.com/Shopify/sarama.git", - :revision => "8aadb476e66ca998f2f6bb3c993e9a2daa3666b9" + revision: "8aadb476e66ca998f2f6bb3c993e9a2daa3666b9" end go_resource "github.com/Sirupsen/logrus" do url "https://github.com/Sirupsen/logrus.git", - :revision => "219c8cb75c258c552e999735be6df753ffc7afdc" + revision: "219c8cb75c258c552e999735be6df753ffc7afdc" end go_resource "github.com/amir/raidman" do url "https://github.com/amir/raidman.git", - :revision => "53c1b967405155bfc8758557863bf2e14f814687" + revision: "53c1b967405155bfc8758557863bf2e14f814687" end go_resource "github.com/aws/aws-sdk-go" do url "https://github.com/aws/aws-sdk-go.git", - :revision => "13a12060f716145019378a10e2806c174356b857" + revision: "13a12060f716145019378a10e2806c174356b857" end go_resource "github.com/beorn7/perks" do url "https://github.com/beorn7/perks.git", - :revision => "3ac7bf7a47d159a033b107610db8a1b6575507a4" + revision: "3ac7bf7a47d159a033b107610db8a1b6575507a4" end go_resource "github.com/cenkalti/backoff" do url "https://github.com/cenkalti/backoff.git", - :revision => "4dc77674aceaabba2c7e3da25d4c823edfb73f99" + revision: "4dc77674aceaabba2c7e3da25d4c823edfb73f99" end go_resource "github.com/couchbase/go-couchbase" do url "https://github.com/couchbase/go-couchbase.git", - :revision => "cb664315a324d87d19c879d9cc67fda6be8c2ac1" + revision: "cb664315a324d87d19c879d9cc67fda6be8c2ac1" end go_resource "github.com/couchbase/gomemcached" do url "https://github.com/couchbase/gomemcached.git", - :revision => "a5ea6356f648fec6ab89add00edd09151455b4b2" + revision: "a5ea6356f648fec6ab89add00edd09151455b4b2" end go_resource "github.com/couchbase/goutils" do url "https://github.com/couchbase/goutils.git", - :revision => "5823a0cbaaa9008406021dc5daf80125ea30bba6" + revision: "5823a0cbaaa9008406021dc5daf80125ea30bba6" end go_resource "github.com/dancannon/gorethink" do url "https://github.com/dancannon/gorethink.git", - :revision => "e7cac92ea2bc52638791a021f212145acfedb1fc" + revision: "e7cac92ea2bc52638791a021f212145acfedb1fc" end go_resource "github.com/davecgh/go-spew" do url "https://github.com/davecgh/go-spew.git", - :revision => "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + revision: "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" end go_resource "github.com/docker/engine-api" do url "https://github.com/docker/engine-api.git", - :revision => "8924d6900370b4c7e7984be5adc61f50a80d7537" + revision: "8924d6900370b4c7e7984be5adc61f50a80d7537" end go_resource "github.com/docker/go-connections" do url "https://github.com/docker/go-connections.git", - :revision => "f549a9393d05688dff0992ef3efd8bbe6c628aeb" + revision: "f549a9393d05688dff0992ef3efd8bbe6c628aeb" end go_resource "github.com/docker/go-units" do url "https://github.com/docker/go-units.git", - :revision => "5d2041e26a699eaca682e2ea41c8f891e1060444" + revision: "5d2041e26a699eaca682e2ea41c8f891e1060444" end go_resource "github.com/eapache/go-resiliency" do url "https://github.com/eapache/go-resiliency.git", - :revision => "b86b1ec0dd4209a588dc1285cdd471e73525c0b3" + revision: "b86b1ec0dd4209a588dc1285cdd471e73525c0b3" end go_resource "github.com/eapache/queue" do url "https://github.com/eapache/queue.git", - :revision => "ded5959c0d4e360646dc9e9908cff48666781367" + revision: "ded5959c0d4e360646dc9e9908cff48666781367" end go_resource "github.com/eclipse/paho.mqtt.golang" do url "https://github.com/eclipse/paho.mqtt.golang.git", - :revision => "0f7a459f04f13a41b7ed752d47944528d4bf9a86" + revision: "0f7a459f04f13a41b7ed752d47944528d4bf9a86" end go_resource "github.com/go-sql-driver/mysql" do url "https://github.com/go-sql-driver/mysql.git", - :revision => "1fca743146605a172a266e1654e01e5cd5669bee" + revision: "1fca743146605a172a266e1654e01e5cd5669bee" end go_resource "github.com/gobwas/glob" do url "https://github.com/gobwas/glob.git", - :revision => "49571a1557cd20e6a2410adc6421f85b66c730b5" + revision: "49571a1557cd20e6a2410adc6421f85b66c730b5" end go_resource "github.com/golang/protobuf" do url "https://github.com/golang/protobuf.git", - :revision => "552c7b9542c194800fd493123b3798ef0a832032" + revision: "552c7b9542c194800fd493123b3798ef0a832032" end go_resource "github.com/golang/snappy" do url "https://github.com/golang/snappy.git", - :revision => "427fb6fc07997f43afa32f35e850833760e489a7" + revision: "427fb6fc07997f43afa32f35e850833760e489a7" end go_resource "github.com/gonuts/go-shellquote" do url "https://github.com/gonuts/go-shellquote.git", - :revision => "e842a11b24c6abfb3dd27af69a17f482e4b483c2" + revision: "e842a11b24c6abfb3dd27af69a17f482e4b483c2" end go_resource "github.com/gorilla/context" do url "https://github.com/gorilla/context.git", - :revision => "1ea25387ff6f684839d82767c1733ff4d4d15d0a" + revision: "1ea25387ff6f684839d82767c1733ff4d4d15d0a" end go_resource "github.com/gorilla/mux" do url "https://github.com/gorilla/mux.git", - :revision => "c9e326e2bdec29039a3761c07bece13133863e1e" + revision: "c9e326e2bdec29039a3761c07bece13133863e1e" end go_resource "github.com/hailocab/go-hostpool" do url "https://github.com/hailocab/go-hostpool.git", - :revision => "e80d13ce29ede4452c43dea11e79b9bc8a15b478" + revision: "e80d13ce29ede4452c43dea11e79b9bc8a15b478" end go_resource "github.com/hashicorp/consul" do url "https://github.com/hashicorp/consul.git", - :revision => "5aa90455ce78d4d41578bafc86305e6e6b28d7d2" + revision: "5aa90455ce78d4d41578bafc86305e6e6b28d7d2" end go_resource "github.com/hpcloud/tail" do url "https://github.com/hpcloud/tail.git", - :revision => "b2940955ab8b26e19d43a43c4da0475dd81bdb56" + revision: "b2940955ab8b26e19d43a43c4da0475dd81bdb56" end go_resource "github.com/influxdata/config" do url "https://github.com/influxdata/config.git", - :revision => "b79f6829346b8d6e78ba73544b1e1038f1f1c9da" + revision: "b79f6829346b8d6e78ba73544b1e1038f1f1c9da" end go_resource "github.com/influxdata/influxdb" do url "https://github.com/influxdata/influxdb.git", - :revision => "e094138084855d444195b252314dfee9eae34cab" + revision: "e094138084855d444195b252314dfee9eae34cab" end go_resource "github.com/influxdata/toml" do url "https://github.com/influxdata/toml.git", - :revision => "af4df43894b16e3fd2b788d01bd27ad0776ef2d0" + revision: "af4df43894b16e3fd2b788d01bd27ad0776ef2d0" end go_resource "github.com/kardianos/osext" do url "https://github.com/kardianos/osext.git", - :revision => "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc" + revision: "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc" end go_resource "github.com/kardianos/service" do url "https://github.com/kardianos/service.git", - :revision => "5e335590050d6d00f3aa270217d288dda1c94d0a" + revision: "5e335590050d6d00f3aa270217d288dda1c94d0a" end go_resource "github.com/klauspost/crc32" do url "https://github.com/klauspost/crc32.git", - :revision => "19b0b332c9e4516a6370a0456e6182c3b5036720" + revision: "19b0b332c9e4516a6370a0456e6182c3b5036720" end go_resource "github.com/lib/pq" do url "https://github.com/lib/pq.git", - :revision => "e182dc4027e2ded4b19396d638610f2653295f36" + revision: "e182dc4027e2ded4b19396d638610f2653295f36" end go_resource "github.com/matttproud/golang_protobuf_extensions" do url "https://github.com/matttproud/golang_protobuf_extensions.git", - :revision => "d0c3fe89de86839aecf2e0579c40ba3bb336a453" + revision: "d0c3fe89de86839aecf2e0579c40ba3bb336a453" end go_resource "github.com/miekg/dns" do url "https://github.com/miekg/dns.git", - :revision => "cce6c130cdb92c752850880fd285bea1d64439dd" + revision: "cce6c130cdb92c752850880fd285bea1d64439dd" end go_resource "github.com/mreiferson/go-snappystream" do url "https://github.com/mreiferson/go-snappystream.git", - :revision => "028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504" + revision: "028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504" end go_resource "github.com/naoina/go-stringutil" do url "https://github.com/naoina/go-stringutil.git", - :revision => "6b638e95a32d0c1131db0e7fe83775cbea4a0d0b" + revision: "6b638e95a32d0c1131db0e7fe83775cbea4a0d0b" end go_resource "github.com/nsqio/go-nsq" do url "https://github.com/nsqio/go-nsq.git", - :revision => "0b80d6f05e15ca1930e0c5e1d540ed627e299980" + revision: "0b80d6f05e15ca1930e0c5e1d540ed627e299980" end go_resource "github.com/opencontainers/runc" do url "https://github.com/opencontainers/runc.git", - :revision => "89ab7f2ccc1e45ddf6485eaa802c35dcf321dfc8" + revision: "89ab7f2ccc1e45ddf6485eaa802c35dcf321dfc8" end go_resource "github.com/prometheus/client_golang" do url "https://github.com/prometheus/client_golang.git", - :revision => "18acf9993a863f4c4b40612e19cdd243e7c86831" + revision: "18acf9993a863f4c4b40612e19cdd243e7c86831" end go_resource "github.com/prometheus/client_model" do url "https://github.com/prometheus/client_model.git", - :revision => "fa8ad6fec33561be4280a8f0514318c79d7f6cb6" + revision: "fa8ad6fec33561be4280a8f0514318c79d7f6cb6" end go_resource "github.com/prometheus/common" do url "https://github.com/prometheus/common.git", - :revision => "e8eabff8812b05acf522b45fdcd725a785188e37" + revision: "e8eabff8812b05acf522b45fdcd725a785188e37" end go_resource "github.com/prometheus/procfs" do url "https://github.com/prometheus/procfs.git", - :revision => "406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8" + revision: "406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8" end go_resource "github.com/samuel/go-zookeeper" do url "https://github.com/samuel/go-zookeeper.git", - :revision => "218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f" + revision: "218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f" end go_resource "github.com/shirou/gopsutil" do url "https://github.com/shirou/gopsutil.git", - :revision => "4d0c402af66c78735c5ccf820dc2ca7de5e4ff08" + revision: "4d0c402af66c78735c5ccf820dc2ca7de5e4ff08" end go_resource "github.com/soniah/gosnmp" do url "https://github.com/soniah/gosnmp.git", - :revision => "eb32571c2410868d85849ad67d1e51d01273eb84" + revision: "eb32571c2410868d85849ad67d1e51d01273eb84" end go_resource "github.com/streadway/amqp" do url "https://github.com/streadway/amqp.git", - :revision => "b4f3ceab0337f013208d31348b578d83c0064744" + revision: "b4f3ceab0337f013208d31348b578d83c0064744" end go_resource "github.com/stretchr/testify" do url "https://github.com/stretchr/testify.git", - :revision => "1f4a1643a57e798696635ea4c126e9127adb7d3c" + revision: "1f4a1643a57e798696635ea4c126e9127adb7d3c" end go_resource "github.com/vjeantet/grok" do url "https://github.com/vjeantet/grok.git", - :revision => "83bfdfdfd1a8146795b28e547a8e3c8b28a466c2" + revision: "83bfdfdfd1a8146795b28e547a8e3c8b28a466c2" end go_resource "github.com/wvanbergen/kafka" do url "https://github.com/wvanbergen/kafka.git", - :revision => "46f9a1cf3f670edec492029fadded9c2d9e18866" + revision: "46f9a1cf3f670edec492029fadded9c2d9e18866" end go_resource "github.com/wvanbergen/kazoo-go" do url "https://github.com/wvanbergen/kazoo-go.git", - :revision => "0f768712ae6f76454f987c3356177e138df258f8" + revision: "0f768712ae6f76454f987c3356177e138df258f8" end go_resource "github.com/yuin/gopher-lua" do url "https://github.com/yuin/gopher-lua.git", - :revision => "bf3808abd44b1e55143a2d7f08571aaa80db1808" + revision: "bf3808abd44b1e55143a2d7f08571aaa80db1808" end go_resource "github.com/zensqlmonitor/go-mssqldb" do url "https://github.com/zensqlmonitor/go-mssqldb.git", - :revision => "ffe5510c6fa5e15e6d983210ab501c815b56b363" + revision: "ffe5510c6fa5e15e6d983210ab501c815b56b363" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "5dc8cb4b8a8eb076cbb5a06bc3b8682c15bdbbd3" + revision: "5dc8cb4b8a8eb076cbb5a06bc3b8682c15bdbbd3" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "6acef71eb69611914f7a30939ea9f6e194c78172" + revision: "6acef71eb69611914f7a30939ea9f6e194c78172" end go_resource "golang.org/x/text" do url "https://go.googlesource.com/text.git", - :revision => "a71fd10341b064c10f4a81ceac72bcf70f26ea34" + revision: "a71fd10341b064c10f4a81ceac72bcf70f26ea34" end go_resource "gopkg.in/dancannon/gorethink.v1" do url "https://gopkg.in/dancannon/gorethink.v1.git", - :revision => "7d1af5be49cb5ecc7b177bf387d232050299d6ef" + revision: "7d1af5be49cb5ecc7b177bf387d232050299d6ef" end go_resource "gopkg.in/fatih/pool.v2" do url "https://gopkg.in/fatih/pool.v2.git", - :revision => "cba550ebf9bce999a02e963296d4bc7a486cb715" + revision: "cba550ebf9bce999a02e963296d4bc7a486cb715" end go_resource "gopkg.in/mgo.v2" do url "https://gopkg.in/mgo.v2.git", - :revision => "d90005c5262a3463800497ea5a89aed5fe22c886" + revision: "d90005c5262a3463800497ea5a89aed5fe22c886" end go_resource "gopkg.in/yaml.v2" do url "https://gopkg.in/yaml.v2.git", - :revision => "a83829b6f1293c91addabc89d0571c246397bbf4" + revision: "a83829b6f1293c91addabc89d0571c246397bbf4" end def install @@ -388,7 +388,7 @@ def post_install (etc/"telegraf.d").mkpath end - plist_options :manual => "telegraf -config #{HOMEBREW_PREFIX}/etc/telegraf.conf" + plist_options manual: "telegraf -config #{HOMEBREW_PREFIX}/etc/telegraf.conf" def plist; <<-EOS.undent diff --git a/Formula/terminal-notifier.rb b/Formula/terminal-notifier.rb index d62a8be6ab5c4..a4002f48f044c 100644 --- a/Formula/terminal-notifier.rb +++ b/Formula/terminal-notifier.rb @@ -15,8 +15,8 @@ class TerminalNotifier < Formula sha256 "87e1ddf62740069b8fc35ae4c302f46ecb7c2c0cf32ff5ec8ffd6cdd9611e53e" => :mountain_lion end - depends_on :macos => :mountain_lion - depends_on :xcode => :build + depends_on macos: :mountain_lion + depends_on xcode: :build def install xcodebuild "-project", "Terminal Notifier.xcodeproj", diff --git a/Formula/termshare.rb b/Formula/termshare.rb index d6303412af587..ba1e152346e19 100644 --- a/Formula/termshare.rb +++ b/Formula/termshare.rb @@ -21,22 +21,22 @@ class Termshare < Formula go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "7553b97266dcbbf78298bd1a2b12d9c9aaae5f40" + revision: "7553b97266dcbbf78298bd1a2b12d9c9aaae5f40" end go_resource "github.com/heroku/hk" do url "https://github.com/heroku/hk.git", - :revision => "406190e9c93802fb0a49b5c09611790aee05c491" + revision: "406190e9c93802fb0a49b5c09611790aee05c491" end go_resource "github.com/kr/pty" do url "https://github.com/kr/pty.git", - :revision => "f7ee69f31298ecbe5d2b349c711e2547a617d398" + revision: "f7ee69f31298ecbe5d2b349c711e2547a617d398" end go_resource "github.com/nu7hatch/gouuid" do url "https://github.com/nu7hatch/gouuid.git", - :revision => "179d4d0c4d8d407a32af483c2354df1d2c91e6c3" + revision: "179d4d0c4d8d407a32af483c2354df1d2c91e6c3" end def install diff --git a/Formula/terraform-inventory.rb b/Formula/terraform-inventory.rb index 4137f3efbead9..4fe9435a2a5c4 100644 --- a/Formula/terraform-inventory.rb +++ b/Formula/terraform-inventory.rb @@ -18,7 +18,7 @@ class TerraformInventory < Formula go_resource "github.com/stretchr/testify" do url "https://github.com/stretchr/testify.git", - :revision => "f390dcf405f7b83c997eac1b06768bb9f44dec18" + revision: "f390dcf405f7b83c997eac1b06768bb9f44dec18" end def install diff --git a/Formula/terraform.rb b/Formula/terraform.rb index 4983597397a47..acfb8e21cd529 100644 --- a/Formula/terraform.rb +++ b/Formula/terraform.rb @@ -24,13 +24,13 @@ class Terraform < Formula terraform_deps.each_slice(2) do |x, y| go_resource x do - url "https://#{x}.git", :revision => y + url "https://#{x}.git", revision: y end end go_resource "golang.org/x/tools" do url "https://go.googlesource.com/tools.git", - :revision => "977844c7af2aa555048a19d28e9fe6c392e7b8e9" + revision: "977844c7af2aa555048a19d28e9fe6c392e7b8e9" end def install diff --git a/Formula/testssl.rb b/Formula/testssl.rb index cba5b9d77180a..9b8b1aa4310c3 100644 --- a/Formula/testssl.rb +++ b/Formula/testssl.rb @@ -13,7 +13,7 @@ class Testssl < Formula def install ENV.prepend_create_path "PATH", Formula["openssl"].opt_prefix.to_s bin.install "testssl.sh" - bin.env_script_all_files(libexec+"bin", :PATH => ENV["PATH"]) + bin.env_script_all_files(libexec+"bin", PATH: ENV["PATH"]) end test do diff --git a/Formula/texapp.rb b/Formula/texapp.rb index 624f6adfc30e3..a333fa92d982e 100644 --- a/Formula/texapp.rb +++ b/Formula/texapp.rb @@ -30,7 +30,7 @@ def install system "make" system "make", "install" end - bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec/"bin", PERL5LIB: ENV["PERL5LIB"]) chmod 0755, libexec/"bin/texapp" end end diff --git a/Formula/texmath.rb b/Formula/texmath.rb index 87b6d209bf7bd..226b8a1e45afc 100644 --- a/Formula/texmath.rb +++ b/Formula/texmath.rb @@ -18,7 +18,7 @@ class Texmath < Formula depends_on "cabal-install" => :build def install - install_cabal_package "--enable-tests", :flags => ["executable"] do + install_cabal_package "--enable-tests", flags: ["executable"] do system "cabal", "test" end end diff --git a/Formula/textql.rb b/Formula/textql.rb index 628b7adc44878..6beae6d7dc022 100644 --- a/Formula/textql.rb +++ b/Formula/textql.rb @@ -17,7 +17,7 @@ class Textql < Formula go_resource "github.com/mattn/go-sqlite3" do url "https://github.com/mattn/go-sqlite3.git", - :revision => "8897bf145272af4dd0305518cfb725a5b6d0541c" + revision: "8897bf145272af4dd0305518cfb725a5b6d0541c" end def install diff --git a/Formula/theharvester.rb b/Formula/theharvester.rb index f0f6ca8735104..cbb492b194b1e 100644 --- a/Formula/theharvester.rb +++ b/Formula/theharvester.rb @@ -29,7 +29,7 @@ def install libexec.install Dir["*"] (libexec/"theHarvester.py").chmod 0755 - (bin/"theharvester").write_env_script("#{libexec}/theHarvester.py", :PYTHONPATH => ENV["PYTHONPATH"]) + (bin/"theharvester").write_env_script("#{libexec}/theHarvester.py", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/thrift.rb b/Formula/thrift.rb index 28e2ff92048ec..943ab4cf92f3f 100644 --- a/Formula/thrift.rb +++ b/Formula/thrift.rb @@ -48,7 +48,7 @@ class Thrift < Formula depends_on "boost" depends_on "openssl" depends_on "libevent" => :optional - depends_on :python => :optional + depends_on python: :optional def install system "./bootstrap.sh" unless build.stable? diff --git a/Formula/tika.rb b/Formula/tika.rb index dfd65d12e582c..39e9f9d450cfe 100644 --- a/Formula/tika.rb +++ b/Formula/tika.rb @@ -6,7 +6,7 @@ class Tika < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" resource "server" do url "https://search.maven.org/remotecontent?filepath=org/apache/tika/tika-server/1.13/tika-server-1.13.jar" diff --git a/Formula/tin.rb b/Formula/tin.rb index 3f74332ce41d9..576b2174a514f 100644 --- a/Formula/tin.rb +++ b/Formula/tin.rb @@ -16,7 +16,7 @@ class Tin < Formula sha256 "d53ee03850988c96162f2a30a24f63a6976612f04fc049fd1e0c17d0d4567083" end - conflicts_with "mutt", :because => "both install mmdf.5 and mbox.5 man pages" + conflicts_with "mutt", because: "both install mmdf.5 and mbox.5 man pages" def install ENV.enable_warnings diff --git a/Formula/tiny-fugue.rb b/Formula/tiny-fugue.rb index 1a3661d037d75..3ecea51cde618 100644 --- a/Formula/tiny-fugue.rb +++ b/Formula/tiny-fugue.rb @@ -12,7 +12,7 @@ class TinyFugue < Formula sha256 "0d7db7bf7a3744de5cb572c013da516e98b5d6ed911a2f3bf4e0a028a160fd04" => :mavericks end - conflicts_with "tee-clc", :because => "both install a `tf` binary" + conflicts_with "tee-clc", because: "both install a `tf` binary" depends_on "libnet" depends_on "openssl" diff --git a/Formula/tinyproxy.rb b/Formula/tinyproxy.rb index 9efc5073e8152..d999dcab0c031 100644 --- a/Formula/tinyproxy.rb +++ b/Formula/tinyproxy.rb @@ -68,7 +68,7 @@ def post_install end end - plist_options :manual => "tinyproxy" + plist_options manual: "tinyproxy" def plist; <<-EOS.undent diff --git a/Formula/tnote.rb b/Formula/tnote.rb index 01eb33cd5a05f..99788aa1b04cb 100644 --- a/Formula/tnote.rb +++ b/Formula/tnote.rb @@ -17,7 +17,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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 diff --git a/Formula/tomcat-native.rb b/Formula/tomcat-native.rb index 3a75a943f50b3..75bfcb3435fb5 100644 --- a/Formula/tomcat-native.rb +++ b/Formula/tomcat-native.rb @@ -16,7 +16,7 @@ class TomcatNative < Formula depends_on "libtool" => :build depends_on "tomcat" => :recommended - depends_on :java => "1.7+" + depends_on java: "1.7+" depends_on "openssl" depends_on "apr" => :optional diff --git a/Formula/tomcat.rb b/Formula/tomcat.rb index 3bfa1570266a3..52ce63bff67bc 100644 --- a/Formula/tomcat.rb +++ b/Formula/tomcat.rb @@ -7,7 +7,7 @@ class Tomcat < Formula mirror "https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.5/bin/apache-tomcat-8.5.5.tar.gz" sha256 "123ba0c010267d54caf984872d3cb449ae29bbd956fa17467185e0c2b3ecae45" - depends_on :java => "1.7+" + depends_on java: "1.7+" resource "fulldocs" do url "https://www.apache.org/dyn/closer.cgi?path=/tomcat/tomcat-8/v8.5.5/bin/apache-tomcat-8.5.5-fulldocs.tar.gz" @@ -23,7 +23,7 @@ class Tomcat < Formula version "9.0.0.M10" sha256 "09bf22df9a5bf7b7b901da751681fb6ad55194f27ac7360e4f79cb9f3ec7775c" - depends_on :java => "1.8+" + depends_on java: "1.8+" resource "fulldocs" do url "https://www.apache.org/dyn/closer.cgi?path=/tomcat/tomcat-9/v9.0.0.M10/bin/apache-tomcat-9.0.0.M10-fulldocs.tar.gz" diff --git a/Formula/tor.rb b/Formula/tor.rb index b6909731f7393..156686ec68129 100644 --- a/Formula/tor.rb +++ b/Formula/tor.rb @@ -49,7 +49,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "tor" + plist_options manual: "tor" def plist; <<-EOS.undent diff --git a/Formula/torsocks.rb b/Formula/torsocks.rb index 7f26b4aad8798..a451e27f07d3f 100644 --- a/Formula/torsocks.rb +++ b/Formula/torsocks.rb @@ -2,8 +2,8 @@ class Torsocks < Formula desc "Use SOCKS-friendly applications with Tor" homepage "https://gitweb.torproject.org/torsocks.git/" url "https://git.torproject.org/torsocks.git", - :tag => "v2.1.0", - :revision => "a43a3656a5bb4391fb1654d5ff44a5257e1f165f" + tag: "v2.1.0", + revision: "a43a3656a5bb4391fb1654d5ff44a5257e1f165f" head "https://git.torproject.org/torsocks.git" diff --git a/Formula/tracebox.rb b/Formula/tracebox.rb index 16d203b678267..82c2e2a926ea2 100644 --- a/Formula/tracebox.rb +++ b/Formula/tracebox.rb @@ -1,8 +1,8 @@ class Tracebox < Formula desc "Middlebox detection tool" homepage "http://www.tracebox.org/" - url "https://github.com/tracebox/tracebox.git", :tag => "v0.3.1", - :revision => "aec062dcf7198c8b8f3b90ee4216e929ebf0ffcb" + url "https://github.com/tracebox/tracebox.git", tag: "v0.3.1", + revision: "aec062dcf7198c8b8f3b90ee4216e929ebf0ffcb" bottle do cellar :any diff --git a/Formula/translate-shell.rb b/Formula/translate-shell.rb index 875c3191603ab..4a650cc1d1dbd 100644 --- a/Formula/translate-shell.rb +++ b/Formula/translate-shell.rb @@ -3,7 +3,7 @@ class TranslateShell < Formula homepage "https://www.soimort.org/translate-shell" url "https://github.com/soimort/translate-shell/archive/v0.9.4.tar.gz" sha256 "bfc04124d2fde7924e6b5c3a11fdce7fbd2fdb1819c0b78c3fd0a7d36e330164" - head "https://github.com/soimort/translate-shell.git", :branch => "develop" + head "https://github.com/soimort/translate-shell.git", branch: "develop" bottle do cellar :any_skip_relocation diff --git a/Formula/transmission.rb b/Formula/transmission.rb index 046947e876673..a8087de4f8a1e 100644 --- a/Formula/transmission.rb +++ b/Formula/transmission.rb @@ -50,7 +50,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :manual => "transmission-daemon --foreground" + plist_options manual: "transmission-daemon --foreground" def plist; <<-EOS.undent diff --git a/Formula/trash.rb b/Formula/trash.rb index a607c44648dec..f5e9ea5ec962b 100644 --- a/Formula/trash.rb +++ b/Formula/trash.rb @@ -12,7 +12,7 @@ class Trash < Formula sha256 "f74b3d47c9208cb0ccee9d017b146052df8748f3bc4a2bb4525a1d6c5e55909a" => :mavericks end - conflicts_with "osxutils", :because => "both install a trash binary" + conflicts_with "osxutils", because: "both install a trash binary" def install system "make" diff --git a/Formula/treeline.rb b/Formula/treeline.rb index 79b8284d7d065..b621f28f7e8f5 100644 --- a/Formula/treeline.rb +++ b/Formula/treeline.rb @@ -19,7 +19,7 @@ def install system "./install.py", "-p#{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"]) end test do diff --git a/Formula/tutum.rb b/Formula/tutum.rb index 934a0d5fe4283..96f676b13192c 100644 --- a/Formula/tutum.rb +++ b/Formula/tutum.rb @@ -80,7 +80,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"]) end test do diff --git a/Formula/tvnamer.rb b/Formula/tvnamer.rb index 560db65e50727..c24a75ab1831f 100644 --- a/Formula/tvnamer.rb +++ b/Formula/tvnamer.rb @@ -31,7 +31,7 @@ def install ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages" 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"]) end test do diff --git a/Formula/twoping.rb b/Formula/twoping.rb index 6063f4faebca7..8a0defab3d31c 100644 --- a/Formula/twoping.rb +++ b/Formula/twoping.rb @@ -18,10 +18,10 @@ def install man1.install "doc/2ping.1" man1.install_symlink "2ping.1" => "2ping6.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 - plist_options :manual => "2ping --listen", :startup => true + plist_options manual: "2ping --listen", startup: true def plist; <<-EOS.undent diff --git a/Formula/twtxt.rb b/Formula/twtxt.rb index d83c2c715093d..40b80a036f89a 100644 --- a/Formula/twtxt.rb +++ b/Formula/twtxt.rb @@ -56,7 +56,7 @@ def install system "python3", *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"]) end test do diff --git a/Formula/txr.rb b/Formula/txr.rb index 2dd4ca575b01a..a4837581a3709 100644 --- a/Formula/txr.rb +++ b/Formula/txr.rb @@ -3,7 +3,7 @@ class Txr < Formula homepage "http://www.nongnu.org/txr/" url "http://www.kylheku.com/cgit/txr/snapshot/txr-133.tar.bz2" sha256 "3e2e598f71a60835f1ecbf3b80fbf8f9e9ef235c5ca204f1492bbf64a227cb90" - head "http://www.kylheku.com/git/txr", :using => :git + head "http://www.kylheku.com/git/txr", using: :git bottle do cellar :any_skip_relocation diff --git a/Formula/typesafe-activator.rb b/Formula/typesafe-activator.rb index 26482061a0c8e..92c8d289d6e4b 100644 --- a/Formula/typesafe-activator.rb +++ b/Formula/typesafe-activator.rb @@ -7,7 +7,7 @@ class TypesafeActivator < Formula bottle :unneeded - depends_on :java => "1.8+" + depends_on java: "1.8+" def install rm Dir["bin/*.bat"] # Remove Windows .bat files diff --git a/Formula/udpxy.rb b/Formula/udpxy.rb index e1bb821017709..46cd9b4fdb200 100644 --- a/Formula/udpxy.rb +++ b/Formula/udpxy.rb @@ -22,7 +22,7 @@ def install system "make", "install", "DESTDIR=#{prefix}", "PREFIX=''" end - plist_options :manual => "udpxy -p 4022" + plist_options manual: "udpxy -p 4022" def plist; <<-EOS.undent diff --git a/Formula/umlet.rb b/Formula/umlet.rb index 323d9b8c84422..70fb84a39f903 100644 --- a/Formula/umlet.rb +++ b/Formula/umlet.rb @@ -6,7 +6,7 @@ class Umlet < Formula bottle :unneeded - depends_on :java => "1.6+" + depends_on java: "1.6+" def install rm Dir["*.{desktop,exe}"] diff --git a/Formula/unar.rb b/Formula/unar.rb index 484386a6ac50a..1fdbf153c3141 100644 --- a/Formula/unar.rb +++ b/Formula/unar.rb @@ -5,7 +5,7 @@ class Unar < Formula version "1.10.1" sha256 "40967014a505b7a27864c49dc3b5d30b98ae4e6d4873783b2ef9ef9215fd092b" - head "https://bitbucket.org/WAHa_06x36/theunarchiver", :using => :hg + head "https://bitbucket.org/WAHa_06x36/theunarchiver", using: :hg bottle do cellar :any @@ -15,7 +15,7 @@ class Unar < Formula sha256 "dab9604cafaab887741e0d6511f88e7ca66ad556ee86a41f4b1896ec558d9650" => :mavericks end - depends_on :xcode => :build + depends_on xcode: :build def install # ZIP for 1.10.1 additionally contains a `__MACOSX` directory, preventing diff --git a/Formula/unbound.rb b/Formula/unbound.rb index 2aa510e0a6d2d..9fc808348d36a 100644 --- a/Formula/unbound.rb +++ b/Formula/unbound.rb @@ -34,7 +34,7 @@ def post_install end end - plist_options :startup => true + plist_options startup: true def plist; <<-EOS.undent diff --git a/Formula/unixodbc.rb b/Formula/unixodbc.rb index 376c4374855a7..b1cad8f40919c 100644 --- a/Formula/unixodbc.rb +++ b/Formula/unixodbc.rb @@ -16,7 +16,7 @@ class Unixodbc < Formula option :universal - conflicts_with "virtuoso", :because => "Both install `isql` binaries." + conflicts_with "virtuoso", because: "Both install `isql` binaries." def install ENV.universal_binary if build.universal? diff --git a/Formula/unrtf.rb b/Formula/unrtf.rb index ad9d6c9702ce0..ce7ae7b7f362d 100644 --- a/Formula/unrtf.rb +++ b/Formula/unrtf.rb @@ -5,7 +5,7 @@ class Unrtf < Formula mirror "https://ftp.gnu.org/gnu/unrtf/unrtf-0.21.9.tar.gz" sha256 "22a37826f96d754e335fb69f8036c068c00dd01ee9edd9461a36df0085fb8ddd" - head "http://hg.savannah.gnu.org/hgweb/unrtf/", :using => :hg + head "http://hg.savannah.gnu.org/hgweb/unrtf/", using: :hg bottle do sha256 "2d658e54c0f66ae90764c8588fa7181c68d69d505336747b9bd5e496ba7b99d6" => :el_capitan diff --git a/Formula/upscaledb.rb b/Formula/upscaledb.rb index 221b1079f4fab..37499efdf5b11 100644 --- a/Formula/upscaledb.rb +++ b/Formula/upscaledb.rb @@ -26,7 +26,7 @@ class Upscaledb < Formula depends_on "boost" depends_on "gnutls" depends_on "openssl" - depends_on :java => :recommended + depends_on java: :recommended depends_on "protobuf" if build.with? "remote" resource "libuv" do diff --git a/Formula/upx.rb b/Formula/upx.rb index 3cbd75624b82f..a015d94cbdcec 100644 --- a/Formula/upx.rb +++ b/Formula/upx.rb @@ -4,7 +4,7 @@ class Upx < Formula url "http://upx.sourceforge.net/download/upx-3.91-src.tar.bz2" mirror "https://fossies.org/linux/privat/upx-3.91-src.tar.bz2" sha256 "527ce757429841f51675352b1f9f6fc8ad97b18002080d7bf8672c466d8c6a3c" - head "https://www.pysol.org:4443/hg/upx.hg", :using => :hg + head "https://www.pysol.org:4443/hg/upx.hg", using: :hg revision 1 bottle do diff --git a/Formula/uriparser.rb b/Formula/uriparser.rb index 98ac2fcc9f9f7..2b71516d0d2aa 100644 --- a/Formula/uriparser.rb +++ b/Formula/uriparser.rb @@ -22,7 +22,7 @@ class Uriparser < Formula depends_on "pkg-config" => :build depends_on "cpptest" - conflicts_with "libkml", :because => "both install `liburiparser.dylib`" + conflicts_with "libkml", because: "both install `liburiparser.dylib`" def install system "./autogen.sh" if build.head? diff --git a/Formula/urweb.rb b/Formula/urweb.rb index 94a291205e24b..386c009aaa8e6 100644 --- a/Formula/urweb.rb +++ b/Formula/urweb.rb @@ -16,8 +16,8 @@ class Urweb < Formula depends_on "mlton" => :build depends_on "openssl" depends_on "gmp" - depends_on :postgresql => :optional - depends_on :mysql => :optional + depends_on postgresql: :optional + depends_on mysql: :optional def install args = %W[ diff --git a/Formula/uwsgi.rb b/Formula/uwsgi.rb index 67795d6b14cc9..267ee49988c3e 100644 --- a/Formula/uwsgi.rb +++ b/Formula/uwsgi.rb @@ -134,7 +134,7 @@ def install bin.install "uwsgi" end - plist_options :manual => "uwsgi" + plist_options manual: "uwsgi" def plist; <<-EOS.undent diff --git a/Formula/v8.rb b/Formula/v8.rb index 593075880452d..dfe71f2f2a74b 100644 --- a/Formula/v8.rb +++ b/Formula/v8.rb @@ -18,9 +18,9 @@ class V8 < Formula # not building on Snow Leopard: # https://github.com/Homebrew/homebrew/issues/21426 - depends_on :macos => :lion + depends_on macos: :lion - depends_on :python => :build # gyp doesn't run under 2.6 or lower + depends_on python: :build # gyp doesn't run under 2.6 or lower depends_on "readline" => :optional depends_on "icu4c" => :optional @@ -30,42 +30,42 @@ class V8 < Formula # Note that we don't require the "test" DEPS because we don't run the tests. resource "gyp" do url "https://chromium.googlesource.com/external/gyp.git", - :revision => "4ec6c4e3a94bd04a6da2858163d40b2429b8aad1" + revision: "4ec6c4e3a94bd04a6da2858163d40b2429b8aad1" end resource "icu" do url "https://chromium.googlesource.com/chromium/deps/icu.git", - :revision => "c291cde264469b20ca969ce8832088acb21e0c48" + revision: "c291cde264469b20ca969ce8832088acb21e0c48" end resource "buildtools" do url "https://chromium.googlesource.com/chromium/buildtools.git", - :revision => "80b5126f91be4eb359248d28696746ef09d5be67" + revision: "80b5126f91be4eb359248d28696746ef09d5be67" end resource "common" do url "https://chromium.googlesource.com/chromium/src/base/trace_event/common.git", - :revision => "c8c8665c2deaf1cc749d9f8e153256d4f67bf1b8" + revision: "c8c8665c2deaf1cc749d9f8e153256d4f67bf1b8" end resource "swarming_client" do url "https://chromium.googlesource.com/external/swarming.client.git", - :revision => "df6e95e7669883c8fe9ef956c69a544154701a49" + revision: "df6e95e7669883c8fe9ef956c69a544154701a49" end resource "gtest" do url "https://chromium.googlesource.com/external/github.com/google/googletest.git", - :revision => "6f8a66431cb592dad629028a50b3dd418a408c87" + revision: "6f8a66431cb592dad629028a50b3dd418a408c87" end resource "gmock" do url "https://chromium.googlesource.com/external/googlemock.git", - :revision => "0421b6f358139f02e102c9c332ce19a33faf75be" + revision: "0421b6f358139f02e102c9c332ce19a33faf75be" end resource "clang" do url "https://chromium.googlesource.com/chromium/src/tools/clang.git", - :revision => "faee82e064e04e5cbf60cc7327e7a81d2a4557ad" + revision: "faee82e064e04e5cbf60cc7327e7a81d2a4557ad" end def install diff --git a/Formula/valgrind.rb b/Formula/valgrind.rb index 8f3c1d19c6474..df9e822350755 100644 --- a/Formula/valgrind.rb +++ b/Formula/valgrind.rb @@ -39,7 +39,7 @@ class Valgrind < Formula depends_on "automake" => :build depends_on "libtool" => :build - depends_on :macos => :snow_leopard + depends_on macos: :snow_leopard # See currently supported platforms: http://valgrind.org/info/platforms.html # Also dev comment: https://bugs.kde.org/show_bug.cgi?id=366138#c5 depends_on MaximumMacOSRequirement => :el_capitan diff --git a/Formula/vamp-plugin-sdk.rb b/Formula/vamp-plugin-sdk.rb index 820bab5fe22e1..51a593e30298f 100644 --- a/Formula/vamp-plugin-sdk.rb +++ b/Formula/vamp-plugin-sdk.rb @@ -3,7 +3,7 @@ class VampPluginSdk < Formula homepage "http://www.vamp-plugins.org" url "https://code.soundsoftware.ac.uk/attachments/download/1520/vamp-plugin-sdk-2.6.tar.gz" sha256 "d0d3578137ac0c1e63f31561081a8d61da526a81152bc1dc9383b629bc07f85f" - head "https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk", :using => :hg + head "https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk", using: :hg stable do # activate osx specific items in Makefile.in diff --git a/Formula/vapoursynth.rb b/Formula/vapoursynth.rb index b3bba239cd94b..ca99752418291 100644 --- a/Formula/vapoursynth.rb +++ b/Formula/vapoursynth.rb @@ -38,7 +38,7 @@ def install resource("Cython").stage do system "python3", *Language::Python.setup_install_args(libexec) end - bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec/"bin", PYTHONPATH: ENV["PYTHONPATH"]) ENV.prepend_create_path "PATH", libexec/"bin" diff --git a/Formula/varnish.rb b/Formula/varnish.rb index 8912f9eaf2677..fc20d161e5303 100644 --- a/Formula/varnish.rb +++ b/Formula/varnish.rb @@ -24,7 +24,7 @@ def install (var+"varnish").mkpath end - plist_options :manual => "#{HOMEBREW_PREFIX}/sbin/varnishd -n #{HOMEBREW_PREFIX}/var/varnish -f #{HOMEBREW_PREFIX}/etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:8080" + plist_options manual: "#{HOMEBREW_PREFIX}/sbin/varnishd -n #{HOMEBREW_PREFIX}/var/varnish -f #{HOMEBREW_PREFIX}/etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:8080" def plist; <<-EOS.undent diff --git a/Formula/vault.rb b/Formula/vault.rb index f4ecf81ce0f93..c7242ceebbdd8 100644 --- a/Formula/vault.rb +++ b/Formula/vault.rb @@ -7,8 +7,8 @@ class Vault < Formula desc "Secures, stores, and tightly controls access to secrets" homepage "https://vaultproject.io/" url "https://github.com/hashicorp/vault.git", - :tag => "v0.6.1", - :revision => "182ba68a9589d4cef95234134aaa498a686e3de3" + tag: "v0.6.1", + revision: "182ba68a9589d4cef95234134aaa498a686e3de3" head "https://github.com/hashicorp/vault.git" bottle do @@ -23,12 +23,12 @@ class Vault < Formula go_resource "github.com/mitchellh/iochan" do url "https://github.com/mitchellh/iochan.git", - :revision => "87b45ffd0e9581375c491fef3d32130bb15c5bd7" + revision: "87b45ffd0e9581375c491fef3d32130bb15c5bd7" end go_resource "github.com/mitchellh/gox" do url "https://github.com/mitchellh/gox.git", - :revision => "c9740af9c6574448fd48eb30a71f964014c7a837" + revision: "c9740af9c6574448fd48eb30a71f964014c7a837" end def install diff --git a/Formula/vaulted.rb b/Formula/vaulted.rb index e40a4ebeba57a..805b8de98ec6a 100644 --- a/Formula/vaulted.rb +++ b/Formula/vaulted.rb @@ -19,42 +19,42 @@ class Vaulted < Formula go_resource "github.com/aws/aws-sdk-go" do url "https://github.com/aws/aws-sdk-go.git", - :revision => "94673f7d41219ea3e94e4b1edc01315f14268f72" + revision: "94673f7d41219ea3e94e4b1edc01315f14268f72" end go_resource "github.com/fatih/color" do url "https://github.com/fatih/color.git", - :revision => "87d4004f2ab62d0d255e0a38f1680aa534549fe3" + revision: "87d4004f2ab62d0d255e0a38f1680aa534549fe3" end go_resource "github.com/mattn/go-colorable" do url "https://github.com/mattn/go-colorable.git", - :revision => "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" + revision: "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" end go_resource "github.com/mattn/go-isatty" do url "https://github.com/mattn/go-isatty.git", - :revision => "3a115632dcd687f9c8cd01679c83a06a0e21c1f3" + revision: "3a115632dcd687f9c8cd01679c83a06a0e21c1f3" end go_resource "github.com/miquella/ask" do url "https://github.com/miquella/ask.git", - :revision => "486a722fa4cdb033d35a501d54116b645e139ef3" + revision: "486a722fa4cdb033d35a501d54116b645e139ef3" end go_resource "github.com/miquella/xdg" do url "https://github.com/miquella/xdg.git", - :revision => "1ee6df0d556245ee71d26d54f9dbfea1f84d136a" + revision: "1ee6df0d556245ee71d26d54f9dbfea1f84d136a" end go_resource "github.com/spf13/pflag" do url "https://github.com/spf13/pflag.git", - :revision => "4f9190456aed1c2113ca51ea9b89219747458dc1" + revision: "4f9190456aed1c2113ca51ea9b89219747458dc1" end go_resource "golang.org/x/crypto" do url "https://go.googlesource.com/crypto.git", - :revision => "9fbab14f903f89e23047b5971369b86380230e56" + revision: "9fbab14f903f89e23047b5971369b86380230e56" end def install diff --git a/Formula/vcprompt.rb b/Formula/vcprompt.rb index c5683c1589550..8e3f4f4448bfe 100644 --- a/Formula/vcprompt.rb +++ b/Formula/vcprompt.rb @@ -13,7 +13,7 @@ class Vcprompt < Formula end head do - url "https://bitbucket.org/gward/vcprompt", :using => :hg + url "https://bitbucket.org/gward/vcprompt", using: :hg depends_on "autoconf" => :build end diff --git a/Formula/vegeta.rb b/Formula/vegeta.rb index db8283f63d0a4..81c4f468e2917 100644 --- a/Formula/vegeta.rb +++ b/Formula/vegeta.rb @@ -17,12 +17,12 @@ class Vegeta < Formula go_resource "github.com/streadway/quantile" do url "https://github.com/streadway/quantile.git", - :revision => "b0c588724d25ae13f5afb3d90efec0edc636432b" + revision: "b0c588724d25ae13f5afb3d90efec0edc636432b" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "6250b412798208e6c90b03b7c4f226de5aa299e2" + revision: "6250b412798208e6c90b03b7c4f226de5aa299e2" end def install diff --git a/Formula/verilator.rb b/Formula/verilator.rb index fdfd7c6471887..216311d416770 100644 --- a/Formula/verilator.rb +++ b/Formula/verilator.rb @@ -11,7 +11,7 @@ class Verilator < Formula end head do - url "http://git.veripool.org/git/verilator", :using => :git + url "http://git.veripool.org/git/verilator", using: :git depends_on "automake" => :build depends_on "autoconf" => :build end diff --git a/Formula/vgmstream.rb b/Formula/vgmstream.rb index c1e9e36f31037..71e6d8ca2cd31 100644 --- a/Formula/vgmstream.rb +++ b/Formula/vgmstream.rb @@ -1,7 +1,7 @@ class Vgmstream < Formula desc "Library for playing streamed audio formats from video games" homepage "https://hcs64.com/vgmstream.html" - url "http://svn.code.sf.net/p/vgmstream/code", :revision => 1040 + url "http://svn.code.sf.net/p/vgmstream/code", revision: 1040 version "r1040" bottle do diff --git a/Formula/viennacl.rb b/Formula/viennacl.rb index cf2713bc3e791..dd5856f5adf73 100644 --- a/Formula/viennacl.rb +++ b/Formula/viennacl.rb @@ -13,7 +13,7 @@ class Viennacl < Formula end depends_on "cmake" => :build - depends_on :macos => :snow_leopard + depends_on macos: :snow_leopard def install system "cmake", ".", *std_cmake_args diff --git a/Formula/vim.rb b/Formula/vim.rb index fd5228e08adb0..75778cb7ecf8d 100644 --- a/Formula/vim.rb +++ b/Formula/vim.rb @@ -37,16 +37,16 @@ class Vim < Formula option "without-#{language}", "Build vim without #{language} support" end - depends_on :python => :recommended - depends_on :python3 => :optional - depends_on :ruby => "1.8" # Can be compiled against 1.8.x or >= 1.9.3-p385. - depends_on :perl => "5.3" + depends_on python: :recommended + depends_on python3: :optional + depends_on ruby: "1.8" # Can be compiled against 1.8.x or >= 1.9.3-p385. + depends_on perl: "5.3" depends_on "lua" => :optional depends_on "luajit" => :optional depends_on :x11 if build.with? "client-server" conflicts_with "ex-vi", - :because => "vim and ex-vi both install bin/ex and bin/view" + because: "vim and ex-vi both install bin/ex and bin/view" def install # https://github.com/Homebrew/homebrew-core/pull/1046 diff --git a/Formula/virtuoso.rb b/Formula/virtuoso.rb index df2e89fa30062..23c5af0085b02 100644 --- a/Formula/virtuoso.rb +++ b/Formula/virtuoso.rb @@ -13,7 +13,7 @@ class Virtuoso < Formula end head do - url "https://github.com/openlink/virtuoso-opensource.git", :branch => "develop/7" + url "https://github.com/openlink/virtuoso-opensource.git", branch: "develop/7" depends_on "autoconf" => :build depends_on "automake" => :build @@ -24,7 +24,7 @@ class Virtuoso < Formula depends_on "gawk" => :build depends_on "openssl" - conflicts_with "unixodbc", :because => "Both install `isql` binaries." + conflicts_with "unixodbc", because: "Both install `isql` binaries." skip_clean :la diff --git a/Formula/vit.rb b/Formula/vit.rb index 007a9952be79f..d8b44cea46de9 100644 --- a/Formula/vit.rb +++ b/Formula/vit.rb @@ -38,6 +38,6 @@ def install # vit-commands needs to be installed in the keg because that's where vit # will look for it. (prefix+"etc").install "commands" => "vit-commands" - bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"]) + bin.env_script_all_files(libexec+"bin", PERL5LIB: ENV["PERL5LIB"]) end end diff --git a/Formula/vnstat.rb b/Formula/vnstat.rb index 6fe21c5deb833..1477270897b85 100644 --- a/Formula/vnstat.rb +++ b/Formula/vnstat.rb @@ -43,7 +43,7 @@ def caveats; <<-EOS.undent EOS end - plist_options :startup => true, :manual => "#{HOMEBREW_PREFIX}/opt/vnstat/bin/vnstatd --nodaemon --config #{HOMEBREW_PREFIX}/etc/vnstat.conf" + plist_options startup: true, manual: "#{HOMEBREW_PREFIX}/opt/vnstat/bin/vnstatd --nodaemon --config #{HOMEBREW_PREFIX}/etc/vnstat.conf" def plist; <<-EOS.undent diff --git a/Formula/volatility.rb b/Formula/volatility.rb index 978203c23871e..45ffe30d6939f 100644 --- a/Formula/volatility.rb +++ b/Formula/volatility.rb @@ -85,7 +85,7 @@ def install system "python", "setup.py", "install", "--prefix=#{prefix}", "--single-version-externally-managed", "--record=installed.txt" - bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) + bin.env_script_all_files(libexec+"bin", PYTHONPATH: ENV["PYTHONPATH"]) end test do diff --git a/Formula/voldemort.rb b/Formula/voldemort.rb index f61ba86038d5d..cf0a65807d734 100644 --- a/Formula/voldemort.rb +++ b/Formula/voldemort.rb @@ -12,7 +12,7 @@ class Voldemort < Formula end depends_on "gradle" => :build - depends_on :java => "1.7+" + depends_on java: "1.7+" def install ENV.java_cache @@ -23,8 +23,8 @@ def install pkgshare.install "config" => "config-examples" (etc/"voldemort").mkpath env = { - :VOLDEMORT_HOME => libexec, - :VOLDEMORT_CONFIG_DIR => etc/"voldemort", + VOLDEMORT_HOME: libexec, + VOLDEMORT_CONFIG_DIR: etc/"voldemort", } bin.env_script_all_files(libexec/"bin", env) end diff --git a/Formula/voltdb.rb b/Formula/voltdb.rb index 00ce0ca333559..31e9ea2a27738 100644 --- a/Formula/voltdb.rb +++ b/Formula/voltdb.rb @@ -12,7 +12,7 @@ class Voltdb < Formula sha256 "de7b5adf80d177bde762b71d1044a901b2b68b0b22ec328f73137b99fc885248" => :mavericks end - depends_on :ant => :build + depends_on ant: :build def install system "ant" diff --git a/Formula/vramsteg.rb b/Formula/vramsteg.rb index f499941448725..8b65281b60c54 100644 --- a/Formula/vramsteg.rb +++ b/Formula/vramsteg.rb @@ -3,7 +3,7 @@ class Vramsteg < Formula homepage "https://tasktools.org/projects/vramsteg.html" url "https://tasktools.org/download/vramsteg-1.1.0.tar.gz" sha256 "9cc82eb195e4673d9ee6151373746bd22513033e96411ffc1d250920801f7037" - head "https://git.tasktools.org/scm/ut/vramsteg.git", :branch => "1.1.1" + head "https://git.tasktools.org/scm/ut/vramsteg.git", branch: "1.1.1" bottle do cellar :any_skip_relocation diff --git a/Formula/vultr.rb b/Formula/vultr.rb index 19fbf409e7e93..ff03492c52da0 100644 --- a/Formula/vultr.rb +++ b/Formula/vultr.rb @@ -20,17 +20,17 @@ class Vultr < Formula go_resource "github.com/kr/fs" do url "https://github.com/kr/fs.git", - :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b" + revision: "2788f0dbd16903de03cb8186e5c7d97b69ad387b" end go_resource "golang.org/x/tools" do url "https://github.com/golang/tools.git", - :revision => "fbb6674a7495706ad1ba2d7cca18ca9d804ccdca" + revision: "fbb6674a7495706ad1ba2d7cca18ca9d804ccdca" end go_resource "golang.org/x/crypto" do url "https://github.com/golang/crypto.git", - :revision => "91ab96ae987aef3e74ab78b3aaf026109d206148" + revision: "91ab96ae987aef3e74ab78b3aaf026109d206148" end def install diff --git a/Formula/wakatime-cli.rb b/Formula/wakatime-cli.rb index c0d9271965b69..924ac0b30fb48 100644 --- a/Formula/wakatime-cli.rb +++ b/Formula/wakatime-cli.rb @@ -18,7 +18,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"]) end test do diff --git a/Formula/walkmod.rb b/Formula/walkmod.rb index 93b49802b6b96..cdea3afdfed34 100644 --- a/Formula/walkmod.rb +++ b/Formula/walkmod.rb @@ -6,7 +6,7 @@ class Walkmod < Formula bottle :unneeded - depends_on :java => "1.7+" + depends_on java: "1.7+" def install # Remove windows files diff --git a/Formula/watch-sim.rb b/Formula/watch-sim.rb index 88059e172e612..7b8fe88c047c2 100644 --- a/Formula/watch-sim.rb +++ b/Formula/watch-sim.rb @@ -12,7 +12,7 @@ class WatchSim < Formula sha256 "b04846befdb378679cdd93bdf182784a8ed0da3957cb0b4a124576b3cd06e54c" => :mavericks end - depends_on :xcode => "6.2" + depends_on xcode: "6.2" def install system "make" diff --git a/Formula/watch.rb b/Formula/watch.rb index 3d061a47c3fcf..f77d3d773acdc 100644 --- a/Formula/watch.rb +++ b/Formula/watch.rb @@ -5,8 +5,8 @@ class Watch < Formula stable do url "https://gitlab.com/procps-ng/procps.git", - :tag => "v3.3.12", - :revision => "e0784ddaed30d095bb1d9a8ad6b5a23d10a212c4" + tag: "v3.3.12", + revision: "e0784ddaed30d095bb1d9a8ad6b5a23d10a212c4" # Upstream commit, which fixes missing HOST_NAME_MAX on BSD-y systems. # Commit subject is "watch: define HOST_NAME_MAX" diff --git a/Formula/watchman.rb b/Formula/watchman.rb index a3b8e457706fb..3d79932e50bb0 100644 --- a/Formula/watchman.rb +++ b/Formula/watchman.rb @@ -36,7 +36,7 @@ def install system "python", *Language::Python.setup_install_args(libexec) end 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 post_install diff --git a/Formula/watson.rb b/Formula/watson.rb index 60725fe1fafa7..99e5a87994104 100644 --- a/Formula/watson.rb +++ b/Formula/watson.rb @@ -52,7 +52,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"]) end test do diff --git a/Formula/wdiff.rb b/Formula/wdiff.rb index 9019b824112d4..83f6c42f12e00 100644 --- a/Formula/wdiff.rb +++ b/Formula/wdiff.rb @@ -15,7 +15,7 @@ class Wdiff < Formula depends_on "gettext" => :optional - conflicts_with "montage", :because => "Both install an mdiff executable" + conflicts_with "montage", because: "Both install an mdiff executable" def install system "./configure", "--disable-dependency-tracking", diff --git a/Formula/webarchiver.rb b/Formula/webarchiver.rb index e0cba29dfe5d7..17163e38e47d2 100644 --- a/Formula/webarchiver.rb +++ b/Formula/webarchiver.rb @@ -13,7 +13,7 @@ class Webarchiver < Formula sha256 "404f9ffdf69b13cd1e89a51c331b4f8478400944eaf109a5d6f380dcf97bbddb" => :mavericks end - depends_on :xcode => ["6.0.1", :build] + depends_on xcode: ["6.0.1", :build] def install xcodebuild diff --git a/Formula/weboob.rb b/Formula/weboob.rb index 4996b2d064d66..11afd328b9f80 100644 --- a/Formula/weboob.rb +++ b/Formula/weboob.rb @@ -19,7 +19,7 @@ class Weboob < Formula depends_on :python if MacOS.version <= :snow_leopard depends_on "libyaml" depends_on "pyqt" - depends_on :gpg => :run + depends_on gpg: :run resource "termcolor" do url "https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz" diff --git a/Formula/websocketd.rb b/Formula/websocketd.rb index 82b5a35c79d5d..395cb855a83c3 100644 --- a/Formula/websocketd.rb +++ b/Formula/websocketd.rb @@ -18,12 +18,12 @@ class Websocketd < Formula go_resource "github.com/joewalnes/websocketd" do url "https://github.com/joewalnes/websocketd.git", - :revision => "709c49912b0d8575e9e9d4035aa0b07183bd879e" + revision: "709c49912b0d8575e9e9d4035aa0b07183bd879e" end go_resource "golang.org/x/net" do url "https://go.googlesource.com/net.git", - :revision => "30db96677b74e24b967e23f911eb3364fc61a011" + revision: "30db96677b74e24b967e23f911eb3364fc61a011" end def install diff --git a/Formula/weechat.rb b/Formula/weechat.rb index a494f232bd592..2a4b1b7084841 100644 --- a/Formula/weechat.rb +++ b/Formula/weechat.rb @@ -26,7 +26,7 @@ class Weechat < Formula depends_on "guile" => :optional depends_on "aspell" => :optional depends_on "lua" => :optional - depends_on :python => :optional + depends_on python: :optional depends_on "curl" => :optional def install diff --git a/Formula/wego.rb b/Formula/wego.rb index 528702cc87a50..8b01777f2e1a0 100644 --- a/Formula/wego.rb +++ b/Formula/wego.rb @@ -18,17 +18,17 @@ class Wego < Formula go_resource "github.com/mattn/go-colorable" do url "https://github.com/mattn/go-colorable.git", - :revision => "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" + revision: "ed8eb9e318d7a84ce5915b495b7d35e0cfe7b5a8" end go_resource "github.com/mattn/go-runewidth" do url "https://github.com/mattn/go-runewidth.git", - :revision => "d6bea18f789704b5f83375793155289da36a3c7f" + revision: "d6bea18f789704b5f83375793155289da36a3c7f" end go_resource "github.com/schachmat/ingo" do url "https://github.com/schachmat/ingo.git", - :revision => "b1887f863beaeb31b3924e839dfed3cf3a981ea8" + revision: "b1887f863beaeb31b3924e839dfed3cf3a981ea8" end def install diff --git a/Formula/wellington.rb b/Formula/wellington.rb index ad442976bd80c..563c87e4e7fec 100644 --- a/Formula/wellington.rb +++ b/Formula/wellington.rb @@ -39,12 +39,12 @@ class Wellington < Formula go_resource "github.com/kr/fs" do url "https://github.com/kr/fs.git", - :revision => "2788f0dbd16903de03cb8186e5c7d97b69ad387b" + revision: "2788f0dbd16903de03cb8186e5c7d97b69ad387b" end go_resource "golang.org/x/tools" do url "https://github.com/golang/tools.git", - :revision => "ea5101579e09ace53571c8a5bae6ebb896f8d5e4" + revision: "ea5101579e09ace53571c8a5bae6ebb896f8d5e4" end def install diff --git a/Formula/wiki.rb b/Formula/wiki.rb index e4b6f653d72c4..27fac7842115b 100644 --- a/Formula/wiki.rb +++ b/Formula/wiki.rb @@ -15,11 +15,11 @@ class Wiki < Formula depends_on "go" => :build - conflicts_with "osxutils", :because => "both install `wiki` binaries" + conflicts_with "osxutils", because: "both install `wiki` binaries" go_resource "github.com/mattn/go-colorable" do url "https://github.com/mattn/go-colorable.git", - :revision => "40e4aedc8fabf8c23e040057540867186712faa5" + revision: "40e4aedc8fabf8c23e040057540867186712faa5" end def install diff --git a/Formula/wine.rb b/Formula/wine.rb index 9aa847652537d..8e0ca21d07d16 100644 --- a/Formula/wine.rb +++ b/Formula/wine.rb @@ -57,7 +57,7 @@ def require_universal_deps? # Wine will build both the Mac and the X11 driver by default, and you can switch # between them. But if you really want to build without X11, you can. - depends_on :x11 => :recommended + depends_on x11: :recommended depends_on "pkg-config" => :build depends_on "freetype" depends_on "jpeg" @@ -83,12 +83,12 @@ def require_universal_deps? # "Build with win64 emulator (won't run 32-bit binaries.)" resource "gecko" do - url "https://downloads.sourceforge.net/wine/wine_gecko-2.40-x86.msi", :using => :nounzip + url "https://downloads.sourceforge.net/wine/wine_gecko-2.40-x86.msi", using: :nounzip sha256 "1a29d17435a52b7663cea6f30a0771f74097962b07031947719bb7b46057d302" end resource "mono" do - url "https://downloads.sourceforge.net/wine/wine-mono-4.5.6.msi", :using => :nounzip + url "https://downloads.sourceforge.net/wine/wine-mono-4.5.6.msi", using: :nounzip sha256 "ac681f737f83742d786706529eb85f4bc8d6bdddd8dcdfa9e2e336b71973bc25" end diff --git a/Formula/wireguard-tools.rb b/Formula/wireguard-tools.rb index 3ca1dbee0eda2..c7967f5fa8f5e 100644 --- a/Formula/wireguard-tools.rb +++ b/Formula/wireguard-tools.rb @@ -5,7 +5,7 @@ class WireguardTools < Formula # Please only update version when the tools have been modified/updated. url "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-0.0.20160722.tar.xz" sha256 "0dcda97b6bb4e962f731a863df9b4291c1c453b01f4faba78be4aaa13a594242" - head "https://git.zx2c4.com/WireGuard", :using => :git + head "https://git.zx2c4.com/WireGuard", using: :git bottle do cellar :any_skip_relocation diff --git a/Formula/wireshark.rb b/Formula/wireshark.rb index c5eaa1a0f99cd..b39b8cc0a9398 100644 --- a/Formula/wireshark.rb +++ b/Formula/wireshark.rb @@ -4,7 +4,7 @@ class Wireshark < Formula url "https://www.wireshark.org/download/src/all-versions/wireshark-2.2.0.tar.bz2" mirror "https://1.eu.dl.wireshark.org/src/wireshark-2.2.0.tar.bz2" sha256 "a6847e741efcba6cb9d92d464d4219917bee3ad0b8f5b0f80d4388ad2f3f1104" - head "https://code.wireshark.org/review/wireshark", :using => :git + head "https://code.wireshark.org/review/wireshark", using: :git bottle do sha256 "04c0880af27eee0428976b41562124d9f9a0aef272acb828f05aa385c31c611e" => :sierra diff --git a/Formula/wrk-trello.rb b/Formula/wrk-trello.rb index 0ddec37f5a6e9..51127c774bebf 100644 --- a/Formula/wrk-trello.rb +++ b/Formula/wrk-trello.rb @@ -6,7 +6,7 @@ class WrkTrello < Formula bottle :unneeded - conflicts_with "wrk", :because => "both install `wrk` binaries" + conflicts_with "wrk", because: "both install `wrk` binaries" def script; <<-EOS.undent #!/bin/sh diff --git a/Formula/wrk.rb b/Formula/wrk.rb index 09efe3cdeea73..18813c591e160 100644 --- a/Formula/wrk.rb +++ b/Formula/wrk.rb @@ -15,7 +15,7 @@ class Wrk < Formula depends_on "openssl" - conflicts_with "wrk-trello", :because => "both install `wrk` binaries" + conflicts_with "wrk-trello", because: "both install `wrk` binaries" def install ENV.j1 diff --git a/Formula/wry.rb b/Formula/wry.rb index 8d457423af013..58bf687c2cd43 100644 --- a/Formula/wry.rb +++ b/Formula/wry.rb @@ -14,8 +14,8 @@ class Wry < Formula sha256 "62d8ccef8fe23dbc90b9f36d4693922a7884f69ad9276e1dd2e094a67c1fbbf2" => :lion end - depends_on :macos => :lion - depends_on :xcode => :build + depends_on macos: :lion + depends_on xcode: :build def install xcodebuild "-target", "wry", "-configuration", "Release", "SYMROOT=build", "OBJROOT=objroot" diff --git a/Formula/x11vnc.rb b/Formula/x11vnc.rb index 31b2312556d61..3f15435d242aa 100644 --- a/Formula/x11vnc.rb +++ b/Formula/x11vnc.rb @@ -12,7 +12,7 @@ class X11vnc < Formula sha256 "104e7c7dfd642f901e9f8be417b77540242c1ef2bf8e8aba6bee64e5d9f2a215" => :mountain_lion end - depends_on :x11 => :optional + depends_on x11: :optional depends_on "openssl" depends_on "jpeg" diff --git a/Formula/x264.rb b/Formula/x264.rb index dcdcd5225d7c4..39a6bd9b063d3 100644 --- a/Formula/x264.rb +++ b/Formula/x264.rb @@ -2,7 +2,7 @@ class X264 < Formula desc "H.264/AVC encoder" homepage "https://www.videolan.org/developers/x264.html" # the latest commit on the stable branch - url "https://git.videolan.org/git/x264.git", :revision => "a5e06b9a435852f0125de4ecb198ad47340483fa" + url "https://git.videolan.org/git/x264.git", revision: "a5e06b9a435852f0125de4ecb198ad47340483fa" version "r2699" head "https://git.videolan.org/git/x264.git" @@ -16,7 +16,7 @@ class X264 < Formula devel do # the latest commit on the master branch - url "https://git.videolan.org/git/x264.git", :revision => "3f5ed56d4105f68c01b86f94f41bb9bbefa3433b" + url "https://git.videolan.org/git/x264.git", revision: "3f5ed56d4105f68c01b86f94f41bb9bbefa3433b" version "r2705" end diff --git a/Formula/x265.rb b/Formula/x265.rb index 8a41f09fc7376..81de581a44273 100644 --- a/Formula/x265.rb +++ b/Formula/x265.rb @@ -4,7 +4,7 @@ class X265 < Formula url "https://bitbucket.org/multicoreware/x265/downloads/x265_2.0.tar.gz" sha256 "5a7f6797bee33310c690be5d9a6c63125f36663ac3478e98ac6b6142a70bce1f" - head "https://bitbucket.org/multicoreware/x265", :using => :hg + head "https://bitbucket.org/multicoreware/x265", using: :hg bottle do cellar :any @@ -20,7 +20,7 @@ class X265 < Formula depends_on "yasm" => :build depends_on "cmake" => :build - depends_on :macos => :lion + depends_on macos: :lion def install args = std_cmake_args diff --git a/Formula/xapian.rb b/Formula/xapian.rb index 3412114b47215..d41622fa04cf2 100644 --- a/Formula/xapian.rb +++ b/Formula/xapian.rb @@ -39,7 +39,7 @@ class Xapian < Formula deprecated_option "php" => "with-php" deprecated_option "ruby" => "with-ruby" - depends_on :python => :optional + depends_on python: :optional skip_clean :la diff --git a/Formula/xcproj.rb b/Formula/xcproj.rb index 2bdd7eefadc88..74a0766d0d397 100644 --- a/Formula/xcproj.rb +++ b/Formula/xcproj.rb @@ -14,7 +14,7 @@ class Xcproj < Formula sha256 "64c9bef0c410c6494f0677e34023b75657be4b35e85e13468e9c0cb20c377c09" => :mavericks end - depends_on :macos => :mountain_lion + depends_on macos: :mountain_lion depends_on :xcode def install diff --git a/Formula/xctool.rb b/Formula/xctool.rb index 6c95671af2565..10f9643d7c515 100644 --- a/Formula/xctool.rb +++ b/Formula/xctool.rb @@ -12,7 +12,7 @@ class Xctool < Formula sha256 "d035eebe4a7203b1ed2db3d59c3f4a6f418cad5e3cfd872355d0fa561c568b02" => :mavericks end - depends_on :xcode => "6.0" + depends_on xcode: "6.0" def install system "./scripts/build.sh", "XT_INSTALL_ROOT=#{libexec}", "-IDECustomDerivedDataLocation=#{buildpath}" diff --git a/Formula/xdot.rb b/Formula/xdot.rb index c5e37b0896295..e2b4de6425dff 100644 --- a/Formula/xdot.rb +++ b/Formula/xdot.rb @@ -24,7 +24,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"]) end test do diff --git a/Formula/xhyve.rb b/Formula/xhyve.rb index 48d945ec47b7e..efd11469041fe 100644 --- a/Formula/xhyve.rb +++ b/Formula/xhyve.rb @@ -12,7 +12,7 @@ class Xhyve < Formula sha256 "4b7fe0a81da6d1a6777a42c41d3465d7777047a1ec9581fcfdef949e13d68010" => :yosemite end - depends_on :macos => :yosemite + depends_on macos: :yosemite def install args = [] diff --git a/Formula/xmake.rb b/Formula/xmake.rb index ade0448382ac3..4554649a543d5 100644 --- a/Formula/xmake.rb +++ b/Formula/xmake.rb @@ -16,7 +16,7 @@ def install system "./install", "output" pkgshare.install Dir["xmake/*"] bin.install "output/share/xmake/xmake" - bin.env_script_all_files(libexec, :XMAKE_PROGRAM_DIR => pkgshare) + bin.env_script_all_files(libexec, XMAKE_PROGRAM_DIR: pkgshare) end test do diff --git a/Formula/xplanet.rb b/Formula/xplanet.rb index 0dc33de6c8dee..3b17cee8e79f1 100644 --- a/Formula/xplanet.rb +++ b/Formula/xplanet.rb @@ -34,7 +34,7 @@ class Xplanet < Formula depends_on "cspice" => :optional depends_on "freetype" - depends_on :x11 => :optional + depends_on x11: :optional def install args = %W[ diff --git a/Formula/xplanetfx.rb b/Formula/xplanetfx.rb index 2d8c218bd2eb8..404ba92e927e6 100644 --- a/Formula/xplanetfx.rb +++ b/Formula/xplanetfx.rb @@ -39,7 +39,7 @@ def install ENV.prepend_create_path "PYTHONPATH", "#{HOMEBREW_PREFIX}/lib/python2.7/site-packages/gtk-2.0" ENV.prepend_create_path "GDK_PIXBUF_MODULEDIR", "#{HOMEBREW_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders" end - bin.env_script_all_files(libexec+"bin", :PATH => "#{path}:$PATH", :PYTHONPATH => ENV["PYTHONPATH"], :GDK_PIXBUF_MODULEDIR => ENV["GDK_PIXBUF_MODULEDIR"]) + bin.env_script_all_files(libexec+"bin", PATH: "#{path}:$PATH", PYTHONPATH: ENV["PYTHONPATH"], GDK_PIXBUF_MODULEDIR: ENV["GDK_PIXBUF_MODULEDIR"]) end def post_install diff --git a/Formula/xqilla.rb b/Formula/xqilla.rb index a6f7ead8265ad..bb008dc40e63a 100644 --- a/Formula/xqilla.rb +++ b/Formula/xqilla.rb @@ -14,7 +14,7 @@ class Xqilla < Formula depends_on "xerces-c" - conflicts_with "zorba", :because => "Both supply xqc.h" + conflicts_with "zorba", because: "Both supply xqc.h" def install system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Formula/xsd.rb b/Formula/xsd.rb index 99f15f59138c5..038d55516c444 100644 --- a/Formula/xsd.rb +++ b/Formula/xsd.rb @@ -27,7 +27,7 @@ class Xsd < Formula # received no response (yet). patch :DATA - conflicts_with "mono", :because => "both install `xsd` binaries" + conflicts_with "mono", because: "both install `xsd` binaries" def install ENV.append "LDFLAGS", `pkg-config --libs --static xerces-c`.chomp diff --git a/Formula/yasm.rb b/Formula/yasm.rb index ccef0a7c190ac..a4f5adf016f5e 100644 --- a/Formula/yasm.rb +++ b/Formula/yasm.rb @@ -21,7 +21,7 @@ class Yasm < Formula depends_on "gettext" end - depends_on :python => :optional + depends_on python: :optional resource "cython" do url "https://files.pythonhosted.org/packages/c6/fe/97319581905de40f1be7015a0ea1bd336a756f6249914b148a17eefa75dc/Cython-0.24.1.tar.gz" diff --git a/Formula/yeti.rb b/Formula/yeti.rb index 441bacafa4b6e..f633d30bccfc0 100644 --- a/Formula/yeti.rb +++ b/Formula/yeti.rb @@ -13,8 +13,8 @@ class Yeti < Formula sha256 "9dd1a7662b45c454c47075ee029c554bf2655423376bd373cde6e15e716e7677" => :mavericks end - depends_on :ant => :build - depends_on :java => "1.8" + depends_on ant: :build + depends_on java: "1.8" def install system "ant", "jar" diff --git a/Formula/yle-dl.rb b/Formula/yle-dl.rb index 527e04a7a6572..b73530f3d99f0 100644 --- a/Formula/yle-dl.rb +++ b/Formula/yle-dl.rb @@ -45,7 +45,7 @@ def install # change shebang to plain python (python2 is not guaranteed to exist) inreplace bin/"yle-dl", "#!/usr/bin/env python2", "#!/usr/bin/env python" - 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 diff --git a/Formula/you-get.rb b/Formula/you-get.rb index f713815e0a6fb..2d8d52493dfff 100644 --- a/Formula/you-get.rb +++ b/Formula/you-get.rb @@ -5,7 +5,7 @@ class YouGet < Formula homepage "https://you-get.org/" url "https://files.pythonhosted.org/packages/10/71/fc855ecf52cae5cf2844a3fcc13091fd90f94566bd1d95e4456eef893544/you-get-0.4.536.tar.gz" sha256 "6d731e1316f58435a291ad07bc572da7d77129fd211d6e1796d6d55e45f84537" - head "https://github.com/soimort/you-get.git", :branch => "develop" + head "https://github.com/soimort/you-get.git", branch: "develop" bottle do sha256 "f703f05dce8bfdef7b135524d112f672d0244ee473dd3a4cd07c94e4b0b47418" => :el_capitan diff --git a/Formula/z3.rb b/Formula/z3.rb index 433f303db0699..da50e5b7978a8 100644 --- a/Formula/z3.rb +++ b/Formula/z3.rb @@ -14,8 +14,8 @@ class Z3 < Formula end option "without-python", "Build without python 2 support" - depends_on :python => :recommended if MacOS.version <= :snow_leopard - depends_on :python3 => :optional + depends_on python: :recommended if MacOS.version <= :snow_leopard + depends_on python3: :optional def install if build.without?("python3") && build.without?("python") diff --git a/Formula/zabbix.rb b/Formula/zabbix.rb index fbac41aa9633b..3a9b677f46ec9 100644 --- a/Formula/zabbix.rb +++ b/Formula/zabbix.rb @@ -16,7 +16,7 @@ class Zabbix < Formula deprecated_option "agent-only" => "without-server-proxy" if build.with? "server-proxy" - depends_on :mysql => :optional + depends_on mysql: :optional depends_on :postgresql if build.without? "mysql" depends_on "fping" depends_on "libssh2" diff --git a/Formula/zanata-client.rb b/Formula/zanata-client.rb index 51369f8b91468..48048f56aeb69 100644 --- a/Formula/zanata-client.rb +++ b/Formula/zanata-client.rb @@ -11,7 +11,7 @@ class ZanataClient < Formula sha256 "7ff54b8ca01393f2c85e30c595572c04fcc903838ede194325914b183e9f9c00" => :mavericks end - depends_on :java => "1.8+" + depends_on java: "1.8+" def install libexec.install Dir["*"] diff --git a/Formula/zbar.rb b/Formula/zbar.rb index 54a25b8aa2b34..a885808e856ff 100644 --- a/Formula/zbar.rb +++ b/Formula/zbar.rb @@ -12,7 +12,7 @@ class Zbar < Formula sha256 "39865fe54a7bd3f0153e19729d0b958bd3ac5a5bac5d39a50194b39db2503317" => :mavericks end - depends_on :x11 => :optional + depends_on x11: :optional depends_on "pkg-config" => :build depends_on "jpeg" depends_on "imagemagick" diff --git a/Formula/zero-install.rb b/Formula/zero-install.rb index cc96706c97962..12e645790b9bf 100644 --- a/Formula/zero-install.rb +++ b/Formula/zero-install.rb @@ -10,7 +10,7 @@ class ZeroInstall < Formula # but those haven't made it into a stable release yet. # There's also a build fix for Ocaml 4.03.0 not in latest release. url "https://github.com/0install/0install.git", - :revision => "5ec4a9f55ba8e38b60cceeef5da982847395928c" + revision: "5ec4a9f55ba8e38b60cceeef5da982847395928c" version "2.11" bottle do @@ -26,7 +26,7 @@ class ZeroInstall < Formula depends_on "opam" => :build depends_on "camlp4" => :build depends_on "gtk+" => :optional - depends_on :gpg => :run + depends_on gpg: :run resource "easy-format" do # [required by yojson] url "https://github.com/mjambon/easy-format/archive/v1.2.0.tar.gz" diff --git a/Formula/znc.rb b/Formula/znc.rb index a197574c7c3e2..30ad166f20576 100644 --- a/Formula/znc.rb +++ b/Formula/znc.rb @@ -46,7 +46,7 @@ def install system "make", "install" end - plist_options :manual => "znc --foreground" + plist_options manual: "znc --foreground" def plist; <<-EOS.undent diff --git a/Formula/zookeeper.rb b/Formula/zookeeper.rb index 0b566e3b636a2..1fb1ebfe5d34b 100644 --- a/Formula/zookeeper.rb +++ b/Formula/zookeeper.rb @@ -29,7 +29,7 @@ class Zookeeper < Formula deprecated_option "perl" => "with-perl" - depends_on :python => :optional + depends_on python: :optional def shim_script(target) <<-EOS.undent @@ -126,7 +126,7 @@ def install (etc/"zookeeper").install ["conf/zoo.cfg", "conf/zoo_sample.cfg"] end - plist_options :manual => "zkServer start" + plist_options manual: "zkServer start" def plist; <<-EOS.undent diff --git a/Formula/zorba.rb b/Formula/zorba.rb index d1c302184f756..b3f2785f753d0 100644 --- a/Formula/zorba.rb +++ b/Formula/zorba.rb @@ -13,13 +13,13 @@ class Zorba < Formula option "with-big-integer", "Use 64 bit precision instead of arbitrary precision for performance" option "with-ssl-verification", "Enable SSL peer certificate verification" - depends_on :macos => :mavericks + depends_on macos: :mavericks depends_on "cmake" => :build depends_on "flex" depends_on "icu4c" depends_on "xerces-c" - conflicts_with "xqilla", :because => "Both supply xqc.h" + conflicts_with "xqilla", because: "Both supply xqc.h" needs :cxx11 diff --git a/Formula/zpython.rb b/Formula/zpython.rb index b46c380d401cb..506381789f6ec 100644 --- a/Formula/zpython.rb +++ b/Formula/zpython.rb @@ -2,7 +2,7 @@ class Zsh5Requirement < Requirement default_formula "zsh" fatal true - satisfy :build_env => false do + satisfy build_env: false do begin `zsh --version`[/zsh (\d)/, 1] == "5" rescue @@ -18,7 +18,7 @@ def message class Zpython < Formula desc "Embeds a Python interpreter into zsh" homepage "https://bitbucket.org/ZyX_I/zsh" - head "https://bitbucket.org/ZyX_I/zsh.git", :branch => "zpython" + head "https://bitbucket.org/ZyX_I/zsh.git", branch: "zpython" stable do url "https://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2" diff --git a/Formula/zsh-syntax-highlighting.rb b/Formula/zsh-syntax-highlighting.rb index 1df09b35dd826..0bb217406b4fe 100644 --- a/Formula/zsh-syntax-highlighting.rb +++ b/Formula/zsh-syntax-highlighting.rb @@ -2,8 +2,8 @@ class ZshSyntaxHighlighting < Formula desc "Fish shell like syntax highlighting for zsh" homepage "https://github.com/zsh-users/zsh-syntax-highlighting" url "https://github.com/zsh-users/zsh-syntax-highlighting.git", - :tag => "0.4.1", - :revision => "c19ee583138ebab416b0d2efafbad7dc9f3f7c4f" + tag: "0.4.1", + revision: "c19ee583138ebab416b0d2efafbad7dc9f3f7c4f" head "https://github.com/zsh-users/zsh-syntax-highlighting.git" bottle do