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 +26
-18
lines changed Expand file tree Collapse file tree 9 files changed +26
-18
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 {
@@ -57,6 +57,22 @@ function is_mri_2plus {
57
57
fi
58
58
}
59
59
60
+ function is_ruby_23_plus {
61
+ if ruby -e " exit(RUBY_VERSION.to_f >= 2.3)" ; then
62
+ return 0
63
+ else
64
+ return 1
65
+ fi
66
+ }
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
+
60
76
function is_mri_27 {
61
77
if is_mri; then
62
78
if ruby -e " exit(RUBY_VERSION.to_f == 2.7)" ; then
@@ -69,16 +85,8 @@ function is_mri_27 {
69
85
fi
70
86
}
71
87
72
- function is_ruby_23_plus {
73
- if ruby -e " exit(RUBY_VERSION.to_f >= 2.3)" ; then
74
- return 0
75
- else
76
- return 1
77
- fi
78
- }
79
-
80
88
function rspec_rails_compatible {
81
- if is_ruby_23_plus ; then
89
+ if is_ruby_25_plus ; then
82
90
return 0
83
91
else
84
92
return 1
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