fluent-plugin-pi 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a5c05e462fa7fec8fba959e017a49724b46dee3
4
- data.tar.gz: dc231152a4fabc546dd5fb15d59d1a48cb6b6edb
3
+ metadata.gz: 2a98b4b60ad27f23278150c115c5f76bcaa7c60b
4
+ data.tar.gz: 50c809a2196ff6af4630f306c454f17846602f6f
5
5
  SHA512:
6
- metadata.gz: 284ca43eb0e798a921ca17b4c361476f76754377eb65711c749a83e13c2584f8a1170bd0a55ba4769bd063747b079f901e560a557bcc72afbd2b958f4a22e439
7
- data.tar.gz: 114e1fb2965686303c97109356dd81829811c415ec8c614672213d334da948995e379e743ad9397be84aa8fffeaf68fdaec4e759357c2cc6cc938f597b732021
6
+ metadata.gz: a4fd39541f17faf2f937502f1ce80d4fe014d74aa3d24de115052b952744e6eaac80ff2a7047f56520061db7ab69d7e66cf34b5cd94d2e320fd365fa4c1fa79e
7
+ data.tar.gz: b523b27c94658c4c0f0751a37b2a4db9419a4a56a1d4bf64879add46fb3ef93a7adb9877aa1fcd44e3cd9326cfe576d328993fd6b357ccda5ee430b52163cc24
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-pi (0.0.8)
4
+ fluent-plugin-pi (0.0.9)
5
5
  adal (~> 1.0.0)
6
6
  certified (~> 1.0.0)
7
7
  rest-client (~> 1.6.9)
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-pi"
6
- spec.version = "0.0.8"
6
+ spec.version = "0.0.9"
7
7
  spec.authors = ["Derek Endres"]
8
8
  spec.email = ["dendres@osisoft.com"]
9
9
 
@@ -206,7 +206,12 @@ module Fluent
206
206
  value = record[@valuetag].to_s
207
207
  else
208
208
  z = record["Value"]
209
- z2 = z["log"]
209
+ $log.write("z\n")
210
+ $log.write(z)
211
+ z3 = JSON.parse(z)
212
+ $log.write("z3\n")
213
+ $log.write(z3)
214
+ z2 = z3["log"]
210
215
  value = z2.to_s
211
216
  end
212
217
  return "{\"Timestamp\":\"#{Time.at(time).localtime}\",\"Value\":\"#{value}\"},"
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Endres
@@ -104,6 +104,7 @@ files:
104
104
  - pkg/fluent-plugin-pi-0.0.5.gem
105
105
  - pkg/fluent-plugin-pi-0.0.6.gem
106
106
  - pkg/fluent-plugin-pi-0.0.7.gem
107
+ - pkg/fluent-plugin-pi-0.0.8.gem
107
108
  homepage: https://github.com/osisoftresearch
108
109
  licenses:
109
110
  - OSISoft LLC