farmstead 0.0.82 → 0.0.83
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/load.rb +0 -10
- 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: 0c86abdf9b05eb76ee5877319004837304c32c12
|
4
|
+
data.tar.gz: 7877b4c6e6aab5c925ca78cfa61f14c802be9ac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47fbbad68f61b87d16c826c044009b58441a47da2bff616035408a1c446900c36590bff1e0dc880775f8b0b5ecd423aaeb47272ac4ad465d58cf890339fb7331
|
7
|
+
data.tar.gz: a8779350032f07cb0328c883627ef40d635210d3ae34c4e230343dc92b1d72f6e892d3360715ba1ab217cacf5543429c49cec1aa635e3087db6c672ec64147b9
|
data/Gemfile.lock
CHANGED
@@ -11,16 +11,6 @@ module Farmstead
|
|
11
11
|
module Load
|
12
12
|
class Service < Farmstead::Service
|
13
13
|
def run
|
14
|
-
message = '{"module_name":"StopandShop","result":"Home - stop and shop"}'
|
15
|
-
obj = JSON.parse(message)
|
16
|
-
project_name = ENV["name"].capitalize
|
17
|
-
module_name = obj["module_name"]
|
18
|
-
my_module = Object.const_get "#{project_name}::#{module_name}"
|
19
|
-
puts obj["result"]
|
20
|
-
my_module::load(obj["result"])
|
21
|
-
end
|
22
|
-
|
23
|
-
def runs
|
24
14
|
@consumer.subscribe("Road")
|
25
15
|
trap('TERM') { @consumer.stop }
|
26
16
|
@consumer.each_message do |message|
|
data/lib/farmstead/version.rb
CHANGED