scriptup 2024.0.2 → 2024.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8118e861b983f2560322e501db4beabecc1cbd9e0eb9c05a01432bbff5f2512
4
- data.tar.gz: 9a8a7c86161f090ed411cb8b533dbe9d0b746e0e4ae68ded2a3867167f354365
3
+ metadata.gz: 6dfc449f042ad2362ee055871d5e1dbbf3ad38516e649ad80fae4027fa238862
4
+ data.tar.gz: cc711a653f211c7c6c2c3d28d187bb2cf1165293f34c0fce01f848dbf523cf2b
5
5
  SHA512:
6
- metadata.gz: 5e8a6925fde4e72f9c43ce64d6ecbf9bf1aec16664c983ff318e697542ddf9d7494fcc7db05fe2ce44500e0a47a8e5c4e5fd969d58f7e8384a5d0e537adc72d2
7
- data.tar.gz: a4366a95e80c8abffec14cfb9308e8813547c4d1e1fbdf380587f5712cc7a242613793153f79e3cdb2e81cc2a533e82738ed4595b055fe96a0305481c0c8bb49
6
+ metadata.gz: 53f6d2fd75530735ef5515557a63728254e5780741a9cf793bbb667d9323ad02ce6cd2d469e1c590292142ef32403e527f0921f7288eb488b501949be2f61f9e
7
+ data.tar.gz: 10a285ed09ae577aa7d622854013cbc2b0e0ff51b02530220e54c434f2b145527d2d6177d39d112c450e6683ab939cd3502c2605312d6c056be8494f1e619514
@@ -36,6 +36,7 @@ static VALUE Sketchup_AttributeDictionaries_length(VALUE self)
36
36
  VALUE AttributeDictionaries_Init(VALUE Sketchup, VALUE Sketchup_Entity)
