active_record_query_counter 3.1.0 → 3.1.1
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/active_record_query_counter/connection_adapter_extension.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e1c73a61e42bb29aabf511c59f3009a49760a9173eab4686de8ecdf05c9e24b
|
|
4
|
+
data.tar.gz: 973f7b3a3ea5d285a023eb3545ff2e86350f51b1bd19db668c3efdda5ce976d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36fc6f8d28bc037c472fb0090828dc545ed8b386f49fbb2222a60313d560efb521ee407da6fb2f9d9a28880a170c7eb00f1a3a644a6f7a3a7d701575da28b07b
|
|
7
|
+
data.tar.gz: 4f5bbb92f7ea0001e5f902537ec3d41a617af9685efc6c3a15b8abb89ceacc9e35969b7ea0f5ecbe2b664fdd9ab71df50aa4e893a199c3aad8abbb891552c8b5
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 3.1.1
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Reverted overloaded args syntax in `ConnectionAdapterExtension` that was causing error on methods that added additional keyword arguments.
|
|
12
|
+
|
|
7
13
|
## 3.1.0
|
|
8
14
|
|
|
9
15
|
### Changed
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.1
|
|
@@ -52,13 +52,13 @@ module ActiveRecordQueryCounter
|
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
module ExecQuery
|
|
55
|
-
def exec_query(sql, name = nil, binds = [],
|
|
55
|
+
def exec_query(sql, name = nil, binds = [], **kwargs)
|
|
56
56
|
ConnectionAdapterExtension.measure_query(sql, name, binds) { super }
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
module InternalExecQuery
|
|
61
|
-
def internal_exec_query(sql, name = nil, binds = [],
|
|
61
|
+
def internal_exec_query(sql, name = nil, binds = [], **kwargs)
|
|
62
62
|
ConnectionAdapterExtension.measure_query(sql, name, binds) { super }
|
|
63
63
|
end
|
|
64
64
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_record_query_counter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Durand
|
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
77
77
|
- !ruby/object:Gem::Version
|
|
78
78
|
version: '0'
|
|
79
79
|
requirements: []
|
|
80
|
-
rubygems_version:
|
|
80
|
+
rubygems_version: 3.6.9
|
|
81
81
|
specification_version: 4
|
|
82
82
|
summary: Provides detailed insights into how your code interacts with the database
|
|
83
83
|
by hooking into ActiveRecord.
|