Skip to content

Commit 9d94378

Browse files
committed
update deps
1 parent 37c692a commit 9d94378

File tree

7 files changed

+91
-71
lines changed

7 files changed

+91
-71
lines changed

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
ruby: ["2.7", "3.0", "3.1"]
32+
ruby: ["3.0", "3.1", "3.2", "3.3"]
3333

3434
name: ${{ matrix.ruby }}
3535

@@ -41,7 +41,6 @@ jobs:
4141
bundler-cache: true
4242

4343
- run: psql -c 'CREATE DATABASE batches_test'
44-
- run: bundle exec rake bundle:audit
4544
- run: bundle exec rake lint
4645
- run: bundle exec rspec
4746

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ inherit_gem:
33

44
AllCops:
55
DisplayCopNames: true
6-
TargetRubyVersion: 2.7
6+
TargetRubyVersion: 3.0
77
Include:
88
- lib/**/*.rb
99
- spec/**/*.rb

Gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@ source "https://rubygems.org"
44

55
# Specify your gem's dependencies in sequel-batches.gemspec
66
gemspec
7+
8+
gem "bundler"
9+
gem "pg"
10+
gem "pry"
11+
gem "rake"
12+
gem "rspec"
13+
gem "rubocop-config-umbrellio"
14+
gem "simplecov"
15+
gem "simplecov-lcov"

Gemfile.lock

+78-54
Original file line numberDiff line numberDiff line change
@@ -7,99 +7,123 @@ PATH
77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
activesupport (7.0.3.1)
10+
activesupport (7.1.3.4)
11+
base64
12+
bigdecimal
1113
concurrent-ruby (~> 1.0, >= 1.0.2)
14+
connection_pool (>= 2.2.5)
15+
drb
1216
i18n (>= 1.6, < 2)
1317
minitest (>= 5.1)
18+
mutex_m
1419
tzinfo (~> 2.0)
1520
ast (2.4.2)
16-
bundler-audit (0.9.1)
17-
bundler (>= 1.2.0, < 3)
18-
thor (~> 1.0)
21+
base64 (0.2.0)
22+
bigdecimal (3.1.8)
1923
coderay (1.1.3)
20-
concurrent-ruby (1.1.10)
21-
diff-lcs (1.5.0)
24+
concurrent-ruby (1.3.3)
25+
connection_pool (2.4.1)
26+
diff-lcs (1.5.1)
2227
docile (1.4.0)
23-
i18n (1.12.0)
28+
drb (2.2.1)
29+
i18n (1.14.5)
2430
concurrent-ruby (~> 1.0)
25-
method_source (1.0.0)
26-
minitest (5.16.2)
27-
parallel (1.22.1)
28-
parser (3.1.2.1)
31+
json (2.7.2)
32+
language_server-protocol (3.17.0.3)
33+
method_source (1.1.0)
34+
minitest (5.24.1)
35+
mutex_m (0.2.0)
36+
parallel (1.25.1)
37+
parser (3.3.3.0)
2938
ast (~> 2.4.1)
30-
pg (1.4.2)
31-
pry (0.14.1)
39+
racc
40+
pg (1.5.6)
41+
pry (0.14.2)
3242
coderay (~> 1.1)
3343
method_source (~> 1.0)
34-
rack (2.2.4)
44+
racc (1.8.0)
45+
rack (3.1.4)
3546
rainbow (3.1.1)
36-
rake (13.0.6)
37-
regexp_parser (2.5.0)
38-
rexml (3.2.5)
39-
rspec (3.11.0)
40-
rspec-core (~> 3.11.0)
41-
rspec-expectations (~> 3.11.0)
42-
rspec-mocks (~> 3.11.0)
43-
rspec-core (3.11.0)
44-
rspec-support (~> 3.11.0)
45-
rspec-expectations (3.11.0)
47+
rake (13.2.1)
48+
regexp_parser (2.9.2)
49+
rexml (3.3.1)
50+
strscan
51+
rspec (3.13.0)
52+
rspec-core (~> 3.13.0)
53+
rspec-expectations (~> 3.13.0)
54+
rspec-mocks (~> 3.13.0)
55+
rspec-core (3.13.0)
56+
rspec-support (~> 3.13.0)
57+
rspec-expectations (3.13.1)
4658
diff-lcs (>= 1.2.0, < 2.0)
47-
rspec-support (~> 3.11.0)
48-
rspec-mocks (3.11.1)
59+
rspec-support (~> 3.13.0)
60+
rspec-mocks (3.13.1)
4961
diff-lcs (>= 1.2.0, < 2.0)
50-
rspec-support (~> 3.11.0)
51-
rspec-support (3.11.0)
52-
rubocop (1.30.1)
62+
rspec-support (~> 3.13.0)
63+
rspec-support (3.13.1)
64+
rubocop (1.63.5)
65+
json (~> 2.3)
66+
language_server-protocol (>= 3.17.0)
5367
parallel (~> 1.10)
54-
parser (>= 3.1.0.0)
68+
parser (>= 3.3.0.2)
5569
rainbow (>= 2.2.2, < 4.0)
5670
regexp_parser (>= 1.8, < 3.0)
5771
rexml (>= 3.2.5, < 4.0)
58-
rubocop-ast (>= 1.18.0, < 2.0)
72+
rubocop-ast (>= 1.31.1, < 2.0)
5973
ruby-progressbar (~> 1.7)
60-
unicode-display_width (>= 1.4.0, < 3.0)
61-
rubocop-ast (1.21.0)
62-
parser (>= 3.1.1.0)
63-
rubocop-config-umbrellio (1.30.0.65)
64-
rubocop (~> 1.30.0)
65-
rubocop-performance (~> 1.14.0)
66-
rubocop-rails (~> 2.14.2)
74+
unicode-display_width (>= 2.4.0, < 3.0)
75+
rubocop-ast (1.31.3)
76+
parser (>= 3.3.1.0)
77+
rubocop-capybara (2.21.0)
78+
rubocop (~> 1.41)
79+
rubocop-config-umbrellio (1.63.0.93)
80+
rubocop (~> 1.63.0)
81+
rubocop-performance (~> 1.21.0)
82+
rubocop-rails (~> 2.24.0)
6783
rubocop-rake (~> 0.6.0)
68-
rubocop-rspec (~> 2.11.1)
84+
rubocop-rspec (~> 2.29.0)
6985
rubocop-sequel (~> 0.3.3)
70-
rubocop-performance (1.14.3)
71-
rubocop (>= 1.7.0, < 2.0)
72-
rubocop-ast (>= 0.4.0)
73-
rubocop-rails (2.14.2)
86+
rubocop-factory_bot (2.26.1)
87+
rubocop (~> 1.61)
88+
rubocop-performance (1.21.1)
89+
rubocop (>= 1.48.1, < 2.0)
90+
rubocop-ast (>= 1.31.1, < 2.0)
91+
rubocop-rails (2.24.1)
7492
activesupport (>= 4.2.0)
7593
rack (>= 1.1)
76-
rubocop (>= 1.7.0, < 2.0)
94+
rubocop (>= 1.33.0, < 2.0)
95+
rubocop-ast (>= 1.31.1, < 2.0)
7796
rubocop-rake (0.6.0)
7897
rubocop (~> 1.0)
79-
rubocop-rspec (2.11.1)
80-
rubocop (~> 1.19)
98+
rubocop-rspec (2.29.2)
99+
rubocop (~> 1.40)
100+
rubocop-capybara (~> 2.17)
101+
rubocop-factory_bot (~> 2.22)
102+
rubocop-rspec_rails (~> 2.28)
103+
rubocop-rspec_rails (2.29.1)
104+
rubocop (~> 1.61)
81105
rubocop-sequel (0.3.4)
82106
rubocop (~> 1.0)
83-
ruby-progressbar (1.11.0)
84-
sequel (5.59.0)
85-
simplecov (0.21.2)
107+
ruby-progressbar (1.13.0)
108+
sequel (5.81.0)
109+
bigdecimal
110+
simplecov (0.22.0)
86111
docile (~> 1.1)
87112
simplecov-html (~> 0.11)
88113
simplecov_json_formatter (~> 0.1)
89114
simplecov-html (0.12.3)
90115
simplecov-lcov (0.8.0)
91116
simplecov_json_formatter (0.1.4)
92-
thor (1.2.1)
93-
tzinfo (2.0.5)
117+
strscan (3.1.0)
118+
tzinfo (2.0.6)
94119
concurrent-ruby (~> 1.0)
95-
unicode-display_width (2.2.0)
120+
unicode-display_width (2.5.0)
96121

