mysql2-lambda-test 0.5.3.test3 → 0.5.3.test4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mysql2.rb +7 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f794ed50226329f053ed889530c64d5bbf9be4f2d37cf6f544c37501d0e6d1a6
4
- data.tar.gz: bd7287aa591853e915605f0eadef232a4272f2a66f4c72065c25a21f72ad3ccc
3
+ metadata.gz: b381613ebbc2894fc4234eb74dccd4ee7619d23a5365cbc27c7898aff024a67a
4
+ data.tar.gz: 9f71f12e7a357a1908fa38167080b83e5e7e5cc64a5f642a225c4e69eaa9189c
5
5
  SHA512:
6
- metadata.gz: e46c07044eb5047ba85c5844b380aba273391135bf9ef83a68204bedf8ecea240b5c1fa26b81081472f2fbf3c1c74775a37ab0cd163b344f48e76a25150cbfef
7
- data.tar.gz: 9b4d91609d42cf508cef9cc395babeadafa4da1a114492bd36f61f7856b655fe6f494c168acf83ba5a20c66da02afd29fb6809e1d37ee5586711a4b65b8600ed
6
+ metadata.gz: 3fd4e253f0dbbbb311aef923a93966015accc81a598570ed3114b5641d29dc093f9b2f0adf7ce9365f5cba5b22d494c95390e40f07a066859bfe6be5e1307acd
7
+ data.tar.gz: ddff2b3352fb0be6ba4511f134b35f19aa3eda6581d2680a0c5ede73b4c6a4c7520841f34c9a9494ad2285e35d6d75aabd9a869d4804cd40a69d193569b6b73a
@@ -1,6 +1,13 @@
1
1
  require 'date'
2
2
  require 'bigdecimal'
3
3
 
4
+ ldpath = File.expand_path('lib/mysql2', File.dirname(__FILE__))
5
+ ENV['LD_LIBRARY_PATH'] = if ENV['LD_LIBRARY_PATH']
6
+ "ldpath:#{ENV['LD_LIBRARY_PATH']}"
7
+ else
8
+ ldpath
9
+ end
10
+
4
11
  # Load libmysql.dll before requiring mysql2/mysql2.so
5
12
  # This gives a chance to be flexible about the load path
6
13
  # Or to bomb out with a clear error message instead of a linker crash
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2-lambda-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3.test3
4
+ version: 0.5.3.test4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
@@ -37,9 +37,9 @@ licenses:
37
37
  - MIT
38
38
  metadata:
39
39
  bug_tracker_uri: https://github.com/customink/mysql2-lambda-test/issues
40
- changelog_uri: https://github.com/customink/mysql2-lambda-test/releases/tag/0.5.3.test3
40
+ changelog_uri: https://github.com/customink/mysql2-lambda-test/releases/tag/0.5.3.test4
41
41
  homepage_uri: https://github.com/customink/mysql2-lambda-test
42
- source_code_uri: https://github.com/customink/mysql2-lambda-test/tree/0.5.3.test3
42
+ source_code_uri: https://github.com/customink/mysql2-lambda-test/tree/0.5.3.test4
43
43
  post_install_message:
44
44
  rdoc_options:
45
45
  - "--charset=UTF-8"