db-mariadb 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/db/mariadb/native/connection.rb +1 -1
- data/lib/db/mariadb/version.rb +1 -1
- data/readme.md +3 -3
- data.tar.gz.sig +0 -0
- metadata +3 -1
- 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: 67886385cebd580877486782bb667f3a06ace8faac9b125928f5f16225d6d146
|
|
4
|
+
data.tar.gz: b045f15189132231b881283e8ea612740739b501f1b22cd9f6abd5f3fa0826e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b796d86e98ce90b4a6b3d433c56aa46d258f7062876274e36d3da6069c2d9852b6b5fc71b0973f2edc7f13a396887209ec996ecc2ebd6156e7510cb69c414e4
|
|
7
|
+
data.tar.gz: c2cac24728daa5c5c62f3d71b945fec6e3e04eaf87b3d714fafb67658798ec3e760efe68f7dd0ad5f3e619d8fee0d53de7dadaf71f6f34344bc7de1dcb6b7727
|
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
|
[](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.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -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
|