rubocop-sketchup 0.15.1 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/sketchup/features.rb +67 -0
- data/lib/rubocop/sketchup/sketchup_version.rb +1 -0
- data/lib/rubocop/sketchup/version.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: eb8f59f597a5b011ae7965be3f569d599a17a6d8ef31f6e641fb308e4aa5babb
|
4
|
+
data.tar.gz: 62a2a93290ee790d319ed0ba4bb83b536c74bbcfba1e66d9bc1fee07795276f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 602d081ad3a47adc82b36a8a831d47cf725500e9400a52837e9f1247db2726d952613c76e98cc5e2ca93696d65728febcb6b7e6bbe96ec1b9e25574677c3c72c
|
7
|
+
data.tar.gz: f8cf43e865b96a80cc86fc8f20f4ac6890bce824630f0359135f7e9c81c8a1211189956a72409098bf0a029834db7794e30f55841e1544d0ba28ee87a6680716
|
@@ -18,9 +18,16 @@
|
|
18
18
|
# positives. The method names should be names that are not commonly used in
|
19
19
|
# general context.
|
20
20
|
#
|
21
|
+
# Since it's difficult to know what a variable in Ruby code represent by static
|
22
|
+
# analysis, these methods are assumed to belong to the FEATURES list.
|
23
|
+
#
|
21
24
|
# When a new version is released and FEATURES is updated the new methods from
|
22
25
|
# the new version should be considered for this list.
|
23
26
|
#
|
27
|
+
# TODO(thomthom): Investigate if Solargraph's static analysis can be used to
|
28
|
+
# provide a more accurate analysis. Not sure how well it works on code bases
|
29
|
+
# that isn't well documented with YARD type tags.
|
30
|
+
#
|
24
31
|
#
|
25
32
|
# OBSERVER_METHODS constant:
|
26
33
|
#
|
@@ -34,6 +41,48 @@ module RuboCop
|
|
34
41
|
|
35
42
|
FEATURES = [
|
36
43
|
|
44
|
+
{
|
45
|
+
version: 'LayOut 2020.1',
|
46
|
+
types: {
|
47
|
+
method: [
|
48
|
+
'Layout::Document#export',
|
49
|
+
'Layout::Grid#clip_to_margins=',
|
50
|
+
'Layout::Grid#clip_to_margins?',
|
51
|
+
'Layout::Grid#in_front=',
|
52
|
+
'Layout::Grid#in_front?',
|
53
|
+
'Layout::Grid#major_color=',
|
54
|
+
'Layout::Grid#major_spacing=',
|
55
|
+
'Layout::Grid#minor_color=',
|
56
|
+
'Layout::Grid#minor_divisions=',
|
57
|
+
'Layout::Grid#print=',
|
58
|
+
'Layout::Grid#show=',
|
59
|
+
'Layout::Grid#show_major=',
|
60
|
+
'Layout::Grid#show_minor=',
|
61
|
+
'Layout::SketchUpModel#camera_modified?',
|
62
|
+
'Layout::SketchUpModel#effects_modified?',
|
63
|
+
'Layout::SketchUpModel#layers_modified?',
|
64
|
+
'Layout::SketchUpModel#reset_camera',
|
65
|
+
'Layout::SketchUpModel#reset_effects',
|
66
|
+
'Layout::SketchUpModel#reset_layers',
|
67
|
+
'Layout::SketchUpModel#reset_style',
|
68
|
+
'Layout::SketchUpModel#style_modified?',
|
69
|
+
],
|
70
|
+
},
|
71
|
+
},
|
72
|
+
|
73
|
+
{
|
74
|
+
version: 'SketchUp 2020.1',
|
75
|
+
types: {
|
76
|
+
method: [
|
77
|
+
'Sketchup::Entities#weld',
|
78
|
+
'Sketchup::Page#use_hidden_geometry=',
|
79
|
+
'Sketchup::Page#use_hidden_geometry?',
|
80
|
+
'Sketchup::Page#use_hidden_objects=',
|
81
|
+
'Sketchup::Page#use_hidden_objects?',
|
82
|
+
],
|
83
|
+
},
|
84
|
+
},
|
85
|
+
|
37
86
|
{
|
38
87
|
version: 'SketchUp 2020.0',
|
39
88
|
types: {
|
@@ -1097,8 +1146,11 @@ module RuboCop
|
|
1097
1146
|
attached_to
|
1098
1147
|
attached_to=
|
1099
1148
|
boundingbox_pick
|
1149
|
+
camera_modified?
|
1100
1150
|
center_2d
|
1101
1151
|
classifications
|
1152
|
+
clip_to_margins?
|
1153
|
+
clip_to_margins=
|
1102
1154
|
colorize_deltas
|
1103
1155
|
colorize_type
|
1104
1156
|
colorize_type=
|
@@ -1107,6 +1159,7 @@ module RuboCop
|
|
1107
1159
|
days_remaining
|
1108
1160
|
drawing_element_visible?
|
1109
1161
|
edit_transform
|
1162
|
+
effects_modified?
|
1110
1163
|
end_attached_to
|
1111
1164
|
end_attached_to=
|
1112
1165
|
error_description
|
@@ -1127,12 +1180,15 @@ module RuboCop
|
|
1127
1180
|
icon_tooltip
|
1128
1181
|
icon_tooltip=
|
1129
1182
|
image_rep
|
1183
|
+
in_front?
|
1184
|
+
in_front=
|
1130
1185
|
include_in_animation?
|
1131
1186
|
include_in_animation=
|
1132
1187
|
instance_path
|
1133
1188
|
instance_path_from_pid_path
|
1134
1189
|
is_polygon?
|
1135
1190
|
large_icon
|
1191
|
+
layers_modified?
|
1136
1192
|
leader_break_point
|
1137
1193
|
leader_break_point=
|
1138
1194
|
leader_points
|
@@ -1145,7 +1201,11 @@ module RuboCop
|
|
1145
1201
|
local_bounds
|
1146
1202
|
lower_left
|
1147
1203
|
lower_right
|
1204
|
+
major_color=
|
1205
|
+
major_spacing=
|
1148
1206
|
menu_text
|
1207
|
+
minor_color=
|
1208
|
+
minor_divisions=
|
1149
1209
|
mipmapping?
|
1150
1210
|
mipmapping=
|
1151
1211
|
navigation_buttons_enabled?
|
@@ -1161,6 +1221,10 @@ module RuboCop
|
|
1161
1221
|
persistent_id_path
|
1162
1222
|
refresh_thumbnail
|
1163
1223
|
remove_classification
|
1224
|
+
reset_camera
|
1225
|
+
reset_effects
|
1226
|
+
reset_layers
|
1227
|
+
reset_style
|
1164
1228
|
same_direction?
|
1165
1229
|
scale_2d
|
1166
1230
|
screen_scale_factor
|
@@ -1174,11 +1238,14 @@ module RuboCop
|
|
1174
1238
|
set_upload_progress_callback
|
1175
1239
|
set_uv
|
1176
1240
|
show_differences
|
1241
|
+
show_major=
|
1242
|
+
show_minor=
|
1177
1243
|
sketch_plane
|
1178
1244
|
small_icon
|
1179
1245
|
start_attached_to
|
1180
1246
|
start_attached_to=
|
1181
1247
|
status_bar_text
|
1248
|
+
style_modified?
|
1182
1249
|
text_bounds
|
1183
1250
|
unit_vector?
|
1184
1251
|
unload_schema
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-sketchup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trimble Inc, SketchUp Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|