File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 19
19
- 2.1
20
20
- 2.2.10
21
21
- 2.3.8
22
- - 2.4.6
23
- - 2.5.5
24
- - 2.6.2
22
+ - 2.4.9
23
+ - 2.5.7
24
+ - 2.6.5
25
+ - 2.7.0
25
26
- ruby-head
26
27
- ree
27
28
- rbx-3
Original file line number Diff line number Diff line change @@ -62,6 +62,18 @@ function is_ruby_23_plus {
62
62
fi
63
63
}
64
64
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
+
65
77
function rspec_rails_compatible {
66
78
if is_ruby_23_plus; then
67
79
return 0
@@ -86,7 +98,11 @@ function additional_specs_available {
86
98
function documentation_enforced {
87
99
if [ -x ./bin/yard ]; then
88
100
if is_mri_2plus; then
89
- return 0
101
+ if is_mri_27; then
102
+ return 1
103
+ else
104
+ return 0
105
+ fi
90
106
else
91
107
return 1
92
108
fi
You can’t perform that action at this time.
0 commit comments