This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +35
-11
lines changed Expand file tree Collapse file tree 9 files changed +35
-11
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# This file contains defaults for RSpec projects. Individual projects
Original file line number Diff line number Diff line change 1
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# In order to install old Rubies, we need to use old Ubuntu distibution.
Original file line number Diff line number Diff line change 1
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
version : " {build}"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
Original file line number Diff line number Diff line change 1
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
function is_mri {
@@ -65,8 +65,28 @@ function is_ruby_23_plus {
65
65
fi
66
66
}
67
67
68
+ function is_ruby_25_plus {
69
+ if ruby -e " exit(RUBY_VERSION.to_f >= 2.5)" ; then
70
+ return 0
71
+ else
72
+ return 1
73
+ fi
74
+ }
75
+
76
+ function is_mri_27 {
77
+ if is_mri; then
78
+ if ruby -e " exit(RUBY_VERSION.to_f == 2.7)" ; then
79
+ return 0
80
+ else
81
+ return 1
82
+ fi
83
+ else
84
+ return 1
85
+ fi
86
+ }
87
+
68
88
function rspec_rails_compatible {
69
- if is_ruby_23_plus ; then
89
+ if is_ruby_25_plus ; then
70
90
return 0
71
91
else
72
92
return 1
@@ -89,7 +109,11 @@ function additional_specs_available {
89
109
function documentation_enforced {
90
110
if [ -x ./bin/yard ]; then
91
111
if is_mri_2plus; then
92
- return 0
112
+ if is_mri_27; then
113
+ return 1
114
+ else
115
+ return 0
116
+ fi
93
117
else
94
118
return 1
95
119
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# Taken from:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2019-12-26T17:20:33+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2020-01-23T22:37:16+03 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
You can’t perform that action at this time.
0 commit comments