97122
PLATFORMS
98123
ruby
99124

100125
DEPENDENCIES
101126
bundler
102-
bundler-audit
103127
pg
104128
pry
105129
rake
@@ -110,4 +134,4 @@ DEPENDENCIES
110134
simplecov-lcov
111135

112136
BUNDLED WITH
113-
2.3.19
137+
2.5.14

Rakefile

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# frozen_string_literal: true
22

33
require "bundler/gem_tasks"
4-
require "bundler/audit/task"
54
require "rspec/core/rake_task"
65
require "rubocop/rake_task"
76

@@ -13,6 +12,5 @@ RuboCop::RakeTask.new(:lint) do |t|
1312
t.requires << "rubocop-rspec"
1413
t.requires << "rubocop-performance"
1514
end
16-
Bundler::Audit::Task.new
1715

1816
task default: %i[lint spec]

lib/sequel/extensions/batches.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ def in_batches(**options, &block)
1414
end
1515
end
1616

17-
::Sequel::Dataset.register_extension(:batches, Sequel::Extensions::Batches)
17+
Sequel::Dataset.register_extension(:batches, Sequel::Extensions::Batches)
1818

1919
require_relative "batches/yielder"

sequel-batches.gemspec

+1-11
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
88
spec.version = "2.0.2"
99
spec.authors = %w[fiscal-cliff umbrellio]
1010
spec.email = ["oss@umbrellio.biz"]
11-
spec.required_ruby_version = ">= 2.7"
11+
spec.required_ruby_version = ">= 3.0"
1212

1313
spec.summary = "The extension mimics AR5 batches api"
1414
spec.description = "Allows you to split your dataset in batches"
@@ -19,14 +19,4 @@ Gem::Specification.new do |spec|
1919
spec.require_paths = ["lib"]
2020

2121
spec.add_runtime_dependency "sequel"
22-
23-
spec.add_development_dependency "bundler"
24-
spec.add_development_dependency "bundler-audit"
25-
spec.add_development_dependency "pg"
26-
spec.add_development_dependency "pry"
27-
spec.add_development_dependency "rake"
28-
spec.add_development_dependency "rspec"
29-
spec.add_development_dependency "rubocop-config-umbrellio"
30-
spec.add_development_dependency "simplecov"
31-
spec.add_development_dependency "simplecov-lcov"
3222
end

0 commit comments

Comments
 (0)