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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00b654e9c00ebc50dbbcce44940a3577f9e66edc
4
- data.tar.gz: 8bac8a053968bbaaaa3ccb41d002088815bb2916
3
+ metadata.gz: 0c86abdf9b05eb76ee5877319004837304c32c12
4
+ data.tar.gz: 7877b4c6e6aab5c925ca78cfa61f14c802be9ac8
5
5
  SHA512:
6
- metadata.gz: afa1c40fe179f4c2b782a9e3fa68680d06b01b3206ee47087633e57e2000d41a2d77336d1f138238a30889076ac6ef84efa53469696d80dc0be4b732437f74dd
7
- data.tar.gz: 215d180256368059255083580b2a86cf58873f764d92746358009d514723f758aa271e5bb1d39bc53ac14cc44eb3b8074cff58b9b387443bc4c5740adc0c3489
6
+ metadata.gz: 47fbbad68f61b87d16c826c044009b58441a47da2bff616035408a1c446900c36590bff1e0dc880775f8b0b5ecd423aaeb47272ac4ad465d58cf890339fb7331
7
+ data.tar.gz: a8779350032f07cb0328c883627ef40d635210d3ae34c4e230343dc92b1d72f6e892d3360715ba1ab217cacf5543429c49cec1aa635e3087db6c672ec64147b9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.82)
4
+ farmstead (0.0.83)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.82"
2
+ VERSION = "0.0.83"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: farmstead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.82
4
+ version: 0.0.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney