remi 0.2.29 → 0.2.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/remi/job.rb +2 -2
- data/lib/remi/transform.rb +2 -2
- data/lib/remi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f58071ddcbc5d59548e0e174b770871556ebd88
|
4
|
+
data.tar.gz: 86eb7d201d268190c4546ce67ae816b97b87291b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2219591db9125214867d5a42be832808b1a156ecb2a334f84ca4006bf2e8ed1ca3e41ef342d631a6069717be22e7deca67f4556cbc2cf5a1db57e057d22edc17
|
7
|
+
data.tar.gz: 74b06952815620244b94f413bc22eddaccbab1592012d7407477ddec618253dfefdc9d39454492121a8093469ee2e249d5d60c6def072b8f4cc22d08f79918d1
|
data/Gemfile.lock
CHANGED
data/lib/remi/job.rb
CHANGED
@@ -13,7 +13,7 @@ module Remi
|
|
13
13
|
|
14
14
|
def define_source(name, type_class, **options)
|
15
15
|
@sources ||= []
|
16
|
-
@sources << name
|
16
|
+
@sources << name unless @sources.include? name
|
17
17
|
|
18
18
|
define_method(name) do
|
19
19
|
iv_name = instance_variable_get("@#{name}")
|
@@ -26,7 +26,7 @@ module Remi
|
|
26
26
|
|
27
27
|
def define_target(name, type_class, **options)
|
28
28
|
@targets ||= []
|
29
|
-
@targets << name
|
29
|
+
@targets << name unless @targets.include? name
|
30
30
|
|
31
31
|
define_method(name) do
|
32
32
|
iv_name = instance_variable_get("@#{name}")
|
data/lib/remi/transform.rb
CHANGED
@@ -117,7 +117,7 @@ module Remi
|
|
117
117
|
end
|
118
118
|
|
119
119
|
def transform(value)
|
120
|
-
value.slice(0,@len)
|
120
|
+
(value || '').slice(0,@len)
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
@@ -387,7 +387,7 @@ module Remi
|
|
387
387
|
end
|
388
388
|
|
389
389
|
def transform(value)
|
390
|
-
value.gsub(@to_replace, @replace_with)
|
390
|
+
(value || '').gsub(@to_replace, @replace_with)
|
391
391
|
end
|
392
392
|
end
|
393
393
|
|
data/lib/remi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sterling Paramore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bond
|