hoodoo 3.2.9 → 3.3.0

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: f4e9f5e9a7dad520999afc79eb8eefbef5d262be17aecf399c363e4d8dfaee31
4
- data.tar.gz: ad89c8ea5df030720495ff536aae0649e26d5c818d004985248d602ef0272fcf
3
+ metadata.gz: cb6c65b84b1ed69c38bc0bd831d5502c09ac263fdadd6f9149d9a0908f6e0fbd
4
+ data.tar.gz: 341bd376393993e26f40026f4524e82afbdd857ccbd7b10f541e3110f35d3b5a
5
5
  SHA512:
6
- metadata.gz: 944b999aa8936bcc7c4c26185273c02c39d3221647a668570a5c7ff4b73c8549b4866b4047e6e102389fb0dd7e33a0c2d4342a3ae435485adc4385b49765a593
7
- data.tar.gz: 9ed27bb94f2e8a38b866658490fa224efd0bf7a99c8386afb1c7025efb95d51a35ad1c7335f4300291b03d8f51b1b056bc289accb18882cd41983c03c1f69a28
6
+ metadata.gz: e77e8fa24fb560db01a55e50844650e271636355ed4dfeb96e91a4bbb884bd7e03e9cd71e9b032491335f6a64e798bd158afc1d33f0bc7d4cebd75d079cedaf8
7
+ data.tar.gz: 609e8da0eef7d4d54778852558d25a35054102258f7a21b538c4feaafecad6f882826af9ef6cf5da5b1affa9a4caec716737da4656509a1f3c8fdbc445590e3b
@@ -12,10 +12,10 @@ require 'json'
12
12
  module Hoodoo
13
13
  class Logger
14
14
 
15
- begin # Exception handler as 'le' gem inclusion is optional.
16
- require 'le' # Might raise LoadError; that's allowed.
15
+ begin # Exception handler as 'r7_insight' gem inclusion is optional.
16
+ require 'r7_insight' # Might raise LoadError; that's allowed.
17
17
 
18
- # Writes structured messages to logentries.com via the "le" gem,
18
+ # Writes structured messages to Rapid7 via the "r7_insight" gem,
19
19
  # which uses its own asynchronous worker thread for network data.
20
20
  # Thus, a Hoodoo::Logger::FastWriter subclass. See also
21
21
  # Hoodoo::Logger.
@@ -27,7 +27,7 @@ module Hoodoo
27
27
  # +token+:: Your logentries.com API token.
28
28
  #
29
29
  def initialize( token )
30
- @@logger ||= Le.new( token, :ssl => true )
30
+ @@logger ||= R7Insight.new( token, 'eu', :ssl => true )
31
31
  end
32
32
 
33
33
  # See Hoodoo::Logger::WriterMixin#report.
@@ -57,7 +57,7 @@ module Hoodoo
57
57
  end
58
58
  end
59
59
 
60
- rescue LoadError # From "require 'le'"
60
+ rescue LoadError # From "require 'r7_insight'"
61
61
  end
62
62
 
63
63
  end
@@ -12,7 +12,7 @@ module Hoodoo
12
12
  # The Hoodoo gem version. If this changes, be sure to re-run
13
13
  # <tt>bundle install</tt> or <tt>bundle update</tt>.
14
14
  #
15
- VERSION = '3.2.9'
15
+ VERSION = '3.3.0'
16
16
 
17
17
  # The Hoodoo gem date. If this changes, be sure to re-run
18
18
  # <tt>bundle install</tt> or <tt>bundle update</tt>.
@@ -13,7 +13,7 @@ describe Hoodoo::Logger::LogEntriesDotComWriter do
13
13
  end
14
14
 
15
15
  it 'creates an appropriate logger instance' do
16
- example = Le.new( example_token(), :ssl => true )
16
+ example = R7Insight.new( example_token(), :ssl => true )
17
17
  expect( @logger.class ).to eq( example.class )
18
18
  end
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hoodoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.9
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loyalty New Zealand
@@ -151,19 +151,19 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '1.8'
153
153
  - !ruby/object:Gem::Dependency
154
- name: le
154
+ name: r7insight
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '2.7'
159
+ version: '3.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '2.7'
166
+ version: '3.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: pg
169
169
  requirement: !ruby/object:Gem::Requirement