csv_row_model 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1659654bb54054a7ee93eacb161b4aeb1d6dcca7
4
- data.tar.gz: b3f0d04925efa748ac1cbab7ca9445824d5b9f3d
3
+ metadata.gz: 660505ef58269d9a005d35ed43db3e9747b6020f
4
+ data.tar.gz: ec2322da4993b1b69e3fc5399aa9e516308841d4
5
5
  SHA512:
6
- metadata.gz: 4a2576d69bb8c8ee6116a3df5041625fac583068ba9711db8caa37c2420553b0d03b2aa7fd2f84d3735b3a28a95b091398a9a5dd244b4cada34cbdab611bd7e7
7
- data.tar.gz: c5cc99b9063d8529fdf6b4dc8dc507cf3df60165ca1c3e5347499f6af1baf5ee7e8a04d4d4b38cc0020240d6cb7331480a5080aa37bda2b2d337c179039b1620
6
+ metadata.gz: e3dc40ce2c302523e389018bad7ce566bc7a4039dd8c912e24e4b1bd307c0d1c4a9c7667ec0377f6abdbdff88a56a69f7f2586e245e1b84a130564e26c161632
7
+ data.tar.gz: 8e8dc01292894c57be0c8d8b277dbb54db590b9bf8b1a611319633c8efe1f987c8dfbe9e678665e11b8bd8866e691537905fb8ae22b16ff0986753ac95862ece
@@ -52,7 +52,7 @@ module CsvRowModel
52
52
  return unless valid?
53
53
 
54
54
  @index = -1
55
- @current_row = nil
55
+ @current_row = @next_row = @skipped_rows = @next_skipped_rows = nil
56
56
  @ruby_csv = _ruby_csv
57
57
  true
58
58
  end
@@ -1,3 +1,3 @@
1
1
  module CsvRowModel
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_row_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Chung
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -72,7 +72,6 @@ files:
72
72
  - lib/csv_row_model/import.rb
73
73
  - lib/csv_row_model/import/attributes.rb
74
74
  - lib/csv_row_model/import/csv.rb
75
- - lib/csv_row_model/import/csv/row.rb
76
75
  - lib/csv_row_model/import/dynamic_columns.rb
77
76
  - lib/csv_row_model/import/file.rb
78
77
  - lib/csv_row_model/import/file/callbacks.rb
@@ -1,17 +0,0 @@
1
- module CsvRowModel
2
- module Import
3
- class Csv
4
- class Row
5
- attr_reader :row, :skipped_rows
6
-
7
- def initialize(row, index, skipped_rows)
8
- @row, @index, @skipped_rows = row, index, skipped_rows
9
- end
10
-
11
- def empty?
12
- !!row.try(:empty?)
13
- end
14
- end
15
- end
16
- end
17
- end