meta_request 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/meta_request/event.rb +1 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 108596676b5e12bbd5e63c1f7b9ad5ccaf62b435fe8d21a959a30d876c3a6ba1
4
- data.tar.gz: 496eba3a8c6d7d85897e2a0230ce23addee87c597d00fd0e11959697c1844d05
3
+ metadata.gz: 17d4f3d2476ec942322c70334ff75ddf4ef49fc7d1553fde42c0a39d29e9fe62
4
+ data.tar.gz: c35ed29571bdb4c3593e9d8bdec7b9fac0133143d642d57449e4c6b1c62edf64
5
5
  SHA512:
6
- metadata.gz: e1bc81ba1cf6f3cd50c8de7f1b9da7dd4eede6c6362362123e35e5bcbf9535dd26b60bc10c66987f4e9d1df02c9c771a1fc0cf9c7a071dffeee45a01c5188d01
7
- data.tar.gz: 830ac5ef9e97783c93ff6730ed3d3b65fad1b408c314a4d59b23db2ca5546bc992c92ddf85fe8fd62aec571099be9e9f1da9d69c0ecd7b85d56a5e5fcb80042e
6
+ metadata.gz: 41f4f301f7b03ae92280c5bf6e395895e329ee96ac059a3167cf3f9a70329471bcfa9e44ce4d9eadafe2fc411c60b91ffe25b11cfffea758eb477c310062227b
7
+ data.tar.gz: 551853bbde715cfecda66cb3609d43a0ebff8ec0c288df32ebe75376af2dccce193998a14230651e962552e7712bee0b79842b141402be45ae80778c15e32ad1
@@ -66,6 +66,7 @@ module MetaRequest
66
66
 
67
67
  def not_encodable?(value)
68
68
  return true if defined?(ActiveRecord) && value.is_a?(ActiveRecord::ConnectionAdapters::AbstractAdapter)
69
+ return true if defined?(ActiveRecord) && defined?(ActiveRecord::Transaction) && value.is_a?(ActiveRecord::Transaction)
69
70
  return true if defined?(ActionDispatch) && (value.is_a?(ActionDispatch::Request) || value.is_a?(ActionDispatch::Response))
70
71
  return true if defined?(ActionView) && value.is_a?(ActionView::Helpers::FormBuilder)
71
72
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dejan Simic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-02 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack-contrib
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.3.26
121
+ rubygems_version: 3.5.20
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Request your Rails request