@@ -176,8 +176,8 @@ def method_hook(cls, method_names, labels)
176
176
package_hooks ( 'actionpack' ,
177
177
[
178
178
method_hook ( 'ActionDispatch::Request::Session' , %i[ [] dig values fetch ] , %w[ http.session.read ] ) ,
179
- method_hook ( 'ActionDispatch::Request::Session' , %i[ destroy[]= clear update delete merge ] , %w[ http.session.write ] ) ,
180
- method_hook ( 'ActionDispatch::Cookies::CookieJar' , %i[ []= clear update delete recycle ] , %w[ http.session.read ] ) ,
179
+ method_hook ( 'ActionDispatch::Request::Session' , %i[ destroy []= clear update delete merge ] , %w[ http.session.write ] ) ,
180
+ method_hook ( 'ActionDispatch::Cookies::CookieJar' , %i[ [] fetch ] , %w[ http.session.read ] ) ,
181
181
method_hook ( 'ActionDispatch::Cookies::CookieJar' , %i[ []= clear update delete recycle ] , %w[ http.session.write ] ) ,
182
182
method_hook ( 'ActionDispatch::Cookies::EncryptedCookieJar' , %i[ []= clear update delete recycle ] , %w[ http.cookie crypto.encrypt ] )
183
183
] ,
@@ -360,6 +360,7 @@ def load(config_data)
360
360
gem = package [ 'gem' ]
361
361
path = package [ 'path' ]
362
362
raise %q(AppMap config 'package' element should specify 'gem' or 'path', not both) if gem && path
363
+ raise %q(AppMap config 'package' element should specify 'gem' or 'path') unless gem || path
363
364
364
365
if gem
365
366
shallow = package [ 'shallow' ]
0 commit comments