graylogapi 1.2.0 → 1.2.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
  SHA1:
3
- metadata.gz: d11f3ff96af6158de0d004545af1fd99f2fd6b23
4
- data.tar.gz: 77936ef677d557d8237fc3cba8f074127afc8765
3
+ metadata.gz: 89b5ae95cc13abcccc29b89a67d5e7308ead8e30
4
+ data.tar.gz: dffeec407f8bebe165086fbdb893e88ee37d3c61
5
5
  SHA512:
6
- metadata.gz: f7f0b8293f39e8e5076041c2767acd5c4b6287c482335ea6c46dfa81bdb3825f0550fa06805661fd5bb563a6823fa8ad5a81b92a0c1d91f39e6d109bf2a34b99
7
- data.tar.gz: 558faa1e0cb74d393b4aa79d12294bd9f0f5e4b7f8e3efa933bcb23914d146f9bd2da0f9f9cc596edf65d7333189d148449f1180107f78b79e4b0f510b99e0cf
6
+ metadata.gz: 0b425fd6900d797a52b2bf13cf55edfbe88982131b5c982b28905ab3d3b811ac4b2136f2f8663a8f03bf86997ab6db3d2328392d62614dab9d1ceceaaa179eab
7
+ data.tar.gz: 3fbc80fe5ddeb8c0c5b33fd17a64122648cf201ead16076803dba9e3c22d0c9e298ecd56e8d978620f65facda656d1284c93ed2874a8fb0c33fcc6cc22965bf5
@@ -27,6 +27,7 @@ class GraylogAPI
27
27
  # @return [GraylogAPI::Client]
28
28
  def initialize(options = {})
29
29
  @options = options
30
+ @options[:base_url] = options[:base_url].chomp('/')
30
31
  @http = http_client(URI.parse(options[:base_url]), options)
31
32
  end
32
33
 
@@ -1,3 +1,3 @@
1
1
  class GraylogAPI
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graylogapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Aleksandrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-18 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Allows you to work with graylog api from ruby
14
14
  email: