papertrail 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19f8502944f2149f181050b434539d27f5a01a72682c787beaad70f07aa3fe60
4
- data.tar.gz: f1c37f9ad6d77dc618174becd614c4c185493fef917d12f74b7df2f050271c22
3
+ metadata.gz: ffe54b3afcb866c1d80ccadf5deff840bbc2d8e9fb851ec2054f0869160eb565
4
+ data.tar.gz: 13e987776d80aedee04422b2490a09123e2045bdc0a220069931a2047e354009
5
5
  SHA512:
6
- metadata.gz: bffe601811d165aa07ef028bd74304babf322c518e7fbf492d2453974363f7e26ad9a2e73ce2c871f583fbf961765004f2371eceeb5575f762bddf7645d26450
7
- data.tar.gz: 7b43d937751f7cdb8b46dc95dac721b4625b70f3a1fab0019ec3f1ea94ef34d95f7ab2271fea9684477120fe247501ccb3c00483eb43fa682001005a5f5d5dae
6
+ metadata.gz: 13122c148a5417fe71ab68baf78c689ed52178d7c5176b7d194684167f0d1a95ada468666bef37d8a5bf3dccedacbaab93e5c40d44642af2f670b1f7580ddd8c
7
+ data.tar.gz: e5afab539b26cc93d45d3d44da399efa4d3547f2071451f5c765cdff093e4a212338b20c26ae402cee521e7158f27792cd26558dd07a3305b5f5bb59ea532bc3
data/lib/papertrail.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Papertrail
2
- VERSION = '0.11.0'
2
+ VERSION = '0.11.1'
3
3
  end
4
4
 
5
5
  require 'papertrail/connection'
@@ -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
- if connection.show_group(options[:group])
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
- if connection.show_source(options[:system])
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.0'
13
- s.date = '2018-05-16'
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.0
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: 2018-05-16 00:00:00.000000000 Z
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
- rubyforge_project: papertrail
205
- rubygems_version: 2.7.4
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: