fluent-plugin-couchbase 0.0.1
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.
- data/.rspec +4 -0
- data/.simplecov +5 -0
- data/Gemfile +17 -0
- data/LICENSE.txt +20 -0
- data/README.md +46 -0
- data/Rakefile +45 -0
- data/VERSION +1 -0
- data/fluent-plugin-couchbase.gemspec +73 -0
- data/lib/fluent/plugin/out_couchbase.rb +66 -0
- data/spec/out_couchbase_spec.rb +95 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/helpers.rb +45 -0
- metadata +191 -0
data/.rspec
ADDED
data/.simplecov
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
gem "fluentd", ">=0.10.28"
|
6
|
+
gem "couchbase"
|
7
|
+
gem "activesupport"
|
8
|
+
|
9
|
+
# Add dependencies to develop your gem here.
|
10
|
+
# Include everything needed to run rake, tests, features, etc.
|
11
|
+
group :development, :test do
|
12
|
+
gem "rdoc", ">= 3.12"
|
13
|
+
gem "bundler", ">= 1.0.0"
|
14
|
+
gem "jeweler", ">= 1.8.4"
|
15
|
+
gem "rspec", ">= 0"
|
16
|
+
gem "simplecov", "= 0.5.4" # need to use an older version b/c the most recent one throws an UTF/ASCII conversion error
|
17
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 obie quelland
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Couchbase 2.0 plugin for Fluentd
|
2
|
+
|
3
|
+
Couchbase 2.0 output plugin for Fluentd.
|
4
|
+
|
5
|
+
# Installation
|
6
|
+
|
7
|
+
via RubyGems
|
8
|
+
|
9
|
+
fluent-gem install fluent-plugin-couchbase
|
10
|
+
|
11
|
+
# Quick Start
|
12
|
+
|
13
|
+
## Setup Couchbase Server 2.0 Environment
|
14
|
+
# install couchbase server 2.0
|
15
|
+
http://www.couchbase.com/download
|
16
|
+
|
17
|
+
# install libcouchbase
|
18
|
+
http://www.couchbase.com/develop/c/current
|
19
|
+
|
20
|
+
# install couchbase gem
|
21
|
+
gem install couchbase
|
22
|
+
|
23
|
+
## Fluentd.conf Configuration
|
24
|
+
<match couchbase.**>
|
25
|
+
type couchbase # fluent output plugin file name (sans fluent_plugin_ prefix)
|
26
|
+
hostname localhost # host name
|
27
|
+
port 8091 # port name
|
28
|
+
pool default # pool name
|
29
|
+
bucket default # bucket name
|
30
|
+
ttl 0 # number of seconds before document expires. 0 = no expiration
|
31
|
+
include_ttl false # store the ttl value w/ each document
|
32
|
+
</match>
|
33
|
+
|
34
|
+
# Tests
|
35
|
+
|
36
|
+
rake
|
37
|
+
|
38
|
+
NOTE: requires the following:
|
39
|
+
1) Couchbase Server 2.0
|
40
|
+
2) libcouch
|
41
|
+
3) couchbase gem
|
42
|
+
4) update spec/out_couchbase_spec.rb with your
|
43
|
+
hostname, port, pool, and bucket prior to running the tests
|
44
|
+
|
45
|
+
# TODOs
|
46
|
+
1) specify multiple nodes?
|
data/Rakefile
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'rake'
|
11
|
+
|
12
|
+
require 'jeweler'
|
13
|
+
Jeweler::Tasks.new do |gem|
|
14
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
15
|
+
gem.name = "fluent-plugin-couchbase"
|
16
|
+
gem.homepage = "http://github.com/obieq/fluent-plugin-couchbase"
|
17
|
+
gem.license = "MIT"
|
18
|
+
gem.summary = %Q{Fluent output plugin for Couchbase}
|
19
|
+
gem.description = %Q{Fluent output plugin for Couchbase via the waz-storage gem}
|
20
|
+
gem.email = "quelland@gmail.com"
|
21
|
+
gem.authors = ["obie quelland"]
|
22
|
+
# dependencies defined in Gemfile
|
23
|
+
end
|
24
|
+
Jeweler::RubygemsDotOrgTasks.new
|
25
|
+
|
26
|
+
require 'rdoc/task'
|
27
|
+
Rake::RDocTask.new do |rdoc|
|
28
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
29
|
+
|
30
|
+
rdoc.rdoc_dir = 'rdoc'
|
31
|
+
rdoc.title = "fluent-plugin-couchbase #{version}"
|
32
|
+
rdoc.rdoc_files.include('README*')
|
33
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
34
|
+
end
|
35
|
+
|
36
|
+
# Get spec rake tasks working in RSpec 2.0
|
37
|
+
require 'rspec/core/rake_task'
|
38
|
+
|
39
|
+
desc 'Default: run specs.'
|
40
|
+
task :default => :spec
|
41
|
+
|
42
|
+
desc "Run specs"
|
43
|
+
RSpec::Core::RakeTask.new do |t|
|
44
|
+
|
45
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "fluent-plugin-couchbase"
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["obie quelland"]
|
12
|
+
s.date = "2012-12-27"
|
13
|
+
s.description = "Fluent output plugin for Couchbase via the waz-storage gem"
|
14
|
+
s.email = "quelland@gmail.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".rspec",
|
21
|
+
".simplecov",
|
22
|
+
"Gemfile",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.md",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"fluent-plugin-couchbase.gemspec",
|
28
|
+
"lib/fluent/plugin/out_couchbase.rb",
|
29
|
+
"spec/out_couchbase_spec.rb",
|
30
|
+
"spec/spec.opts",
|
31
|
+
"spec/spec_helper.rb",
|
32
|
+
"spec/support/helpers.rb"
|
33
|
+
]
|
34
|
+
s.homepage = "http://github.com/obieq/fluent-plugin-couchbase"
|
35
|
+
s.licenses = ["MIT"]
|
36
|
+
s.require_paths = ["lib"]
|
37
|
+
s.rubygems_version = "1.8.24"
|
38
|
+
s.summary = "Fluent output plugin for Couchbase"
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
s.specification_version = 3
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_runtime_dependency(%q<fluentd>, [">= 0.10.28"])
|
45
|
+
s.add_runtime_dependency(%q<couchbase>, [">= 0"])
|
46
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
47
|
+
s.add_development_dependency(%q<rdoc>, [">= 3.12"])
|
48
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
49
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
|
50
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<simplecov>, ["= 0.5.4"])
|
52
|
+
else
|
53
|
+
s.add_dependency(%q<fluentd>, [">= 0.10.28"])
|
54
|
+
s.add_dependency(%q<couchbase>, [">= 0"])
|
55
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
56
|
+
s.add_dependency(%q<rdoc>, [">= 3.12"])
|
57
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
58
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
59
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
60
|
+
s.add_dependency(%q<simplecov>, ["= 0.5.4"])
|
61
|
+
end
|
62
|
+
else
|
63
|
+
s.add_dependency(%q<fluentd>, [">= 0.10.28"])
|
64
|
+
s.add_dependency(%q<couchbase>, [">= 0"])
|
65
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
66
|
+
s.add_dependency(%q<rdoc>, [">= 3.12"])
|
67
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
68
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
69
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
70
|
+
s.add_dependency(%q<simplecov>, ["= 0.5.4"])
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'couchbase'
|
2
|
+
require 'msgpack'
|
3
|
+
require 'json'
|
4
|
+
require 'active_support/core_ext/hash'
|
5
|
+
|
6
|
+
module Fluent
|
7
|
+
|
8
|
+
class CouchbaseOutput < BufferedOutput
|
9
|
+
Fluent::Plugin.register_output('couchbase', self)
|
10
|
+
|
11
|
+
config_param :hostname, :string
|
12
|
+
config_param :port, :integer
|
13
|
+
config_param :pool, :string
|
14
|
+
config_param :bucket, :string
|
15
|
+
config_param :ttl, :integer, :default => 0
|
16
|
+
config_param :include_ttl, :bool, :default => false
|
17
|
+
|
18
|
+
def connection
|
19
|
+
@connection ||= get_connection(self.hostname, self.port, self.pool, self.bucket)
|
20
|
+
end
|
21
|
+
|
22
|
+
def configure(conf)
|
23
|
+
super
|
24
|
+
|
25
|
+
# perform validations
|
26
|
+
raise ConfigError, "'hostname' is required by Couchbase output (ex: localhost)" unless self.hostname
|
27
|
+
raise ConfigError, "'port' is required by Couchbase output (ex: 8091)" unless self.port
|
28
|
+
raise ConfigError, "'pool' is required by Couchbase output (ex: default)" unless self.pool
|
29
|
+
raise ConfigError, "'bucket' is required by Couchbase output (ex: default)" unless self.bucket
|
30
|
+
raise ConfigError, "'ttl' is required by Couchbase output (ex: 0)" unless self.ttl
|
31
|
+
end
|
32
|
+
|
33
|
+
def start
|
34
|
+
super
|
35
|
+
connection
|
36
|
+
end
|
37
|
+
|
38
|
+
def shutdown
|
39
|
+
super
|
40
|
+
end
|
41
|
+
|
42
|
+
def format(tag, time, record)
|
43
|
+
record.to_msgpack
|
44
|
+
end
|
45
|
+
|
46
|
+
def write(chunk)
|
47
|
+
chunk.msgpack_each { |record|
|
48
|
+
# store ttl in the document itself?
|
49
|
+
record[:ttl] = self.ttl if self.include_ttl
|
50
|
+
|
51
|
+
# persist
|
52
|
+
connection[record.delete('key'), :ttl => self.ttl] = record
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
private
|
57
|
+
|
58
|
+
def get_connection(hostname, port, pool, bucket)
|
59
|
+
Couchbase.connect(:hostname => hostname,
|
60
|
+
:port => port,
|
61
|
+
:pool => pool,
|
62
|
+
:bucket => bucket)
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'couchbase'
|
3
|
+
Fluent::Test.setup
|
4
|
+
|
5
|
+
SPEC_HOSTNAME = 'localhost'
|
6
|
+
SPEC_PORT = 8091
|
7
|
+
SPEC_POOL_NAME = 'default'
|
8
|
+
SPEC_BUCKET_NAME = 'default'
|
9
|
+
SPEC_TTL = 10
|
10
|
+
SPEC_INCLUDE_TTL_IN_DOCUMENT = true
|
11
|
+
|
12
|
+
CONFIG = %[
|
13
|
+
hostname #{SPEC_HOSTNAME}
|
14
|
+
port #{SPEC_PORT}
|
15
|
+
pool #{SPEC_POOL_NAME}
|
16
|
+
bucket #{SPEC_BUCKET_NAME}
|
17
|
+
ttl #{SPEC_TTL}
|
18
|
+
include_ttl #{SPEC_INCLUDE_TTL_IN_DOCUMENT}
|
19
|
+
]
|
20
|
+
|
21
|
+
describe Fluent::CouchbaseOutput do
|
22
|
+
include Helpers
|
23
|
+
|
24
|
+
let(:driver) { Fluent::Test::BufferedOutputTestDriver.new(Fluent::CouchbaseOutput, 'test') }
|
25
|
+
|
26
|
+
def set_config_value(config, config_name, value)
|
27
|
+
search_text = config.split("\n").map {|text| text if text.strip!.to_s.start_with? config_name.to_s}.compact![0]
|
28
|
+
config.gsub(search_text, "#{config_name} #{value}")
|
29
|
+
end
|
30
|
+
|
31
|
+
context 'configuring' do
|
32
|
+
|
33
|
+
it 'should be properly configured' do
|
34
|
+
driver.configure(CONFIG)
|
35
|
+
driver.instance.hostname.should eq(SPEC_HOSTNAME)
|
36
|
+
driver.instance.port.should eq(SPEC_PORT)
|
37
|
+
driver.instance.pool.should eq(SPEC_POOL_NAME)
|
38
|
+
driver.instance.bucket.should eq(SPEC_BUCKET_NAME)
|
39
|
+
driver.instance.ttl.should eq(SPEC_TTL)
|
40
|
+
driver.instance.include_ttl.should eq(SPEC_INCLUDE_TTL_IN_DOCUMENT)
|
41
|
+
end
|
42
|
+
|
43
|
+
describe 'exceptions' do
|
44
|
+
it 'should raise an exception if hostname is not configured' do
|
45
|
+
expect { driver.configure(CONFIG.gsub("hostname", "invalid_config_name")) }.to raise_error Fluent::ConfigError
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'should raise an exception if port is not configured' do
|
49
|
+
expect { driver.configure(CONFIG.gsub("port", "invalid_config_name")) }.to raise_error Fluent::ConfigError
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'should raise an exception if pool is not configured' do
|
53
|
+
expect { driver.configure(CONFIG.gsub("pool", "invalid_config_name")) }.to raise_error Fluent::ConfigError
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'should raise an exception if bucket is not configured' do
|
57
|
+
expect { driver.configure(CONFIG.gsub("bucket", "invalid_config_name")) }.to raise_error Fluent::ConfigError
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
end # context configuring
|
62
|
+
|
63
|
+
context 'logging' do
|
64
|
+
|
65
|
+
it 'should start' do
|
66
|
+
driver.configure(CONFIG)
|
67
|
+
driver.instance.start
|
68
|
+
end
|
69
|
+
|
70
|
+
it 'should shutdown' do
|
71
|
+
driver.configure(CONFIG)
|
72
|
+
driver.instance.start
|
73
|
+
driver.instance.shutdown
|
74
|
+
end
|
75
|
+
|
76
|
+
it 'should format' do
|
77
|
+
driver.configure(CONFIG)
|
78
|
+
time = Time.now.to_i
|
79
|
+
record = {:key => generate_document_key, :tag => 'test', :time => time, :a => 1}
|
80
|
+
|
81
|
+
driver.emit(record)
|
82
|
+
driver.expect_format(record.to_msgpack)
|
83
|
+
driver.run
|
84
|
+
end
|
85
|
+
|
86
|
+
context 'writing' do
|
87
|
+
|
88
|
+
it 'should write' do
|
89
|
+
driver.configure(CONFIG)
|
90
|
+
write(driver)
|
91
|
+
end
|
92
|
+
|
93
|
+
end # context writing
|
94
|
+
end # context logging
|
95
|
+
end # CouchbaseOutput
|
data/spec/spec.opts
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
module Helpers
|
2
|
+
|
3
|
+
def generate_document_key(min=1, max=999)
|
4
|
+
"spec_pk_#{Random.rand(min..max)}"
|
5
|
+
end
|
6
|
+
|
7
|
+
def write(driver)
|
8
|
+
key1 = generate_document_key(1, 500)
|
9
|
+
key2 = generate_document_key(501, 999) # must be greater than the first key
|
10
|
+
tag1 = "spec test1"
|
11
|
+
tag2 = "spec test2"
|
12
|
+
time1 = Time.now.to_i
|
13
|
+
time2 = time1 + 2
|
14
|
+
|
15
|
+
record1 = {:key => key1, :tag => tag1, :time => time1, :a => 10, :b => 'Tesla'}
|
16
|
+
record2 = {:key => key2, :tag => tag2, :time => time2, :a => 20, :b => 'Edison'}
|
17
|
+
|
18
|
+
# store both records in an array to aid with verification
|
19
|
+
test_records = [record1, record2]
|
20
|
+
|
21
|
+
test_records.each do |rec|
|
22
|
+
driver.emit(rec)
|
23
|
+
end
|
24
|
+
driver.run # persists to couchbase
|
25
|
+
|
26
|
+
# query couchbase to verify data was correctly persisted
|
27
|
+
db_records = driver.instance.connection.get(key1, key2)
|
28
|
+
|
29
|
+
db_records.count.should eq(test_records.count)
|
30
|
+
db_records.each_with_index do |db_record, idx| # records should be sorted by row_key asc
|
31
|
+
test_record = test_records[idx]
|
32
|
+
db_record['tag'].should eq(test_record[:tag])
|
33
|
+
db_record['time'].should eq(test_record[:time])
|
34
|
+
db_record['a'].should eq(test_record[:a])
|
35
|
+
db_record['b'].should eq(test_record[:b])
|
36
|
+
if driver.instance.include_ttl
|
37
|
+
db_record['ttl'].should_not be_nil
|
38
|
+
else
|
39
|
+
db_record['ttl'].should be_nil
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
end # def write
|
44
|
+
|
45
|
+
end # module Helpers
|
metadata
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fluent-plugin-couchbase
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- obie quelland
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: fluentd
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.10.28
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.10.28
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: couchbase
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: activesupport
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rdoc
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.12'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '3.12'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: bundler
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.0.0
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.0.0
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: jeweler
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 1.8.4
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.8.4
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rspec
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: simplecov
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - '='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.5.4
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - '='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 0.5.4
|
142
|
+
description: Fluent output plugin for Couchbase via the waz-storage gem
|
143
|
+
email: quelland@gmail.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files:
|
147
|
+
- LICENSE.txt
|
148
|
+
- README.md
|
149
|
+
files:
|
150
|
+
- .rspec
|
151
|
+
- .simplecov
|
152
|
+
- Gemfile
|
153
|
+
- LICENSE.txt
|
154
|
+
- README.md
|
155
|
+
- Rakefile
|
156
|
+
- VERSION
|
157
|
+
- fluent-plugin-couchbase.gemspec
|
158
|
+
- lib/fluent/plugin/out_couchbase.rb
|
159
|
+
- spec/out_couchbase_spec.rb
|
160
|
+
- spec/spec.opts
|
161
|
+
- spec/spec_helper.rb
|
162
|
+
- spec/support/helpers.rb
|
163
|
+
homepage: http://github.com/obieq/fluent-plugin-couchbase
|
164
|
+
licenses:
|
165
|
+
- MIT
|
166
|
+
post_install_message:
|
167
|
+
rdoc_options: []
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
segments:
|
177
|
+
- 0
|
178
|
+
hash: -112864881918532391
|
179
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
181
|
+
requirements:
|
182
|
+
- - ! '>='
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
requirements: []
|
186
|
+
rubyforge_project:
|
187
|
+
rubygems_version: 1.8.24
|
188
|
+
signing_key:
|
189
|
+
specification_version: 3
|
190
|
+
summary: Fluent output plugin for Couchbase
|
191
|
+
test_files: []
|