Changeset View
Changeset View
Standalone View
Standalone View
test/test_requirement_checker.rb
| Show All 32 Lines | 32 | compatibles = %w( | |||
|---|---|---|---|---|---|
| 33 | 2.1 | 33 | 2.1 | ||
| 34 | 2.1.0 | 34 | 2.1.0 | ||
| 35 | 2.1.1 | 35 | 2.1.1 | ||
| 36 | 2.2 | 36 | 2.2 | ||
| 37 | 2.2.0 | 37 | 2.2.0 | ||
| 38 | 2.2.1 | 38 | 2.2.1 | ||
| 39 | 2.3 | 39 | 2.3 | ||
| 40 | 2.3.1 | 40 | 2.3.1 | ||
| 41 | 2.4 | ||||
| 42 | 2.4.1 | ||||
| 41 | ) | 43 | ) | ||
| 42 | compatibles.each { |i| assert_ruby_version_compatible(i) } | 44 | compatibles.each { |i| assert_ruby_version_compatible(i) } | ||
| 43 | incompatibles = %w( | 45 | incompatibles = %w( | ||
| 44 | 1.9.0 | 46 | 1.9.0 | ||
| 45 | 2.0 | 47 | 2.0 | ||
| 46 | 2.0.99 | 48 | 2.0.99 | ||
| 47 | 2.4 | 49 | 2.5 | ||
| 48 | 2.4.1 | 50 | 2.5.1 | ||
| 49 | ) | 51 | ) | ||
| 50 | incompatibles.each { |i| assert_ruby_version_not_compatible(i) } | 52 | incompatibles.each { |i| assert_ruby_version_not_compatible(i) } | ||
| 51 | end | 53 | end | ||
| 52 | 54 | | |||
| 53 | def all_binaries | 55 | def all_binaries | ||
| 54 | RequirementChecker.const_get(:REQUIRED_BINARIES) | 56 | RequirementChecker.const_get(:REQUIRED_BINARIES) | ||
| 55 | end | 57 | end | ||
| 56 | 58 | | |||
| Show All 19 Lines | |||||