Skip to content

Commit

Permalink
Bump jsonb_accessor from 1.3.4 to 1.4 (#2288)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Pepler <[email protected]>
  • Loading branch information
dependabot[bot] and vertism authored Jan 9, 2025
1 parent ded3e71 commit ce63ab2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ gem "humanize_boolean"
gem "jbuilder", "~> 2.11"
gem "jquery-rails", "~> 4.5"
gem "jquery-ui-rails"
gem "jsonb_accessor", "~> 1.3.2"
gem "jsonb_accessor", "~> 1.4"
gem "jwe"
gem "kaminari"
gem "libreconv", "~> 0.9.5"
Expand Down
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ GEM
erubi (~> 1.4)
parser (>= 2.4)
smart_properties
bigdecimal (3.1.8)
bigdecimal (3.1.9)
binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1)
bootsnap (1.11.1)
Expand Down Expand Up @@ -268,9 +268,9 @@ GEM
jquery-ui-rails (7.0.0)
railties (>= 3.2.16)
json (2.8.2)
jsonb_accessor (1.3.4)
activerecord (>= 5.0)
activesupport (>= 5.0)
jsonb_accessor (1.4)
activerecord (>= 6.1)
activesupport (>= 6.1)
pg (>= 0.18.1)
jwe (0.4.0)
jwt (2.7.0)
Expand Down Expand Up @@ -307,11 +307,11 @@ GEM
matrix (0.4.2)
mini_mime (1.1.5)
mini_portile2 (2.8.8)
minitest (5.25.1)
minitest (5.25.4)
msgpack (1.5.1)
multi_json (1.15.0)
multi_xml (0.6.0)
mutex_m (0.2.0)
mutex_m (0.3.0)
net-imap (0.4.10)
date
net-protocol
Expand Down Expand Up @@ -589,7 +589,7 @@ GEM
thor (1.3.1)
tilt (2.1.0)
timecop (0.9.6)
timeout (0.4.1)
timeout (0.4.3)
ttfunk (1.7.0)
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
Expand Down Expand Up @@ -655,7 +655,7 @@ DEPENDENCIES
jbuilder (~> 2.11)
jquery-rails (~> 4.5)
jquery-ui-rails
jsonb_accessor (~> 1.3.2)
jsonb_accessor (~> 1.4)
jwe
kaminari
libreconv (~> 0.9.5)
Expand Down
2 changes: 1 addition & 1 deletion app/models/case/sar/offender_complaint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Case::SAR::OffenderComplaint < Case::SAR::Offender
enum complaint_type: {
standard_complaint: "standard_complaint",
ico_complaint: "ico_complaint",
litigation_complaint: "litigation",
litigation_complaint: "litigation_complaint",
}

enum complaint_subtype: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
let(:params) do
{
current_step: "complaint-type",
offender_sar_complaint: offender_sar_base_params.merge(complaint_type: "litigation"),
offender_sar_complaint: offender_sar_base_params.merge(complaint_type: "litigation_complaint"),
}
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
end

context "when litigation complaint" do
let(:offender_sar_complaint) { build_stubbed(:offender_sar_complaint, complaint_type: "litigation", date_responded: Date.new(2020, 1, 10), received_date: Date.new(2020, 1, 1)).decorate }
let(:offender_sar_complaint) { build_stubbed(:offender_sar_complaint, complaint_type: "litigation_complaint", date_responded: Date.new(2020, 1, 10), received_date: Date.new(2020, 1, 1)).decorate }

it "returns Litigation" do
expect(offender_sar_complaint.complaint_type).to eq "Litigation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ def set_up_cases
create(:accepted_complaint_case)
make_case_late(create(:accepted_complaint_case))

create(:accepted_complaint_case, complaint_type: "litigation")
create(:accepted_complaint_case, complaint_type: "litigation")
create(:accepted_complaint_case, complaint_type: "litigation_complaint")
create(:accepted_complaint_case, complaint_type: "litigation_complaint")

3.times do
make_case_late(
create(
:accepted_complaint_case,
complaint_type: "litigation",
complaint_type: "litigation_complaint",
),
)
end
Expand Down

0 comments on commit ce63ab2

Please sign in to comment.