Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 27 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ GEM
cucumber (>= 8.0, < 10.0)
rspec-expectations (~> 3.4)
thor (~> 1.0)
ast (2.4.2)
ast (2.4.3)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.9)
Expand Down Expand Up @@ -75,8 +75,8 @@ GEM
ffi (1.17.1)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.9.1)
language_server-protocol (3.17.0.3)
json (2.15.1)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
logger (1.6.5)
mini_mime (1.1.5)
Expand All @@ -85,14 +85,15 @@ GEM
multi_test (1.1.0)
mutex_m (0.3.0)
ostruct (0.6.3)
parallel (1.26.3)
parser (3.3.7.0)
parallel (1.27.0)
parser (3.3.9.0)
ast (~> 2.4.1)
racc
prism (1.5.2)
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.10.0)
regexp_parser (2.11.3)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -109,21 +110,24 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.2)
rubocop (1.70.0)
rubocop (1.80.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.36.2, < 2.0)
rubocop-ast (>= 1.46.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.37.0)
parser (>= 3.3.1.0)
rubocop-performance (1.23.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-ast (1.47.1)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-performance (1.25.0)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.38.0, < 2.0)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
simplecov (0.22.0)
Expand All @@ -134,27 +138,27 @@ GEM
simplecov_json_formatter (0.1.4)
sqlite3 (2.5.0)
mini_portile2 (~> 2.8.0)
standard (1.44.0)
standard (1.51.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.70.0)
rubocop (~> 1.80.2)
standard-custom (~> 1.0.0)
standard-performance (~> 1.6)
standard-performance (~> 1.8)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.6.0)
standard-performance (1.8.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.23.0)
rubocop-performance (~> 1.25.0)
sys-uname (1.3.1)
ffi (~> 1.1)
thor (1.3.2)
timeout (0.4.3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)
uri (1.0.2)
yard (0.9.37)

Expand All @@ -179,4 +183,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.5.23
2.7.2
4 changes: 2 additions & 2 deletions lib/factory_bot/sequence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def self.find(*uri_parts)

def self.find_by_uri(uri)
uri = uri.to_sym
(FactoryBot::Internal.sequences.to_a.find { |seq| seq.has_uri?(uri) }) ||
(FactoryBot::Internal.inline_sequences.find { |seq| seq.has_uri?(uri) })
FactoryBot::Internal.sequences.to_a.find { |seq| seq.has_uri?(uri) } ||
FactoryBot::Internal.inline_sequences.find { |seq| seq.has_uri?(uri) }
end

def initialize(name, *args, &proc)
Expand Down
1 change: 1 addition & 0 deletions spec/acceptance/sequence_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
describe "sequences" do
include FactoryBot::Syntax::Methods

require "ostruct"

# = On Success
Expand Down