action_tracer 0.2.3 → 0.2.4

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: 421d6789ec680cc762a0844c9182d4dd8b03a5c6371c1a1852cb1fd0e2c0746a
4
- data.tar.gz: b13b98ed44e0cb98df31709135170e6764eb11df43ba528d696cfa253835cec8
3
+ metadata.gz: 0061b0039b327ef7923b1ccb60a49d3ecc299f93fbf13061087b90f0ae511865
4
+ data.tar.gz: bba51412925a6b3d23aeabc2e68c58ce6c572323a7ac4ba749f0de077dcc42af
5
5
  SHA512:
6
- metadata.gz: a97e4728b5ca7f02f7ee5c2bb384edeba87bf5eaac370bdf2dbfdc6833ccc7607595618234df5ac7c7e76c1701fcb18e90ffe4ff886528c75ca0a279432b8562
7
- data.tar.gz: 1c81fe333dd9815b5dbcd93689d5443e17e39e2bdf4876639e432e66282b5f1f64d993f2f84d9232e065f862ef13c651aacfc58e4fc48b3ad9a19ed07191f0ce
6
+ metadata.gz: 25be298bf88d787985c8b056fec084b225623de7d904b1872a541fcd3da338214ed31169492e4fceae38ca7568c2592280ce3b7483f608a3c8f6fba7cbfd717d
7
+ data.tar.gz: 4f90d3dfef39cdf116bff177057a74d8f889a33a23e66a6e68685057acef8cc4e15ae8d432d413848621d6009309f65c14718d2738c2551a02a0ff234e2d4a2f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.4
2
+
3
+ * Fix bug for Rails7.x support.
4
+
1
5
  ## 0.2.3
2
6
 
3
7
  * Deal with Rails7.x.
@@ -12,11 +12,11 @@ module ActionTracer
12
12
  end
13
13
 
14
14
  def make_lambda
15
- super >> proc { ActionTracer.applied_filters << @method_name }
15
+ super >> proc { |result| ActionTracer.applied_filters << @method_name; result }
16
16
  end
17
17
 
18
18
  def inverted_lambda
19
- super >> proc { ActionTracer.applied_filters << @method_name }
19
+ super >> proc { |result| ActionTracer.applied_filters << @method_name; result }
20
20
  end
21
21
  end
22
22
 
@@ -26,11 +26,11 @@ module ActionTracer
26
26
  end
27
27
 
28
28
  def make_lambda
29
- super >> proc { ActionTracer.applied_filters << @override_target }
29
+ super >> proc { |result| ActionTracer.applied_filters << @override_target; result }
30
30
  end
31
31
 
32
32
  def inverted_lambda
33
- super >> proc { ActionTracer.applied_filters << @override_target }
33
+ super >> proc { |result| ActionTracer.applied_filters << @override_target; result }
34
34
  end
35
35
  end
36
36
 
@@ -40,11 +40,11 @@ module ActionTracer
40
40
  end
41
41
 
42
42
  def make_lambda
43
- super >> proc { ActionTracer.applied_filters << @override_block }
43
+ super >> proc { |result| ActionTracer.applied_filters << @override_block; result }
44
44
  end
45
45
 
46
46
  def inverted_lambda
47
- super >> proc { ActionTracer.applied_filters << @override_block }
47
+ super >> proc { |result| ActionTracer.applied_filters << @override_block; result }
48
48
  end
49
49
  end
50
50
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionTracer
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - makicamel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-01 00:00:00.000000000 Z
11
+ date: 2022-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport