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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b65376c8c44ab25d53fb11a3ea71eccdefdf17af
4
- data.tar.gz: c1cc54f229f805c5b881afe0f407a99ee4c74399
2
+ SHA256:
3
+ metadata.gz: 73f1747ab809bd5172556c23f57da90b6a2e9e0c8b74e02c8854e9c9b7cef146
4
+ data.tar.gz: fddc08af1f51004d76e53d9386cccaad63785a63645b92215df779476fc6dc1c
5
5
  SHA512:
6
- metadata.gz: 982b33bae2e5b601f4e6e687cba94ec8904e61bb531a8b8534ebc555d7927c68969dcecb600be613640d03fd7dac6e068b25ba4d3c92a679c642476998c3ce93
7
- data.tar.gz: bb80bdfc4bc714da1cae585fa7144aae2b88531413227c0c29e1dc8956d247aef4f1136b9b06f62270588ffb04b70338c722f5209a1c331413b07d0fe16f6c14
6
+ metadata.gz: 39d76a72b954946dda0485715f9112608a10e443d3ae7f570a81dfea35e2a726110769453bb05d4b45c2e7e05900c4c957a1b6f09143ba13e910860a2b8f6485
7
+ data.tar.gz: c3feaab8f922362e48463cb8a77e6827e73af662f9d30f9cb4bdea3e1ba7f3255ebf40accfc1f1682fde0cb4c6229750d718cd5d2e0ad505bf51ea5e6a69c4ec
@@ -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)
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Paul Engel
1
+ Copyright (c) 2020 Paul Engel, released under the MIT License
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -16,9 +16,9 @@ Run the following in your console to install with Bundler:
16
16
 
17
17
  === License
18
18
 
19
- Copyright (c) 2014 Paul Engel, released under the MIT License
19
+ Copyright (c) 2020 Paul Engel, released under the MIT License
20
20
 
21
- http://gettopup.com – http://github.com/archan937 – http://twitter.com/archan937 – {pm_engel@icloud.com}[mailto:pm_engel@icloud.com]
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.9
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
- interval = "'+#{offset.to_s.rjust(2, "0")}:00'"
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
@@ -1,7 +1,7 @@
1
1
  module MonetDB
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- TINY = 9
4
+ TINY = 10
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
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.9
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: 2015-07-02 00:00:00.000000000 Z
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
- rubyforge_project:
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: