scriptup 2024.0.6 → 2024.0.7
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/entity.c +4 -0
- data/ext/extconf.rb +1 -1
- 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: 6597ffd855e1a87875e86744453c200a9aeceee06dd747ac0cb0a6b25607b554
|
4
|
+
data.tar.gz: 2f4ade8f2b5603aa1e00ffe10463c58cac08072fb1a84f82ce4f6a275df72cb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa296640ed6edcd606e7ce9c7aacad26b2f23d1fac2e450495ad7c88ccbd1dc281db92c2ef69a97788aebc102bf2a627a79376040fca4a4f989293abbd7acd98
|
7
|
+
data.tar.gz: 3b887ba13ef1f3002218d4a7ea4ff4e6585884e29c01d6f843dabca81ec685841ed74bafedae6ab6b36605c541edc164a102a5f69a79f5291de544a63e4fbdca
|
data/ext/entity.c
CHANGED
@@ -159,6 +159,10 @@ void Sketchup_Entity_attribute_dictionary_Iterator(SUAttributeDictionaryRef dict
|
|
159
159
|
|
160
160
|
static VALUE Sketchup_Entity_attribute_dictionary(int argc, VALUE* argv, VALUE self)
|
161
161
|
{
|
162
|
+
if (rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_MATERIALS)))
|
163
|
+
return Qnil;
|
164
|
+
if (rb_obj_is_kind_of(self, rb_path2class(SKETCHUP_DEFINITIONLIST)))
|
165
|
+
return Qnil;
|
162
166
|
SUEntityRef entity = {DATA_PTR(self)};
|
163
167
|
struct AttributeDictionaryIterationContext attribute_dictionary_struct = {argv[0], SU_INVALID};
|
164
168
|
FOREACH(SUEntityGetNumAttributeDictionaries, SUEntityGetAttributeDictionaries, SUAttributeDictionaryRef, entity, Sketchup_Entity_attribute_dictionary_Iterator, &attribute_dictionary_struct);
|
data/ext/extconf.rb
CHANGED
@@ -27,7 +27,7 @@ $CFLAGS << " #{'-Werror' if MAC } -O0 " if ENV['SCRIPTUP_DEVELOPMENT']
|
|
27
27
|
|
28
28
|
if MAC
|
29
29
|
$DLDFLAGS.gsub!('-Wl,-multiply_defined,suppress', '')
|
30
|
-
$DLDFLAGS << ' -Wl
|
30
|
+
$DLDFLAGS << ' -Wl'
|
31
31
|
$DLDFLAGS << " -F#{sdk_path} -framework SketchUpAPI"
|
32
32
|
$DLDFLAGS << " -Wl,-rpath,#{sdk_path}"
|
33
33
|
else
|
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.7
|
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-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|