db-mariadb 0.11.0 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/db/mariadb/native/connection.rb +1 -1
- data/lib/db/mariadb/native/result.rb +1 -0
- data/lib/db/mariadb/version.rb +1 -1
- data/readme.md +3 -3
- data.tar.gz.sig +0 -0
- metadata +4 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95566c6a63ab1bf4652c2cb71c01f9617f8ad942c30ec033537cd644f119927e
|
4
|
+
data.tar.gz: 0c5ea74e6b1230c6ad49dad343342553bebba46ef9bb032dae0088c3d13891ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eebe56df786458477e5d822335f56754c0074e11996d9aca17e24ee9bd2b88571e65fdc051df3290f8dff4e4c3b45aaf1973f7fa29f969985f58aa7d7efbc03
|
7
|
+
data.tar.gz: 65fef4dcfa24803c438b506c10cf9e45b66acd341f7bf2c6d5bc4b83a4964d6ff38037e18910ddfe2b915ec209ab3f0fb621276bf42220192c8f729f7f13e941
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -52,7 +52,7 @@ module DB
|
|
52
52
|
ffi_attach_function :mysql_real_escape_string, [:pointer, :pointer, :string, :size_t], :size_t
|
53
53
|
|
54
54
|
class Connection < FFI::Pointer
|
55
|
-
def self.connect(
|
55
|
+
def self.connect(host: 'localhost', username: nil, password: nil, database: nil, port: 0, unix_socket: nil, client_flags: 0, compression: false, types: DEFAULT_TYPES, **options)
|
56
56
|
pointer = Native.mysql_init(nil)
|
57
57
|
Native.mysql_options(pointer, MYSQL_OPT_NONBLOCK, nil)
|
58
58
|
|
data/lib/db/mariadb/version.rb
CHANGED
data/readme.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# DB::MariaDB
|
2
2
|
|
3
|
-
A light-weight wrapper for Ruby connecting to MariaDB and MySQL servers.
|
3
|
+
A light-weight wrapper for Ruby connecting to MariaDB and MySQL servers. This gem provides an adapter for the [`db` gem](https://github.com/socketry/db). You should use the `db` gem directly as it provides a unified interface for all database adapters and contains the majority of the documentation.
|
4
4
|
|
5
5
|
[![Development Status](https://github.com/socketry/db-mariadb/workflows/Test/badge.svg)](https://github.com/socketry/db-mariadb/actions?workflow=Test)
|
6
6
|
|
7
7
|
## Usage
|
8
8
|
|
9
|
-
Please see the [project documentation](https://github.
|
9
|
+
Please see the [project documentation](https://socketry.github.io/db-mariadb/) for more details.
|
10
10
|
|
11
|
-
- [Getting Started](https://github.
|
11
|
+
- [Getting Started](https://socketry.github.io/db-mariadb/guides/getting-started/index) - This guide explains how to get started with the `db-mariadb` gem.
|
12
12
|
|
13
13
|
## Contributing
|
14
14
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db-mariadb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
38
38
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
39
39
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
40
40
|
-----END CERTIFICATE-----
|
41
|
-
date: 2024-07-
|
41
|
+
date: 2024-07-27 00:00:00.000000000 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: async-pool
|
@@ -104,6 +104,8 @@ homepage: https://github.com/socketry/db-mariadb
|
|
104
104
|
licenses:
|
105
105
|
- MIT
|
106
106
|
metadata:
|
107
|
+
documentation_uri: https://socketry.github.io/db-mariadb/
|
108
|
+
funding_uri: https://github.com/sponsors/ioquatix
|
107
109
|
source_code_uri: https://github.com/socketry/db-mariadb.git
|
108
110
|
post_install_message:
|
109
111
|
rdoc_options: []
|
metadata.gz.sig
CHANGED
Binary file
|