acts_as_table_csv 0.0.1 → 0.0.2
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 +4 -4
- data/lib/acts_as_table/csv/reader.rb +7 -0
- data/lib/acts_as_table_csv/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ce17ad93612d324dc28b6caba58965208b96a5ccc77e7cb8e70fd497bd783a2
|
4
|
+
data.tar.gz: b5a0ee6b3ee050766ca85a5112f8bc71335dc4dfb4dc0784aaf8352b22bf6154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 804f714bafbe7d4b3472486d32e73c30bea40c3ae07698ddcc1b219e2663550134979c9879abb5769f9c590ead600bd4a49cc3c7edce9c4b49ba347c856b8e00
|
7
|
+
data.tar.gz: aa67234f4c9b435c9be2d83f4d4d7a997efec29a9b0d1dd173068bd4e4bc17150f5d9d0778695f716e032c840078a139fa8d05653d74f306c6de85e8bbdceee1
|
@@ -25,6 +25,13 @@ module ActsAsTable::CSV
|
|
25
25
|
super(row_model, input, **options, &block)
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns the line number of the last row read from the input stream.
|
29
|
+
#
|
30
|
+
# @return [Fixnum]
|
31
|
+
def lineno
|
32
|
+
@csv.lineno
|
33
|
+
end
|
34
|
+
|
28
35
|
# Returns a pair, where the first element is the next row or +nil+ if input stream is at end of file and the second element indicates if input stream is at end of file.
|
29
36
|
#
|
30
37
|
# @return [Object]
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_table_csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Borkum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_table
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.0.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0.1'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.0.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.1'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rake
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
110
|
- !ruby/object:Gem::Version
|
105
111
|
version: '0'
|
106
112
|
requirements: []
|
107
|
-
rubygems_version: 3.0.
|
113
|
+
rubygems_version: 3.0.9
|
108
114
|
signing_key:
|
109
115
|
specification_version: 4
|
110
116
|
summary: CSV support for ActsAsTable.
|