mysql2_query_filter 0.1.0 → 0.1.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8cc3540bc5d855e512762968dcef2da52ff6fd7
|
4
|
+
data.tar.gz: 31a83ca10c3aad475088fb0793ef0891ff73b97f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d949eb2539f84dec234586d2d9ebe8a37fd6bf09f666f94cab76889b865a78dc4b971d688f9e40d20af11e5fda3c6131893bafb2adefd5fc6ad1a7a49d65bb
|
7
|
+
data.tar.gz: 3430517ea7a6df57077b2a3992cdb45e42857bf4fed257138798b19b28a7c52615707feed59acefbf8dce218a3f7c7fa418493e444fa3d654513dfcd0d3ef018
|
data/README.md
CHANGED
@@ -4,13 +4,13 @@ describe Mysql2QueryFilter do
|
|
4
4
|
context 'when using filters' do
|
5
5
|
let(:filter1) do
|
6
6
|
Class.new(Mysql2QueryFilter::Base) do
|
7
|
-
def filter(sql,
|
7
|
+
def filter(sql, client); sql << ' through filter1'; end
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
11
|
let(:filter2) do
|
12
12
|
Class.new(Mysql2QueryFilter::Base) do
|
13
|
-
def filter(sql,
|
13
|
+
def filter(sql, client); sql << ' through filter2'; end
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|