ownership 0.1.2 → 0.2.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: 63e2271e9e2c427002833dc85a287563db799eb6d3cc37b639231bc3f2bbc643
4
- data.tar.gz: 37ea40f895ba8359e0627d5d9be3dce0566fe062ba888f23ce767b1886927b70
3
+ metadata.gz: c82864cfbec98aec876ca43197e865d246e6dad17187844c4024fc46af6b81f2
4
+ data.tar.gz: 04e54a16dfce05d2ff93a789edd861df94af852950439c7a3a8ba65506aa610d
5
5
  SHA512:
6
- metadata.gz: 1539dbd3c928612c87463c3c4666e1d8502ff09ff923f6a8f0ac12c37e2a59eb1b8ff9a72213b23a9e0e6f2a52dc9ce35b54db78822457455d2947ab8dbe93a8
7
- data.tar.gz: 83555242d963297d64be5123895e74ba9c524bb7aa3b76c638850cbc47e10ba3b78e8116adbfb9113a9febdb84d09c9f5121c94624ea408cd905e214cdfdffee
6
+ metadata.gz: 56da0f7adfacf7fc289ceddc5fb0061d7b138539158fc7769081755b8f9d7af2020853212b544554708f62a67547852c93297487dff9f0fe7adeee11c973d7b7
7
+ data.tar.gz: 457826075fb853877bc3940bb0cc3364807983a42fe0ec29a0cd66e732186e03b7cb5534a643d785d87fb1e9a4341d926533b49e72babb2ccd1d34f88b7fc5d7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.2.0 (2022-04-26)
2
+
3
+ - Fixed issue with nested `owner` blocks
4
+ - Dropped support for Ruby < 2.6
5
+
1
6
  ## 0.1.2 (2022-03-11)
2
7
 
3
8
  - Added Active Record query log tags integration
@@ -22,7 +22,7 @@ module Ownership
22
22
  block.call
23
23
  end
24
24
  rescue Exception => e
25
- e.owner = owner
25
+ e.owner ||= owner
26
26
  raise
27
27
  end
28
28
  ensure
@@ -1,3 +1,3 @@
1
1
  module Ownership
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ownership
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-12 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: andrew@ankane.org
@@ -39,7 +39,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '2.4'
42
+ version: '2.6'
43
43
  required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="