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 3
3
4
4
if ENV [ "MAINTAINER_MODE" ]
5
5
warn "Maintainer mode enabled."
6
- $CFLAGS <<
6
+ $CFLAGS << # standard:disable Style/GlobalVars
7
7
" -Wall" \
8
8
" -ggdb" \
9
9
" -DDEBUG" \
10
10
" -pedantic"
11
- $LDFLAGS <<
11
+ $LDFLAGS << # standard:disable Style/GlobalVars
12
12
" -ggdb"
13
13
end
14
14
15
- if gem_platform = with_config ( "cross-build" )
15
+ if ( gem_platform = with_config ( "cross-build" ) )
16
16
require "mini_portile2"
17
17
18
18
openssl_platform = with_config ( "openssl-platform" )
@@ -122,7 +122,7 @@ def configure_defaults
122
122
end
123
123
124
124
# 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
126
126
127
127
dir_config ( "freetds" , "#{ freetds_recipe . path } /include" , "#{ freetds_recipe . path } /lib" )
128
128
else
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class ThreadTest < TinyTds::TestCase
46
46
@pool . with do |client |
47
47
result = client . execute "select dbname()"
48
48
result . each { |r | puts r }
49
- rescue Exception => _e
49
+ rescue => _e
50
50
# We are throwing an error on purpose here since 0.6.1 would
51
51
# segfault on errors thrown in threads
52
52
end
You can’t perform that action at this time.
0 commit comments