activerecord-pedantmysql2-adapter 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -0
- data/Gemfile.activerecord50 +4 -0
- data/README.md +3 -0
- data/lib/active_record/connection_adapters/pedant_mysql2_adapter.rb +2 -3
- data/lib/pedant_mysql2/version.rb +1 -1
- metadata +5 -26
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4908d611c3be793a9b05bee55255aa2c26f95b90
|
4
|
+
data.tar.gz: df0b20724934de0da44e92950b340033e567f8d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e693a9dc9997acbac0b6810a7eeb6a7102204765193f90cfb70497ab504bd57e079b2cba7dc717b87cf09cc227071ada40028248f620f444fbaaec02d7ff38cc
|
7
|
+
data.tar.gz: c729d4433b5f9810169eb2feb8665190f1a4043a345620df4df3edd97694dc9363d960fa2f0c6e4e403085d3ebdac8c9b19dcabb8634c4e27bb85a6e95d8a713
|
data/.travis.yml
CHANGED
@@ -2,12 +2,24 @@ rvm:
|
|
2
2
|
- 1.9.3
|
3
3
|
- 2.0.0
|
4
4
|
- 2.1.2
|
5
|
+
- 2.2.2
|
6
|
+
- 2.3.0
|
5
7
|
|
6
8
|
gemfile:
|
7
9
|
- Gemfile.activerecord32
|
8
10
|
- Gemfile.activerecord40
|
9
11
|
- Gemfile.activerecord41
|
10
12
|
- Gemfile.activerecord42
|
13
|
+
- Gemfile.activerecord50
|
14
|
+
|
15
|
+
matrix:
|
16
|
+
exclude:
|
17
|
+
- rvm: 1.9.3
|
18
|
+
gemfile: Gemfile.activerecord50
|
19
|
+
- rvm: 2.0.0
|
20
|
+
gemfile: Gemfile.activerecord50
|
21
|
+
- rvm: 2.1.2
|
22
|
+
gemfile: Gemfile.activerecord50
|
11
23
|
|
12
24
|
before_script:
|
13
25
|
- mysql -e 'create database pedant_mysql2_test;'
|
data/README.md
CHANGED
@@ -37,8 +37,7 @@ class MysqlWarning < StandardError
|
|
37
37
|
end
|
38
38
|
|
39
39
|
class ActiveRecord::ConnectionAdapters::PedantMysql2Adapter < ActiveRecord::ConnectionAdapters::Mysql2Adapter
|
40
|
-
|
41
|
-
alias_method :original_execute, :execute
|
40
|
+
alias_method :exec_delete_without_pedant, :exec_delete
|
42
41
|
|
43
42
|
def execute(sql, name = nil)
|
44
43
|
value = super
|
@@ -47,7 +46,7 @@ class ActiveRecord::ConnectionAdapters::PedantMysql2Adapter < ActiveRecord::Conn
|
|
47
46
|
end
|
48
47
|
|
49
48
|
def exec_delete(sql, name, binds)
|
50
|
-
|
49
|
+
exec_delete_without_pedant(to_sql(sql, binds), name, binds)
|
51
50
|
affected_rows = @connection.affected_rows
|
52
51
|
log_warnings(sql)
|
53
52
|
affected_rows
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-pedantmysql2-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZhZG1p
|
14
|
-
bnMxFzAVBgoJkiaJk/IsZAEZFgdzaG9waWZ5MRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
-
MB4XDTE0MDUxNTIwMzM0OFoXDTE1MDUxNTIwMzM0OFowPzEPMA0GA1UEAwwGYWRt
|
16
|
-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9PPs64heamfn0fp
|
31
|
-
TConQSX2BnZdhIEYW+cKzEC/bLc=
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2015-03-30 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: activerecord
|
@@ -146,6 +124,7 @@ files:
|
|
146
124
|
- Gemfile.activerecord40
|
147
125
|
- Gemfile.activerecord41
|
148
126
|
- Gemfile.activerecord42
|
127
|
+
- Gemfile.activerecord50
|
149
128
|
- LICENSE.txt
|
150
129
|
- README.md
|
151
130
|
- Rakefile
|
@@ -179,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
158
|
version: '0'
|
180
159
|
requirements: []
|
181
160
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.6.10
|
183
162
|
signing_key:
|
184
163
|
specification_version: 4
|
185
164
|
summary: ActiveRecord adapter for MySQL that report warnings.
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED