Skip to content

Commit

Permalink
Merge pull request #272 from hlascelles/add-tests-for-ruby-2-7
Browse files Browse the repository at this point in the history
Add tests for Ruby 2.7
  • Loading branch information
hlascelles authored Jun 28, 2021
2 parents 8774966 + bc4e3c6 commit 469e4d1
Show file tree
Hide file tree
Showing 18 changed files with 472 additions and 447 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ stages:
key: ruby_2_6
<<: *cache_paths

.ruby_2_7: &ruby_2_7
<<: *retries
image: ruby:2.7.2 # https://github.com/rubygems/rubygems/issues/3284#issuecomment-705445157
cache:
key: ruby_2_7
<<: *cache_paths

.postgres_9_5: &postgres_9_5
stage: test_postgres_9_5
services:
Expand All @@ -74,6 +81,10 @@ install_ruby_2_6:
<<: *install
<<: *ruby_2_6

install_ruby_2_7:
<<: *install
<<: *ruby_2_7

quality:
<<: *ruby_2_5
stage: quality
Expand All @@ -89,3 +100,8 @@ ruby_2_6_postgres_9_5:
<<: *test
<<: *ruby_2_6
<<: *postgres_9_5

ruby_2_7_postgres_9_5:
<<: *test
<<: *ruby_2_7
<<: *postgres_9_5
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AllCops:
TargetRubyVersion: 2.5
DisplayCopNames: true
NewCops: enable
SuggestExtensions: false
Exclude:
- 'vendor/**/*'
- 'gemfiles/**/*' # These are automatically generated by appraisal
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased

- Add tests for Ruby 2.7 [#272](https://github.com/hlascelles/que-scheduler/pull/272)

## 4.1.0 (2021-01-31)

- Check for row count option using String and Symbols [#236](https://github.com/hlascelles/que-scheduler/pull/236)
Expand Down
50 changes: 25 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (6.1.3.2)
actionview (= 6.1.3.2)
activesupport (= 6.1.3.2)
actionpack (6.1.4)
actionview (= 6.1.4)
activesupport (= 6.1.4)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (6.1.3.2)
activesupport (= 6.1.3.2)
actionview (6.1.4)
activesupport (= 6.1.4)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (6.1.3.2)
activesupport (= 6.1.3.2)
activerecord (6.1.3.2)
activemodel (= 6.1.3.2)
activesupport (= 6.1.3.2)
activesupport (6.1.3.2)
activemodel (6.1.4)
activesupport (= 6.1.4)
activerecord (6.1.4)
activemodel (= 6.1.4)
activesupport (= 6.1.4)
activesupport (6.1.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand Down Expand Up @@ -58,12 +58,12 @@ GEM
crass (1.0.6)
database_cleaner (2.0.1)
database_cleaner-active_record (~> 2.0.0)
database_cleaner-active_record (2.0.0)
database_cleaner-active_record (2.0.1)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.4.4)
docile (1.3.5)
docile (1.4.0)
erubi (1.10.0)
et-orbi (1.2.4)
tzinfo
Expand All @@ -78,13 +78,13 @@ GEM
concurrent-ruby (~> 1.0)
json (2.5.1)
kwalify (0.7.2)
loofah (2.9.1)
loofah (2.10.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
method_source (1.0.0)
mini_portile2 (2.5.1)
mini_portile2 (2.5.3)
minitest (5.14.4)
nokogiri (1.11.4)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
parallel (1.20.1)
Expand All @@ -97,7 +97,7 @@ GEM
pry-byebug (3.9.0)
byebug (~> 11.0)
pry (~> 0.13.0)
psych (3.3.1)
psych (3.3.2)
que (0.14.3)
raabro (1.4.0)
racc (1.5.2)
Expand All @@ -109,11 +109,11 @@ GEM
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (6.1.3.2)
actionpack (= 6.1.3.2)
activesupport (= 6.1.3.2)
railties (6.1.4)
actionpack (= 6.1.4)
activesupport (= 6.1.4)
method_source
rake (>= 0.8.7)
rake (>= 0.13)
thor (~> 1.0)
rainbow (3.0.0)
rake (13.0.3)
Expand Down Expand Up @@ -152,9 +152,9 @@ GEM
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-progressbar (1.11.0)
ruby_parser (3.15.1)
sexp_processor (~> 4.9)
sexp_processor (4.15.2)
ruby_parser (3.16.0)
sexp_processor (~> 4.15, >= 4.15.1)
sexp_processor (4.15.3)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
Expand All @@ -166,7 +166,7 @@ GEM
tins (~> 1.0)
thor (1.1.0)
timecop (0.9.4)
tins (1.28.0)
tins (1.29.1)
sync
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
Expand Down
62 changes: 31 additions & 31 deletions gemfiles/activesupport_5_que_0_12.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (5.2.5)
actionview (= 5.2.5)
activesupport (= 5.2.5)
actionpack (5.2.6)
actionview (= 5.2.6)
activesupport (= 5.2.6)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.5)
activesupport (= 5.2.5)
actionview (5.2.6)
activesupport (= 5.2.6)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activemodel (5.2.5)
activesupport (= 5.2.5)
activerecord (5.2.5)
activemodel (= 5.2.5)
activesupport (= 5.2.5)
activemodel (5.2.6)
activesupport (= 5.2.6)
activerecord (5.2.6)
activemodel (= 5.2.6)
activesupport (= 5.2.6)
arel (>= 9.0)
activesupport (5.2.5)
activesupport (5.2.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
Expand All @@ -42,14 +42,14 @@ GEM
ast (2.4.2)
builder (3.2.4)
byebug (11.1.3)
climate_control (1.0.0)
climate_control (1.0.1)
coderay (1.1.3)
colorize (0.8.1)
combustion (1.3.1)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.1.8)
concurrent-ruby (1.1.9)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
Expand All @@ -59,37 +59,37 @@ GEM
crass (1.0.6)
database_cleaner (2.0.1)
database_cleaner-active_record (~> 2.0.0)
database_cleaner-active_record (2.0.0)
database_cleaner-active_record (2.0.1)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.4.4)
docile (1.3.5)
docile (1.4.0)
erubi (1.10.0)
et-orbi (1.2.4)
tzinfo
fasterer (0.9.0)
colorize (~> 0.7)
ruby_parser (>= 3.14.1)
fugit (1.4.5)
fugit (1.5.0)
et-orbi (~> 1.1, >= 1.1.8)
raabro (~> 1.4)
hashie (4.1.0)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
json (2.5.1)
kwalify (0.7.2)
loofah (2.9.1)
loofah (2.10.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
method_source (1.0.0)
mini_portile2 (2.5.1)
mini_portile2 (2.5.3)
minitest (5.14.4)
nokogiri (1.11.3)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
parallel (1.20.1)
parser (3.0.1.0)
parser (3.0.1.1)
ast (~> 2.4.1)
pg (0.21.0)
pry (0.13.1)
Expand All @@ -98,7 +98,7 @@ GEM
pry-byebug (3.9.0)
byebug (~> 11.0)
pry (~> 0.13.0)
psych (3.3.1)
psych (3.3.2)
que (0.12.3)
raabro (1.4.0)
racc (1.5.2)
Expand All @@ -110,9 +110,9 @@ GEM
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (5.2.5)
actionpack (= 5.2.5)
activesupport (= 5.2.5)
railties (5.2.6)
actionpack (= 5.2.6)
activesupport (= 5.2.6)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
Expand Down Expand Up @@ -147,15 +147,15 @@ GEM
rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (1.4.1)
parser (>= 2.7.1.5)
rubocop-rspec (2.3.0)
rubocop-ast (1.7.0)
parser (>= 3.0.1.1)
rubocop-rspec (2.4.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-progressbar (1.11.0)
ruby_parser (3.15.1)
sexp_processor (~> 4.9)
sexp_processor (4.15.2)
ruby_parser (3.16.0)
sexp_processor (~> 4.15, >= 4.15.1)
sexp_processor (4.15.3)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
Expand All @@ -168,7 +168,7 @@ GEM
thor (1.1.0)
thread_safe (0.3.6)
timecop (0.9.4)
tins (1.28.0)
tins (1.29.1)
sync
tzinfo (1.2.9)
thread_safe (~> 0.1)
Expand Down
Loading

0 comments on commit 469e4d1

Please sign in to comment.