fb 0.7.5 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/extconf.rb +1 -1
  3. data/fb.c +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d355708819fa90d7b6d797ea6a66d4df6bc724c
4
- data.tar.gz: 6ec6b2d0ec8ca6725a69378ad511712cb68b2841
3
+ metadata.gz: 56b7ad010f318291b4148cebb5414df0b7c1a79c
4
+ data.tar.gz: 5ca9b16f94542bbf38d4242c4bafd7006bf2053f
5
5
  SHA512:
6
- metadata.gz: c6438765aa02be661b1ca49b21459b200329dc4466d925509be5967ea3bc9658b239b55a6206a4100ee0c0f69a6a56f25fd34eb0a6304be06303cfb288f069d1
7
- data.tar.gz: 642f27e3b5d0d5adbe28ed6692453278a9b6beb2c5e1f9f715679e72a699655a4d494f13356e37e4664f658fa71ca55303832a75d03ba1f81f5a6a59fd7ebee7
6
+ metadata.gz: 942287471507083b6dc9f79afa188442c32b3d397eb1119b9fd48f6fabf45e576dcab4f8d7282593d9a7f788692636a8534d9901ae60d6189142d75c8118da4b
7
+ data.tar.gz: 5f576f90e7cb59f5aeaa3bff5cb1471200b3d1a08bef3f0f1c3dd218ed79c6a89a0cc3e8de0c222c300ff4a5ccde6c6f7f36e4ae98c5469f597772232f397931
data/extconf.rb CHANGED
@@ -48,7 +48,7 @@ case RUBY_PLATFORM
48
48
  $CFLAGS = $CFLAGS + " -DOS_WIN32"
49
49
  libs.push "fbclient_ms"
50
50
  when /darwin/
51
- hosttype = `uname -m`.chomp
51
+ # hosttype = `uname -m`.chomp
52
52
  $CFLAGS += " -DOS_UNIX"
53
53
  # $CFLAGS.gsub!(/-arch (\w+)/) { |m| $1 == hosttype ? m : '' }
54
54
  # $LDFLAGS.gsub!(/-arch (\w+)/) { |m| $1 == hosttype ? m : '' }
data/fb.c CHANGED
@@ -1406,7 +1406,7 @@ static void fb_cursor_set_inputparams(struct FbCursor *fb_cursor, long argc, VAL
1406
1406
  } else {
1407
1407
  lvalue = NUM2LONG(object_to_fixnum(obj));
1408
1408
  }
1409
- if (lvalue < -2147483648 || lvalue > 2147483647) {
1409
+ if (lvalue < -2147483648LL || lvalue > 2147483647LL) {
1410
1410
  rb_raise(rb_eRangeError, "integer overflow");
1411
1411
  }
1412
1412
  *(ISC_LONG *)var->sqldata = (ISC_LONG)lvalue;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brent Rowland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-14 00:00:00.000000000 Z
11
+ date: 2016-04-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby Firebird Extension Library
14
14
  email: rowland@rowlandresearch.com
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - Firebird client library fbclient.dll, libfbclient.so or Firebird.framework.
60
60
  rubyforge_project:
61
- rubygems_version: 2.2.5
61
+ rubygems_version: 2.4.5.1
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: Firebird database driver