aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib
AgeCommit message (Collapse)Author
2016-10-25Open incomplete download in append modebuo
Open the incomplete download in append mode instead of write mode. Opening in write mode truncates the existing file, so curl keeps restarting downloads instead of resuming the incomplete downloads.
2016-10-24Merge pull request #1334 from jawshooah/cask/fix-tap-regexJosh Hagins
hbc/qualified_token: simplify token parsing
2016-10-24hbc/qualified_token: use regex captures instead of String#splitJosh Hagins
2016-10-24Merge pull request #1252 from ↵Josh Hagins
niw/fix_cask_command_changes_entire_directory_ownership FIX: cask changes /usr/local ownership recursively
2016-10-24Merge pull request #1248 from Git-Jiro/add_reinstall_cmd_to_caskJosh Hagins
add cask reinstall command
2016-10-23hbc/qualified_token: simplify token parsingJosh Hagins
- Stop supporting archaic "user-repo/token" syntax - Move regex for parsing tapped Cask token to tap_constants
2016-10-23Merge pull request #1355 from reitermarkus/fix-depends-on-testJosh Hagins
Fix locally failing `depends_on` test.
2016-10-23Refactor Hbc::UrlChecker test.Markus Reiter
2016-10-23Fix locally failing `depends_on` test.Markus Reiter
2016-10-23Fix linting errorsMartin Schimandl
2016-10-23Add dictionary artifactEitot
2016-10-23Fix failing test caused by `repo_info`.Markus Reiter
2016-10-23Auto-correct block delimiters.Markus Reiter
2016-10-23Remove unnecessary string interpolation.Markus Reiter
2016-10-23Use guard clauses.Markus Reiter
2016-10-23Remove redundant `self`s.Markus Reiter
2016-10-23Fix spacing and indentation.Markus Reiter
2016-10-23Don’t use `%i` literal.Markus Reiter
2016-10-23Align `end` with beginning of line where `if/unless` is.Markus Reiter
2016-10-23Use `()` as delimiters for `%Q` and `%q` literals.Markus Reiter
2016-10-23Use slash-delimited regular expressions.Markus Reiter
2016-10-23Use `0`-only prefix for octal numbers.Markus Reiter
2016-10-23Remove unncessary semicolonMartin Schimandl
2016-10-19hbc/cli/list: don't print empty line if nothing to listJosh Hagins
2016-10-19hbc/cli/list: don't require Caskroom to be initializedJosh Hagins
2016-10-19Merge pull request #1325 from vin047/numbered-usernamesJosh Hagins
fix 'cask info' for external repos with numbers
2016-10-19Merge pull request #1320 from reitermarkus/which-lsarMarkus Reiter
Also use `which` to find `lsar` in PATH.
2016-10-19Use Ruby 2.x style for named arguments.Yoshimasa Niwa
2016-10-19Merge pull request #1315 from jawshooah/cask/load-only-rbJosh Hagins
hbc/locations: arg is file only if absolute or .rb file
2016-10-19Also use `which` to find `lsar` in PATH.Markus Reiter
2016-10-19fix 'cask info' for external repos with numbersVinoth Ramiah
fixes 2 issues: error when username has a number, correct url for repos not on github
2016-10-18Merge pull request #1317 from reitermarkus/refactor-rubocop-caskJosh Hagins
Refactor `brew cask style` not to require `.rubocop.yml`.
2016-10-18hbc/locations: arg is file only if absolute or .rb fileJosh Hagins
Handle the case when an argument passed to `brew cask` is both the name of a Cask and a non-Cask file in the current working directory. Fixes https://github.com/caskroom/homebrew-cask/issues/25611.
2016-10-18Remove Cask’s `which` method.Markus Reiter
2016-10-18Look for container extraction programs in PATH.Markus Reiter
2016-10-18Force the use of `rubocop-cask`’s default configuration.Markus Reiter
2016-10-18Refactor `brew cask style` not to require `.rubocop.yml`.Markus Reiter
2016-10-18following to followNaren
2016-10-18remove empty line and concatenate newline to e.message in cli.rbNaren
2016-10-18updated cmd to point to prebug steps urlNaren
2016-10-17hbc/cli/style: bump RUBOCOP_CASK_VERSIONJosh Hagins
2016-10-15Use SystemCommand.run instead of custom wrapper.Yoshimasa Niwa
There is an existing `SystemCommand.run` that executes command with `sudo`. Use that instead of yet another custom wrapper.
2016-10-15Convert `puts_columns` to `puts Formatter.columns`.Markus Reiter
2016-10-15Don’t use `puts_columns` if `empty?` or single item.Markus Reiter
2016-10-14add cask reinstall commandMartin Schimandl
2016-10-12Merge pull request #1264 from reitermarkus/single-language-auditMarkus Reiter
Allow auditing of a single language of a cask.
2016-10-11Fix CaskCommandFailedError.Markus Reiter
2016-10-11Allow auditing of a single language of a cask.Markus Reiter
2016-10-10Merge pull request #1245 from reitermarkus/fix-cask-path-for-queryMarkus Reiter
Fix getting cask path for queries.
2016-10-10Create caskroom without sudo in writable parent.Yoshimasa Niwa
In case the parent directory of Caskroom is writable for the user, we don't need to use `sudo` to execute commands. Make a generic method to run commands that has an option to switch sudo so that we can run commands with and without sudo.