papertrail-cli 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/bin/papertrail +1 -1
- data/lib/papertrail/search_client.rb +1 -1
- data/lib/papertrail-cli.rb +1 -1
- data/papertrail-cli.gemspec +2 -3
- metadata +3 -15
data/README.md
CHANGED
@@ -22,7 +22,7 @@ may change.
|
|
22
22
|
$ echo "token: 123456789012345678901234567890ab" > ~/.papertrail.yml
|
23
23
|
$ papertrail
|
24
24
|
|
25
|
-
Retrieve token from Papertrail [
|
25
|
+
Retrieve token from Papertrail [User Profile].
|
26
26
|
|
27
27
|
|
28
28
|
## Installation
|
@@ -41,7 +41,7 @@ examples/papertrail.yml.example):
|
|
41
41
|
|
42
42
|
token: 123456789012345678901234567890ab
|
43
43
|
|
44
|
-
Retrieve token from Papertrail [
|
44
|
+
Retrieve token from Papertrail [User Profile]. For compatibility with
|
45
45
|
older config files, `username` and `password` keys are also supported.
|
46
46
|
|
47
47
|
You may want to alias "trail" to "papertrail", like:
|
@@ -55,7 +55,7 @@ You may want to alias "trail" to "papertrail", like:
|
|
55
55
|
papertrail - command-line tail and search for Papertrail log management service
|
56
56
|
-h, --help Show usage
|
57
57
|
-f, --follow Continue running and print new events (off)
|
58
|
-
-d, --delay SECONDS Delay between refresh (
|
58
|
+
-d, --delay SECONDS Delay between refresh (3)
|
59
59
|
-c, --configfile PATH Path to config (~/.papertrail.yml)
|
60
60
|
|
61
61
|
Usage: papertrail [-f] [-d seconds] [-c /path/to/papertrail.yml] [query]
|
@@ -123,7 +123,7 @@ to your enhancement.
|
|
123
123
|
[binary]: https://github.com/papertrail/papertrail-cli/blob/master/bin/papertrail
|
124
124
|
[Papertrail]: http://papertrailapp.com/
|
125
125
|
[SearchClient]: https://github.com/papertrail/papertrail-cli/blob/master/lib/papertrail/search_client.rb
|
126
|
-
[
|
126
|
+
[User Profile]: https://papertrailapp.com/user/edit
|
127
127
|
[RubyGems]: https://rubygems.org/gems/papertrail-cli
|
128
128
|
[colortail]: http://rubydoc.info/gems/colortail
|
129
129
|
[colortailrc]: https://github.com/papertrail/papertrail-cli/wiki/colortailrc
|
data/bin/papertrail
CHANGED
@@ -23,7 +23,7 @@ class PapertrailSearch
|
|
23
23
|
opts.on("-f", "--follow", "Continue running and print new events (off)") do |v|
|
24
24
|
options[:follow] = true
|
25
25
|
end
|
26
|
-
opts.on("-d", "--delay SECONDS", "Delay between refresh (
|
26
|
+
opts.on("-d", "--delay SECONDS", "Delay between refresh (3)") do |v|
|
27
27
|
options[:delay] = v.to_i
|
28
28
|
end
|
29
29
|
opts.on("-c", "--configfile PATH", "Path to config (~/.papertrail.yml)") do |v|
|
data/lib/papertrail-cli.rb
CHANGED
data/papertrail-cli.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-cli'
|
16
|
-
s.version = '0.
|
17
|
-
s.date = '2011-
|
16
|
+
s.version = '0.8.0'
|
17
|
+
s.date = '2011-11-07'
|
18
18
|
s.rubyforge_project = 'papertrail-cli'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
@@ -51,7 +51,6 @@ Gem::Specification.new do |s|
|
|
51
51
|
## that are needed for an end user to actually USE your code.
|
52
52
|
s.add_dependency('yajl-ruby')
|
53
53
|
s.add_dependency('faraday', [ '~> 0.5.7' ])
|
54
|
-
s.add_dependency('always_verify_ssl_certificates')
|
55
54
|
|
56
55
|
## List your development dependencies here. Development dependencies are
|
57
56
|
## those that are only needed during development
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 8
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.8.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Papertrail
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-11-07 00:00:00 -08:00
|
18
18
|
default_executable: papertrail
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -43,18 +43,6 @@ dependencies:
|
|
43
43
|
version: 0.5.7
|
44
44
|
type: :runtime
|
45
45
|
version_requirements: *id002
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: always_verify_ssl_certificates
|
48
|
-
prerelease: false
|
49
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
segments:
|
54
|
-
- 0
|
55
|
-
version: "0"
|
56
|
-
type: :runtime
|
57
|
-
version_requirements: *id003
|
58
46
|
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).
|
59
47
|
email: troy@sevenscale.com
|
60
48
|
executables:
|