File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 33
44if ENV [ "MAINTAINER_MODE" ]
55 warn "Maintainer mode enabled."
6- $CFLAGS <<
6+ $CFLAGS << # standard:disable Style/GlobalVars
77 " -Wall" \
88 " -ggdb" \
99 " -DDEBUG" \
1010 " -pedantic"
11- $LDFLAGS <<
11+ $LDFLAGS << # standard:disable Style/GlobalVars
1212 " -ggdb"
1313end
1414
15- if gem_platform = with_config ( "cross-build" )
15+ if ( gem_platform = with_config ( "cross-build" ) )
1616 require "mini_portile2"
1717
1818 openssl_platform = with_config ( "openssl-platform" )
@@ -122,7 +122,7 @@ def configure_defaults
122122 end
123123
124124 # enable relative path to later load the FreeTDS shared library
125- $LDFLAGS << " '-Wl,-rpath=$$ORIGIN/../../../ports/#{ gem_platform } /lib'"
125+ $LDFLAGS << " '-Wl,-rpath=$$ORIGIN/../../../ports/#{ gem_platform } /lib'" # standard:disable Style/GlobalVars
126126
127127 dir_config ( "freetds" , "#{ freetds_recipe . path } /include" , "#{ freetds_recipe . path } /lib" )
128128else
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class ThreadTest < TinyTds::TestCase
4646 @pool . with do |client |
4747 result = client . execute "select dbname()"
4848 result . each { |r | puts r }
49- rescue Exception => _e
49+ rescue => _e
5050 # We are throwing an error on purpose here since 0.6.1 would
5151 # segfault on errors thrown in threads
5252 end
You can’t perform that action at this time.
0 commit comments