tiny_tds 0.9.5.beta.6 → 0.9.5.beta.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/ext/tiny_tds/result.c +2 -1
- data/test/schema_test.rb +0 -1
- data/test/test_helper.rb +0 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8401d1c4808d9a579a902e27faf97396c40c65c2
|
4
|
+
data.tar.gz: 523bf9861a9f13768e6e32c641135dabaebb11af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2db3827dd9bb7f31585b9f8e9c6c00de34be95f272ce12bbd7c18bf2ffe1373bc323b97136c38f07324bca4581f42db1cd5bfcda3beae5ab34d8a23243945a
|
7
|
+
data.tar.gz: 7d602a6413f4e1d89319dc74c7bbe301329e3d79c19d01d909e40ee96084a4ce1ae1a19c3cf659bdf66f7e4f1631abc9073fbb262eb43eba2a64f4a5e69d6409
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.5.beta.
|
1
|
+
0.9.5.beta.7
|
data/ext/tiny_tds/result.c
CHANGED
@@ -307,7 +307,8 @@ static VALUE rb_tinytds_result_fetch_row(VALUE self, ID timezone, int symbolize_
|
|
307
307
|
break;
|
308
308
|
}
|
309
309
|
case 43: { // SYBMSDATETIMEOFFSET
|
310
|
-
|
310
|
+
long long numerator = ((long)dr2.second * (long long)1000000000) + (long long)dr2.nanosecond;
|
311
|
+
VALUE rational_sec = rb_Rational(LL2NUM(numerator), opt_onebil);
|
311
312
|
val = rb_funcall(rb_cTime, intern_new, 7, INT2NUM(dr2.year), INT2NUM(dr2.month), INT2NUM(dr2.day), INT2NUM(dr2.hour), INT2NUM(dr2.minute), rational_sec, INT2NUM(dr2.tzone*60));
|
312
313
|
break;
|
313
314
|
}
|
data/test/schema_test.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -134,10 +134,6 @@ module TinyTds
|
|
134
134
|
assert_equal Encoding.find('UTF-8'), value.encoding
|
135
135
|
end
|
136
136
|
|
137
|
-
def windows_32bit?
|
138
|
-
RbConfig::CONFIG['host_os'] == 'mingw32' && RbConfig::CONFIG['host'] =~ /i686-pc/
|
139
|
-
end
|
140
|
-
|
141
137
|
def rubyRbx?
|
142
138
|
RUBY_DESCRIPTION =~ /rubinius/i
|
143
139
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_tds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.5.beta.
|
4
|
+
version: 0.9.5.beta.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-01-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mini_portile2
|
@@ -198,3 +198,4 @@ test_files:
|
|
198
198
|
- test/schema_test.rb
|
199
199
|
- test/test_helper.rb
|
200
200
|
- test/thread_test.rb
|
201
|
+
has_rdoc:
|