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 +4 -4
- data/examples/README.md +3 -0
- data/fluent-plugin-festival.gemspec +1 -1
- data/lib/fluent/plugin/festival_proxy.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39f17a14ffb311c60b34d91173456b7f5dcb42ee
|
|
4
|
+
data.tar.gz: e2afc237a7290b637d502b2a13d19c94c451da29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b46e4b7db77cfd24bbd5993f4b4cea7e304e475366fff713562419c7c47a5b23185b0ec25eb827d8d579ee4810c6c5834cab2e4b74e6e6efe85e9a5455659d2
|
|
7
|
+
data.tar.gz: 3224d8f695a96136f36c1a0d9a269d48d4d6fb7dc2907cc9e6e2eaddccd91387af682c479a075c9d3d105b7cae80eccf62951b369ef9368f8f1f1fd7a894d283
|
data/examples/README.md
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|