14 Commits

Author SHA1 Message Date
Mike McQuaid
6670ae6202
global: require rubygems for activesupport. 2019-11-06 10:36:40 +00:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid
ef2e297d3b
Disable RubyGems by default.
This speeds up all Ruby invocations where we don't need RubyGems by
around 10%. Where we do need RubyGems: include it manually.
2019-04-18 17:45:03 +09:00
Mike McQuaid
4fa16c9428 formula_assertions: remove Ruby 2.0 compatibility.
We only support Ruby 2.3, now.
2017-12-08 16:45:41 +00:00
Mike McQuaid
7aaa7e1b79 formula_assertions: make removable on Ruby 2.0. 2017-07-07 09:43:39 +01:00
Misty De Meo
5b464babf8 Define a custom assertion failure error for cross-version compat
Fixes #2840.
2017-06-29 17:40:04 -07:00
Mike McQuaid
c45cca8e36 test: simplify minitest inclusion.
The previous version seems needlessly complicated given we only support
a single Ruby version. It was also blowing up on Bundler 1.15.X.
2017-06-25 13:04:36 +01:00
Mike McQuaid
021cef4b2b Autocorrect Rubocop Style/SpecialGlobalVars. 2017-06-12 09:11:42 +01:00
Baptiste Fontaine
8c19472d6f formula_assertions: ensure the right Test::Unit is required 2016-02-06 14:20:57 +01:00
BrewTestBot
13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Baptiste Fontaine
8b793c6ab3 pipe_output optional result assertion added
Closes Homebrew/homebrew#36024.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-19 18:35:33 +01:00
Jack Nagel
4bdfb27d9f Move assertion setup into formula_assertions.rb 2015-01-13 12:33:50 -05:00
Adam Vandenberg
c043a93bdf show cmd being executed 2014-08-01 07:58:09 -07:00
Adam Vandenberg
c003e805be add helpers for formula tests 2014-08-01 07:58:09 -07:00