Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 5f043d2

Browse files
authored
Merge pull request #485 from rspec/update-ci-build-scripts-2021-01-02-for-main
Updates from rspec-dev (2021-01-02)
2 parents 407dd87 + 1a995a2 commit 5f043d2

12 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
1+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
name: RSpec CI
@@ -79,8 +79,11 @@ jobs:
7979
tag: rspec/ci:2.0.0
8080
- version: "1.9.3"
8181
tag: rspec/ci:1.9.3
82+
- version: "JRuby 1.7"
83+
tag: rspec/ci:jruby-1.7
8284
env:
8385
LEGACY_CI: true
86+
JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }}
8487
steps:
8588
- uses: actions/checkout@v2
8689
- run: script/legacy_setup.sh

.rubocop_rspec_base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
1+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# This file contains defaults for RSpec projects. Individual projects

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
1+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# In order to install old Rubies, we need to use old Ubuntu distibution.
@@ -18,9 +18,6 @@ rvm:
1818
- 1.8.7
1919
- 1.9.2
2020
- ree
21-
- jruby-1.7
22-
env:
23-
- JRUBY_OPTS='--dev'
2421
matrix:
2522
include:
2623
- rvm: jruby-1.7

script/ci_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
1+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# Taken from:

script/clone_all_rspec_repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
2+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/cucumber.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
2+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
1+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

script/legacy_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
2+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/predicate_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
1+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
function is_mri {

script/run_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
2+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/update_rubygems_and_install_bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2021-01-02T12:38:45+00:00 from the rspec-dev repo.
2+
# This file was generated on 2021-01-02T20:21:17+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

spec/rspec/support/ruby_features_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def ripper_can_parse_source_referencing_keyword_arguments?
165165
end
166166

167167
it 'returns whether Ripper is correctly implemented in the current environment' do
168-
if RSpec::Support::Ruby.jruby? && RSpec::Support::Ruby.jruby_version < '9.2.1.0'
168+
if RSpec::Support::Ruby.jruby? && RSpec::Support::Ruby.jruby_version.between?('9.0.0.0', '9.2.1.0')
169169
pending "Ripper is not supported on JRuby 9.1.17.0 despite this tests claims"
170170
end
171171
expect(RubyFeatures.ripper_supported?).to eq(ripper_is_implemented? && ripper_works_correctly?)

0 commit comments

Comments
 (0)