Commit Graph

79 Commits

Author SHA1 Message Date
Dominyk Tiller b4c92f3658 brew-cask 0.60.1
Over at Homebrew we've accidentally caused an edge-case problem for some
Caskroom users. We recently merged https://github.com/Homebrew/homebrew/commit/915ac06d
which is much stricter on empty installations, failing during install rather than
just shouting about it in the audit.

We'd prefer not to revert the change there because it's quite a positive change
that's much more obvious about installation problems, given installations
shouldn't be empty. There's also the likelihood that if we revert, wait 3 months
to add the check back, someone out there will wait 4 months before upgrade and we'll
run into this again.

However, this causes some issues with Cask because when Mike rewrote the formula
he left `def install` an empty hole, which was fine at the time.
Anyone who hasn't updated between December 9th 2015 and January 9th 2016 will now
run into a fatal error on upgrading the Cask formula, as seen in: https://github.com/Homebrew/homebrew/issues/47929

I was wondering if the Cask would be kind enough to tag one very last bug fix release,
or even retag the existing tag and formula with a similar fix to this.
If you're agreed and prefer to do this yourself you can ignore the PR but wanted
to explain the background.
2016-01-11 12:32:31 -05:00
Mike McQuaid fdb4577be8 brew-cask: move to using tap cmd directory.
This provides a few benefits:

- faster `brew cask` execution times as another Ruby process is not
  needed. Cask can instead be loaded in-process with Homebrew. This
  will also make it easier to use some of Homebrew's core code and
  ease moving code from Cask into Homebrew core.
- Users do not need to `brew upgrade` Cask any more: it's done
  automatically on any `brew update` or `git pull` of the Cask tap.
2015-12-09 19:32:49 +00:00
Vítor Galvão a6d00697fd last changes of 'brew --prefix' into 'brew --repository' 2015-10-27 23:56:51 +00:00
Juliusz Gonera 2d116920a7 Improve Ruby version check in the formula
Previously if a person was using RVM or Rbenv and set a Ruby < 2.0 as
their global Ruby, cask would use brew to install a newer Ruby even
though a new enough Ruby could be present already.
2015-10-09 09:29:52 -07:00
Mike McQuaid a1f9871407 brew-cask.rb: name requirement subclass better
Sorry, pedantry here that I'm about to fix globally in Homebrew/homebrew: it doesn't really make sense to use `Dependency` in the name here because this is a `Requirement` and a `Dependency` is another, similar internal Homebrew class so this change is a bit less confusing.
2015-04-14 13:34:38 -07:00
Xu Cheng 783935b213 fix dependency name conflict
Current dependency name will be conficted with the formula name of
homebrew/version/ruby20.rb, in result it will cause following error:

```
$ brew readall
Error: problem in /usr/local/Library/Formula/ruby20.rb
wrong number of arguments (3 for 0..1)
```

Fixes https://github.com/Homebrew/homebrew/issues/38638
2015-04-14 22:47:42 +08:00
Mike McQuaid 9e35a4b251 brew-cask: depend on Ruby 2.0.
Nicer to do this at Homebrew time so it can e.g. install the Ruby rather
than throwing an error at runtime.
2015-04-11 14:19:04 +01:00
Roland Walker 202d6019f8 Move all code under an Hbc:: namespace
* convert existing Cask:: namespace to Hbc::
* move Homebrew-fork code under Hbc::
* move freestanding classes such as Tty and TopologicalHash under Hbc::
* recast HOMEBREW_CASK_ constants as HBC_
* modify our Homebrew Formula for backward compatibility
* devscripts and dev docs
2015-01-02 07:27:03 -05:00
Mike McQuaid f8ce6a664a brew-cask.rb: fix `brew audit --strict brew-cask`.
We added a few more warnings so fix them up.
2014-12-27 17:00:21 +00:00
Roland Walker ba12a2aaaa replace brew-cask.rb subcommand with bash shim
The `brew-cask` shim finds and executes `lib/brew-cask-cmd.rb`,
but only if Ruby 2.0+ is found.
2014-12-16 07:23:57 -05:00
Paul Hinze f54eaf7082 update all references to new caskroom org home
global replace of:
  'phinze/homebrew-cask' -> 'caskroom/homebrew-cask'
  'phinze/cask' -> 'caskroom/cask'
  'phinze/homebrew-testcasks' -> 'caskroom/homebrew-testcasks'

and various other specific places that needed updates

