fluent-plugin-pi 0.0.2 → 0.0.3

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: df97b4c52bf4a2e6f39e6c8f3d81f8af2b0c719a
4
- data.tar.gz: e24adce89010bc7661c30b3a784f4de2f0bf5131
3
+ metadata.gz: 4c7bcc07b408fac793498018831cd96172853f6b
4
+ data.tar.gz: 8be758f11437ecc38ea90e4f2336900df31fa26d
5
5
  SHA512:
6
- metadata.gz: 8723fb2c5f04440fd962743125cc11b67a2fae9e5a191d4754a64f123ec77a58076e3c9ba78795f7729725f450b54d996f11fcdab5548ab9892c352759dab505
7
- data.tar.gz: cb815cd0b0519031090d4229f8bfbd961943fa6d4e41e300f952418e13d99e5b744c22a7d634cccfb2b38fb1315da7f146453274798a3335cd8a6be23e6cd36c
6
+ metadata.gz: 09754f0910c7b4ad960a7a156ff0a28ccae8f575bd664a4aaeec13c66f616b3a34316c75218b2dc6de7a630ffcf90076c8765c3009a30e6934ea3ad0ddd38451
7
+ data.tar.gz: a6ab702f9d4b48eedac0ddaf2796493a42b4056c249d3656734a4244da0f35106e2e1a371e3c3a195390782ece248be43320a4a21bb1fd2bcb81ed1854ee9d13
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-pi (0.0.2)
4
+ fluent-plugin-pi (0.0.3)
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.2"
6
+ spec.version = "0.0.3"
7
7
  spec.authors = ["Derek Endres"]
8
8
  spec.email = ["dendres@osisoft.com"]
9
9
 
@@ -12,7 +12,7 @@
12
12
  # OSIsoft, LLC
13
13
  # 777 Davis Street, Suite 250, San Leandro CA 94577
14
14
 
15
- require 'fluent/output'
15
+ require 'fluent/plugin/output'
16
16
  require 'json'
17
17
  require 'rest-client'
18
18
  require 'adal'
@@ -21,8 +21,6 @@ require 'certified'
21
21
  module Fluent
22
22
  class Qi < BufferedOutput
23
23
  Fluent::Plugin.register_output('qi', self)
24
-
25
- helpers :inject, :formatter, :compat_parameters
26
24
 
27
25
  typeID = nil, streamID = nil, tenantId = nil, namespaceId = nil
28
26
  appId = nil, appKey = nil
@@ -63,11 +61,8 @@ module Fluent
63
61
  if conf['output_type'] && !conf['format']
64
62
  conf['format'] = conf['output_type']
65
63
  end
66
- compat_parameters_convert(conf, :inject, :formatter)
67
64
 
68
65
  super
69
-
70
- @formatter = formatter_create(conf: conf.elements('format').first, default_type: DEFAULT_FORMAT_TYPE)
71
66
 
72
67
  (conf.key?('tenantId')) ? @tenantId = conf['tenantId'] : @tenantId = nil
73
68
  (conf.key?('namespaceId')) ? @namespaceId = conf['namespaceId'] : @attpath = nil
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-pi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Endres
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -98,6 +98,7 @@ files:
98
98
  - lib/fluent/plugin/out_pi.rb
99
99
  - lib/fluent/plugin/out_qi.rb
100
100
  - pkg/fluent-plugin-pi-0.0.1.gem
101
+ - pkg/fluent-plugin-pi-0.0.2.gem
101
102
  homepage: https://github.com/osisoftresearch
102
103
  licenses:
103
104
  - OSISoft LLC