45 Commits

Author SHA1 Message Date
Markus Reiter
89dd608766 Deprecate gpg stanza. 2018-09-03 20:47:52 +02:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Markus Reiter
48dcf19169 Ignore unparsable system languages. 2018-08-19 22:10:20 +02:00
Markus Reiter
54aa412015 Use LazyObject for Hbc::URL. 2018-07-30 21:07:42 +02:00
Markus Reiter
eccd20e276 Merge Hbc::Container classes into UnpackStrategy. 2018-07-24 16:44:27 +02:00
Markus Reiter
da193d2f7e Merge brew cask search into brew search. 2018-06-18 16:23:35 +02:00
Markus Reiter
3d423b0587 Add path method to Caskroom and Cache. 2018-06-09 09:52:48 +02:00
Vítor Galvão
dc1edf6bfc cask --language: have specific match always trump general 2018-05-29 11:42:05 +01:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Markus Reiter
b4df024625 Allow passing down configuration into Cask. 2018-01-27 21:47:18 +01:00
Markus Reiter
6760d26319 Create Hbc::Config class. 2018-01-27 21:47:18 +01:00
Markus Reiter
1948729ec8 Refactor caveats and add kext caveat. 2017-11-28 00:20:29 +01:00
Markus Reiter
51a0de6368 Directly save artifacts in DSL. 2017-10-04 18:47:55 +02:00
Markus Reiter
2c7ef064e4 Refactor DSL and Artifacts. 2017-10-04 18:47:55 +02:00
Markus Reiter
ec0d8fa7ba Merge pull request #3220 from yzguy/yzguy/cask_available_languages_to_info
add available languages to cask info command
2017-10-03 08:31:56 +02:00
Adam Smith
92311901c9 add available languages to cask info command
add language tests for dsl

add fixtures, tests for languages info output

add extra lines
2017-09-30 18:25:12 -07:00
Markus Reiter
a750644b92 Fail if no default language is specified. 2017-09-29 11:47:21 +02:00
Mike McQuaid
01e9ec9a9f Rubocop: automatic rule fixes. 2017-09-24 21:23:59 +01:00
Markus Reiter
53ecdd843f Treat every Artifact instance as a single artifact. 2017-09-10 23:12:32 +02:00
Markus Reiter
8d7ab78a75 Simplify assert_only_one_stanza_allowed. 2017-07-30 18:06:59 +02:00
Markus Reiter
9578e2995a Move Hbc::DSL#license to compat. 2017-07-21 10:50:10 +01:00
Mike McQuaid
2d18ba586b Enable more deprecations.
It's been long enough that these have been commented out so let's
enable them globally.
2017-07-21 10:50:07 +01:00
Markus Reiter
6a1fa87191 Refactor Formula/Cask dependencies. 2017-06-30 02:20:50 +02:00
Mike McQuaid
7a38bab333 Fixup all RuboCop warnings. 2017-05-29 18:43:18 +01:00
Markus Reiter
e18a174607 Simplify check for :stage_only. 2017-02-07 00:07:59 +01:00
Eitot
0b176f9cc8 Add dictionary artifact 2016-10-23 17:43:06 +02:00
Markus Reiter
8d15bddedb Auto-correct block delimiters. 2016-10-23 14:44:14 +02:00
Markus Reiter
ad8ae33c1f Fix spacing and indentation. 2016-10-23 14:32:04 +02:00
Markus Reiter
1a0f8b8a02 Use slash-delimited regular expressions. 2016-10-23 14:32:03 +02:00
Markus Reiter
624a6d0822 Comment out license stanza deprecation warning. 2016-10-08 12:07:12 +02:00
David Yun
ca68085e59 Fix unused argument 2016-10-07 23:12:30 +08:00
David Yun
81082303dc Use odeprecated rather than remove it entirely
* Fix IntegrationCommandTestCask
2016-10-07 10:27:21 +08:00
David Yun
5fead8eb5e Deprecate license stanza 2016-10-06 23:25:42 +08:00
Markus Reiter
e2b3753fd9 Style changes in language_eval. 2016-10-03 02:57:29 +02:00
Markus Reiter
b104e6ff37 Raise error if more than one default language if specified. 2016-10-03 02:34:53 +02:00
Markus Reiter
013f33be44 Change language DSL to only allow strings. 2016-10-03 02:34:53 +02:00
Markus Reiter
bc143bb470 Support audit for multilingual casks. 2016-10-03 02:34:53 +02:00
Markus Reiter
bc2d676b6f Refactor logic to always choose first matched language. 2016-10-03 02:34:53 +02:00
Markus Reiter
1e86c7d3ec Always fall back to language :default. 2016-10-03 02:34:53 +02:00
Markus Reiter
65fdfefc99 Add language_eval method. 2016-10-03 02:34:52 +02:00
Markus Reiter
f52116cd26 Add language stanza to cask DSL. 2016-10-03 02:34:52 +02:00
Markus Reiter
b86c8efb79 Cask: Use nested classes and modules. 2016-09-24 16:00:58 +02:00
Markus Reiter
59212445da Run rubocop —auto-correct. 2016-09-23 15:30:05 +02:00
AnastasiaSulyagina
e81f4ab7de init 2016-08-19 14:50:14 +03:00