papertrail 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -112,7 +112,7 @@ Save [colortailrc] as `~/.colortailrc` and edit it to enable:
112
112
  If you're using bash, create a function that accepts arguments, then
113
113
  invoke `pt` with optional search operators:
114
114
 
115
- $ function pt() { papertrail -f -d 5 $_ | colortail -g papertrail }
115
+ $ function pt() { papertrail -f -d 5 $* | colortail -g papertrail; }
116
116
  $ pt 1.2.3 Failure
117
117
 
118
118
  Add the function line to your `~/.bashrc`.
data/lib/papertrail.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Papertrail
2
- VERSION = "0.9.8"
2
+ VERSION = "0.9.9"
3
3
  end
4
4
 
5
5
  require 'papertrail/connection'
@@ -13,7 +13,7 @@ module Papertrail
13
13
  end
14
14
 
15
15
  def body
16
- @body ||= Papertrail::OkJson.decode(__getobj__.body)
16
+ @body ||= Papertrail::OkJson.decode(__getobj__.body.dup.force_encoding('UTF-8'))
17
17
  end
18
18
 
19
19
  end
data/papertrail.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'papertrail'
16
- s.version = '0.9.8'
17
- s.date = '2014-03-04'
16
+ s.version = '0.9.9'
17
+ s.date = '2014-04-02'
18
18
  s.rubyforge_project = 'papertrail'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: papertrail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 8
10
- version: 0.9.8
9
+ - 9
10
+ version: 0.9.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Papertrail
@@ -15,12 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-03-04 00:00:00 Z
18
+ date: 2014-04-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: chronic
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
26
24
  - - ">="
@@ -29,8 +27,10 @@ dependencies:
29
27
  segments:
30
28
  - 0
31
29
  version: "0"
30
+ prerelease: false
32
31
  type: :runtime
33
- version_requirements: *id001
32
+ requirement: *id001
33
+ name: chronic
34
34
  description: Command-line client for Papertrail hosted log management service. Tails and searches app server logs and system syslog. Supports Boolean search and works with grep and pipe output (Unix).
35
35
  email: troy@sevenscale.com
36
36
  executables:
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  requirements: []
98
98
 
99
99
  rubyforge_project: papertrail
100
- rubygems_version: 1.8.24
100
+ rubygems_version: 1.8.25
101
101
  signing_key:
102
102
  specification_version: 2
103
103
  summary: Command-line client for Papertrail hosted log management service.