papertrail 0.9.16 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -0
- data/lib/papertrail.rb +1 -1
- data/lib/papertrail/cli.rb +1 -1
- data/lib/papertrail/cli_helpers.rb +6 -8
- data/papertrail.gemspec +2 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28ff2f9a9837dba7b3ddc581e56f6424a5bf6eee
|
4
|
+
data.tar.gz: a84aa73e9f04e1cb541b6084f38ffbccdb4b64ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b9c4fa624bea8c32dcf8c7d64ba8600f3ad8b49956a7e56afbf53a247bd9f07981da5b6027f363eb2ce4247264f323ab669b554fe06684ecbd9612271e96134
|
7
|
+
data.tar.gz: 8388b85e42b23005e16881d232b740600b63170adbaa5a0742b5c2c95dd5663923b6683bd8370af612800163f9d33cec8ddf39f4df0c16296895a3c3643d01e6
|
data/README.md
CHANGED
@@ -244,6 +244,31 @@ To see usage, run any of these commands with `--help`: `papertrail-add-system`,
|
|
244
244
|
`papertrail-remove-system`, `papertrail-add-group`, `papertrail-join-group`.
|
245
245
|
|
246
246
|
|
247
|
+
## Releasing
|
248
|
+
|
249
|
+
### Build
|
250
|
+
|
251
|
+
1. Bump `VERSION` in `lib/papertrail.rb`
|
252
|
+
2. Build the new gem: `$ rake build`
|
253
|
+
|
254
|
+
### Install & Test
|
255
|
+
|
256
|
+
1. Install built gem: `$ gem install pkg/papertrail-0.9.17.gem`
|
257
|
+
2. Check version in rubygems: `$ gem list papertrail`
|
258
|
+
4. Verify installed version matches: `$ which papertrail && papertrail --version`
|
259
|
+
4. Test: `$ papertrail test search string`
|
260
|
+
5. Uninstall local gem `$ gem uninstall papertrail`
|
261
|
+
|
262
|
+
### Release
|
263
|
+
|
264
|
+
1. Release: `$ rake release`
|
265
|
+
2. Check latest published version: `$ gem list --versions --remote papertrail`
|
266
|
+
3. Install release version: `$ gem install papertrail`
|
267
|
+
4. Verify installed version matches: `$ which papertrail && papertrail --version`
|
268
|
+
5. Test: `$ papertrail test search string`
|
269
|
+
6. Party! :tada: :balloon: :confetti_ball:
|
270
|
+
|
271
|
+
|
247
272
|
## Contribute
|
248
273
|
|
249
274
|
Bug report:
|
data/lib/papertrail.rb
CHANGED
data/lib/papertrail/cli.rb
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
module Papertrail
|
2
2
|
module CliHelpers
|
3
3
|
def find_configfile
|
4
|
-
|
5
|
-
|
6
|
-
return path
|
7
|
-
end
|
8
|
-
if File.exists?(path = File.expand_path('~/.papertrail.yml'))
|
9
|
-
return path
|
10
|
-
end
|
11
|
-
rescue ArgumentError => e
|
4
|
+
if File.exists?(path = File.expand_path('.papertrail.yml'))
|
5
|
+
return path
|
12
6
|
end
|
7
|
+
if File.exists?(path = File.expand_path('~/.papertrail.yml'))
|
8
|
+
return path
|
9
|
+
end
|
10
|
+
rescue ArgumentError
|
13
11
|
end
|
14
12
|
|
15
13
|
def load_configfile(file_path)
|
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.
|
17
|
-
s.date = '2016-
|
16
|
+
s.version = '0.9.17'
|
17
|
+
s.date = '2016-09-20'
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: papertrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Papertrail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|
@@ -113,9 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project: papertrail
|
116
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.5.1
|
117
117
|
signing_key:
|
118
118
|
specification_version: 2
|
119
119
|
summary: Command-line client for Papertrail hosted log management service.
|
120
120
|
test_files: []
|
121
|
-
has_rdoc:
|