Skip to content

Commit af56722

Browse files
Update development dependencies (#1725)
* Remove Appraisals gemfiles We've been ignoring an important note from the Appraisals README: > When using Appraisal, we recommend you check in the Gemfiles that Appraisal generates within the gemfiles directory, but exclude the lockfiles there (*.gemfile.lock.) The Gemfiles are useful when running your tests against a continuous integration server. Removing the gemfiles makes things way easier for us, since each Ruby version will resolve the dependencies based on their restrictions. * Update development dependencies
1 parent 6dad0c8 commit af56722

13 files changed

+76
-913
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
rails: "7.2"
3636
- ruby: "3.0"
3737
rails: "main"
38+
# Rails >= 8.0 requires Ruby 3.2
39+
- ruby: "3.1"
40+
rails: "main"
3841

3942
runs-on: 'ubuntu-latest'
4043

@@ -58,7 +61,7 @@ jobs:
5861
- uses: actions/checkout@v4
5962
- uses: ruby/setup-ruby@v1
6063
with:
61-
ruby-version: "3.1"
64+
ruby-version: "3.3"
6265
- name: Setup project
6366
run: bundle install
6467
- name: Run test

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ coverage
99
tmp
1010
bin
1111
.rubocop-https*
12+
13+
gemfiles/*.lock

.standard_todo.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Auto generated files with errors to ignore.
2+
# Remove from this list as you refactor files.
3+
---
4+
ignore:
5+
- lib/factory_bot/linter.rb:
6+
- Lint/SharedMutableDefault

Appraisals

+2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ appraise "6.1" do
22
gem "activerecord", "~> 6.1.0"
33
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platforms: [:jruby]
44
gem "sqlite3", "~> 1.4", platforms: [:ruby]
5+
gem "concurrent-ruby", "< 1.3.5"
56
end
67

78
appraise "7.0" do
89
gem "activerecord", "~> 7.0.0"
910
gem "activerecord-jdbcsqlite3-adapter", "~> 70.0", platforms: [:jruby]
1011
gem "sqlite3", "~> 1.4", platforms: [:ruby]
12+
gem "concurrent-ruby", "< 1.3.5"
1113
end
1214

1315
appraise "7.1" do

Gemfile.lock

+58-54
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ PATH
22
remote: .
33
specs:
44
factory_bot (6.5.0)
5-
activesupport (>= 5.0.0)
5+
activesupport (>= 6.1.0)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
activemodel (7.2.0)
11-
activesupport (= 7.2.0)
12-
activerecord (7.2.0)
13-
activemodel (= 7.2.0)
14-
activesupport (= 7.2.0)
10+
activemodel (8.0.1)
11+
activesupport (= 8.0.1)
12+
activerecord (8.0.1)
13+
activemodel (= 8.0.1)
14+
activesupport (= 8.0.1)
1515
timeout (>= 0.4.0)
16-
activesupport (7.2.0)
16+
activesupport (8.0.1)
1717
base64
18+
benchmark (>= 0.3)
1819
bigdecimal
1920
concurrent-ruby (~> 1.0, >= 1.3.1)
2021
connection_pool (>= 2.2.5)
@@ -24,24 +25,26 @@ GEM
2425
minitest (>= 5.1)
2526
securerandom (>= 0.3)
2627
tzinfo (~> 2.0, >= 2.0.5)
28+
uri (>= 0.13.1)
2729
appraisal (2.5.0)
2830
bundler
2931
rake
3032
thor (>= 0.14.0)
31-
aruba (2.2.0)
33+
aruba (2.3.0)
3234
bundler (>= 1.17, < 3.0)
3335
contracts (>= 0.16.0, < 0.18.0)
3436
cucumber (>= 8.0, < 10.0)
3537
rspec-expectations (~> 3.4)
3638
thor (~> 1.0)
3739
ast (2.4.2)
3840
base64 (0.2.0)
39-
bigdecimal (3.1.8)
41+
benchmark (0.4.0)
42+
bigdecimal (3.1.9)
4043
builder (3.3.0)
41-
concurrent-ruby (1.3.4)
42-
connection_pool (2.4.1)
43-
contracts (0.17)
44-
cucumber (9.2.0)
44+
concurrent-ruby (1.3.5)
45+
connection_pool (2.5.0)
46+
contracts (0.17.2)
47+
cucumber (9.2.1)
4548
builder (~> 3.2)
4649
cucumber-ci-environment (> 9, < 11)
4750
cucumber-core (> 13, < 14)
@@ -62,97 +65,97 @@ GEM
6265
bigdecimal
6366
cucumber-gherkin (27.0.0)
6467
cucumber-messages (>= 19.1.4, < 23)
65-
cucumber-html-formatter (21.7.0)
68+
cucumber-html-formatter (21.8.0)
6669
cucumber-messages (> 19, < 27)
6770
cucumber-messages (22.0.0)
68-
cucumber-tag-expressions (6.1.0)
71+
cucumber-tag-expressions (6.1.1)
6972
diff-lcs (1.5.1)
7073
docile (1.4.1)
7174
drb (2.2.1)
72-
ffi (1.17.0)
73-
i18n (1.14.5)
75+
ffi (1.17.1)
76+
i18n (1.14.7)
7477
concurrent-ruby (~> 1.0)
75-
json (2.7.2)
78+
json (2.9.1)
7679
language_server-protocol (3.17.0.3)
7780
lint_roller (1.1.0)
78-
logger (1.6.0)
81+
logger (1.6.5)
7982
mini_mime (1.1.5)
80-
mini_portile2 (2.8.7)
81-
minitest (5.24.1)
83+
mini_portile2 (2.8.8)
84+
minitest (5.25.4)
8285
multi_test (1.1.0)
86+
mutex_m (0.3.0)
8387
parallel (1.26.3)
84-
parser (3.3.4.2)
88+
parser (3.3.7.0)
8589
ast (~> 2.4.1)
8690
racc
8791
racc (1.8.1)
8892
rainbow (3.1.1)
8993
rake (13.2.1)
90-
regexp_parser (2.9.2)
91-
rexml (3.3.6)
92-
strscan
94+
regexp_parser (2.10.0)
9395
rspec (3.13.0)
9496
rspec-core (~> 3.13.0)
9597
rspec-expectations (~> 3.13.0)
9698
rspec-mocks (~> 3.13.0)
97-
rspec-core (3.13.0)
99+
rspec-core (3.13.2)
98100
rspec-support (~> 3.13.0)
99-
rspec-expectations (3.13.1)
101+
rspec-expectations (3.13.3)
100102
diff-lcs (>= 1.2.0, < 2.0)
101103
rspec-support (~> 3.13.0)
102-
rspec-its (1.3.0)
103-
rspec-core (>= 3.0.0)
104-
rspec-expectations (>= 3.0.0)
105-
rspec-mocks (3.13.1)
104+
rspec-its (2.0.0)
105+
rspec-core (>= 3.13.0)
106+
rspec-expectations (>= 3.13.0)
107+
rspec-mocks (3.13.2)
106108
diff-lcs (>= 1.2.0, < 2.0)
107109
rspec-support (~> 3.13.0)
108-
rspec-support (3.13.1)
109-
rubocop (1.65.1)
110+
rspec-support (3.13.2)
111+
rubocop (1.70.0)
110112
json (~> 2.3)
111113
language_server-protocol (>= 3.17.0)
112114
parallel (~> 1.10)
113115
parser (>= 3.3.0.2)
114116
rainbow (>= 2.2.2, < 4.0)
115-
regexp_parser (>= 2.4, < 3.0)
116-
rexml (>= 3.2.5, < 4.0)
117-
rubocop-ast (>= 1.31.1, < 2.0)
117+
regexp_parser (>= 2.9.3, < 3.0)
118+
rubocop-ast (>= 1.36.2, < 2.0)
118119
ruby-progressbar (~> 1.7)
119-
unicode-display_width (>= 2.4.0, < 3.0)
120-
rubocop-ast (1.32.1)
120+
unicode-display_width (>= 2.4.0, < 4.0)
121+
rubocop-ast (1.37.0)
121122
parser (>= 3.3.1.0)
122-
rubocop-performance (1.21.1)
123+
rubocop-performance (1.23.1)
123124
rubocop (>= 1.48.1, < 2.0)
124125
rubocop-ast (>= 1.31.1, < 2.0)
125126
ruby-progressbar (1.13.0)
126-
securerandom (0.3.1)
127+
securerandom (0.4.1)
127128
simplecov (0.22.0)
128129
docile (~> 1.1)
129130
simplecov-html (~> 0.11)
130131
simplecov_json_formatter (~> 0.1)
131-
simplecov-html (0.12.3)
132+
simplecov-html (0.13.1)
132133
simplecov_json_formatter (0.1.4)
133-
sqlite3 (2.0.3)
134+
sqlite3 (2.5.0)
134135
mini_portile2 (~> 2.8.0)
135-
standard (1.40.0)
136+
standard (1.44.0)
136137
language_server-protocol (~> 3.17.0.2)
137138
lint_roller (~> 1.0)
138-
rubocop (~> 1.65.0)
139+
rubocop (~> 1.70.0)
139140
standard-custom (~> 1.0.0)
140-
standard-performance (~> 1.4)
141+
standard-performance (~> 1.6)
141142
standard-custom (1.0.2)
142143
lint_roller (~> 1.0)
143144
rubocop (~> 1.50)
144-
standard-performance (1.4.0)
145+
standard-performance (1.6.0)
145146
lint_roller (~> 1.1)
146-
rubocop-performance (~> 1.21.0)
147-
strscan (3.1.0)
148-
sys-uname (1.3.0)
147+
rubocop-performance (~> 1.23.0)
148+
sys-uname (1.3.1)
149149
ffi (~> 1.1)
150-
thor (1.3.1)
151-
timeout (0.4.1)
150+
thor (1.3.2)
151+
timeout (0.4.3)
152152
tzinfo (2.0.6)
153153
concurrent-ruby (~> 1.0)
154-
unicode-display_width (2.5.0)
155-
yard (0.9.36)
154+
unicode-display_width (3.1.4)
155+
unicode-emoji (~> 4.0, >= 4.0.4)
156+
unicode-emoji (4.0.4)
157+
uri (1.0.2)
158+
yard (0.9.37)
156159

157160
PLATFORMS
158161
ruby
@@ -164,6 +167,7 @@ DEPENDENCIES
164167
aruba
165168
cucumber
166169
factory_bot!
170+
mutex_m
167171
rake
168172
rspec
169173
rspec-its
@@ -173,4 +177,4 @@ DEPENDENCIES
173177
yard
174178

175179
BUNDLED WITH
176-
2.5.18
180+
2.5.23

factory_bot.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ Gem::Specification.new do |s|
2626
"changelog_uri" => "https://github.com/thoughtbot/factory_bot/blob/main/NEWS.md"
2727
}
2828

29-
s.add_dependency("activesupport", ">= 5.0.0")
29+
s.add_dependency("activesupport", ">= 6.1.0")
3030

3131
s.add_development_dependency("activerecord")
3232
s.add_development_dependency("appraisal")
3333
s.add_development_dependency("aruba")
3434
s.add_development_dependency("cucumber")
35+
s.add_development_dependency("mutex_m")
3536
s.add_development_dependency("rake")
3637
s.add_development_dependency("rspec")
3738
s.add_development_dependency("rspec-its")

gemfiles/6.1.gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ source "https://rubygems.org"
55
gem "activerecord-jdbcsqlite3-adapter", "~> 61.0", platforms: [:jruby]
66
gem "sqlite3", "~> 1.4", platforms: [:ruby]
77
gem "activerecord", "~> 6.1.0"
8+
gem "concurrent-ruby", "< 1.3.5"
89

910
gemspec name: "factory_bot", path: "../"

0 commit comments

Comments
 (0)