Sha256: ef4e5c5abf5d8dce27aece4a92566c01c155c9af7d497fefdc06b6a7f452d3b0

Contents?: true

Size: 701 Bytes

Versions: 5

Compression:

Stored size: 701 Bytes

Contents

#include <ruby.h>

static VALUE marshal_module;

static VALUE rb_sym_assess_load_trigger_check;
static VALUE properties_hash;

/*
 * Rails is a jerk. In Rails 5, they decided to do away with the alias chaining
 * approach in favor of the prepend approach. While we'll need to add long term
 * support for prepend, so far, the only method that we've found that is used
 * regularly by Rails / that is constantly prepended is Marshal.load. We'll
 * special case this for now.
 * -HM (shamelessly commenting on DP's work)
 */
static VALUE contrast_assess_marshal_module_load(const int argc,
                                                 const VALUE *argv);

void Init_cs__assess_marshal_module(void);

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
contrast-agent-4.2.0 ext/cs__assess_marshal_module/cs__assess_marshal_module.h
contrast-agent-4.1.0 ext/cs__assess_marshal_module/cs__assess_marshal_module.h
contrast-agent-4.0.0 ext/cs__assess_marshal_module/cs__assess_marshal_module.h
contrast-agent-3.16.0 ext/cs__assess_marshal_module/cs__assess_marshal_module.h
contrast-agent-3.15.0 ext/cs__assess_marshal_module/cs__assess_marshal_module.h