scriptup 2024.0.2 → 2024.0.4
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 +4 -4
- data/ext/attribute_dictionaries.c +1 -0
- data/ext/attribute_dictionary.c +1 -0
- data/ext/behavior.c +1 -0
- data/ext/component_definition.c +1 -0
- data/ext/component_instance.c +1 -0
- data/ext/definition_list.c +1 -0
- data/ext/drawing_element.c +1 -0
- data/ext/entities.c +1 -0
- data/ext/entity.c +1 -0
- data/ext/material.c +1 -0
- data/ext/materials.c +1 -0
- data/ext/model.c +1 -0
- data/ext/sketchup.c +1 -1
- data/ext/texture.c +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9871b18e42098d2ec1b6cfbee5ac96588e4b0ef4f17d545f428bfda6ec39327
|
4
|
+
data.tar.gz: 71b6b85079deb4b1db998411ca321b8bb130a916f352e09d93227bd91505d413
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1432395ce8e79fd386c31af579e1e3a6b2793eeb358f010da2fef9ffb859c120fe4ac7eff2cad9f12dcea740f541cd465f66244e4f7cc91fcb37a730cbe3ae14
|
7
|
+
data.tar.gz: 3cb7f77c6df049ebdc44b98f9e46abb0720a793a4940623f1d5e9ccb6955cd9b6ca6c4c91857c344fd4c82de0c9b1f58110f7efbabbc4df4933cb6efdf996363
|
@@ -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);
|
data/ext/attribute_dictionary.c
CHANGED
@@ -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
data/ext/component_definition.c
CHANGED
@@ -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);
|
data/ext/component_instance.c
CHANGED
@@ -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
|
}
|
data/ext/definition_list.c
CHANGED
@@ -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);
|
data/ext/drawing_element.c
CHANGED
data/ext/entities.c
CHANGED
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
|
-
|
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
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.
|
4
|
+
version: 2024.0.4
|
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-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|