Skip to content

Commit 4db69d4

Browse files
committed
Revert "Prevent rubydoc check running on 2.7.0"
Yard 0.9.21 support Ruby 2.7 now. https://github.com/lsegal/yard/releases/tag/v0.9.21 This reverts commit 30859b5.
1 parent 1ae84fa commit 4db69d4

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

travis/script/predicate_functions.sh

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,6 @@ function is_ruby_23_plus {
6262
fi
6363
}
6464

65-
function is_mri_27 {
66-
if is_mri; then
67-
if ruby -e "exit(RUBY_VERSION.to_f == 2.7)"; then
68-
return 0
69-
else
70-
return 1
71-
fi
72-
else
73-
return 1
74-
fi
75-
}
76-
7765
function rspec_rails_compatible {
7866
if is_ruby_23_plus; then
7967
return 0
@@ -98,11 +86,7 @@ function additional_specs_available {
9886
function documentation_enforced {
9987
if [ -x ./bin/yard ]; then
10088
if is_mri_2plus; then
101-
if is_mri_27; then
102-
return 1
103-
else
104-
return 0
105-
fi
89+
return 0
10690
else
10791
return 1
10892
fi

0 commit comments

Comments
 (0)