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
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ GEM
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.16.0)
json (2.18.1)
jwt (3.1.2)
base64
language_server-protocol (3.17.0.5)
Expand Down Expand Up @@ -129,13 +129,13 @@ GEM
version_gem (~> 1.1, >= 1.1.9)
openssl (3.3.2)
parallel (1.27.0)
parser (3.3.10.0)
parser (3.3.10.1)
ast (~> 2.4.1)
racc
pp (0.6.2)
prettyprint
prettyprint (0.2.0)
prism (1.6.0)
prism (1.9.0)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
Expand Down Expand Up @@ -181,13 +181,13 @@ GEM
rubocop-ast (>= 1.47.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.48.0)
rubocop-ast (1.49.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
prism (~> 1.7)
rubocop-factory_bot (2.28.0)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-rspec (3.8.0)
rubocop-rspec (3.9.0)
lint_roller (~> 1.1)
rubocop (~> 1.81)
ruby-progressbar (1.13.0)
Expand All @@ -209,7 +209,7 @@ GEM
concurrent-ruby (~> 1.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)
unicode-emoji (4.2.0)
uri (1.1.1)
vcr (6.3.1)
base64
Expand Down
2 changes: 2 additions & 0 deletions spec/ioki/open_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,12 @@ class Example < Base
allow(File).to receive(:write) do |path, ruby_code|
expect(path).to eq(model_file_path)
if ruby_code != expected_repaired_model_definition
# rubocop:disable RSpec/Output
puts "\nExpected code:\n\n"
puts expected_repaired_model_definition
puts "\nActual code:\n\n"
puts ruby_code
# rubocop:enable RSpec/Output
end
aggregate_failures 'testing generated ruby code' do
expect(ruby_code).to include('attribute :new_attribute, type: :string, on: [:create, :read, :update]')
Expand Down