bulk_loader 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bulk_loader/loader.rb +1 -1
- data/lib/bulk_loader/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db5beccbf865a19f4e39f911a63c625485558af4384e53c99fb42308270f8d74
|
4
|
+
data.tar.gz: a943c873b30717596417101cf5defc45553dae1a7bf92ebd418d13f4e94a29e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d31ecc4703cd0f33f152e5f33cffe3a57e6a51952a42ad6a126ee6259acde7a524c3decbc5029b2a95ad577620745b8ba748d1812d25e2a4cc0eb98b2525027
|
7
|
+
data.tar.gz: ebadc37264f2a8b3d2a7124dbfadc2c3f7d779b358e87d10963d0c520a3048eb6eaa03b032cafe5ca62193b8779def60d5e4a96d69a881e16051db0c0772cd8e
|
data/lib/bulk_loader/loader.rb
CHANGED
@@ -30,7 +30,7 @@ module BulkLoader
|
|
30
30
|
|
31
31
|
def call_block(mapping_of, *args)
|
32
32
|
if args.size < @block.arity - 1
|
33
|
-
message = "
|
33
|
+
message = "load should take #{@block.arity} parameters, but given #{args.size + 1}"
|
34
34
|
raise ArgumentError, message
|
35
35
|
end
|
36
36
|
result_of = @block.call(mapping_of.keys, *args)
|
data/lib/bulk_loader/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulk_loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keiji Yoshimi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|