Skip to content

Commit 1e0edbc

Browse files
authored
Merge pull request #233 from rspec/re-enable-yard-check
Revert "Prevent rubydoc check running on 2.7.0"
2 parents 1f550d1 + 3a8a6a0 commit 1e0edbc

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
@@ -70,18 +70,6 @@ function is_ruby_25_plus {
7070
fi
7171
}
7272

73-
function is_mri_27 {
74-
if is_mri; then
75-
if ruby -e "exit(RUBY_VERSION.to_f == 2.7)"; then
76-
return 0
77-
else
78-
return 1
79-
fi
80-
else
81-
return 1
82-
fi
83-
}
84-
8573
function rspec_rails_compatible {
8674
if is_ruby_25_plus; then
8775
return 0
@@ -106,11 +94,7 @@ function additional_specs_available {
10694
function documentation_enforced {
10795
if [ -x ./bin/yard ]; then
10896
if is_mri_2plus; then
109-
if is_mri_27; then
110-
return 1
111-
else
112-
return 0
113-
fi
97+
return 0
11498
else
11599
return 1
116100
fi

0 commit comments

Comments
 (0)