tiny_tds 0.9.5.beta.4-x86-mingw32 → 0.9.5.beta.5-x86-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: f7b96716633f8100bbaea0487269f2867593dc2d
4
- data.tar.gz: 0eb81bd79e51e1eb8be5237afdec38fa25337174
3
+ metadata.gz: 6d8be3ff2637a40aefe2650e08cc8365f307c0de
4
+ data.tar.gz: 8f0c8d4f3b0d796abd245b0c15a742ba086e8781
5
5
  SHA512:
6
- metadata.gz: 5d4998706e705dd228c5c6cce5039e53ffe7f4407273b2a1a89d5779ed0f8aea02e18b571e00869949826a48526ffd62dedc549f2f979a7be86f1e28c87d8836
7
- data.tar.gz: 22ca9c05b9c8ac56bee41e00bc0be4c72f5cc4bc738d7f7d038779adcf02a3f1a5f560aeb031eae79ff50fbb50dbf5037d2211a386fb10c917faf377d3772c73
6
+ metadata.gz: 04b9c008c4f4761acba4cc9074575b2807f495997fc406385a5b9b5e0d00ae80bd7588bc823721af9841a5ccc6982ee2189092392984cde119d13d092059022a
7
+ data.tar.gz: fc0d396433ce47c1dc48e04c641ee6054b178dc9a04a7a0044c46c72abc1f936721548cd9e01a951649db084c913058a78767468911f3a0fa4dc8ee72aba96a6
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
  }
Binary file
Binary file
Binary file
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: x86-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