octoshark 0.5.0 → 0.5.1

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: '08a9bf2ed4d65fbb159fc533e06faf1fee9bdc6b756d9ea291f1918240bddfab'
4
- data.tar.gz: 7e8c1cd5604b308ce09c6b3227832eb42fc24b26591acf8a177817b679d98dc4
3
+ metadata.gz: '098b8a529ace3b8a925536484b3c3de41d7eea6336ec601228173b8000d55ec6'
4
+ data.tar.gz: f9570b710a2a4c00371e840f12a74258ee60f5d1f42cbf3934e4d2ff57f8cb40
5
5
  SHA512:
6
- metadata.gz: 721103095d5700ead78726a57a3e233212b523a80db732f5616b1151e61071f566a877fe30784ba4a6ab1b25b70b0041f6adc6136b5fed8185836e1f24b8af18
7
- data.tar.gz: b8b939dd94e1bb789715501fbcf6502718cc029088f0915b157a0402efddcc0a3282a7da35a2d9d3f8dbb766300afb8633103564d3ef167c1101495369c0e8fb
6
+ metadata.gz: 62600a72c3ce6590beb8dfe0638bcaf00fc0cfea95afe146b9c1c97d4d2b1ad8ae96e533af6361ca8acb75abc3a50db0bbb03e3dee9532ce9812b341024cf539
7
+ data.tar.gz: aca0193931b046f9918a5a0b4a076c945aabb8f99133465b8619cda3e5b5064cc0d7d74fc3a8b15c2c3ee200d1aa8d39f1291ab93228143d546ccc2076c4eba1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 0.5.1 2024-04-22
4
+
5
+ - Add kwargs argument to the ActiveRecordAbstractAdapter
6
+
3
7
  ## 0.5.0 2023-10-27
4
8
 
5
9
  - Add support for Rails 7.1
data/README.md CHANGED
@@ -54,7 +54,6 @@ config = {
54
54
  password: 'pass',
55
55
  pool: 1,
56
56
  encoding: 'utf8',
57
- reconnect: false
58
57
  }
59
58
  ```
60
59
 
@@ -26,12 +26,12 @@ module Octoshark
26
26
  module ActiveRecordAbstractAdapter
27
27
  attr_accessor :connection_name, :database_name
28
28
 
29
- def log(sql, name = "SQL", *other_args, &block)
29
+ def log(sql, name = "SQL", *other_args, **kwargs, &block)
30
30
  if connection_name || database_name
31
31
  name = "[Octoshark: #{[connection_name, database_name].compact.join(' ')}] #{name}"
32
32
  end
33
33
 
34
- super(sql, name, *other_args, &block)
34
+ super(sql, name, *other_args, **kwargs, &block)
35
35
  end
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Octoshark
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octoshark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dalibor Nasevic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord