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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14aa6e94744379e81f4f8685a5661e0d458598ae
4
- data.tar.gz: 05ae27cf65df698866a0f3e597133b45e447a065
3
+ metadata.gz: 78e1cee299b431dfb6467aa16086c5b9fa4ac651
4
+ data.tar.gz: a82f9f3341af1811328d45b89b87d59162da11f7
5
5
  SHA512:
6
- metadata.gz: 157ce473f08894c3a1b1b8d953b24c964b8a9f389476e6eb62250da397897e2cc19da23e9c196fe604fde9a10ae9305f7208bea5cab7b1f0a228375918e9650f
7
- data.tar.gz: 4e997ad6cd9a0ec29fbdc5121b60ecbe60db581686a92c64d4c7fbd073ba59f049b1d994e24f176cb920a5741af1bc49383a9860377c7ce0ada10e9846ac5226
6
+ metadata.gz: 2ca1e90d8afe8f6750694dcea9a0b31954b1d3f4912ad5f2a6e8377f85f4409d1e6c2f1e1be3c52279dd678c83c2e75f13e07c3dab9fe76b763b9e7591157be4
7
+ data.tar.gz: 2ac0f36dc3a4e52496a35cae9904b7d206dd8c997c0d0e04ba984640f6c41ee3f124c4ad9ef2569529d0fe08158bb82926136918079db2be0922e49aba6b700d
@@ -1,5 +1,5 @@
1
1
  module Papertrail
2
- VERSION = '0.10.3'
2
+ VERSION = '0.10.4'
3
3
  end
4
4
 
5
5
  require 'papertrail/connection'
@@ -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?
@@ -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.3'
13
- s.date = '2017-07-10'
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.3
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-07-10 00:00:00.000000000 Z
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.4.8
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.