tiny_tds 0.9.5.beta.6-x64-mingw32 → 0.9.5.beta.7-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: e8932feb115224feedc3155f793ea62fe9c3a1d2
4
- data.tar.gz: ef2c34e25f06d34a19db0405bdce16b05038ed72
3
+ metadata.gz: 9c12a1c2a1e4a18ec5697b5df567f17751d7d0fb
4
+ data.tar.gz: 02fe36d719fa01a0009662e5fb987cd03a14fc75
5
5
  SHA512:
6
- metadata.gz: f24ec21783f753b32d2cca1cd50874e13e5bab8536eeefc3ad43a920e0674aed601a1447342fda70e56931344fd86be1f71b0320e5d129c64b76b710593525cb
7
- data.tar.gz: 323760818395502a743b325dd26da0d2713644c8a0e138a63ac2c7f735a8cfded8229eb28108136593a8e98277ddaa4af3b2cacbec5aceacb0708f9c80c34950
6
+ metadata.gz: b032cb2d5758a7c61457ee621672b4e022b4ff1a485c3fa9f67d07c5b9c165ab2026d1e9dca9ab8c0c4edcab86d3853224be7188024ddd6e251e369aede0e426
7
+ data.tar.gz: 6e1daffb5e301efab6c1facf9687c19af4795ee41786d49d8ac36df3c3d7e99abd24d7676a66f6f7e12ce84ea7c989174251382269e583734104d6c58f8401ac
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
  }
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: 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-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