<3 the homebrew-cask community!
2014-05-03 10:29:17 -05:00
Roland Walker 752304c1e6 re-enable manpage
this should should work correctly after v0.29.0 release
2014-02-15 07:55:56 -05:00
Paul Hinze 753bc59dcb restrict visibility of Cask namespace in Formula
we had collision issues with homebrew's 'cask' formula (for the emacs
package manager project).

this keeps the in-project and in-formula visibility of the version
number via the old "namespaced global" strategy that keeps a `Cask`
constant out of view of the formula.
2014-02-09 14:14:07 -05:00
Roland Walker 39e59d988c don't attempt manpage install (until next release)
fixes #2791
2014-02-06 16:41:01 -05:00
Roland Walker ceb727b06b add man page brew-cask.1 2014-01-31 12:50:42 -05:00
Paul Hinze 3f8d9b0ffe move project version to idomatic location
gives project-internal visibility of the version constant for use in
displaying to the user.

the formula now does a targeted require to get the version constant from
the new location.
2014-01-20 10:26:13 -06:00
Paul Hinze f06aa69a7d cut v0.26.1 2014-01-10 11:07:31 -06:00
Paul Hinze 7672f13ba0 cut v0.26.0 2014-01-10 10:12:28 -06:00
Paul Hinze ef400ec522 cut v0.25.0 2013-12-15 15:41:34 -06:00
Fernando Paredes ea25500329 cut v0.24.0 2013-12-09 17:27:01 -08:00
Fernando Paredes bbd34f9371 cut v0.23.0 2013-12-08 18:27:08 -08:00
Paul Hinze e3a266a1b5 cut v0.22.0 2013-12-06 13:20:46 -06:00
Fernando Paredes 58793622d7 bump version to v0.21.1 2013-12-01 09:59:21 -08:00
phinze 0da902b27c cut v0.21.0 2013-11-26 11:58:44 -06:00
phinze 1fdc5f4496 cut v0.20.1 2013-11-17 08:51:59 -06:00
phinze fb18a550ee cut v0.20.0 2013-11-10 16:01:25 -06:00
phinze 7c2fd5d025 cut v0.19.4 2013-10-31 19:52:04 -05:00
phinze 0e80b856e7 cut v0.19.3 2013-10-24 15:26:05 -05:00
phinze 43f902ff19 cut v0.19.2 2013-10-23 19:37:17 -05:00
phinze 8a9a24b3d6 cut v0.19.1 2013-10-20 17:13:16 -05:00
phinze ebcb2e768f cut v0.19.0 2013-10-19 17:56:13 -05:00
phinze d018ded02b cut v0.18.3 release 2013-10-19 13:29:31 -05:00
phinze ed58e92eb1 cut v0.18.2 2013-10-07 20:21:33 -05:00
phinze 18aafbc840 release v0.18.1 2013-10-07 19:33:57 -05:00
phinze 7a99af16d4 cut v0.18.0 release 2013-10-07 19:18:11 -05:00
phinze 4727da7038 bump version to v0.17.3 2013-10-02 09:58:50 -05:00
phinze e24a05032a bump version to v0.17.2 2013-10-02 09:42:32 -05:00
phinze 5f1f3979f8 bump to v0.17.1; fix brew audit
no need to specify version in the formula since it's inferred from the tag
2013-09-25 14:41:28 -05:00
phinze 35f188c2cd bump version to v0.17.0 2013-09-24 13:14:23 -05:00
Paul Hinze 7ee9b1ec84 bumping version to v0.16.2
to release past the typo
2013-09-14 22:49:53 -05:00
Paul Hinze 998ff98f2f sigh stupid typo 2013-09-14 22:49:35 -05:00
phinze 79e20e60ff bump version to 0.16.1
also pull version into a variable because i'm sick of typing it twice
every time
2013-09-14 22:11:17 -05:00
phinze 793066504a bump version to v0.16.0 2013-09-09 11:37:08 -05:00
Fernando Paredes 44415221ee Fix version bump tag
The version bump was checking out 0.14.1.
2013-07-21 21:03:18 -07:00
phinze 7c4364e8ad bump version to v0.15.0 2013-07-21 22:44:11 -05:00
phinze d8902ee516 bump version to v0.14.1 2013-07-07 09:23:10 -05:00
phinze 826c8febb4 use hash-arg install instead of install_p
fixes homebrew compatibility as of
64ae87bb92

refs #674
2013-07-07 09:21:15 -05:00
phinze 8adedfeb49 bump version to v0.14.0 2013-05-31 08:53:43 -05:00
phinze b1a94b68df bump version to v0.13.0 2013-05-27 10:21:04 -05:00
Paul Hinze d654798a93 bump version to 0.12.2 2013-05-14 18:11:15 -05:00