tiny_tds 0.9.5.beta.6-x86-mingw32 → 0.9.5.beta.7-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bccb5c9866600fb7fbb0adf319cadbddbc3e7053
4
- data.tar.gz: a0946ec50315e5b35e97b1b41b3486ca550969a8
3
+ metadata.gz: 9ca68e81e7b82558d91ce4d9e799def7f73b2efe
4
+ data.tar.gz: 3468e9dabcef7dfac92b81accec0bb868baf26e2
5
5
  SHA512:
6
- metadata.gz: 262624d8717b9d97a68b415dd3ff020410a3c7bebf3c3e7e4fcaa6ad8c05d9898d7c746d16601e23a46d09b27ded8010395b47694984937ef5942393bfc9fa1f
7
- data.tar.gz: f2413d1ed09d843433ebb8e230cb2cf656beb97189285adae2a10c22ab9c0740e10ee8d8b5df9761777fdaa6c336dd8ad1883b84ce3647cf77e0e5b4b7ed13e9
6
+ metadata.gz: c1577555214f6f39635737f2c10ea01e9a799f9f2747c001efd70f9372de38a7707936339e617f28ff0a75b9b3e7252f8e66a66fcb420cd5c9c8035cf005e699
7
+ data.tar.gz: 0849c9a579d2b3e0da27cbe60a3ad058396a874161a06d005e8f892e9a582694c08ff466cfcb3d7ecd1349894e76c4ca7d93f171416afbeaec4aa976ce3c74be
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.beta.6
1
+ 0.9.5.beta.7
data/exe/defncopy.exe CHANGED
Binary file
data/exe/tsql.exe CHANGED
Binary file
@@ -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
- VALUE rational_sec = rb_Rational(INT2NUM((dr2.second * 1000000000) + dr2.nanosecond), opt_onebil);
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
  }
Binary file
Binary file
Binary file
data/test/schema_test.rb CHANGED
@@ -391,7 +391,6 @@ class SchemaTest < TinyTds::TestCase
391
391
  end
392
392
 
393
393
  it 'casts datetimeoffset' do
394
- skip 'datetimeoffset argument out of range' if windows_32bit?
395
394
  # 1984-01-24T04:20:00.1234567-08:00
396
395
  v = find_value 84, :datetimeoffset_7
397
396
  if @client.tds_73?
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.6
4
+ version: 0.9.5.beta.7
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-29 00:00:00.000000000 Z
13
+ date: 2016-01-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2