fluent-plugin-festival 0.0.11 → 0.0.12

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: 50683595d0191e60d7ab11e80b8d1661136dbf47
4
- data.tar.gz: c9ee0fe6002245a39c5bdd5459ce219a2676aa74
3
+ metadata.gz: 39f17a14ffb311c60b34d91173456b7f5dcb42ee
4
+ data.tar.gz: e2afc237a7290b637d502b2a13d19c94c451da29
5
5
  SHA512:
6
- metadata.gz: 64d59abb3d6496954e1c5236d54e7924d8b04edae0d83437874a48a739298e14779d8a1ee2980ac3e94c412ef78f0cae732f40d0cdf86401d07f6736e7329f39
7
- data.tar.gz: d68d607cc80dc5e3a5a7c1c180f21b426dde74ccb30bf3c060f0ed55d705321f6039e7bf2fafdea6bec764110acbcd5f822c9478ba5108ed32b53abb1879ed40
6
+ metadata.gz: 0b46e4b7db77cfd24bbd5993f4b4cea7e304e475366fff713562419c7c47a5b23185b0ec25eb827d8d579ee4810c6c5834cab2e4b74e6e6efe85e9a5455659d2
7
+ data.tar.gz: 3224d8f695a96136f36c1a0d9a269d48d4d6fb7dc2907cc9e6e2eaddccd91387af682c479a075c9d3d105b7cae80eccf62951b369ef9368f8f1f1fd7a894d283
data/examples/README.md CHANGED
@@ -87,6 +87,9 @@ vi iot_gateway-mapping.json
87
87
  },
88
88
  "dataValue": {
89
89
  "type": "double"
90
+ },
91
+ "location": {
92
+ "type": "geo_point"
90
93
  }
91
94
  }
92
95
  }
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-festival"
7
- spec.version = "0.0.11"
7
+ spec.version = "0.0.12"
8
8
  spec.authors = ["Toyokazu Akiyama"]
9
9
  spec.email = ["toyokazu@gmail.com"]
10
10
 
@@ -5,6 +5,7 @@ module Fluent::Plugin
5
5
  require 'net/http'
6
6
  require 'json'
7
7
  require 'time'
8
+ require 'webrick/httputils'
8
9
 
9
10
  class FestivalProxyError
10
11
  end
@@ -88,7 +89,7 @@ module Fluent::Plugin
88
89
  def get_data_request(path)
89
90
  #get_data_req = @uri + target_path(type)
90
91
 
91
- get_data_req = @uri + Pathname("/festival/eaas/experimentation/#{path}").cleanpath.to_s
92
+ get_data_req = @uri + Pathname("/festival/eaas/experimentation/#{WEBrick::HTTPUtils.escape(path)}").cleanpath.to_s
92
93
  #get_data_req.query = URI.encode_www_form(get_data_params)
93
94
  log.debug "#{get_data_req}"
94
95
  # currently time window is automatically updated
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-festival
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toyokazu Akiyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd