farmstead 0.0.78 → 0.0.79

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: c714a55694953352e059ff37f418f1346d5c1060
4
- data.tar.gz: 3244b536dbfd931074fc8b60d33d3a4ec9cdce08
3
+ metadata.gz: 7d8f58ca2a64c5c6a1e67ad811f0ab3c727d53ae
4
+ data.tar.gz: 926749efd08b4be4acb3d03ec3636e20c6866974
5
5
  SHA512:
6
- metadata.gz: 5604ee77300fe7bf5648b22f7765c6b15363a2600816a348661097af237d3c054facb59754663d008dbe84b8091c44d3435cb7ae4ca81b1871508d0c06b0c7c7
7
- data.tar.gz: 7e73f8aaa56d2da1b43e086ae6c828fa8b7e67cf26f0764b0d22f9eaa5912ed9aa1b68cdb58b0305ff029f68e7eb7e66da606fab9011676244bf8a0c928aca1f
6
+ metadata.gz: 7a4aa5f1ae36e48c256326a149732ae23eaaea41ebeaac7d35dec7801d2f2bb60bceb5adfb21f4fc4b4e9e6360c8f0d1b6dd412469eed3d9b8a48bc619da58b9
7
+ data.tar.gz: 12efd8da4a2c2806ee71453acadd816a034cf2de74a28e5fe4a37b29695fc88a8bee3117ba225a8bb62d5c8b9c85f83426ec76f1902a59c34648a02297c98963
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.78)
4
+ farmstead (0.0.79)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
@@ -11,15 +11,13 @@ module Farmstead
11
11
  module Load
12
12
  class Service < Farmstead::Service
13
13
  def run
14
- puts "Received: #{message.value}"
15
- # Run the load method of the module referenced by the message
16
- message = '{"module_name":"StopandShop","result":"Home - stop and shop"}'
17
- obj = JSON.parse(message)
18
- project_name = ENV["name"].capitalize
19
- module_name = obj["module_name"]
20
- my_module = Object.const_get "#{project_name}::#{module_name}"
21
- puts obj["result"]
22
- my_module::load(obj["result"])
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"])
23
21
  end
24
22
 
25
23
  def runs
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.78"
2
+ VERSION = "0.0.79"
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.78
4
+ version: 0.0.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney