scribe 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +2 -0
- data/lib/scribe/scribe.rb +4 -2
- data/scribe.gemspec +3 -3
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG
CHANGED
data/lib/scribe/scribe.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
|
2
2
|
class Scribe
|
3
|
+
PROTOCOL_OPTIONS = { :protocol_extra_params => [false] }
|
4
|
+
|
3
5
|
# Created a new client instance. Accepts an optional host and port, default
|
4
6
|
# category, flag to control whether newlines are added to each line, and
|
5
7
|
# additional settings to be passed to ThriftClient.
|
6
|
-
def initialize(servers = "127.0.0.1:1463", category = "Ruby", add_newlines = true,
|
8
|
+
def initialize(servers = "127.0.0.1:1463", category = "Ruby", add_newlines = true, options = {})
|
7
9
|
@servers = servers
|
8
10
|
@category = category
|
9
11
|
@add_newlines = add_newlines
|
10
|
-
@client = ThriftClient.new(ScribeThrift::Client, @servers,
|
12
|
+
@client = ThriftClient.new(ScribeThrift::Client, @servers, options.merge(PROTOCOL_OPTIONS))
|
11
13
|
end
|
12
14
|
|
13
15
|
# Log a message. Accepts a string and an optional category.
|
data/scribe.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{scribe}
|
5
|
-
s.version = "0.2"
|
5
|
+
s.version = "0.2.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0.8") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Evan Weaver"]
|
9
9
|
s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
|
10
|
-
s.date = %q{2009-
|
10
|
+
s.date = %q{2009-11-18}
|
11
11
|
s.description = %q{A Ruby client for the Scribe distributed log server.}
|
12
12
|
s.email = %q{}
|
13
13
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/scribe.rb", "lib/scribe/debug.rb", "lib/scribe/scribe.rb"]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Scribe", "--main", "README"]
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
s.rubyforge_project = %q{fauna}
|
19
|
-
s.rubygems_version = %q{1.3.
|
19
|
+
s.rubygems_version = %q{1.3.5}
|
20
20
|
s.signing_key = %q{/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-private_key.pem}
|
21
21
|
s.summary = %q{A Ruby client for the Scribe distributed log server.}
|
22
22
|
s.test_files = ["test/scribe_test.rb", "test/test_helper.rb"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scribe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Weaver
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
yZ0=
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date: 2009-
|
33
|
+
date: 2009-11-18 00:00:00 -08:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements: []
|
115
115
|
|
116
116
|
rubyforge_project: fauna
|
117
|
-
rubygems_version: 1.3.
|
117
|
+
rubygems_version: 1.3.5
|
118
118
|
signing_key:
|
119
119
|
specification_version: 3
|
120
120
|
summary: A Ruby client for the Scribe distributed log server.
|
metadata.gz.sig
CHANGED
Binary file
|