fluent-plugin-gcloud-pubsub 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84d1b14b193a8f13674d9ab98a2e9dcd7bc5bdb6
|
4
|
+
data.tar.gz: 112de588cff9c2b668e67172d5ba2f96bc760736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c784df7c4a5fcc1d49327bd2e515377513cb4fec1bf0bdadec8f3fe246c511845945d493ddc88eb8cd9aff5feba39fbf89ffb9077a198fb083b1af2437a84f3
|
7
|
+
data.tar.gz: 3c1901d62d917397633b47ae4b7fc8038eefba1143903087e905adf847159f82ac56bb4e9c89dd35dce8031809fc5a82cacccb239c330e51cbd9eafa135e9ea6
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.license = "MIT"
|
8
8
|
gem.homepage = "https://github.com/mdoi/fluent-plugin-gcloud-pubsub"
|
9
9
|
gem.summary = gem.description
|
10
|
-
gem.version = "0.0.
|
10
|
+
gem.version = "0.0.4"
|
11
11
|
gem.authors = ["Masayuki DOI"]
|
12
12
|
gem.email = "dotquasar@gmail.com"
|
13
13
|
gem.has_rdoc = false
|
@@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
gem.require_paths = ['lib']
|
18
18
|
|
19
|
-
gem.add_runtime_dependency "fluentd"
|
20
|
-
gem.add_runtime_dependency "gcloud", "
|
19
|
+
gem.add_runtime_dependency "fluentd", "~> 0.12.0"
|
20
|
+
gem.add_runtime_dependency "gcloud", "= 0.6.3"
|
21
21
|
gem.add_runtime_dependency "fluent-plugin-buffer-lightening", ">= 0.0.2"
|
22
22
|
|
23
23
|
gem.add_development_dependency "bundler"
|
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'gcloud'
|
2
|
+
require 'fluent/input'
|
3
|
+
require 'fluent/parser'
|
2
4
|
|
3
5
|
module Fluent
|
4
|
-
class GcloudPubSubInput <
|
6
|
+
class GcloudPubSubInput < Input
|
5
7
|
Fluent::Plugin.register_input('gcloud_pubsub', self)
|
6
8
|
|
7
9
|
config_param :tag, :string
|
@@ -33,7 +35,7 @@ module Fluent
|
|
33
35
|
end
|
34
36
|
|
35
37
|
def configure_parser(conf)
|
36
|
-
@parser = TextParser.new
|
38
|
+
@parser = Fluent::TextParser.new
|
37
39
|
@parser.configure(conf)
|
38
40
|
end
|
39
41
|
|
@@ -56,7 +58,7 @@ module Fluent
|
|
56
58
|
|
57
59
|
private
|
58
60
|
def configure_parser(conf)
|
59
|
-
@parser = TextParser.new
|
61
|
+
@parser = Fluent::TextParser.new
|
60
62
|
@parser.configure(conf)
|
61
63
|
end
|
62
64
|
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-gcloud-pubsub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masayuki DOI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.12.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gcloud
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.6.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.6.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: fluent-plugin-buffer-lightening
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|