rubocop-sketchup 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1cec65e2d779578175a8641f7b5c1a1983fcec2
4
- data.tar.gz: 2f86c784b68581f547c6dd5ff84669a5d726767a
3
+ metadata.gz: 54e1ec01fa127cd38810ced15038882c35db152d
4
+ data.tar.gz: 777b95231929eebf76988a435e5ee5aa28bac9ba
5
5
  SHA512:
6
- metadata.gz: 13cd6a178e1c9c1a8fa08dd7376b2a173b87480bb04fedf4e5c6f10be144d9ac5f35e3ce703e96ffabfe35cf767051cc7f35a70b963d11c672b04b55d3e0924f
7
- data.tar.gz: 20b244398897bfd36bde2d0ad2448fa29a138bfeaed7deb3620d5b861ddfc2e2003b0ce45132cc600ce7c56b541c48aa897fc5ccb3b3673255f950a65ad3d730
6
+ metadata.gz: c2a9a1103b4efb4e45d8d812be98ef4ce77956d6546a3c300fa08716787150e6544335f469ffabb27810e1ee0065769733caf23bd9395185f2ef3115915487c1
7
+ data.tar.gz: 13edc1663e8f050e41e4e52e00129f9bc80231bd09410b761f9bf189fceb905e78f68c36c4aeeb36cc1757fe0a701182a559e76b7ea96aca0de057d06bbc1362
@@ -4,16 +4,13 @@
4
4
  #
5
5
  # FEATURES constant:
6
6
  #
7
- # 1. Run the `rubocop-changelog` YARD template:
7
+ # 1. Run the `rubocop-changelog` YARD template on the API stubs repository:
8
8
  # (https://github.com/SketchUp/rubocop-sketchup/issues/4#issuecomment-370753043)
9
9
  #
10
10
  # yardoc -c -t rubocop-changelog -f text > rubocop-changelog.txt
11
11
  #
12
12
  # 2. Prune out any unreleased versions.
13
13
  #
14
- # TODO(thomthom): Push the rubocop-changelog template to the API stubs
15
- # repository.
16
- #
17
14
  #
18
15
  # INSTANCE_METHODS constant:
19
16
  #
@@ -37,6 +34,56 @@ module RuboCop
37
34
 
38
35
  FEATURES = [
39
36
 
37
+ {
38
+ version: 'LayOut 2019',
39
+ types: {
40
+ method: [
41
+ 'Geom::Point2d#transform',
42
+ 'Geom::Point2d#transform!',
43
+ 'Geom::Transformation2d#*',
44
+ 'Geom::Transformation2d#inverse',
45
+ 'Geom::Transformation2d#invert!',
46
+ 'Geom::Transformation2d.rotation',
47
+ 'Geom::Transformation2d.scaling',
48
+ 'Geom::Transformation2d.translation',
49
+ 'Geom::Vector2d#transform',
50
+ 'Geom::Vector2d#transform!',
51
+ 'Layout::Path#winding',
52
+ 'Layout::SketchUpModel#dash_scale',
53
+ ],
54
+ },
55
+ },
56
+
57
+ {
58
+ version: 'SketchUp 2019',
59
+ types: {
60
+ class: [
61
+ 'Sketchup::LineStyle',
62
+ 'Sketchup::LineStyles',
63
+ ],
64
+ method: [
65
+ 'Sketchup::DimensionLinear#end_attached_to',
66
+ 'Sketchup::DimensionLinear#end_attached_to=',
67
+ 'Sketchup::DimensionLinear#start_attached_to',
68
+ 'Sketchup::DimensionLinear#start_attached_to=',
69
+ 'Sketchup::Layer#line_style',
70
+ 'Sketchup::Layer#line_style=',
71
+ 'Sketchup::LineStyle#name',
72
+ 'Sketchup::LineStyles#[]',
73
+ 'Sketchup::LineStyles#at',
74
+ 'Sketchup::LineStyles#each',
75
+ 'Sketchup::LineStyles#length',
76
+ 'Sketchup::LineStyles#names',
77
+ 'Sketchup::LineStyles#size',
78
+ 'Sketchup::LineStyles#to_a',
79
+ 'Sketchup::Model#line_styles',
80
+ 'Sketchup::Text#attached_to',
81
+ 'Sketchup::Text#attached_to=',
82
+ 'Sketchup::Tools#active_tool',
83
+ ],
84
+ },
85
+ },
86
+
40
87
  {
41
88
  version: 'LayOut 2018',
42
89
  types: {
@@ -148,6 +195,389 @@ module RuboCop
148
195
  'Geom::Vector2d#x=',
149
196
  'Geom::Vector2d#y',
150
197
  'Geom::Vector2d#y=',
198
+ 'Layout::AngularDimension#angle',
199
+ 'Layout::AngularDimension#arc_center_point',
200
+ 'Layout::AngularDimension#custom_text=',
201
+ 'Layout::AngularDimension#custom_text?',
202
+ 'Layout::AngularDimension#end_connection_point',
203
+ 'Layout::AngularDimension#end_connection_point=',
204
+ 'Layout::AngularDimension#end_extent_point',
205
+ 'Layout::AngularDimension#end_extent_point=',
206
+ 'Layout::AngularDimension#end_offset_length=',
207
+ 'Layout::AngularDimension#end_offset_point',
208
+ 'Layout::AngularDimension#entities',
209
+ 'Layout::AngularDimension#initialize',
210
+ 'Layout::AngularDimension#leader_line_type',
211
+ 'Layout::AngularDimension#leader_line_type=',
212
+ 'Layout::AngularDimension#radius',
213
+ 'Layout::AngularDimension#radius=',
214
+ 'Layout::AngularDimension#start_connection_point',
215
+ 'Layout::AngularDimension#start_connection_point=',
216
+ 'Layout::AngularDimension#start_extent_point',
217
+ 'Layout::AngularDimension#start_extent_point=',
218
+ 'Layout::AngularDimension#start_offset_length=',
219
+ 'Layout::AngularDimension#start_offset_point',
220
+ 'Layout::AngularDimension#text',
221
+ 'Layout::AngularDimension#text=',
222
+ 'Layout::AutoTextDefinition#==',
223
+ 'Layout::AutoTextDefinition#custom_text',
224
+ 'Layout::AutoTextDefinition#custom_text=',
225
+ 'Layout::AutoTextDefinition#date_format',
226
+ 'Layout::AutoTextDefinition#date_format=',
227
+ 'Layout::AutoTextDefinition#display_file_extension=',
228
+ 'Layout::AutoTextDefinition#display_file_extension?',
229
+ 'Layout::AutoTextDefinition#display_full_path=',
230
+ 'Layout::AutoTextDefinition#display_full_path?',
231
+ 'Layout::AutoTextDefinition#mandatory?',
232
+ 'Layout::AutoTextDefinition#name',
233
+ 'Layout::AutoTextDefinition#name=',
234
+ 'Layout::AutoTextDefinition#page_number_style',
235
+ 'Layout::AutoTextDefinition#page_number_style=',
236
+ 'Layout::AutoTextDefinition#start_index',
237
+ 'Layout::AutoTextDefinition#start_index=',
238
+ 'Layout::AutoTextDefinition#tag',
239
+ 'Layout::AutoTextDefinition#type',
240
+ 'Layout::AutoTextDefinitions#[]',
241
+ 'Layout::AutoTextDefinitions#add',
242
+ 'Layout::AutoTextDefinitions#each',
243
+ 'Layout::AutoTextDefinitions#index',
244
+ 'Layout::AutoTextDefinitions#length',
245
+ 'Layout::AutoTextDefinitions#remove',
246
+ 'Layout::AutoTextDefinitions#size',
247
+ 'Layout::ConnectionPoint#initialize',
248
+ 'Layout::Document#==',
249
+ 'Layout::Document#add_entity',
250
+ 'Layout::Document#auto_text_definitions',
251
+ 'Layout::Document#grid',
252
+ 'Layout::Document#grid_snap_enabled=',
253
+ 'Layout::Document#grid_snap_enabled?',
254
+ 'Layout::Document#initialize',
255
+ 'Layout::Document#layers',
256
+ 'Layout::Document#object_snap_enabled=',
257
+ 'Layout::Document#object_snap_enabled?',
258
+ 'Layout::Document#page_info',
259
+ 'Layout::Document#pages',
260
+ 'Layout::Document#path',
261
+ 'Layout::Document#precision',
262
+ 'Layout::Document#precision=',
263
+ 'Layout::Document#remove_entity',
264
+ 'Layout::Document#save',
265
+ 'Layout::Document#shared_entities',
266
+ 'Layout::Document#time_created',
267
+ 'Layout::Document#time_modified',
268
+ 'Layout::Document#time_published',
269
+ 'Layout::Document#units',
270
+ 'Layout::Document#units=',
271
+ 'Layout::Document.open',
272
+ 'Layout::Ellipse#initialize',
273
+ 'Layout::Entities#[]',
274
+ 'Layout::Entities#each',
275
+ 'Layout::Entities#length',
276
+ 'Layout::Entities#reverse_each',
277
+ 'Layout::Entities#size',
278
+ 'Layout::Entity#==',
279
+ 'Layout::Entity#bounds',
280
+ 'Layout::Entity#document',
281
+ 'Layout::Entity#drawing_bounds',
282
+ 'Layout::Entity#group',
283
+ 'Layout::Entity#layer_instance',
284
+ 'Layout::Entity#locked=',
285
+ 'Layout::Entity#locked?',
286
+ 'Layout::Entity#move_to_group',
287
+ 'Layout::Entity#move_to_layer',
288
+ 'Layout::Entity#on_shared_layer?',
289
+ 'Layout::Entity#page',
290
+ 'Layout::Entity#style',
291
+ 'Layout::Entity#style=',
292
+ 'Layout::Entity#transform!',
293
+ 'Layout::Entity#transformation',
294
+ 'Layout::Entity#untransformed_bounds',
295
+ 'Layout::Entity#untransformed_bounds=',
296
+ 'Layout::FormattedText#append_plain_text',
297
+ 'Layout::FormattedText#apply_style',
298
+ 'Layout::FormattedText#display_text',
299
+ 'Layout::FormattedText#grow_mode',
300
+ 'Layout::FormattedText#grow_mode=',
301
+ 'Layout::FormattedText#initialize',
302
+ 'Layout::FormattedText#plain_text',
303
+ 'Layout::FormattedText#plain_text=',
304
+ 'Layout::FormattedText#rtf',
305
+ 'Layout::FormattedText#rtf=',
306
+ 'Layout::FormattedText#style',
307
+ 'Layout::FormattedText.new_from_file',
308
+ 'Layout::Grid#major_color',
309
+ 'Layout::Grid#major_spacing',
310
+ 'Layout::Grid#minor_color',
311
+ 'Layout::Grid#minor_divisions',
312
+ 'Layout::Grid#print?',
313
+ 'Layout::Grid#show?',
314
+ 'Layout::Grid#show_major?',
315
+ 'Layout::Grid#show_minor?',
316
+ 'Layout::Group#entities',
317
+ 'Layout::Group#initialize',
318
+ 'Layout::Group#remove_scale_factor',
319
+ 'Layout::Group#scale_factor',
320
+ 'Layout::Group#scale_precision',
321
+ 'Layout::Group#scale_precision=',
322
+ 'Layout::Group#scale_units',
323
+ 'Layout::Group#scale_units=',
324
+ 'Layout::Group#set_scale_factor',
325
+ 'Layout::Group#ungroup',
326
+ 'Layout::Image#clip_mask',
327
+ 'Layout::Image#clip_mask=',
328
+ 'Layout::Image#initialize',
329
+ 'Layout::Label#connect',
330
+ 'Layout::Label#connection_type',
331
+ 'Layout::Label#connection_type=',
332
+ 'Layout::Label#disconnect',
333
+ 'Layout::Label#entities',
334
+ 'Layout::Label#initialize',
335
+ 'Layout::Label#leader_line',
336
+ 'Layout::Label#leader_line=',
337
+ 'Layout::Label#leader_line_type',
338
+ 'Layout::Label#leader_line_type=',
339
+ 'Layout::Label#text',
340
+ 'Layout::Label#text=',
341
+ 'Layout::Layer#==',
342
+ 'Layout::Layer#document',
343
+ 'Layout::Layer#layer_instance',
344
+ 'Layout::Layer#locked=',
345
+ 'Layout::Layer#locked?',
346
+ 'Layout::Layer#name',
347
+ 'Layout::Layer#name=',
348
+ 'Layout::Layer#set_nonshared',
349
+ 'Layout::Layer#set_shared',
350
+ 'Layout::Layer#shared?',
351
+ 'Layout::LayerInstance#==',
352
+ 'Layout::LayerInstance#definition',
353
+ 'Layout::LayerInstance#entities',
354
+ 'Layout::LayerInstance#entity_index',
355
+ 'Layout::LayerInstance#reorder_entity',
356
+ 'Layout::Layers#[]',
357
+ 'Layout::Layers#active',
358
+ 'Layout::Layers#active=',
359
+ 'Layout::Layers#add',
360
+ 'Layout::Layers#each',
361
+ 'Layout::Layers#index',
362
+ 'Layout::Layers#length',
363
+ 'Layout::Layers#remove',
364
+ 'Layout::Layers#reorder',
365
+ 'Layout::Layers#size',
366
+ 'Layout::LinearDimension#auto_scale=',
367
+ 'Layout::LinearDimension#auto_scale?',
368
+ 'Layout::LinearDimension#connect',
369
+ 'Layout::LinearDimension#custom_text=',
370
+ 'Layout::LinearDimension#custom_text?',
371
+ 'Layout::LinearDimension#disconnect',
372
+ 'Layout::LinearDimension#end_connection_point',
373
+ 'Layout::LinearDimension#end_connection_point=',
374
+ 'Layout::LinearDimension#end_extent_point',
375
+ 'Layout::LinearDimension#end_extent_point=',
376
+ 'Layout::LinearDimension#end_offset_length=',
377
+ 'Layout::LinearDimension#end_offset_point',
378
+ 'Layout::LinearDimension#entities',
379
+ 'Layout::LinearDimension#initialize',
380
+ 'Layout::LinearDimension#leader_line_type',
381
+ 'Layout::LinearDimension#leader_line_type=',
382
+ 'Layout::LinearDimension#scale',
383
+ 'Layout::LinearDimension#scale=',
384
+ 'Layout::LinearDimension#start_connection_point',
385
+ 'Layout::LinearDimension#start_connection_point=',
386
+ 'Layout::LinearDimension#start_extent_point',
387
+ 'Layout::LinearDimension#start_extent_point=',
388
+ 'Layout::LinearDimension#start_offset_length=',
389
+ 'Layout::LinearDimension#start_offset_point',
390
+ 'Layout::LinearDimension#text',
391
+ 'Layout::LinearDimension#text=',
392
+ 'Layout::Page#==',
393
+ 'Layout::Page#document',
394
+ 'Layout::Page#entities',
395
+ 'Layout::Page#in_presentation=',
396
+ 'Layout::Page#in_presentation?',
397
+ 'Layout::Page#layer_instances',
398
+ 'Layout::Page#layer_visible?',
399
+ 'Layout::Page#name',
400
+ 'Layout::Page#name=',
401
+ 'Layout::Page#nonshared_entities',
402
+ 'Layout::Page#set_layer_visibility',
403
+ 'Layout::PageInfo#bottom_margin',
404
+ 'Layout::PageInfo#bottom_margin=',
405
+ 'Layout::PageInfo#color',
406
+ 'Layout::PageInfo#color=',
407
+ 'Layout::PageInfo#display_resolution',
408
+ 'Layout::PageInfo#display_resolution=',
409
+ 'Layout::PageInfo#height',
410
+ 'Layout::PageInfo#height=',
411
+ 'Layout::PageInfo#left_margin',
412
+ 'Layout::PageInfo#left_margin=',
413
+ 'Layout::PageInfo#margin_color',
414
+ 'Layout::PageInfo#margin_color=',
415
+ 'Layout::PageInfo#output_resolution',
416
+ 'Layout::PageInfo#output_resolution=',
417
+ 'Layout::PageInfo#print_margins=',
418
+ 'Layout::PageInfo#print_margins?',
419
+ 'Layout::PageInfo#print_paper_color=',
420
+ 'Layout::PageInfo#print_paper_color?',
421
+ 'Layout::PageInfo#right_margin',
422
+ 'Layout::PageInfo#right_margin=',
423
+ 'Layout::PageInfo#show_margins=',
424
+ 'Layout::PageInfo#show_margins?',
425
+ 'Layout::PageInfo#top_margin',
426
+ 'Layout::PageInfo#top_margin=',
427
+ 'Layout::PageInfo#width',
428
+ 'Layout::PageInfo#width=',
429
+ 'Layout::Pages#[]',
430
+ 'Layout::Pages#add',
431
+ 'Layout::Pages#each',
432
+ 'Layout::Pages#index',
433
+ 'Layout::Pages#initial',
434
+ 'Layout::Pages#initial=',
435
+ 'Layout::Pages#length',
436
+ 'Layout::Pages#remove',
437
+ 'Layout::Pages#reorder',
438
+ 'Layout::Pages#size',
439
+ 'Layout::Path#append_point',
440
+ 'Layout::Path#arc',
441
+ 'Layout::Path#circle',
442
+ 'Layout::Path#close',
443
+ 'Layout::Path#closed?',
444
+ 'Layout::Path#end_arrow',
445
+ 'Layout::Path#end_point',
446
+ 'Layout::Path#initialize',
447
+ 'Layout::Path#parametric_length',
448
+ 'Layout::Path#point_at',
449
+ 'Layout::Path#point_types',
450
+ 'Layout::Path#points',
451
+ 'Layout::Path#start_arrow',
452
+ 'Layout::Path#start_point',
453
+ 'Layout::Path#tangent_at',
454
+ 'Layout::Path.new_arc',
455
+ 'Layout::Rectangle#initialize',
456
+ 'Layout::Rectangle#radius',
457
+ 'Layout::Rectangle#radius=',
458
+ 'Layout::Rectangle#type',
459
+ 'Layout::Rectangle#type=',
460
+ 'Layout::SketchUpModel#clip_mask',
461
+ 'Layout::SketchUpModel#clip_mask=',
462
+ 'Layout::SketchUpModel#current_scene',
463
+ 'Layout::SketchUpModel#current_scene=',
464
+ 'Layout::SketchUpModel#current_scene_modified?',
465
+ 'Layout::SketchUpModel#dash_scale=',
466
+ 'Layout::SketchUpModel#display_background=',
467
+ 'Layout::SketchUpModel#display_background?',
468
+ 'Layout::SketchUpModel#entities',
469
+ 'Layout::SketchUpModel#initialize',
470
+ 'Layout::SketchUpModel#line_weight',
471
+ 'Layout::SketchUpModel#line_weight=',
472
+ 'Layout::SketchUpModel#model_to_paper_point',
473
+ 'Layout::SketchUpModel#perspective=',
474
+ 'Layout::SketchUpModel#perspective?',
475
+ 'Layout::SketchUpModel#preserve_scale_on_resize=',
476
+ 'Layout::SketchUpModel#preserve_scale_on_resize?',
477
+ 'Layout::SketchUpModel#render',
478
+ 'Layout::SketchUpModel#render_mode',
479
+ 'Layout::SketchUpModel#render_mode=',
480
+ 'Layout::SketchUpModel#render_needed?',
481
+ 'Layout::SketchUpModel#scale',
482
+ 'Layout::SketchUpModel#scale=',
483
+ 'Layout::SketchUpModel#scenes',
484
+ 'Layout::SketchUpModel#view',
485
+ 'Layout::SketchUpModel#view=',
486
+ 'Layout::Style#dimension_rotation_alignment',
487
+ 'Layout::Style#dimension_rotation_alignment=',
488
+ 'Layout::Style#dimension_units',
489
+ 'Layout::Style#dimension_vertical_alignment',
490
+ 'Layout::Style#dimension_vertical_alignment=',
491
+ 'Layout::Style#end_arrow_size',
492
+ 'Layout::Style#end_arrow_size=',
493
+ 'Layout::Style#end_arrow_type',
494
+ 'Layout::Style#end_arrow_type=',
495
+ 'Layout::Style#fill_color',
496
+ 'Layout::Style#fill_color=',
497
+ 'Layout::Style#font_family',
498
+ 'Layout::Style#font_family=',
499
+ 'Layout::Style#font_size',
500
+ 'Layout::Style#font_size=',
501
+ 'Layout::Style#get_sub_style',
502
+ 'Layout::Style#initialize',
503
+ 'Layout::Style#pattern_fill_origin',
504
+ 'Layout::Style#pattern_fill_origin=',
505
+ 'Layout::Style#pattern_fill_path',
506
+ 'Layout::Style#pattern_fill_path=',
507
+ 'Layout::Style#pattern_fill_rotation',
508
+ 'Layout::Style#pattern_fill_rotation=',
509
+ 'Layout::Style#pattern_fill_scale',
510
+ 'Layout::Style#pattern_fill_scale=',
511
+ 'Layout::Style#pattern_filled',
512
+ 'Layout::Style#pattern_filled=',
513
+ 'Layout::Style#set_dimension_units',
514
+ 'Layout::Style#set_sub_style',
515
+ 'Layout::Style#solid_filled',
516
+ 'Layout::Style#solid_filled=',
517
+ 'Layout::Style#start_arrow_size',
518
+ 'Layout::Style#start_arrow_size=',
519
+ 'Layout::Style#start_arrow_type',
520
+ 'Layout::Style#start_arrow_type=',
521
+ 'Layout::Style#stroke_cap_style',
522
+ 'Layout::Style#stroke_cap_style=',
523
+ 'Layout::Style#stroke_color',
524
+ 'Layout::Style#stroke_color=',
525
+ 'Layout::Style#stroke_join_style',
526
+ 'Layout::Style#stroke_join_style=',
527
+ 'Layout::Style#stroke_pattern',
528
+ 'Layout::Style#stroke_pattern=',
529
+ 'Layout::Style#stroke_pattern_scale',
530
+ 'Layout::Style#stroke_pattern_scale=',
531
+ 'Layout::Style#stroke_width',
532
+ 'Layout::Style#stroke_width=',
533
+ 'Layout::Style#stroked',
534
+ 'Layout::Style#stroked=',
535
+ 'Layout::Style#suppress_dimension_units',
536
+ 'Layout::Style#suppress_dimension_units=',
537
+ 'Layout::Style#text_alignment',
538
+ 'Layout::Style#text_alignment=',
539
+ 'Layout::Style#text_anchor',
540
+ 'Layout::Style#text_anchor=',
541
+ 'Layout::Style#text_bold',
542
+ 'Layout::Style#text_bold=',
543
+ 'Layout::Style#text_color',
544
+ 'Layout::Style#text_color=',
545
+ 'Layout::Style#text_elevation',
546
+ 'Layout::Style#text_elevation=',
547
+ 'Layout::Style#text_italic',
548
+ 'Layout::Style#text_italic=',
549
+ 'Layout::Style#text_underline',
550
+ 'Layout::Style#text_underline=',
551
+ 'Layout::Style.arrow_type_filled?',
552
+ 'Layout::Table#[]',
553
+ 'Layout::Table#dimensions',
554
+ 'Layout::Table#each',
555
+ 'Layout::Table#entities',
556
+ 'Layout::Table#get_column',
557
+ 'Layout::Table#get_row',
558
+ 'Layout::Table#initialize',
559
+ 'Layout::Table#insert_column',
560
+ 'Layout::Table#insert_row',
561
+ 'Layout::Table#merge',
562
+ 'Layout::Table#remove_column',
563
+ 'Layout::Table#remove_row',
564
+ 'Layout::TableCell#data',
565
+ 'Layout::TableCell#data=',
566
+ 'Layout::TableCell#rotation',
567
+ 'Layout::TableCell#rotation=',
568
+ 'Layout::TableCell#span',
569
+ 'Layout::TableColumn#left_edge_style',
570
+ 'Layout::TableColumn#left_edge_style=',
571
+ 'Layout::TableColumn#right_edge_style',
572
+ 'Layout::TableColumn#right_edge_style=',
573
+ 'Layout::TableColumn#width',
574
+ 'Layout::TableColumn#width=',
575
+ 'Layout::TableRow#bottom_edge_style',
576
+ 'Layout::TableRow#bottom_edge_style=',
577
+ 'Layout::TableRow#height',
578
+ 'Layout::TableRow#height=',
579
+ 'Layout::TableRow#top_edge_style',
580
+ 'Layout::TableRow#top_edge_style=',
151
581
  ],
152
582
  module: [
153
583
  'Layout',
@@ -161,17 +591,23 @@ module RuboCop
161
591
  class: [
162
592
  'Sketchup::ImageRep',
163
593
  ],
164
- constant: [
165
- 'Geom::PolygonMesh::MESH_NORMALS',
166
- 'Geom::PolygonMesh::MESH_POINTS',
167
- 'Geom::PolygonMesh::MESH_UVQ_BACK',
168
- 'Geom::PolygonMesh::MESH_UVQ_FRONT',
169
- ],
170
594
  method: [
171
595
  'Sketchup.send_to_layout',
172
596
  'Sketchup::Color#==',
173
597
  'Sketchup::DefinitionList#remove',
174
598
  'Sketchup::Image#image_rep',
599
+ 'Sketchup::ImageRep#bits_per_pixel',
600
+ 'Sketchup::ImageRep#color_at_uv',
601
+ 'Sketchup::ImageRep#colors',
602
+ 'Sketchup::ImageRep#data',
603
+ 'Sketchup::ImageRep#height',
604
+ 'Sketchup::ImageRep#initialize',
605
+ 'Sketchup::ImageRep#load_file',
606
+ 'Sketchup::ImageRep#row_padding',
607
+ 'Sketchup::ImageRep#save_file',
608
+ 'Sketchup::ImageRep#set_data',
609
+ 'Sketchup::ImageRep#size',
610
+ 'Sketchup::ImageRep#width',
175
611
  'Sketchup::Materials#unique_name',
176
612
  'Sketchup::Page#include_in_animation=',
177
613
  'Sketchup::Page#include_in_animation?',
@@ -195,9 +631,6 @@ module RuboCop
195
631
  'UI::HtmlDialog',
196
632
  'UI::Notification',
197
633
  ],
198
- constant: [
199
- 'UI::HtmlDialog::STYLE_WINDOW',
200
- ],
201
634
  method: [
202
635
  'Sketchup::Entity#persistent_id',
203
636
  'Sketchup::Http::Request#body',
@@ -375,13 +808,6 @@ module RuboCop
375
808
  'Sketchup::DimensionObserver',
376
809
  'Sketchup::DimensionRadial',
377
810
  ],
378
- constant: [
379
- 'Geom::PolygonMesh::AUTO_SOFTEN',
380
- 'Geom::PolygonMesh::HIDE_BASED_ON_INDEX',
381
- 'Geom::PolygonMesh::NO_SMOOTH_OR_HIDE',
382
- 'Geom::PolygonMesh::SMOOTH_SOFT_EDGES',
383
- 'Geom::PolygonMesh::SOFTEN_BASED_ON_INDEX',
384
- ],
385
811
  method: [
386
812
  'Geom::PolygonMesh#set_uv',
387
813
  'LanguageHandler#[]',
@@ -630,6 +1056,7 @@ module RuboCop
630
1056
  active_path
631
1057
  active_section_plane
632
1058
  active_section_plane=
1059
+ active_tool
633
1060
  add_classification
634
1061
  add_dimension_linear
635
1062
  add_dimension_radial
@@ -639,6 +1066,8 @@ module RuboCop
639
1066
  aligned_text_position=
640
1067
  arc_curve
641
1068
  arc_curve=
1069
+ attached_to
1070
+ attached_to=
642
1071
  boundingbox_pick
643
1072
  center_2d
644
1073
  classifications
@@ -646,8 +1075,11 @@ module RuboCop
646
1075
  colorize_type
647
1076
  colorize_type=
648
1077
  count_used_instances
1078
+ dash_scale
649
1079
  days_remaining
650
1080
  edit_transform
1081
+ end_attached_to
1082
+ end_attached_to=
651
1083
  error_description
652
1084
  expectsStartupModelNotifications
653
1085
  extension_path
@@ -674,6 +1106,9 @@ module RuboCop
674
1106
  leader_break_point
675
1107
  leader_break_point=
676
1108
  leader_points
1109
+ line_style
1110
+ line_style=
1111
+ line_styles
677
1112
  load_from_url
678
1113
  load_on_start?
679
1114
  load_schema
@@ -709,11 +1144,14 @@ module RuboCop
709
1144
  show_differences
710
1145
  sketch_plane
711
1146
  small_icon
1147
+ start_attached_to
1148
+ start_attached_to=
712
1149
  status_bar_text
713
1150
  unit_vector?
714
1151
  unload_schema
715
1152
  upper_left
716
1153
  upper_right
1154
+ winding
717
1155
  window_pick
718
1156
  ].freeze
719
1157
 
@@ -60,12 +60,11 @@ module RuboCop
60
60
  VERSION_NUMBER_REGEX = /^(?:SketchUp )?([0-9.]+)(?: M(\d+))?$/.freeze
61
61
 
62
62
  # This list is compiled from the list of versions reported by YARD when
63
- # running the `versions` template;
63
+ # running the `versions` template on the API stubs repository;
64
64
  #
65
65
  # yardoc -t versions -f text
66
- #
67
- # TODO(thomthom): Push the version template to the API stubs repository.
68
66
  VALID_VERSIONS = [
67
+ [2019, 0],
69
68
  [2018, 0],
70
69
  [2017, 0],
71
70
  [2016, 1],
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module SketchUp
3
- VERSION = '0.7.0'.freeze
3
+ VERSION = '0.8.0'.freeze
4
4
  end
5
5
  end
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.7.0
4
+ version: 0.8.0
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: 2019-01-29 00:00:00.000000000 Z
11
+ date: 2019-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop