uniform_notifier 1.14.1 → 1.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9fa5744a54e1bff245ab1f1b03974250a6a0880d63ba05b6594ada564bf4c87
4
- data.tar.gz: ae4f6c59d2377f88f50419bcc1abe9215987a9b9c1d549b1323919d9f2d5841a
3
+ metadata.gz: 1920cf91de7d2884a04afe7b4bb3f47b5aaf05fffb71e014631fbc1a1eb7c1bd
4
+ data.tar.gz: 8798d5ba9cb5ddc6bed1a05895ec4bd85c03aa690df1aa9dba5eb1abb45b7619
5
5
  SHA512:
6
- metadata.gz: d739e807172146c2647ab96b122825efc3c033bc27dc3a27cf05c7d7e1c07bc2a273a15df6dd1f8574273663b30143b82cb997756c65a61c69c051c332c81dee
7
- data.tar.gz: 785945370f105bacf35cc12b2d769a6d3038d4520df5f376e9d42cf055ea0959777431058c0f9f0f05bd1a2a823dcf2aaa929201d07122ab3aef3128732cda56
6
+ metadata.gz: 0d6382aff6ad0043e90d3f82853367f480c46c84780df5928d073b8acd64055e5dfbc6c58e468f4115325adf980c907c10d0d1b87f4c5db7deeda9fe37fceb8e
7
+ data.tar.gz: b3de13ddb6ca896814f325d14deff64c7353af2117a32441c604235ae1abac1855bb42826d64188fa8ee71c0179a6313332df7dd85b6682f9d19473c8b11f651
data/.travis.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.6
3
+ - 2.7.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Next Release
2
2
 
3
+ # 1.14.2 (03/24/2021)
4
+
5
+ * Fix `capture_exception` signature
6
+
3
7
  # 1.14.1 (02/28/2021)
4
8
 
5
9
  * Fix uninitialized constant ``UniformNotifier::SentryNotifier::Raven`` error
@@ -16,7 +16,7 @@ class UniformNotifier
16
16
  opt = UniformNotifier.sentry if UniformNotifier.sentry.is_a?(Hash)
17
17
 
18
18
  exception = Exception.new(message)
19
- Sentry.capture_exception(exception, opt)
19
+ Sentry.capture_exception(exception, **opt)
20
20
  end
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class UniformNotifier
4
- VERSION = '1.14.1'
4
+ VERSION = '1.14.2'
5
5
  end
@@ -12,7 +12,7 @@ RSpec.describe UniformNotifier::SentryNotifier do
12
12
  end
13
13
 
14
14
  it 'should notify sentry' do
15
- expect(Sentry).to receive(:capture_exception).with(UniformNotifier::Exception.new('notify sentry'), {})
15
+ expect(Sentry).to receive(:capture_exception).with(UniformNotifier::Exception.new('notify sentry'))
16
16
 
17
17
  UniformNotifier.sentry = true
18
18
  UniformNotifier::SentryNotifier.out_of_channel_notify(title: 'notify sentry')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uniform_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.1
4
+ version: 1.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-28 00:00:00.000000000 Z
11
+ date: 2021-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec