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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15e07ef814fabf0baab3eb025c8893b19310d8c3
4
- data.tar.gz: 1fcfc1e061857cd6311a906777348c6fee1502db
3
+ metadata.gz: 681dca3e71a13d6ff3d2f50dd68ae8621a1860b2
4
+ data.tar.gz: fab7f4bb917afd98f664773710eed980b24b5ff8
5
5
  SHA512:
6
- metadata.gz: d6cba61275321784c30fa07da52310e976fb4ecfd96f09941e1a6157825d38f910741d83b2461a698b662c36bfbbe050a0a089575a104a091355e6f61ae3ac50
7
- data.tar.gz: 515e73b9df7fba66e98b89132c4637e6cca13766ea0a2d9ec23bbf89a3bc5800dce74ec52423cf3f17aa7508ac01b9a236efd3736d54e0732c340c92fd3415d5
6
+ metadata.gz: afa738e3772dce3662c0806ca47c22c8ea0f9a285b6856af6ed10d4caa3bbe3e94557d29c0900b3d81bce0630ddf203a0357cc985938989fd56fd88d88c4d8ba
7
+ data.tar.gz: 5fa7a77315afe21497009ac785d763fda736c62cd6a75d57dd91f88b4e22dbc559e9b7d2db787b49ffc82d2dd9b111d5b11fe873f1a929d1c3151e98bc101146
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- farmstead (0.0.70)
4
+ farmstead (0.0.71)
5
5
  httparty (~> 0.15.6)
6
6
  mechanize (~> 2.7)
7
7
  mysql2 (~> 0.4.10)
@@ -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}::#{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 "<%= ENV['name'].capitalize %>::#{module_name}"
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)
@@ -1,3 +1,3 @@
1
1
  module Farmstead
2
- VERSION = "0.0.70"
2
+ VERSION = "0.0.71"
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.70
4
+ version: 0.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Jenney