monetdb 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.rdoc +4 -0
- data/MIT-LICENSE +1 -1
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/lib/monetdb/connection/setup.rb +10 -1
- data/lib/monetdb/version.rb +1 -1
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 73f1747ab809bd5172556c23f57da90b6a2e9e0c8b74e02c8854e9c9b7cef146
|
4
|
+
data.tar.gz: fddc08af1f51004d76e53d9386cccaad63785a63645b92215df779476fc6dc1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39d76a72b954946dda0485715f9112608a10e443d3ae7f570a81dfea35e2a726110769453bb05d4b45c2e7e05900c4c957a1b6f09143ba13e910860a2b8f6485
|
7
|
+
data.tar.gz: c3feaab8f922362e48463cb8a77e6827e73af662f9d30f9cb4bdea3e1ba7f3255ebf40accfc1f1682fde0cb4c6229750d718cd5d2e0ad505bf51ea5e6a69c4ec
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= MonetDB CHANGELOG
|
2
2
|
|
3
|
+
== Version 0.2.10 (May 6, 2020)
|
4
|
+
|
5
|
+
* Allow negative time zone offsets from GMT (credits to https://github.com/WillyT59)
|
6
|
+
|
3
7
|
== Version 0.2.9 (July 3, 2015)
|
4
8
|
|
5
9
|
* Support for UTF-8 and extra data types (credits to https://github.com/dlorson)
|
data/MIT-LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -16,9 +16,9 @@ Run the following in your console to install with Bundler:
|
|
16
16
|
|
17
17
|
=== License
|
18
18
|
|
19
|
-
Copyright (c)
|
19
|
+
Copyright (c) 2020 Paul Engel, released under the MIT License
|
20
20
|
|
21
|
-
http://
|
21
|
+
http://github.com/archan937 – http://twitter.com/archan937 – {pm_engel@icloud.com}[mailto:pm_engel@icloud.com]
|
22
22
|
|
23
23
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
24
24
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.10
|
@@ -101,7 +101,16 @@ module MonetDB
|
|
101
101
|
return false if @timezone_interval_set
|
102
102
|
|
103
103
|
offset = Time.now.gmt_offset / 3600
|
104
|
-
|
104
|
+
|
105
|
+
# BT: patch to allow for negative offsets from GMT
|
106
|
+
|
107
|
+
# interval = "'+#{offset.to_s.rjust(2, "0")}:00'"
|
108
|
+
|
109
|
+
offset_sign = offset<0?"-":"+"
|
110
|
+
offset = offset.abs
|
111
|
+
interval = "'#{offset_sign.to_s}#{offset.to_s.rjust(2, "0")}:00'"
|
112
|
+
|
113
|
+
# BT: end patch
|
105
114
|
|
106
115
|
write "sSET TIME ZONE INTERVAL #{interval} HOUR TO MINUTE;"
|
107
116
|
response = read
|
data/lib/monetdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monetdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Engel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -150,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
|
-
|
154
|
-
rubygems_version: 2.2.2
|
153
|
+
rubygems_version: 3.0.6
|
155
154
|
signing_key:
|
156
155
|
specification_version: 4
|
157
156
|
summary: A pure Ruby database driver for MonetDB (monetdb5-sql)
|
@@ -167,4 +166,3 @@ test_files:
|
|
167
166
|
- test/unit/connection/test_setup.rb
|
168
167
|
- test/unit/test_connection.rb
|
169
168
|
- test/unit/test_monetdb.rb
|
170
|
-
has_rdoc:
|