Changeset View
Changeset View
Standalone View
Standalone View
lib/requirement_checker.rb
| 1 | class RequirementChecker | 1 | class RequirementChecker | ||
|---|---|---|---|---|---|
| 2 | COMPATIBLE_RUBIES = %w(2.1.0 2.2.0 2.3.0) | 2 | # NOTE: The versions are restricted upwards because behavior changes in the | ||
| 3 | # language can result in unexpected outcome when using releaseme. i.e. | ||||
| 4 | # you may end up with a broken or malformed tar. To prevent this, a change | ||||
| 5 | # here must be followed by running `rake test` to pass the entire test suite! | ||||
| 6 | # Also see the section on bumping versions in the REAMDE. | ||||
| 7 | COMPATIBLE_RUBIES = %w(2.1.0 2.2.0 2.3.0 2.4.0) | ||||
| 3 | REQUIRED_BINARIES = %w(svn git tar xz msgfmt gpg2) | 8 | REQUIRED_BINARIES = %w(svn git tar xz msgfmt gpg2) | ||
| 4 | 9 | | |||
| 5 | def initialize | 10 | def initialize | ||
| 6 | @ruby_version = RUBY_VERSION | 11 | @ruby_version = RUBY_VERSION | ||
| 7 | end | 12 | end | ||
| 8 | 13 | | |||
| 9 | def check | 14 | def check | ||
| 10 | err = false | 15 | err = false | ||
| Show All 38 Lines | |||||