mysql2-lambda 0.5.3.0 → 0.5.3.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
- data/BUILD +1 -0
- data/README.md +9 -3
- data/VERSION +1 -0
- data/lib/mysql2/mysql2.so +0 -0
- data/mysql2-lambda.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 461c705d045a2f5b86b43a07ff61046561fb93492912205cf7b4a303651e77cd
|
4
|
+
data.tar.gz: 8bf8b747d5efc77ffc3e19bc4c6978a308110b930ddb6c7b785eb192ee985137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e58c95cf1cc3e521bb81a066521dac362778533552fe553d2c5c98e231436c00b344406829425719a1cb9aa6d3f0cfe96386aefe93683ea3ffdda76856b532
|
7
|
+
data.tar.gz: 6379538d5a91b9c34a97b65fb142da52dd58ecb6d3a9a079f1d10269622be0ec42867f065b9262149ea378e779e19b638bfe3a5ed04ade1b9e894eaaa67cec25
|
data/BUILD
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
|
2
|
+
# Mysql2 Lambda Gem
|
2
3
|
|
3
4
|
<a href="https://github.com/customink/lamby"><img src="https://user-images.githubusercontent.com/2381/59363668-89edeb80-8d03-11e9-9985-2ce14361b7e3.png" alt="Lamby: Simple Rails & AWS Lambda Integration using Rack." align="right" width="300" /></a>Very simple [Mysql2](https://github.com/brianmario/mysql2) gem precompiled for Amazon Linux 1 & 2 (Ruby 2.5 & 2.7) with statically linked `libmysqlclient` ready for any AWS Lambda usage, including Rails.
|
4
5
|
|
@@ -14,7 +15,7 @@ Part of a suite of open source projects from **[Lamby: Simple Rails & AWS Lambda
|
|
14
15
|
|
15
16
|
## Methodology
|
16
17
|
|
17
|
-
We used the `
|
18
|
+
We used the `amazon/aws-sam-cli-build-image-ruby2.5` Docker image from the [SAM CLI](https://github.com/aws/aws-sam-cli) project to build the MySQL Connector/C's `libmysqlclient`. From there we ensure the Mysql2 gem statically includes that library. The resulting packaged gem and `mysql2.so` file looks something like this.
|
18
19
|
|
19
20
|
```shell
|
20
21
|
$ ldd mysql2.so
|
@@ -41,7 +42,12 @@ Clone or fork this repository, make sure you have Docker installed, then run the
|
|
41
42
|
./bin/build
|
42
43
|
```
|
43
44
|
|
44
|
-
You will now have a packaged gem in the root of your project.
|
45
|
+
You will now have a packaged gem in the root of your project. Simple tests to make sure it works.
|
46
|
+
|
47
|
+
```shell
|
48
|
+
./bin/test 2.5
|
49
|
+
./bin/test 2.7
|
50
|
+
```
|
45
51
|
|
46
52
|
## License
|
47
53
|
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.5.3
|
data/lib/mysql2/mysql2.so
CHANGED
Binary file
|
data/mysql2-lambda.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mysql2-lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.3.
|
4
|
+
version: 0.5.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -17,9 +17,11 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
+
- "./BUILD"
|
20
21
|
- "./CHANGELOG.md"
|
21
22
|
- "./LICENSE"
|
22
23
|
- "./README.md"
|
24
|
+
- "./VERSION"
|
23
25
|
- "./lib/mysql2-lambda.rb"
|
24
26
|
- "./lib/mysql2.rb"
|
25
27
|
- "./lib/mysql2/client.rb"
|
@@ -37,9 +39,9 @@ licenses:
|
|
37
39
|
- MIT
|
38
40
|
metadata:
|
39
41
|
bug_tracker_uri: https://github.com/customink/mysql2-lambda/issues
|
40
|
-
changelog_uri: https://github.com/customink/mysql2-lambda/releases/tag/0.5.3.
|
42
|
+
changelog_uri: https://github.com/customink/mysql2-lambda/releases/tag/0.5.3.1
|
41
43
|
homepage_uri: https://github.com/customink/mysql2-lambda
|
42
|
-
source_code_uri: https://github.com/customink/mysql2-lambda/tree/0.5.3.
|
44
|
+
source_code_uri: https://github.com/customink/mysql2-lambda/tree/0.5.3.1
|
43
45
|
post_install_message:
|
44
46
|
rdoc_options:
|
45
47
|
- "--charset=UTF-8"
|