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: 1ccd2b32a5f18bcec2bb55a04d4406a07e89f514
4
- data.tar.gz: bbc2ba5ee9e6c17d4b4d4713fa6cf515acb8dff3
3
+ metadata.gz: 84d1b14b193a8f13674d9ab98a2e9dcd7bc5bdb6
4
+ data.tar.gz: 112de588cff9c2b668e67172d5ba2f96bc760736
5
5
  SHA512:
6
- metadata.gz: e6b5456a06149be4189826ead4c7a95150a24030d6b1a4d7b18389bd663afb1855a1ecaa6a2b55eb6b597c369b7f514b1f7a2035ac88a9338f49d171be250570
7
- data.tar.gz: 49fcffbc203e01cc9e88704c3746aa50df6aab71042abf45082dbb0c784531db8c9c60beac0711373d3510b610c0700d85f3cf885c4720a45294e43276782628
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.3"
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", ">= 0.2.0"
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 < Fluent::Input
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
 
@@ -1,7 +1,8 @@
1
1
  require 'gcloud'
2
+ require 'fluent/output'
2
3
 
3
4
  module Fluent
4
- class GcloudPubSubOutput < Fluent::BufferedOutput
5
+ class GcloudPubSubOutput < BufferedOutput
5
6
  Fluent::Plugin.register_output('gcloud_pubsub', self)
6
7
 
7
8
  config_set_default :buffer_type, 'lightening'
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.3
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-05-28 00:00:00.000000000 Z
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: '0'
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: '0'
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.2.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.2.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