excel_walker 0.1.2 → 0.1.3
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,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODYyOTJiNDI2Mjg3NGJkZmE1YTI4ODZlODQyMzA3NDkzZjcwYjc5NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2NkYmNiZmE5MGExMmY5ZGMwNjJhMzNhZDYxNjFjNGJiYjdmZDA0Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjRlNzRmNTgwZTk3NGE4YmYxZmU4MjNiMTBiZWFjOTQyYmJhY2E5MTdiNjc3
|
10
|
+
MTczM2JlNTY1ZGFiYjZiNmFkZThkZjgyZGExZTdiNWRmM2E4N2YzMWE3NDE2
|
11
|
+
ODMxN2FjMDJmNzVkNTU5OThkNzdlZDkyYTBlZTMwODA2ZTI1ZTA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTQ0NDY1ODJjNDY5MGZkYmYzNzk3NDYyYTU3YThkMWJiZmUyYWJkNzgxNzc1
|
14
|
+
Y2FmNWExNjJkYTU2OWEyMzA3NjQzYTQ4OTA2MzFhYjQ1Mjk1NTU5ZDA5MTE1
|
15
|
+
ZjMxMzc2ZDFlZmVlZGUwZGE4YjVjZmZhNmE2N2IxYTYxYzI3Nzk=
|
data/lib/excel_walker/version.rb
CHANGED
@@ -49,6 +49,12 @@ module ExcelWalker::Reader
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
describe '#columns' do
|
53
|
+
it 'only takes array, number, proc or range as input' do
|
54
|
+
expect{ Hook.new(1).columns('string') }.to raise_error(ArgumentError, 'Can only take Array, Number, Range or a Block')
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
52
58
|
describe '#call' do
|
53
59
|
let(:collection) { (1..100).to_a }
|
54
60
|
let(:hook_block) { double }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excel_walker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shadab Ahmed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: creek
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.2.2
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: This gem chooses a different approach to Excel Parsing since excel can contain
|