garru-ruby_scribe_client 0.0.3 → 0.0.4

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/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.0.4 removing flush because framed transport doesn't need it
1
2
  v0.0.3 flush instead of open/close each time
2
3
  v0.0.2 testing github gem build
3
4
  v0.0.1 making this a gem
data/etc/scribe_cat.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- require 'lib/scribe_logger'
2
+ require 'lib/ruby_scribe_client'
3
3
  begin
4
4
  port = 1463
5
5
  puts ARGV.inspect
@@ -20,7 +20,7 @@ class ScribeLogger
20
20
  log_entry = LogEntry.new({:category => category_key(category), :message => message.to_s})
21
21
  connect
22
22
  result = @client.Log([log_entry])
23
- @transport.flush
23
+ # @transport.flush
24
24
  return result
25
25
  rescue Thrift::Exception => tx
26
26
  print 'Thrift::Exception: ', tx.message, "\n"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ruby_scribe_client}
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Gary Tsang"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garru-ruby_scribe_client
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
  - Gary Tsang