arii 1.0.7 → 1.0.8

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: 452aa4e3ab2a6656939da94899451a9120edea58
4
- data.tar.gz: f20eca0d8309faf8344bd5b0e5e366e6e6bbf986
3
+ metadata.gz: 8ea5a9addba0617a687d77121e2f44deebf3cfee
4
+ data.tar.gz: 0d61fe746c55ee8b74403d98ccce180416cd2000
5
5
  SHA512:
6
- metadata.gz: 84d5c8260af2ae3d19768278b7d56004b6c4ce755465cb70cdd9c53a26fb0b0afeb05966bf2bf9d7ea1ae34329ea138ca90a092cf5059f59e33469d53fd34319
7
- data.tar.gz: bf65a323e167245f634b444460f34fc12b1ca73eca28cbf9b1c3beb28a564a2a720501b67baebc3fd73e3cd07b5a3c85d6563e113ef0c69ad4d958b3a83343eb
6
+ metadata.gz: 7ea246b5cf029f3b1c2b95c83bc2dab548940f440c4be197ef59606d38f484ccb15342953efb4e76974f3d73caea4fd0f32d7d03274c7330f73fc64785741a0e
7
+ data.tar.gz: 5ab16753d3d7fb7438cc5904553af0ceaab1ad31ddec2a29620cea4231263f4889c957bcc4cc2dc1a86f5742ea57a716b55680f47a25018131101fc65bbf67c6
data/lib/arii/agent.rb CHANGED
@@ -99,6 +99,7 @@ module ARII
99
99
  begin
100
100
  checkup[:templates].each do |template|
101
101
  ARII::Config.log.info(self.class.name) {"Delivering to #{template} template."}
102
+ puts "checkup: #{checkup}"
102
103
  checkup[:payload].each do |payload|
103
104
  puts "payload #{payload}"
104
105
  ARII::Config.log.debug(self.class.name) {"Processing #{payload}."}
@@ -106,7 +107,7 @@ module ARII
106
107
  puts response
107
108
  case response.code
108
109
  when 200
109
- ARII::Config.log.debug(self.class.name) {"Delivered to #{tempalte}."}
110
+ ARII::Config.log.debug(self.class.name) {"Delivered to #{template}."}
110
111
  else
111
112
  ARII::Config.log.warn(self.class.name) {"unable to deliver \"#{payload}\" to \"#{template}\""}
112
113
  end
@@ -25,7 +25,6 @@ module ARII
25
25
  @response = Cashier.verify row["id"], object, row, object[:seed]
26
26
  end
27
27
 
28
- puts @response
29
28
  # Process ARII cache response
30
29
  @cache = JSON.parse(@response, {:symbolize_names => true})
31
30
  unless @cache[:templates].nil? then
data/lib/arii/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ARII
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arii
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Lopes