Skip to content

Commit

Permalink
Update with features of SketchUp and LayOut 2023.1 - 2024.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomthom committed Apr 4, 2024
1 parent 71043f0 commit 34d7b2c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions lib/rubocop/sketchup/features.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,41 @@ module Features

FEATURES = [

{
version: 'SketchUp 2024.0',
types: {
method: [
'Sketchup::View#graphics_engine',
],
},
},

{
version: 'LayOut 2023.1',
types: {
method: [
'Layout::Document#render_mode_override',
'Layout::Document#render_mode_override=',
'Layout::PageInfo#image_display_resolution',
'Layout::PageInfo#image_display_resolution=',
'Layout::PageInfo#image_output_resolution',
'Layout::PageInfo#image_output_resolution=',
'Layout::SketchUpModel#output_entities',
],
},
},

{
version: 'SketchUp 2023.1',
types: {
method: [
'Sketchup::ArcCurve#circular?',
'UI.get_clipboard_data',
'UI.set_clipboard_data',
],
},
},

{
version: 'LayOut 2023.0',
types: {
Expand Down Expand Up @@ -1357,6 +1392,7 @@ module Features
fov_is_height?
georeferenced?
get_classification_value
get_clipboard_data
get_drawingelement_visibility
get_glued_instances
get_texture_projection
Expand Down Expand Up @@ -1422,6 +1458,7 @@ module Features
sequence_type
set_can_close
set_classification_value
set_clipboard_data
set_download_progress_callback
set_drawingelement_visibility
set_full_security
Expand Down
2 changes: 2 additions & 0 deletions lib/rubocop/sketchup/sketchup_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def to_s
#
# The second item in the array is maintenance annotation
VALID_VERSIONS = [
[2024.0, 0],
[2023.1, 0],
[2023.0, 0],
[2022.0, 0],
[2021.1, 0],
Expand Down

0 comments on commit 34d7b2c

Please sign in to comment.