importeur 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/lib/importeur/etl.rb +4 -3
- data/lib/importeur/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 991119a8603e5c354fbe1329fff579e00e3a12bd06b2e8e468de8d567498807a
|
4
|
+
data.tar.gz: cbc7f5cb1fb21071476b1bd975c876c06949810669373ac10d22e4931455e2c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0c732eb03484d40225ee8d7ce337e23f051a40996b56b064e7ea2c058fa90320885d39628f4fe5a86e3d404356fce9bc943f231a99fef8e8d4832ef60da0ac3
|
7
|
+
data.tar.gz: b0d8c47da29dd911a91b40abdca18d30dd152bb2375f34fc98e15702cdf6644f7c296c2458757ac0345d7634ae8b939a3fbf330f0262db14a54e5e18201c9829
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 ad2games GmbH
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/lib/importeur/etl.rb
CHANGED
@@ -11,9 +11,10 @@ module Importeur
|
|
11
11
|
def call
|
12
12
|
extracted = extractor.call
|
13
13
|
return if extracted.nil?
|
14
|
-
transformed = extracted
|
15
|
-
|
16
|
-
|
14
|
+
transformed = extracted
|
15
|
+
.lazy
|
16
|
+
.flat_map(&transformer.method(:call))
|
17
|
+
.reject(&:nil?)
|
17
18
|
loader.call(transformed.lazy)
|
18
19
|
end
|
19
20
|
|
data/lib/importeur/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: importeur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Helge Rausch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -206,6 +206,7 @@ files:
|
|
206
206
|
- ".travis.yml"
|
207
207
|
- CHANGELOG.md
|
208
208
|
- Gemfile
|
209
|
+
- LICENSE
|
209
210
|
- README.md
|
210
211
|
- Rakefile
|
211
212
|
- bin/console
|