Commit Graph

15 Commits

Author SHA1 Message Date
Mike McQuaid 6c67f42633
developer/bin/generate_cask_token: fix RuboCop style.
See https://github.com/Homebrew/brew/pull/7867.
2020-07-27 12:57:58 +01:00
Mike McQuaid 07e0fa1b5d
developer/bin/generate_cask_token: fix RuboCop style.
See https://github.com/Homebrew/brew/pull/7867.
2020-07-27 10:39:13 +01:00
Quentin Dreyer bce21be352 High Sierra Compatibility (#39106)
```
user@elcapitan ~ % sw_vers
ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G1510
user@elcapitan ~ % l /System/Library/Frameworks/Ruby.framework/Versions/Current
lrwxr-xr-x  1 root  wheel     3B Oct 21  2015 /System/Library/Frameworks/Ruby.framework/Versions/Current -> 2.0
```

```
user@sierra ~ % sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G29
user@sierra ~ % l /System/Library/Frameworks/Ruby.framework/Versions/Current
lrwxr-xr-x  1 root  wheel     3B Sep 22  2016 /System/Library/Frameworks/Ruby.framework/Versions/Current -> 2.0
```

```
user@highsierra ~ % sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13
BuildVersion:	17A365
user@highsierra ~ % l /System/Library/Frameworks/Ruby.framework/Versions/Current
lrwxr-xr-x  1 root  wheel     3B 27 sep 14:20 /System/Library/Frameworks/Ruby.framework/Versions/Current -> 2.3
```
2017-09-29 21:32:21 +08:00
Markus Reiter 15171687a1 Move back documentation and developer scripts. (#23920) 2016-08-19 19:21:44 +02:00
Anastasia Sulyagina 0ec06e9a95 Cask core code moved to Homebrew (#23852) 2016-08-19 16:53:18 +02:00
Markus Reiter a547d190c1 Fix `force_encoding` not working in `generate_cask_token`. (#23115) 2016-07-26 01:34:52 +02:00
Markus Reiter ed5452b728 Run RuboCop on all core files. (#22855)
Add Style/BlockDelimiters cop.
2016-07-19 14:11:22 -04:00
Vítor Galvão 9404c33dab developer scripts: OS X > macOS 2016-06-13 20:36:20 +01:00
Josh Hagins a23e270414 Use global var $stderr instead of constant STDERR 2016-01-04 18:15:28 -05:00
Josh Hagins 25f7cfee04 Remove DSL versions in docs and scripts
Closes #15912.
2015-12-17 19:57:15 -05:00
Vítor Galvão 83c712741b Merge branch 'strip_launcher_from_names' of https://github.com/rolandwalker/homebrew-cask into rolandwalker-strip_launcher_from_names
Conflicts:
	Casks/googleappengine.rb
	doc/CASK_NAMING_REFERENCE.md
2015-01-29 13:54:06 +00:00
Roland Walker 9cb0b1cfdf expand @ symbols in tokens
refs: #8478
2014-12-29 09:41:47 -05:00
Roland Walker e01ef5058a generate_cask_token Ruby 2.0 shebang line
It was just carelessness that this script was written in
a way limited to Ruby 2.0, but we may as well be explicit
about that pending a fix.

closes #8021
2014-12-11 11:15:52 -05:00
Roland Walker cb5a40f787 remove constraint that tokens can't start w/ digit
Class names are now completely hidden from the user.  This
commit works by adding a prefix to all Cask class names, which
is considered to be an ugly transitional hack on the way to
representing individual Casks as instances.
2014-12-05 11:54:56 -05:00
Roland Walker a335d3b06d unify and recast "Cask name" & "title" as "token"
* "Canonical App Name" becomes "Simplified App Name"
* devscript `cask_namer` renamed to `generate_cask_token`
* doc file `CASK_NAMING_REFERENCE.md` renamed to `cask_token_reference.md`
* DSL uses `"#{token}"` for interpolation instead of `"#{title}"`
* documentation text
* backend code (variables, method, class names)
* error message text
* tests
* code comments
* Cask comments
* emphasize `tags :name`
* doc: use "vendor" consistently instead of "developer"
* doc: many man page argument descriptions were incorrect
* incidental clarifications

Many backend variables similar to `cask_name` or `cask` have
been standardized to `cask_token`, `token`, etc, resolving a long-
standing ambiguity in which variables named `cask` might contain
a Cask instance or a string token.

In many places the docs could be shortened from "Cask name" to
simply "token", which is desirable because we use the term "Cask"
in too many contexts.
2014-12-01 11:00:23 -05:00