37
37
  {
38
38
  VALUE Sketchup_AttributeDictionaries = rb_define_class_under(Sketchup, ATTRIBUTEDICTIONARIES, Sketchup_Entity);
39
+ rb_undef_alloc_func(Sketchup_AttributeDictionaries);
39
40
  rb_include_module(Sketchup_AttributeDictionaries, rb_mEnumerable);
40
41
  rb_define_method(Sketchup_AttributeDictionaries, "[]", Sketchup_AttributeDictionaries_get, 1);
41
42
  rb_define_method(Sketchup_AttributeDictionaries, "each", Sketchup_AttributeDictionaries_each, 0);
@@ -140,6 +140,7 @@ static VALUE Sketchup_AttributeDictionary_delete_key(VALUE self, VALUE key)
140
140
  VALUE AttributeDictionary_Init(VALUE Sketchup, VALUE Sketchup_Entity)
141
141
  {
142
142
  VALUE Sketchup_AttributeDictionary = rb_define_class_under(Sketchup, ATTRIBUTEDICTIONARY, Sketchup_Entity);
143
+ rb_undef_alloc_func(Sketchup_AttributeDictionary);
143
144
  rb_include_module(Sketchup_AttributeDictionary, rb_mEnumerable);
144
145
  rb_define_method(Sketchup_AttributeDictionary, "[]", Sketchup_AttributeDictionary_get, 1);
145
146
  rb_define_method(Sketchup_AttributeDictionary, "[]=", Sketchup_AttributeDictionary_set, 2);
data/ext/behavior.c CHANGED
@@ -6,5 +6,6 @@
6
6
  VALUE Behavior_Init(VALUE Sketchup, VALUE Entity)
7
7
  {
8
8
  VALUE Sketchup_Behavior = rb_define_class_under(Sketchup, BEHAVIOR, Entity);
9
+ rb_undef_alloc_func(Sketchup_Behavior);
9
10
  return Sketchup_Behavior;
10
11
  }
@@ -166,6 +166,7 @@ static VALUE Sketchup_ComponentDefinition_save_as(int argc, VALUE* argv, VALUE s
166
166
  VALUE ComponentDefinition_Init(VALUE Sketchup, VALUE Sketchup_DrawingElement)
167
167
  {
168
168
  VALUE Sketchup_ComponentDefinition = rb_define_class_under(Sketchup, COMPONENTDEFINITION, Sketchup_DrawingElement);
169
+ rb_undef_alloc_func(Sketchup_ComponentDefinition);
169
170
  rb_define_method(Sketchup_ComponentDefinition, "name", Sketchup_ComponentDefinition_Get_name, 0);
170
171
  rb_define_method(Sketchup_ComponentDefinition, "name=", Sketchup_ComponentDefinition_Set_name, 1);
171
172
  rb_define_method(Sketchup_ComponentDefinition, "==", Sketchup_ComponentDefinition_Object_equ, 1);
@@ -6,5 +6,6 @@
6
6
  VALUE ComponentInstance_Init(VALUE Sketchup, VALUE Sketchup_DrawingElement)
7
7
  {
8
8
  VALUE Sketchup_ComponentInstance = rb_define_class_under(Sketchup, COMPONENTINSTANCE, Sketchup_DrawingElement);
9
+ rb_undef_alloc_func(Sketchup_ComponentInstance);
9
10
  return Sketchup_ComponentInstance;
10
11
  }
@@ -132,6 +132,7 @@ static VALUE Sketchup_DefinitionList_remove(VALUE self, VALUE rb_definition)
132
132
  VALUE DefinitionList_Init(VALUE Sketchup, VALUE Sketchup_Entity)
133
133
  {
134
134
  VALUE Sketchup_DefinitionList = rb_define_class_under(Sketchup, DEFINITIONLIST, Sketchup_Entity);
135
+ rb_undef_alloc_func(Sketchup_DefinitionList);
135
136
  rb_include_module(Sketchup_DefinitionList, rb_mEnumerable);
136
137
  rb_define_method(Sketchup_DefinitionList, "each", Sketchup_DefinitionList_each, 0);
137
138
  rb_define_method(Sketchup_DefinitionList, "count", Sketchup_DefinitionList_count, 0);
@@ -6,5 +6,6 @@
6
6
  VALUE DrawingElement_Init(VALUE Sketchup, VALUE Sketchup_Entity)
7
7
  {
8
8
  VALUE Sketchup_DrawingElement = rb_define_class_under(Sketchup, DRAWINGELEMENT, Sketchup_Entity);
9
+ rb_undef_alloc_func(Sketchup_DrawingElement);
9
10
  return Sketchup_DrawingElement;
10
11
  }
data/ext/entities.c CHANGED
@@ -7,5 +7,6 @@
7
7
  VALUE Entities_Init(VALUE Sketchup, VALUE rb_cObject)
8
8
  {
9
9
  VALUE Sketchup_Entities = rb_define_class_under(Sketchup, ENTITIES, rb_cObject);
10
+ rb_undef_alloc_func(Sketchup_Entities);
10
11
  return Sketchup_Entities;
11
12
  }
data/ext/entity.c CHANGED
@@ -235,6 +235,7 @@ static VALUE Sketchup_Entity_set_attribute(int argc, VALUE* argv, VALUE self)
235
235
  VALUE Entity_Init(VALUE Sketchup, VALUE rb_cObject)
236
236
  {
237
237
  VALUE Sketchup_Entity = rb_define_class_under(Sketchup, ENTITY, rb_cObject);
238
+ rb_undef_alloc_func(Sketchup_Entity);
238
239
  rb_define_method(Sketchup_Entity, "persistent_id", Sketchup_Entity_persistentId, 0);
239
240
  rb_define_method(Sketchup_Entity, "entityID", Sketchup_Entity_entityId, 0);
240
241
  rb_define_method(Sketchup_Entity, "typename", Sketchup_Entity_typename, 0);
data/ext/material.c CHANGED
@@ -222,6 +222,7 @@ static VALUE Sketchup_Material_display_name(VALUE self)
222
222
  void Material_Init(VALUE Sketchup, VALUE Sketchup_Entity)
223
223
  {
224
224
  VALUE Sketchup_Material = rb_define_class_under(Sketchup, MATERIAL, Sketchup_Entity);
225
+ rb_undef_alloc_func(Sketchup_Material);
225
226
  rb_define_method(Sketchup_Material, "name", Sketchup_Material_Get_name, 0);
226
227
  rb_define_method(Sketchup_Material, "name=", Sketchup_Material_Set_name, 1);
227
228
  rb_define_method(Sketchup_Material, "texture", Sketchup_Material_Get_texture, 0);
data/ext/materials.c CHANGED
@@ -73,6 +73,7 @@ static VALUE Sketchup_Materials_get(VALUE self, VALUE key)
73
73
  VALUE Materials_Init(VALUE Sketchup, VALUE Sketchup_Entity)
74
74
  {
75
75
  VALUE Sketchup_Materials = rb_define_class_under(Sketchup, MATERIALS, Sketchup_Entity);
76
+ rb_undef_alloc_func(Sketchup_Materials);
76
77
  rb_include_module(Sketchup_Materials, rb_mEnumerable);
77
78
  rb_define_method(Sketchup_Materials, "each", Sketchup_Materials_each, 0);
78
79
  rb_define_method(Sketchup_Materials, "[]", Sketchup_Materials_get, 1);
data/ext/model.c CHANGED
@@ -32,6 +32,7 @@ static VALUE Sketchup_Model_attribute_dictionaries(VALUE self)
32
32
  VALUE Model_Init(VALUE Sketchup, VALUE rb_cObject)
33
33
  {
34
34
  VALUE Sketchup_Model = rb_define_class_under(Sketchup, MODEL, rb_cObject);
35
+ rb_undef_alloc_func(Sketchup_Model);
35
36
  rb_define_const(Sketchup_Model, "LOAD_STATUS_SUCCESS", INT2FIX(0));
36
37
  rb_define_const(Sketchup_Model, "LOAD_STATUS_SUCCESS_MORE_RECENT", INT2FIX(1));
37
38
  rb_define_method(Sketchup_Model, "close", Sketchup_Model_close, 0);
data/ext/sketchup.c CHANGED
@@ -73,7 +73,7 @@ void Init_sketchup() {
73
73
  Model_Init(Sketchup, rb_cObject);
74
74
  Color_Init(Sketchup, rb_cObject);
75
75
 
76
- VALUE Sketchup_Entities = Entities_Init(Sketchup, rb_cObject);
76
+ Entities_Init(Sketchup, rb_cObject);
77
77
  VALUE Sketchup_Entity = Entity_Init(Sketchup, rb_cObject);
78
78
  Materials_Init(Sketchup, Sketchup_Entity);
79
79
  Material_Init(Sketchup, Sketchup_Entity);
data/ext/texture.c CHANGED
@@ -6,4 +6,5 @@
6
6
  void Texture_Init(VALUE Sketchup, VALUE Sketchup_Entity)
7
7
  {
8
8
  VALUE Sketchup_Texture = rb_define_class_under(Sketchup, TEXTURE, Sketchup_Entity);
9
+ rb_undef_alloc_func(Sketchup_Texture);
9
10
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scriptup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2024.0.2
4
+ version: 2024.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noel Warren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler