mysql2-lambda 0.5.3.0 → 0.5.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 887d1117dc8c532af8498c0d3a662e3ec52780b81383cc7f6c2c2e05acef3de7
4
- data.tar.gz: 5dee6353eaf94b987220507d7253575eefd0983bb017c36ef6c799bad476dac6
3
+ metadata.gz: 461c705d045a2f5b86b43a07ff61046561fb93492912205cf7b4a303651e77cd
4
+ data.tar.gz: 8bf8b747d5efc77ffc3e19bc4c6978a308110b930ddb6c7b785eb192ee985137
5
5
  SHA512:
6
- metadata.gz: 7bcb69c69bb9d28b7712882edd92d05acb13c3fc62f35ef9d60871b061505943f2abf79d0f7fde04c0a02e4b5192c8417b9d98d7cc5c2b9af5d0741067e84689
7
- data.tar.gz: d61dbf797db6643911e5872c373fa84160cf28d19040f92f9dba37c27f4132e9fd69def015269d88124b83495362efd3e033a0f1901d0d7943e1ef94167dce7f
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
- # MySQL2 Lambda Gem
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 `lambci/lambda:build-ruby2.5` Docker image from the [docker-lambda](https://github.com/lambci/docker-lambda) 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
+ 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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'mysql2-lambda'
3
- s.version = '0.5.3.0'
3
+ s.version = "#{File.read('VERSION').strip}.#{File.read('BUILD').strip}"
4
4
  s.authors = ['Ken Collins']
5
5
  s.license = "MIT"
6
6
  s.email = ['kcollins@customink.com']
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.0
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: 2020-07-05 00:00:00.000000000 Z
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.0
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.0
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"