Skip to content

Commit ddd27f5

Browse files
committed
fix .rubocop.yml
1 parent ec9127f commit ddd27f5

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.rubocop.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ Metrics/AbcSize:
4242
Enabled: false
4343
Layout/ArgumentAlignment:
4444
Enabled: false
45-
Layout/ArgumentAlignment:
46-
Enabled: false
47-
Layout/ArgumentAlignment:
48-
Enabled: false
49-
Layout/ArgumentAlignment:
50-
Enabled: false
5145
Layout/HashAlignment:
5246
Enabled: false
5347
Style/IfUnlessModifier:

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ GEM
161161
ffi (1.15.5)
162162
friendly_id (5.4.2)
163163
activerecord (>= 4.0.0)
164-
geocoder (1.8.0)
164+
geocoder (1.8.1)
165165
globalid (1.0.0)
166166
activesupport (>= 5.0)
167167
globalize (6.2.1)
@@ -253,7 +253,7 @@ GEM
253253
paperclip-meta (3.1.0)
254254
paperclip (>= 5.0)
255255
parallel (1.22.1)
256-
parallel_tests (3.12.1)
256+
parallel_tests (3.13.0)
257257
parallel
258258
pg (1.4.3)
259259
pr_geohash (1.0.0)
@@ -431,7 +431,7 @@ GEM
431431
activemodel (>= 6.0.0)
432432
bindex (>= 0.4.0)
433433
railties (>= 6.0.0)
434-
webdrivers (5.0.0)
434+
webdrivers (5.1.0)
435435
nokogiri (~> 1.6)
436436
rubyzip (>= 1.3.0)
437437
selenium-webdriver (~> 4.0)

app/models/inventory_file.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class InventoryFile < ApplicationRecord
2323
paginates_per 10
2424

2525
def import
26-
self.reload
27-
file = File.open(self.inventory.path)
26+
reload
27+
file = File.open(inventory.path)
2828
reader = file.read
2929
reader.split.each do |row|
3030
identifier = row.to_s.strip

0 commit comments

Comments
 (0)