activerecord-pedantmysql2-adapter 1.1.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +31 -0
- data/README.md +4 -1
- data/activerecord-pedantmysql2-adapter.gemspec +6 -2
- data/gemfiles/Gemfile.activerecord-6.0 +5 -0
- data/gemfiles/Gemfile.activerecord-6.1 +5 -0
- data/gemfiles/Gemfile.activerecord-edge +4 -0
- data/lib/active_record/connection_adapters/pedant_mysql2_adapter.rb +44 -24
- data/lib/pedant_mysql2.rb +5 -1
- data/lib/pedant_mysql2/version.rb +1 -1
- data/spec/adapter_spec.rb +25 -4
- data/spec/connection_spec.rb +6 -1
- data/spec/spec_helper.rb +17 -2
- data/spec/support/database.rb +0 -11
- metadata +17 -41
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +0 -15
- data/Gemfile.activerecord32 +0 -4
- data/Gemfile.activerecord40 +0 -4
- data/Gemfile.activerecord41 +0 -4
- data/Gemfile.activerecord42 +0 -4
- data/shipit.rubygems.yml +0 -2
- metadata.gz.sig +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5255cb91c19fa45adb1a277a95d8e9113e6f52cd5c76c418bc79025a16724bc2
|
4
|
+
data.tar.gz: 897ba4f42c2e58edff7b6a159d7007c273560a025c813099822c432576ffe473
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7c36b9b2d2d94b813bd3992878fb97c6ef5052285e0c29f53fcbfe3623047d7c00e0cd5776e013c5b2079a7e114603bc0d8a3dcc0a8ac70a1e0ab11201c754
|
7
|
+
data.tar.gz: 3f25aa8d59e4adc8d5fd6f66905740ce3af5fd55a4373502e7ba5f66a0a39384d4749ebb2e891fd3dffb2913e203c05452ea84e7281a81d1a949bb99da182c04
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
name: Ruby ${{ matrix.ruby }} / Active Record ${{ matrix.activerecord }}
|
9
|
+
strategy:
|
10
|
+
matrix:
|
11
|
+
ruby: ['2.6', '2.7', '3.0']
|
12
|
+
activerecord: ['6.0', '6.1', 'edge']
|
13
|
+
exclude:
|
14
|
+
- ruby: '2.6'
|
15
|
+
activerecord: 'edge'
|
16
|
+
env:
|
17
|
+
BUNDLE_GEMFILE: gemfiles/Gemfile.activerecord-${{ matrix.activerecord }}
|
18
|
+
steps:
|
19
|
+
- name: Check out code
|
20
|
+
uses: actions/checkout@v2
|
21
|
+
- name: Set up Ruby ${{ matrix.ruby }}
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Start MySQL and create DB
|
27
|
+
run: |
|
28
|
+
sudo systemctl start mysql.service
|
29
|
+
mysql -uroot -proot -e 'create database pedant_mysql2_test;'
|
30
|
+
- name: Ruby Tests
|
31
|
+
run: bundle exec rake
|
data/README.md
CHANGED
@@ -26,6 +26,9 @@ Finally in your `database.yml`:
|
|
26
26
|
|
27
27
|
adapter: pedant_mysql2
|
28
28
|
|
29
|
+
Or if you're using `DATABASE_URL` or the url key in `database.yml`, you can use the `pedant-mysql2` URL scheme:
|
30
|
+
|
31
|
+
url: pedant-mysql2://host/database
|
29
32
|
|
30
33
|
## Usage
|
31
34
|
|
@@ -49,7 +52,7 @@ and to restore it to raising warnings as errors:
|
|
49
52
|
PedantMysql2.raise_warnings!
|
50
53
|
```
|
51
54
|
|
52
|
-
You can
|
55
|
+
You can easily whitelist some types of warnings:
|
53
56
|
|
54
57
|
```ruby
|
55
58
|
PedantMysql2.ignore(/Some warning I don't care about/i)
|
@@ -13,14 +13,18 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/Shopify/activerecord-pedantmysql2-adapter'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
17
|
+
|
18
|
+
spec.required_ruby_version = '>= 2.2.2'
|
19
|
+
|
16
20
|
spec.files = `git ls-files -z`.split("\x0")
|
17
21
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
23
|
spec.require_paths = ['lib']
|
20
24
|
|
21
|
-
spec.add_dependency 'activerecord', '>=
|
25
|
+
spec.add_dependency 'activerecord', '>= 6.0'
|
22
26
|
spec.add_dependency 'mysql2', '>= 0.3.12'
|
23
|
-
spec.add_development_dependency 'bundler'
|
27
|
+
spec.add_development_dependency 'bundler'
|
24
28
|
spec.add_development_dependency 'rake'
|
25
29
|
spec.add_development_dependency 'rspec', '>= 3.0'
|
26
30
|
spec.add_development_dependency 'rspec-its'
|
@@ -2,23 +2,44 @@ require 'active_record/connection_adapters/mysql2_adapter'
|
|
2
2
|
|
3
3
|
module ActiveRecord
|
4
4
|
module ConnectionHandling
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
if ConnectionAdapters::Mysql2Adapter.respond_to?(:new_client)
|
6
|
+
def pedant_mysql2_connection(config)
|
7
|
+
config = config.symbolize_keys
|
8
|
+
config[:flags] ||= 0
|
9
|
+
|
10
|
+
if config[:flags].kind_of? Array
|
11
|
+
config[:flags].push "FOUND_ROWS"
|
12
|
+
else
|
13
|
+
config[:flags] |= Mysql2::Client::FOUND_ROWS
|
14
|
+
end
|
15
|
+
|
16
|
+
ConnectionAdapters::PedantMysql2Adapter.new(
|
17
|
+
ConnectionAdapters::Mysql2Adapter.new_client(config),
|
18
|
+
logger,
|
19
|
+
nil,
|
20
|
+
config,
|
21
|
+
)
|
12
22
|
end
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
23
|
+
else
|
24
|
+
def pedant_mysql2_connection(config)
|
25
|
+
config = config.symbolize_keys
|
26
|
+
|
27
|
+
config[:username] = 'root' if config[:username].nil?
|
28
|
+
|
29
|
+
if Mysql2::Client.const_defined? :FOUND_ROWS
|
30
|
+
config[:flags] = Mysql2::Client::FOUND_ROWS
|
31
|
+
end
|
32
|
+
|
33
|
+
client = Mysql2::Client.new(config)
|
34
|
+
|
35
|
+
options = [config[:host], config[:username], config[:password], config[:database], config[:port], config[:socket], 0]
|
36
|
+
ActiveRecord::ConnectionAdapters::PedantMysql2Adapter.new(client, logger, options, config)
|
37
|
+
rescue Mysql2::Error => error
|
38
|
+
if error.message.include?("Unknown database") && defined?(ActiveRecord::NoDatabaseError)
|
39
|
+
raise ActiveRecord::NoDatabaseError.new(error.message)
|
40
|
+
else
|
41
|
+
raise
|
42
|
+
end
|
22
43
|
end
|
23
44
|
end
|
24
45
|
end
|
@@ -37,20 +58,17 @@ class MysqlWarning < StandardError
|
|
37
58
|
end
|
38
59
|
|
39
60
|
class ActiveRecord::ConnectionAdapters::PedantMysql2Adapter < ActiveRecord::ConnectionAdapters::Mysql2Adapter
|
40
|
-
|
41
|
-
alias_method :original_execute, :execute
|
42
|
-
|
43
|
-
def execute(sql, name = nil)
|
61
|
+
def execute(sql, *)
|
44
62
|
value = super
|
45
63
|
log_warnings(sql)
|
46
64
|
value
|
47
65
|
end
|
66
|
+
ruby2_keywords :execute if respond_to?(:ruby2_keywords, true)
|
48
67
|
|
49
68
|
def exec_delete(sql, name, binds)
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
affected_rows
|
69
|
+
@affected_rows_before_logging = nil
|
70
|
+
value = super
|
71
|
+
@affected_rows_before_logging || value
|
54
72
|
end
|
55
73
|
|
56
74
|
alias :exec_update :exec_delete
|
@@ -60,7 +78,9 @@ class ActiveRecord::ConnectionAdapters::PedantMysql2Adapter < ActiveRecord::Conn
|
|
60
78
|
def log_warnings(sql)
|
61
79
|
return unless @connection.warning_count > 0
|
62
80
|
|
81
|
+
@affected_rows_before_logging = @connection.affected_rows
|
63
82
|
result = @connection.query('SHOW WARNINGS')
|
83
|
+
|
64
84
|
result.each do |level, code, message|
|
65
85
|
warning = MysqlWarning.new(message, code, level, sql)
|
66
86
|
::PedantMysql2.warn(warning)
|
data/lib/pedant_mysql2.rb
CHANGED
@@ -46,7 +46,11 @@ module PedantMysql2
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def ignored?(warning)
|
49
|
-
whitelist.any? { |matcher|
|
49
|
+
whitelist.any? { |matcher| warning.message.match?(matcher) } || drop_table_warning(warning)
|
50
|
+
end
|
51
|
+
|
52
|
+
def drop_table_warning(warning)
|
53
|
+
warning.query.match?(/\ADROP TABLE IF EXISTS/) || warning.message.match?(/\AUnknown table/)
|
50
54
|
end
|
51
55
|
|
52
56
|
def setup_capture
|
data/spec/adapter_spec.rb
CHANGED
@@ -7,6 +7,7 @@ describe PedantMysql2 do
|
|
7
7
|
before :each do
|
8
8
|
PedantMysql2.raise_warnings!
|
9
9
|
PedantMysql2.instance_variable_set(:@whitelist, nil)
|
10
|
+
PedantMysql2.ignore(/They will be merged with strict mode in a future release/)
|
10
11
|
connection.execute('SET SESSION binlog_format = "STATEMENT"')
|
11
12
|
if connection.execute('SHOW TABLES LIKE "comment"').size == 0
|
12
13
|
connection.execute('CREATE TABLE comment (id int)')
|
@@ -19,8 +20,8 @@ describe PedantMysql2 do
|
|
19
20
|
PedantMysql2.on_warning = @original_callback
|
20
21
|
end
|
21
22
|
|
22
|
-
def execute_with_warning
|
23
|
-
ActiveRecord::Base.connection.execute(
|
23
|
+
def execute_with_warning(query = 'SELECT 1 + "foo"')
|
24
|
+
ActiveRecord::Base.connection.execute(query)
|
24
25
|
end
|
25
26
|
|
26
27
|
def wait_for(thread)
|
@@ -42,6 +43,12 @@ describe PedantMysql2 do
|
|
42
43
|
}.to raise_error(MysqlWarning, "Truncated incorrect DOUBLE value: 'foo'")
|
43
44
|
end
|
44
45
|
|
46
|
+
it 'does not raise when warning warns about unexisting table' do
|
47
|
+
expect {
|
48
|
+
execute_with_warning('DROP TABLE IF EXISTS `example_table`')
|
49
|
+
}.to_not raise_error
|
50
|
+
end
|
51
|
+
|
45
52
|
it 'can have a whitelist of warnings' do
|
46
53
|
PedantMysql2.ignore(/Truncated incorrect DOUBLE value/i)
|
47
54
|
expect {
|
@@ -55,13 +62,27 @@ describe PedantMysql2 do
|
|
55
62
|
expect(result.to_a).to be == [[1.0]]
|
56
63
|
end
|
57
64
|
|
58
|
-
it '
|
65
|
+
it 'does not change the returned value of exec_update' do
|
66
|
+
connection.execute('INSERT INTO comment VALUES (17)')
|
59
67
|
result = connection.update('UPDATE comment SET id = 1 ORDER BY id LIMIT 1')
|
68
|
+
expect(result).to be == 1
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'does not change the returned value of exec_update when there is warnings' do
|
72
|
+
PedantMysql2.silence_warnings!
|
73
|
+
result = connection.update('UPDATE comment SET id = 1 WHERE id > (42+"foo") ORDER BY id LIMIT 1')
|
60
74
|
expect(result).to be_zero
|
61
75
|
end
|
62
76
|
|
63
|
-
it '
|
77
|
+
it 'does not change the returned value of exec_delete' do
|
78
|
+
connection.execute('INSERT INTO comment VALUES (17)')
|
64
79
|
result = connection.delete('DELETE FROM comment ORDER BY id LIMIT 1')
|
80
|
+
expect(result).to be == 1
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'does not change the returned value of exec_delete when there is warnings' do
|
84
|
+
PedantMysql2.silence_warnings!
|
85
|
+
result = connection.delete('DELETE FROM comment WHERE id > (42+"foo") ORDER BY id LIMIT 1')
|
65
86
|
expect(result).to be_zero
|
66
87
|
end
|
67
88
|
|
data/spec/connection_spec.rb
CHANGED
@@ -12,7 +12,12 @@ describe ActiveRecord::ConnectionHandling do
|
|
12
12
|
it 'raises NoDatabaseError correctly' do
|
13
13
|
error_class = defined?(ActiveRecord::NoDatabaseError) ? ActiveRecord::NoDatabaseError : Mysql2::Error
|
14
14
|
expect {
|
15
|
-
Mock.new.pedant_mysql2_connection({
|
15
|
+
Mock.new.pedant_mysql2_connection({
|
16
|
+
host: TestSupport::DB_CONFIG['hostname'],
|
17
|
+
username: TestSupport::DB_CONFIG['username'],
|
18
|
+
password: TestSupport::DB_CONFIG['password'],
|
19
|
+
database: 'nosuchthing',
|
20
|
+
})
|
16
21
|
}.to raise_error(error_class)
|
17
22
|
end
|
18
23
|
|
data/spec/spec_helper.rb
CHANGED
@@ -4,14 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'rspec/its'
|
5
5
|
require 'simplecov'
|
6
6
|
require 'coveralls'
|
7
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
7
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
|
8
8
|
SimpleCov::Formatter::HTMLFormatter,
|
9
9
|
Coveralls::SimpleCov::Formatter
|
10
|
-
]
|
10
|
+
])
|
11
11
|
SimpleCov.start
|
12
12
|
|
13
13
|
require 'activerecord-pedantmysql2-adapter'
|
14
14
|
|
15
|
+
module TestSupport
|
16
|
+
DB_CONFIG = {
|
17
|
+
'adapter' => 'pedant_mysql2',
|
18
|
+
'database' => 'pedant_mysql2_test',
|
19
|
+
'username' => 'root',
|
20
|
+
'password' => ENV['CI'] ? 'root' : nil,
|
21
|
+
'encoding' => 'utf8',
|
22
|
+
'host' => 'localhost',
|
23
|
+
'strict' => false,
|
24
|
+
'pool' => 5,
|
25
|
+
}.freeze
|
26
|
+
end
|
27
|
+
|
28
|
+
ActiveRecord::Base.establish_connection(TestSupport::DB_CONFIG)
|
29
|
+
|
15
30
|
Dir[File.expand_path(File.join(File.dirname(__FILE__), 'support', '**', '*.rb'))].each { |f| require f }
|
16
31
|
|
17
32
|
RSpec.configure do |config|
|
data/spec/support/database.rb
CHANGED
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.
|
4
|
+
version: 1.3.0
|
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
|
-
aW5zMRcwFQYKCZImiZPyLGQBGRYHc2hvcGlmeTETMBEGCgmSJomT8ixkARkWA2Nv
|
17
|
-
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL0/81O3e1vh5smcwp2G
|
18
|
-
MpLQ6q0kejQLa65bPYPxdzWA1SYOKyGfw+yR9LdFzsuKpwWzKq6zX35lj1IckWS4
|
19
|
-
bNBEQzxmufUxU0XPM02haFB8fOfDJzdXsWte9Ge4IFwahwn68gpMqN+BvxL+KMYz
|
20
|
-
Iut9YmN44d4LZdsENEIO5vmybuG2vYDz7R56qB0PA+Q2P2CdhymsBad2DQs69FBo
|
21
|
-
uico9V6VMYYctL9lCYdzu9IXrOYNTt88suKIVzzAlHOKeN0Ng5qdztFoTR8sfxDr
|
22
|
-
Ydg3KHl5n47wlpgd8R0f/4b5gGxW+v9pyJCgQnLlRu7DedVSvv7+GMtj3g9r3nhJ
|
23
|
-
KqECAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFI/o
|
24
|
-
maf34HXbUOQsdoLHacEKQgunMB0GA1UdEQQWMBSBEmFkbWluc0BzaG9waWZ5LmNv
|
25
|
-
bTAdBgNVHRIEFjAUgRJhZG1pbnNAc2hvcGlmeS5jb20wDQYJKoZIhvcNAQEFBQAD
|
26
|
-
ggEBADkK9aj5T0HPExsov4EoMWFnO+G7RQ28C30VAfKxnL2UxG6i4XMHVs6Xi94h
|
27
|
-
qXFw1ec9Y2eDUqaolT3bviOk9BB197+A8Vz/k7MC6ci2NE+yDDB7HAC8zU6LAx8Y
|
28
|
-
Iqvw7B/PSZ/pz4bUVFlTATif4mi1vO3lidRkdHRtM7UePSn2rUpOi0gtXBP3bLu5
|
29
|
-
YjHJN7wx5cugMEyroKITG5gL0Nxtu21qtOlHX4Hc4KdE2JqzCPOsS4zsZGhgwhPs
|
30
|
-
fl3hbtVFTqbOlwL9vy1fudXcolIE/ZTcxQ+er07ZFZdKCXayR9PPs64heamfn0fp
|
31
|
-
TConQSX2BnZdhIEYW+cKzEC/bLc=
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2015-03-30 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: activerecord
|
@@ -38,14 +16,14 @@ dependencies:
|
|
38
16
|
requirements:
|
39
17
|
- - ">="
|
40
18
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
19
|
+
version: '6.0'
|
42
20
|
type: :runtime
|
43
21
|
prerelease: false
|
44
22
|
version_requirements: !ruby/object:Gem::Requirement
|
45
23
|
requirements:
|
46
24
|
- - ">="
|
47
25
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
26
|
+
version: '6.0'
|
49
27
|
- !ruby/object:Gem::Dependency
|
50
28
|
name: mysql2
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,16 +42,16 @@ dependencies:
|
|
64
42
|
name: bundler
|
65
43
|
requirement: !ruby/object:Gem::Requirement
|
66
44
|
requirements:
|
67
|
-
- - "
|
45
|
+
- - ">="
|
68
46
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
47
|
+
version: '0'
|
70
48
|
type: :development
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
51
|
requirements:
|
74
|
-
- - "
|
52
|
+
- - ">="
|
75
53
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
54
|
+
version: '0'
|
77
55
|
- !ruby/object:Gem::Dependency
|
78
56
|
name: rake
|
79
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,23 +116,21 @@ executables: []
|
|
138
116
|
extensions: []
|
139
117
|
extra_rdoc_files: []
|
140
118
|
files:
|
119
|
+
- ".github/workflows/ci.yml"
|
141
120
|
- ".gitignore"
|
142
121
|
- ".rspec"
|
143
|
-
- ".travis.yml"
|
144
122
|
- Gemfile
|
145
|
-
- Gemfile.activerecord32
|
146
|
-
- Gemfile.activerecord40
|
147
|
-
- Gemfile.activerecord41
|
148
|
-
- Gemfile.activerecord42
|
149
123
|
- LICENSE.txt
|
150
124
|
- README.md
|
151
125
|
- Rakefile
|
152
126
|
- activerecord-pedantmysql2-adapter.gemspec
|
127
|
+
- gemfiles/Gemfile.activerecord-6.0
|
128
|
+
- gemfiles/Gemfile.activerecord-6.1
|
129
|
+
- gemfiles/Gemfile.activerecord-edge
|
153
130
|
- lib/active_record/connection_adapters/pedant_mysql2_adapter.rb
|
154
131
|
- lib/activerecord-pedantmysql2-adapter.rb
|
155
132
|
- lib/pedant_mysql2.rb
|
156
133
|
- lib/pedant_mysql2/version.rb
|
157
|
-
- shipit.rubygems.yml
|
158
134
|
- spec/adapter_spec.rb
|
159
135
|
- spec/connection_spec.rb
|
160
136
|
- spec/spec_helper.rb
|
@@ -162,7 +138,8 @@ files:
|
|
162
138
|
homepage: https://github.com/Shopify/activerecord-pedantmysql2-adapter
|
163
139
|
licenses:
|
164
140
|
- MIT
|
165
|
-
metadata:
|
141
|
+
metadata:
|
142
|
+
allowed_push_host: https://rubygems.org
|
166
143
|
post_install_message:
|
167
144
|
rdoc_options: []
|
168
145
|
require_paths:
|
@@ -171,15 +148,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
148
|
requirements:
|
172
149
|
- - ">="
|
173
150
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
151
|
+
version: 2.2.2
|
175
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
153
|
requirements:
|
177
154
|
- - ">="
|
178
155
|
- !ruby/object:Gem::Version
|
179
156
|
version: '0'
|
180
157
|
requirements: []
|
181
|
-
|
182
|
-
rubygems_version: 2.2.2
|
158
|
+
rubygems_version: 3.0.3
|
183
159
|
signing_key:
|
184
160
|
specification_version: 4
|
185
161
|
summary: ActiveRecord adapter for MySQL that report warnings.
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
data/.travis.yml
DELETED
data/Gemfile.activerecord32
DELETED
data/Gemfile.activerecord40
DELETED
data/Gemfile.activerecord41
DELETED
data/Gemfile.activerecord42
DELETED
data/shipit.rubygems.yml
DELETED
metadata.gz.sig
DELETED