farmstead 0.0.70 → 0.0.71
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/farmstead/pipeline/extract.rb +3 -2
- data/lib/farmstead/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 681dca3e71a13d6ff3d2f50dd68ae8621a1860b2
|
4
|
+
data.tar.gz: fab7f4bb917afd98f664773710eed980b24b5ff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afa738e3772dce3662c0806ca47c22c8ea0f9a285b6856af6ed10d4caa3bbe3e94557d29c0900b3d81bce0630ddf203a0357cc985938989fd56fd88d88c4d8ba
|
7
|
+
data.tar.gz: 5fa7a77315afe21497009ac785d763fda736c62cd6a75d57dd91f88b4e22dbc559e9b7d2db787b49ffc82d2dd9b111d5b11fe873f1a929d1c3151e98bc101146
|
data/Gemfile.lock
CHANGED
@@ -14,7 +14,7 @@ module Farmstead
|
|
14
14
|
message = "StopandShop"
|
15
15
|
puts "Received: #{message}"
|
16
16
|
project_name = ENV["name"].capitalize
|
17
|
-
my_module = Object.const_get "#{project_name}::#{
|
17
|
+
my_module = Object.const_get "#{project_name}::#{message}"
|
18
18
|
result = my_module::extract
|
19
19
|
puts result.inspect
|
20
20
|
Farmstead::DB.insert_test(result)
|
@@ -26,8 +26,9 @@ module Farmstead
|
|
26
26
|
@consumer.each_message do |message|
|
27
27
|
puts "Received: #{message.value}"
|
28
28
|
# The Field message only contains the module name
|
29
|
+
project_name = ENV["name"].capitalize
|
29
30
|
module_name = message.value
|
30
|
-
my_module = Object.const_get "
|
31
|
+
my_module = Object.const_get "#{project_name}::#{module_name}"
|
31
32
|
result = my_module::extract
|
32
33
|
puts result.inspect
|
33
34
|
Farmstead::DB.insert_test(result)
|
data/lib/farmstead/version.rb
CHANGED