You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

scriptup

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scriptup - rubygems Package Compare versions

Comparing version
2024.0.2
to
2024.0.3
+1
-0
ext/attribute_dictionaries.c

@@ -39,2 +39,3 @@ #include <stdbool.h>

VALUE Sketchup_AttributeDictionaries = rb_define_class_under(Sketchup, ATTRIBUTEDICTIONARIES, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_AttributeDictionaries);
rb_include_module(Sketchup_AttributeDictionaries, rb_mEnumerable);

@@ -41,0 +42,0 @@ rb_define_method(Sketchup_AttributeDictionaries, "[]", Sketchup_AttributeDictionaries_get, 1);

@@ -143,2 +143,3 @@ #include <stdbool.h>

VALUE Sketchup_AttributeDictionary = rb_define_class_under(Sketchup, ATTRIBUTEDICTIONARY, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_AttributeDictionary);
rb_include_module(Sketchup_AttributeDictionary, rb_mEnumerable);

@@ -145,0 +146,0 @@ rb_define_method(Sketchup_AttributeDictionary, "[]", Sketchup_AttributeDictionary_get, 1);

@@ -9,3 +9,4 @@ #include <stdbool.h>

VALUE Sketchup_Behavior = rb_define_class_under(Sketchup, BEHAVIOR, Entity);
rb_undef_alloc_func(Sketchup_Behavior);
return Sketchup_Behavior;
}

@@ -169,2 +169,3 @@ #include <stdbool.h>

VALUE Sketchup_ComponentDefinition = rb_define_class_under(Sketchup, COMPONENTDEFINITION, Sketchup_DrawingElement);
rb_undef_alloc_func(Sketchup_ComponentDefinition);
rb_define_method(Sketchup_ComponentDefinition, "name", Sketchup_ComponentDefinition_Get_name, 0);

@@ -171,0 +172,0 @@ rb_define_method(Sketchup_ComponentDefinition, "name=", Sketchup_ComponentDefinition_Set_name, 1);

@@ -9,3 +9,4 @@ #include <stdbool.h>

VALUE Sketchup_ComponentInstance = rb_define_class_under(Sketchup, COMPONENTINSTANCE, Sketchup_DrawingElement);
rb_undef_alloc_func(Sketchup_ComponentInstance);
return Sketchup_ComponentInstance;
}

@@ -135,2 +135,3 @@ #include <stdbool.h>

VALUE Sketchup_DefinitionList = rb_define_class_under(Sketchup, DEFINITIONLIST, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_DefinitionList);
rb_include_module(Sketchup_DefinitionList, rb_mEnumerable);

@@ -137,0 +138,0 @@ rb_define_method(Sketchup_DefinitionList, "each", Sketchup_DefinitionList_each, 0);

@@ -9,3 +9,4 @@ #include <stdbool.h>

VALUE Sketchup_DrawingElement = rb_define_class_under(Sketchup, DRAWINGELEMENT, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_DrawingElement);
return Sketchup_DrawingElement;
}

@@ -10,3 +10,4 @@ #include <stdbool.h>

VALUE Sketchup_Entities = rb_define_class_under(Sketchup, ENTITIES, rb_cObject);
rb_undef_alloc_func(Sketchup_Entities);
return Sketchup_Entities;
}

@@ -238,2 +238,3 @@ #include <stdbool.h>

VALUE Sketchup_Entity = rb_define_class_under(Sketchup, ENTITY, rb_cObject);
rb_undef_alloc_func(Sketchup_Entity);
rb_define_method(Sketchup_Entity, "persistent_id", Sketchup_Entity_persistentId, 0);

@@ -240,0 +241,0 @@ rb_define_method(Sketchup_Entity, "entityID", Sketchup_Entity_entityId, 0);

@@ -225,2 +225,3 @@ #include <stdbool.h>

VALUE Sketchup_Material = rb_define_class_under(Sketchup, MATERIAL, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_Material);
rb_define_method(Sketchup_Material, "name", Sketchup_Material_Get_name, 0);

@@ -227,0 +228,0 @@ rb_define_method(Sketchup_Material, "name=", Sketchup_Material_Set_name, 1);

@@ -76,2 +76,3 @@ #include <stdbool.h>

VALUE Sketchup_Materials = rb_define_class_under(Sketchup, MATERIALS, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_Materials);
rb_include_module(Sketchup_Materials, rb_mEnumerable);

@@ -78,0 +79,0 @@ rb_define_method(Sketchup_Materials, "each", Sketchup_Materials_each, 0);

@@ -35,2 +35,3 @@ #include <stdbool.h>

VALUE Sketchup_Model = rb_define_class_under(Sketchup, MODEL, rb_cObject);
rb_undef_alloc_func(Sketchup_Model);
rb_define_const(Sketchup_Model, "LOAD_STATUS_SUCCESS", INT2FIX(0));

@@ -37,0 +38,0 @@ rb_define_const(Sketchup_Model, "LOAD_STATUS_SUCCESS_MORE_RECENT", INT2FIX(1));

+1
-1

@@ -76,3 +76,3 @@ #include <ruby.h>

VALUE Sketchup_Entities = Entities_Init(Sketchup, rb_cObject);
Entities_Init(Sketchup, rb_cObject);
VALUE Sketchup_Entity = Entity_Init(Sketchup, rb_cObject);

@@ -79,0 +79,0 @@ Materials_Init(Sketchup, Sketchup_Entity);

@@ -9,2 +9,3 @@ #include <stdbool.h>

VALUE Sketchup_Texture = rb_define_class_under(Sketchup, TEXTURE, Sketchup_Entity);
rb_undef_alloc_func(Sketchup_Texture);
}