technologic 0.13.1 → 0.13.2

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: a89cce38c65ce8f201cd5bf497d205105b5e45be28414067f122d196510e22a7
4
- data.tar.gz: 55f936a2719fa779a3932dbe9c2981dd855d0bb4f57c934f2e553984bc4bc9a3
3
+ metadata.gz: 9ffcba2beba99643031bd893d339b3cb6ed744022ecb97f6fc3a2dede74cff5a
4
+ data.tar.gz: f476e002331dbe393062652d71c9c621ee4ce8ffd7dec433a1c7ed09e253214d
5
5
  SHA512:
6
- metadata.gz: 6bae17b74626f7ce65c33bfbc5598639a467828b572fc5c86a30510a8e02f08425be54477a1f91a8e1655e324a9a81898f38fc5b6ffd8b1214a353c7f2bd6442
7
- data.tar.gz: 7d060fdf1750741de28df051f5cd80ad3c44b4cb44a93ca171ab486f24ff37ea3195b13042d903068e8b86594d67253d310e30aadd2fd756a341757a647c822a
6
+ metadata.gz: 7e44de15eaa6aff53a8a2be43e09cf86a3e5a5ecba81c5c27a4563b35916263e75ca83aa56b2b15c479f8efe60b9fe10ffe66eb936a3545bbae75b7d952771ce
7
+ data.tar.gz: fb31147998526f04bf9b88ea7bb9fa861e347ce2464b819411bc2f84731f0de5718c74cf496a8b149703403a0bb3971fae35661f8b5750ca292fe4bc1ae5f057
@@ -36,7 +36,8 @@ RSpec.shared_examples_for "a surveiled event" do |expected_event|
36
36
  let(:expected_data) do
37
37
  {}
38
38
  end
39
+ let(:frequency) { :once }
39
40
 
40
- it { is_expected.to have_received(:instrument).with(*expected_args_start) }
41
- it { is_expected.to have_received(:instrument).with(*expected_args_finished) }
41
+ it { is_expected.to have_received(:instrument).with(*expected_args_start).exactly(frequency) }
42
+ it { is_expected.to have_received(:instrument).with(*expected_args_finished).exactly(frequency) }
42
43
  end
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "shared_examples"
3
+ require_relative "rspec/shared_examples"
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Technologic
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.13.1"
5
+ VERSION = "0.13.2"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: technologic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-29 00:00:00.000000000 Z
11
+ date: 2019-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.13.1
47
+ version: 0.13.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.13.1
54
+ version: 0.13.2
55
55
  description: A clean and terse way to produce standardized, highly actionable, and
56
56
  data-rich logs
57
57
  email:
@@ -75,18 +75,18 @@ files:
75
75
  - lib/technologic/info_subscriber.rb
76
76
  - lib/technologic/logger.rb
77
77
  - lib/technologic/railtie.rb
78
+ - lib/technologic/rspec/shared_examples.rb
79
+ - lib/technologic/rspec/shared_examples/a_debug_event_is_logged.rb
80
+ - lib/technologic/rspec/shared_examples/a_fatal_event_is_logged.rb
81
+ - lib/technologic/rspec/shared_examples/a_logged_event_with_severity.rb
82
+ - lib/technologic/rspec/shared_examples/a_surveiled_event.rb
83
+ - lib/technologic/rspec/shared_examples/a_warn_event_is_logged.rb
84
+ - lib/technologic/rspec/shared_examples/an_error_event_is_logged.rb
85
+ - lib/technologic/rspec/shared_examples/an_info_event_is_logged.rb
86
+ - lib/technologic/rspec/shared_examples/an_instrumented_error_exception.rb
87
+ - lib/technologic/rspec/shared_examples/an_instrumented_exception_with_severity.rb
88
+ - lib/technologic/rspec/shared_examples/an_instrumented_fatal_exception.rb
78
89
  - lib/technologic/setup.rb
79
- - lib/technologic/shared_examples.rb
80
- - lib/technologic/shared_examples/a_debug_event_is_logged.rb
81
- - lib/technologic/shared_examples/a_fatal_event_is_logged.rb
82
- - lib/technologic/shared_examples/a_logged_event_with_severity.rb
83
- - lib/technologic/shared_examples/a_surveiled_event.rb
84
- - lib/technologic/shared_examples/a_warn_event_is_logged.rb
85
- - lib/technologic/shared_examples/an_error_event_is_logged.rb
86
- - lib/technologic/shared_examples/an_info_event_is_logged.rb
87
- - lib/technologic/shared_examples/an_instrumented_error_exception.rb
88
- - lib/technologic/shared_examples/an_instrumented_exception_with_severity.rb
89
- - lib/technologic/shared_examples/an_instrumented_fatal_exception.rb
90
90
  - lib/technologic/spec_helper.rb
91
91
  - lib/technologic/subscriber/base.rb
92
92
  - lib/technologic/subscriber/core.rb