papertrail 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/papertrail.rb +1 -1
- data/lib/papertrail/connection.rb +3 -3
- data/papertrail.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78e1cee299b431dfb6467aa16086c5b9fa4ac651
|
4
|
+
data.tar.gz: a82f9f3341af1811328d45b89b87d59162da11f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ca1e90d8afe8f6750694dcea9a0b31954b1d3f4912ad5f2a6e8377f85f4409d1e6c2f1e1be3c52279dd678c83c2e75f13e07c3dab9fe76b763b9e7591157be4
|
7
|
+
data.tar.gz: 2ac0f36dc3a4e52496a35cae9904b7d206dd8c997c0d0e04ba984640f6c41ee3f124c4ad9ef2569529d0fe08158bb82926136918079db2be0922e49aba6b700d
|
data/lib/papertrail.rb
CHANGED
@@ -39,18 +39,18 @@ module Papertrail
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def find_id_for_source(name)
|
42
|
-
response = @connection.get('systems.json')
|
42
|
+
response = @connection.get('systems.json', :system_name => name)
|
43
43
|
|
44
44
|
find_id_for_item(response.body, name)
|
45
45
|
end
|
46
46
|
|
47
47
|
def find_id_for_group(name)
|
48
|
-
response = @connection.get('groups.json')
|
48
|
+
response = @connection.get('groups.json', :group_name => name)
|
49
49
|
find_id_for_item(response.body, name)
|
50
50
|
end
|
51
51
|
|
52
52
|
def find_search(name, group_id = nil)
|
53
|
-
response = @connection.get('searches.json')
|
53
|
+
response = @connection.get('searches.json', :search_name => name)
|
54
54
|
|
55
55
|
candidates = find_items_by_name(response.body, name)
|
56
56
|
return nil if candidates.empty?
|
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.10.
|
13
|
-
s.date = '2017-
|
12
|
+
s.version = '0.10.4'
|
13
|
+
s.date = '2017-11-02'
|
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.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Papertrail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
204
|
rubyforge_project: papertrail
|
205
|
-
rubygems_version: 2.
|
205
|
+
rubygems_version: 2.6.12
|
206
206
|
signing_key:
|
207
207
|
specification_version: 2
|
208
208
|
summary: Command-line client for Papertrail hosted log management service.
|