sketchup-api-stubs 0.1.0 → 0.1.1

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/SketchUp/{array.rb → Array.rb} +0 -0
  3. data/SketchUp/{geom.rb → Geom.rb} +0 -0
  4. data/SketchUp/Geom/LatLong.rb +8 -20
  5. data/SketchUp/Geom/Point3d.rb +2 -2
  6. data/SketchUp/Geom/Vector3d.rb +31 -26
  7. data/SketchUp/{languagehandler.rb → LanguageHandler.rb} +0 -0
  8. data/SketchUp/{length.rb → Length.rb} +0 -0
  9. data/SketchUp/{numeric.rb → Numeric.rb} +0 -0
  10. data/SketchUp/Sketchup/AttributeDictionaries.rb +8 -11
  11. data/SketchUp/Sketchup/AttributeDictionary.rb +39 -38
  12. data/SketchUp/Sketchup/Classifications.rb +9 -5
  13. data/SketchUp/Sketchup/DefinitionList.rb +9 -12
  14. data/SketchUp/Sketchup/Entities.rb +16 -36
  15. data/SketchUp/Sketchup/ExtensionsManager.rb +10 -14
  16. data/SketchUp/Sketchup/InstancePath.rb +6 -3
  17. data/SketchUp/Sketchup/Layers.rb +20 -24
  18. data/SketchUp/Sketchup/Licensing.rb +14 -13
  19. data/SketchUp/Sketchup/Materials.rb +10 -8
  20. data/SketchUp/Sketchup/Menu.rb +13 -15
  21. data/SketchUp/Sketchup/OptionsManager.rb +11 -14
  22. data/SketchUp/Sketchup/OptionsProvider.rb +55 -54
  23. data/SketchUp/Sketchup/Pages.rb +9 -9
  24. data/SketchUp/Sketchup/RenderingOptions.rb +27 -15
  25. data/SketchUp/Sketchup/Selection.rb +57 -89
  26. data/SketchUp/Sketchup/Set.rb +69 -104
  27. data/SketchUp/Sketchup/ShadowInfo.rb +26 -26
  28. data/SketchUp/Sketchup/Styles.rb +8 -9
  29. data/SketchUp/{sketchupextension.rb → SketchupExtension.rb} +0 -0
  30. data/SketchUp/{string.rb → String.rb} +0 -0
  31. data/SketchUp/UI/Toolbar.rb +8 -8
  32. data/SketchUp/_top_level.rb +11 -11
  33. data/SketchUp/ui.rb +4 -5
  34. metadata +10 -10
@@ -12,6 +12,9 @@
12
12
  ALT_MODIFIER_KEY = nil # Stub value.
13
13
  ALT_MODIFIER_MASK = nil # Stub value.
14
14
 
15
+ CONSTRAIN_MODIFIER_KEY = nil # Stub value.
16
+ CONSTRAIN_MODIFIER_MASK = nil # Stub value.
17
+
15
18
  CMD_ARC = nil # Stub value.
16
19
  CMD_CAMERA_UNDO = nil # Stub value.
17
20
  CMD_CIRCLE = nil # Stub value.
@@ -83,9 +86,6 @@
83
86
  COPY_MODIFIER_KEY = nil # Stub value.
84
87
  COPY_MODIFIER_MASK = nil # Stub value.
85
88
 
86
- CONSTRAIN_MODIFIER_KEY = nil # Stub value.
87
- CONSTRAIN_MODIFIER_MASK = nil # Stub value.
88
-
89
89
  DimensionArrowClosed = nil # Stub value.
90
90
  DimensionArrowDot = nil # Stub value.
91
91
  DimensionArrowNone = nil # Stub value.
@@ -107,8 +107,6 @@
107
107
  GL_TRIANGLE_FAN = nil # Stub value.
108
108
  GL_TRIANGLE_STRIP = nil # Stub value.
109
109
 
110
- IDENTITY = nil # Stub value.
111
-
112
110
  IDABORT = nil # Stub value.
113
111
  IDCANCEL = nil # Stub value.
114
112
  IDIGNORE = nil # Stub value.
@@ -117,18 +115,14 @@
117
115
  IDRETRY = nil # Stub value.
118
116
  IDYES = nil # Stub value.
119
117
 
118
+ IDENTITY = nil # Stub value.
119
+
120
120
  LAYER_HIDDEN_BY_DEFAULT = nil # Stub value.
121
121
  LAYER_IS_HIDDEN_ON_NEW_PAGES = nil # Stub value.
122
122
  LAYER_IS_VISIBLE_ON_NEW_PAGES = nil # Stub value.
123
123
  LAYER_USES_DEFAULT_VISIBILITY_ON_NEW_PAGES = nil # Stub value.
124
124
  LAYER_VISIBLE_BY_DEFAULT = nil # Stub value.
125
125
 
126
- MF_CHECKED = nil # Stub value.
127
- MF_DISABLED = nil # Stub value.
128
- MF_ENABLED = nil # Stub value.
129
- MF_GRAYED = nil # Stub value.
130
- MF_UNCHECKED = nil # Stub value.
131
-
132
126
  MB_ABORTRETRYIGNORE = nil # Stub value.
133
127
  MB_MULTILINE = nil # Stub value.
134
128
  MB_OK = nil # Stub value.
@@ -137,6 +131,12 @@
137
131
  MB_YESNO = nil # Stub value.
138
132
  MB_YESNOCANCEL = nil # Stub value.
139
133
 
134
+ MF_CHECKED = nil # Stub value.
135
+ MF_DISABLED = nil # Stub value.
136
+ MF_ENABLED = nil # Stub value.
137
+ MF_GRAYED = nil # Stub value.
138
+ MF_UNCHECKED = nil # Stub value.
139
+
140
140
  ORIGIN = nil # Stub value.
141
141
 
142
142
  PAGE_NO_CAMERA = nil # Stub value.
@@ -237,18 +237,17 @@ module UI
237
237
  def self.model_info_pages
238
238
  end
239
239
 
240
- # The openURL method is used to open the default Web browser to a URL.
240
+ # The {#openURL} method is used to open the default Web browser to a URL.
241
241
  #
242
242
  # @example
243
243
  # status = UI.openURL("http://www.sketchup.com")
244
244
  #
245
- # @param URL
246
- # A string URL.
245
+ # @param [String] url
247
246
  #
248
- # @return status - true if successful
247
+ # @return [Boolean]
249
248
  #
250
249
  # @version SketchUp 6.0
251
- def self.openURL(URL)
250
+ def self.openURL(url)
252
251
  end
253
252
 
254
253
  # The openpanel method is used to display the Open dialog box. The path that
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sketchup-api-stubs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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: 2017-02-10 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,6 +44,8 @@ executables: []
44
44
  extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
+ - SketchUp/Array.rb
48
+ - SketchUp/Geom.rb
47
49
  - SketchUp/Geom/BoundingBox.rb
48
50
  - SketchUp/Geom/LatLong.rb
49
51
  - SketchUp/Geom/Point3d.rb
@@ -51,6 +53,9 @@ files:
51
53
  - SketchUp/Geom/Transformation.rb
52
54
  - SketchUp/Geom/UTM.rb
53
55
  - SketchUp/Geom/Vector3d.rb
56
+ - SketchUp/LanguageHandler.rb
57
+ - SketchUp/Length.rb
58
+ - SketchUp/Numeric.rb
54
59
  - SketchUp/Sketchup/Animation.rb
55
60
  - SketchUp/Sketchup/AppObserver.rb
56
61
  - SketchUp/Sketchup/ArcCurve.rb
@@ -134,20 +139,15 @@ files:
134
139
  - SketchUp/Sketchup/Vertex.rb
135
140
  - SketchUp/Sketchup/View.rb
136
141
  - SketchUp/Sketchup/ViewObserver.rb
142
+ - SketchUp/SketchupExtension.rb
143
+ - SketchUp/String.rb
137
144
  - SketchUp/UI/Command.rb
138
145
  - SketchUp/UI/HtmlDialog.rb
139
146
  - SketchUp/UI/Notification.rb
140
147
  - SketchUp/UI/Toolbar.rb
141
148
  - SketchUp/UI/WebDialog.rb
142
149
  - SketchUp/_top_level.rb
143
- - SketchUp/array.rb
144
- - SketchUp/geom.rb
145
- - SketchUp/languagehandler.rb
146
- - SketchUp/length.rb
147
- - SketchUp/numeric.rb
148
150
  - SketchUp/sketchup.rb
149
- - SketchUp/sketchupextension.rb
150
- - SketchUp/string.rb
151
151
  - SketchUp/ui.rb
152
152
  homepage: https://github.com/SketchUp/ruby-api-stubs
153
153
  licenses:
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.6.10
172
+ rubygems_version: 2.5.2
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: SketchUp Ruby API stubs.