tiny_tds 0.9.5.beta.4-x64-mingw32 → 0.9.5.beta.5-x64-mingw32

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
  SHA1:
3
- metadata.gz: 77cd8542223fbc8285e78deeba769e0760fb7a35
4
- data.tar.gz: 4ce21373cac4a4251592a9a1a990321a3536709e
3
+ metadata.gz: c66ffbe4184ded64e19b57ea90b1ac4326749cbc
4
+ data.tar.gz: 47926a9a811bdcb70c61d010c00a59c6e5c7fe3b
5
5
  SHA512:
6
- metadata.gz: 800000e21ad2d1eafa43e3aa0ab9d36f8260881a14a481ceb0845653a90726a4c88e9ffa537c9a8d328f08e33a5f079d16f532dc810305bb62136dff97a1b652
7
- data.tar.gz: 7ca4c101fd863e03b520ca6577140710f0cf9f9a07a5e104c29df6ae8b311607308fbf4a022840b8ce19ccc74a7665192c6db808d827ca404b3c0806caaddd20
6
+ metadata.gz: b473a81c339b85750101a042e86519540c316046878dac7ab6df5ec74a53201b5a9a8c5d1536762a43b07053696dccdfffc614f4cb6cac4a0ed35e40ad15cbfe
7
+ data.tar.gz: 8e234a9a72e7213a6ceef5cb35a2595d8df2298f9c5409a7689e4951825b8b5be7f99f5266d3d09efb1f7e521636bc7fdef67838e7b2dae87165c409f5bf416a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.beta.4
1
+ 0.9.5.beta.5
data/exe/defncopy.exe CHANGED
Binary file
data/exe/tsql.exe CHANGED
Binary file
@@ -308,7 +308,7 @@ static VALUE rb_tinytds_result_fetch_row(VALUE self, ID timezone, int symbolize_
308
308
  }
309
309
  case 43: { // SYBMSDATETIMEOFFSET
310
310
  VALUE rational_sec = rb_Rational(INT2NUM(dr2.nanosecond), opt_onebil);
311
- 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));
311
+ 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
312
  break;
313
313
  }
314
314
  }
data/test/schema_test.rb CHANGED
@@ -396,15 +396,15 @@ class SchemaTest < TinyTds::TestCase
396
396
  if @client.tds_73?
397
397
  assertions = lambda {
398
398
  assert_instance_of Time, v
399
- assert_equal 1984, v.year, 'Year'
400
- assert_equal 1, v.month, 'Month'
401
- assert_equal 24, v.day, 'Day'
402
- assert_equal 4, v.hour, 'Hour'
403
- assert_equal 20, v.min, 'Minute'
404
- assert_equal 0, v.sec, 'Second'
405
- assert_equal 123456, v.usec, 'Microseconds'
406
- assert_equal 123456700, v.nsec, 'Nanoseconds'
407
- assert_equal -480, v.utc_offset, 'Offset'
399
+ assert_equal 1984, v.year, 'Year'
400
+ assert_equal 1, v.month, 'Month'
401
+ assert_equal 24, v.day, 'Day'
402
+ assert_equal 4, v.hour, 'Hour'
403
+ assert_equal 20, v.min, 'Minute'
404
+ assert_equal 0, v.sec, 'Second'
405
+ assert_equal 123456, v.usec, 'Microseconds'
406
+ assert_equal 123456700, v.nsec, 'Nanoseconds'
407
+ assert_equal -28800, v.utc_offset, 'Offset'
408
408
  }
409
409
  assertions.call
410
410
  v = find_value 84, :datetimeoffset_7, timezone: :local
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
4
+ version: 0.9.5.beta.5
5
5
  platform: x64-mingw32
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: 2015-12-26 00:00:00.000000000 Z
13
+ date: 2015-12-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2