contrast-agent 4.4.0 → 4.4.1

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
  SHA256:
3
- metadata.gz: 0e9acb88aec7b0f51a076b5358738fa6d0c245bb2d91c2dfcf41d2f9fb3ed204
4
- data.tar.gz: 405ba4ca7da645d6f06767961341c587bc6369279f62742ae7b86d5dc0b6101c
3
+ metadata.gz: b4d68285ac88a47686f1f2010c289acd21aef951c5189301cf26b0fff4ccd4ec
4
+ data.tar.gz: 80c18eddb06ed198fba30c8845f26ca608125bdba1ab9fc54386bfc5b1e7aa71
5
5
  SHA512:
6
- metadata.gz: 4bf982f03e6daa5425c13adcb0b2c332745a9dee27733d5f90d77a4e5b4c9983a71b39f7cc0f836d19fc04b9b2a6e4eaf39ef2732be65921fd7c2f125a53b685
7
- data.tar.gz: c18d27bc472db9037ada00561a81cf0eed181ee717ab7c20f40f39d4675fd1a797b00c0109792afb3902b107ae37b69c3c564399a2d2ca1882dd2ed71f0c93fe
6
+ metadata.gz: 262f3392e5af935faca1fd6404935911f4f1b1a6da2c086820988c726a68a9f99a1778c3f05b7d1b2a469024aaedb2b213176597c9525c622153f3300333aac5
7
+ data.tar.gz: 908ea4039a1a72c4d2b3d7354cd54362d9a3a3a5ca806ac645e858e2462701735618b12c07f0481496066ebf391749403b94a36e41ef4ac98dffea599ddb9c41
@@ -55,6 +55,10 @@ module Contrast
55
55
  'Catching up on already loaded afterload patch - applying instrumentation',
56
56
  module: after_load_patch.module_name)
57
57
  after_load_patch.instrument!
58
+ rescue NameError => e
59
+ logger.error('Method undefined in afterload patch', e, module: after_load_patch.module_name, method: after_load_patch.method_to_instrument)
60
+ rescue StandardError => e
61
+ logger.error('Afterload patch failed to apply', e, module: after_load_patch.module_name, method: after_load_patch.method_to_instrument)
58
62
  end
59
63
  after_load_patches.delete_if(&:applied?)
60
64
  end
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Contrast
5
5
  module Agent
6
- VERSION = '4.4.0'
6
+ VERSION = '4.4.1'
7
7
  end
8
8
  end
@@ -205,12 +205,6 @@
205
205
  "method_visibility": "public",
206
206
  "method_name":"exists?",
207
207
  "code": "https://github.com/rails/rails/blob/v6.0.3.4/actionpack/lib/action_dispatch/request/session.rb#L201"
208
- }, {
209
- "class_name":"ActionView::Template",
210
- "instance_method":true,
211
- "method_visibility": "private",
212
- "method_name":"method_name",
213
- "code": "https://github.com/rails/rails/blob/v6.0.3.4/actionview/lib/action_view/template.rb#L368"
214
208
  }
215
209
  ]
216
210
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contrast-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - galen.palmer@contrastsecurity.com
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2021-02-25 00:00:00.000000000 Z
16
+ date: 2021-03-10 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: bundler
@@ -513,20 +513,20 @@ executables:
513
513
  - contrast_service
514
514
  extensions:
515
515
  - ext/cs__common/extconf.rb
516
- - ext/cs__assess_active_record_named/extconf.rb
517
- - ext/cs__assess_string/extconf.rb
518
- - ext/cs__assess_kernel/extconf.rb
519
516
  - ext/cs__assess_basic_object/extconf.rb
520
- - ext/cs__assess_regexp/extconf.rb
521
- - ext/cs__assess_yield_track/extconf.rb
522
- - ext/cs__assess_fiber_track/extconf.rb
523
- - ext/cs__assess_hash/extconf.rb
524
- - ext/cs__assess_array/extconf.rb
525
517
  - ext/cs__assess_string_interpolation26/extconf.rb
518
+ - ext/cs__assess_array/extconf.rb
519
+ - ext/cs__protect_kernel/extconf.rb
520
+ - ext/cs__assess_kernel/extconf.rb
526
521
  - ext/cs__assess_module/extconf.rb
527
- - ext/cs__assess_marshal_module/extconf.rb
522
+ - ext/cs__assess_string/extconf.rb
523
+ - ext/cs__assess_active_record_named/extconf.rb
524
+ - ext/cs__assess_yield_track/extconf.rb
528
525
  - ext/cs__contrast_patch/extconf.rb
529
- - ext/cs__protect_kernel/extconf.rb
526
+ - ext/cs__assess_hash/extconf.rb
527
+ - ext/cs__assess_regexp/extconf.rb
528
+ - ext/cs__assess_marshal_module/extconf.rb
529
+ - ext/cs__assess_fiber_track/extconf.rb
530
530
  extra_rdoc_files: []
531
531
  files:
532
532
  - ".clang-format"