Skip to content

Commit 0040a2c

Browse files
committed
Linting
1 parent 777b6fa commit 0040a2c

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ gem 'pg', '~> 1.0', require: false if dbs.match?(/all|postgres/)
2121
gem 'fast_sqlite', require: false if dbs.match?(/all|sqlite/)
2222
gem 'sqlite3', '>= 2.1', require: false if dbs.match?(/all|sqlite/)
2323

24-
2524
gem 'database_cleaner', '~> 2.0', require: false
2625
gem 'rspec-activemodel-mocks', '~> 1.1', require: false
2726
gem 'rspec-rails', '~> 6.0.3', require: false

bin/release/extract-pipeline-context

+4-3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ context_hash = {
3636
}
3737

3838
warn "~~> Generating context..."
39-
context_hash.each { |k, v| warn "#{k}=#{v}" }
40-
41-
context_hash.each { |k, v| puts "#{k}=#{v}" }
39+
context_hash.each { |k, v|
40+
warn "#{k}=#{v}"
41+
puts "#{k}=#{v}"
42+
}

core/lib/spree/permitted_attributes.rb

+7-8
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,13 @@ module PermittedAttributes
8787
@@property_attributes = [:name, :presentation]
8888

8989
@@return_authorization_attributes = [:memo, :stock_location_id, :return_reason_id,
90-
customer_metadata: {},
91-
return_items_attributes: [
92-
:inventory_unit_id,
93-
:exchange_variant_id,
94-
:return_reason_id,
95-
:preferred_reimbursement_type_id
96-
]
97-
]
90+
customer_metadata: {},
91+
return_items_attributes: [
92+
:inventory_unit_id,
93+
:exchange_variant_id,
94+
:return_reason_id,
95+
:preferred_reimbursement_type_id
96+
]]
9897

9998
@@shipment_attributes = [
10099
:special_instructions, :stock_location_id, :id, :tracking,

0 commit comments

Comments
 (0)