papertrail 0.11.0 → 0.11.1
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.
- checksums.yaml +4 -4
- data/lib/papertrail.rb +1 -1
- data/lib/papertrail/cli_add_group.rb +2 -1
- data/lib/papertrail/cli_add_system.rb +2 -1
- data/papertrail.gemspec +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffe54b3afcb866c1d80ccadf5deff840bbc2d8e9fb851ec2054f0869160eb565
|
4
|
+
data.tar.gz: 13e987776d80aedee04422b2490a09123e2045bdc0a220069931a2047e354009
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13122c148a5417fe71ab68baf78c689ed52178d7c5176b7d194684167f0d1a95ada468666bef37d8a5bf3dccedacbaab93e5c40d44642af2f670b1f7580ddd8c
|
7
|
+
data.tar.gz: e5afab539b26cc93d45d3d44da399efa4d3547f2071451f5c765cdff093e4a212338b20c26ae402cee521e7158f27792cd26558dd07a3305b5f5bb59ea532bc3
|
data/lib/papertrail.rb
CHANGED
@@ -48,7 +48,8 @@ module Papertrail
|
|
48
48
|
|
49
49
|
Papertrail::Connection.new(options).start do |connection|
|
50
50
|
# Bail if group already exists
|
51
|
-
|
51
|
+
existing = connection.show_group(options[:group])
|
52
|
+
if existing && existing['name'].upcase == options[:group].upcase
|
52
53
|
exit 0
|
53
54
|
end
|
54
55
|
|
@@ -86,7 +86,8 @@ module Papertrail
|
|
86
86
|
|
87
87
|
Papertrail::Connection.new(options).start do |connection|
|
88
88
|
# Bail if system already exists
|
89
|
-
|
89
|
+
existing = connection.show_source(options[:system])
|
90
|
+
if existing && existing['name'].upcase == options[:system].upcase
|
90
91
|
exit 0
|
91
92
|
end
|
92
93
|
|
data/papertrail.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
## If your rubyforge_project name is different, then edit it and comment out
|
10
10
|
## the sub! line in the Rakefile
|
11
11
|
s.name = 'papertrail'
|
12
|
-
s.version = '0.11.
|
13
|
-
s.date = '
|
12
|
+
s.version = '0.11.1'
|
13
|
+
s.date = '2021-05-27'
|
14
14
|
s.rubyforge_project = 'papertrail'
|
15
15
|
|
16
16
|
## 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.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Papertrail
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|
@@ -185,7 +185,7 @@ homepage: http://github.com/papertrail/papertrail-cli
|
|
185
185
|
licenses:
|
186
186
|
- MIT
|
187
187
|
metadata: {}
|
188
|
-
post_install_message:
|
188
|
+
post_install_message:
|
189
189
|
rdoc_options:
|
190
190
|
- "--charset=UTF-8"
|
191
191
|
require_paths:
|
@@ -201,9 +201,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
|
-
|
205
|
-
|
206
|
-
signing_key:
|
204
|
+
rubygems_version: 3.1.6
|
205
|
+
signing_key:
|
207
206
|
specification_version: 2
|
208
207
|
summary: Command-line client for Papertrail hosted log management service.
|
209
208
|
test_files:
|