ruby-lint 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (347) hide show
  1. data.tar.gz.asc +14 -14
  2. data/.gitignore +1 -2
  3. data/.rubocop.yml +59 -0
  4. data/.travis.yml +3 -7
  5. data/.yardopts +2 -2
  6. data/Gemfile +4 -0
  7. data/MANIFEST +103 -67
  8. data/README.md +13 -31
  9. data/Rakefile +1 -6
  10. data/checksum/ruby-lint-0.0.3.gem.sha512 +1 -0
  11. data/debug/memory_usage.rb +14 -0
  12. data/debug/profile.rb +18 -0
  13. data/doc/architecture.md +14 -18
  14. data/doc/changelog.md +29 -0
  15. data/doc/code_analysis.md +12 -12
  16. data/doc/configuration.md +21 -50
  17. data/doc/graphviz/flow.dot +1 -1
  18. data/doc/images/flow.png +0 -0
  19. data/lib/ruby-lint.rb +33 -19
  20. data/lib/ruby-lint/analysis/argument_amount.rb +84 -0
  21. data/lib/ruby-lint/analysis/base.rb +132 -0
  22. data/lib/ruby-lint/analysis/confusing_variables.rb +26 -0
  23. data/lib/ruby-lint/analysis/pedantics.rb +36 -0
  24. data/lib/ruby-lint/analysis/shadowing_variables.rb +47 -0
  25. data/lib/ruby-lint/analysis/undefined_methods.rb +91 -0
  26. data/lib/ruby-lint/analysis/undefined_variables.rb +46 -0
  27. data/lib/ruby-lint/analysis/unused_variables.rb +49 -0
  28. data/lib/ruby-lint/ast/builder.rb +17 -0
  29. data/lib/ruby-lint/ast/node.rb +39 -0
  30. data/lib/ruby-lint/cli.rb +0 -19
  31. data/lib/ruby-lint/cli/analyze.rb +54 -28
  32. data/lib/ruby-lint/cli/ast.rb +21 -6
  33. data/lib/ruby-lint/cli/base.rb +0 -23
  34. data/lib/ruby-lint/configuration.rb +112 -42
  35. data/lib/ruby-lint/constant_loader.rb +10 -28
  36. data/lib/ruby-lint/default_names.rb +19 -0
  37. data/lib/ruby-lint/definition/constant_proxy.rb +56 -0
  38. data/lib/ruby-lint/definition/ruby_method.rb +21 -143
  39. data/lib/ruby-lint/definition/ruby_object.rb +142 -246
  40. data/lib/ruby-lint/definition_builder/base.rb +43 -0
  41. data/lib/ruby-lint/definition_builder/primitive.rb +39 -0
  42. data/lib/ruby-lint/definition_builder/ruby_array.rb +77 -0
  43. data/lib/ruby-lint/definition_builder/ruby_block.rb +34 -0
  44. data/lib/ruby-lint/definition_builder/ruby_class.rb +24 -0
  45. data/lib/ruby-lint/definition_builder/ruby_hash.rb +37 -0
  46. data/lib/ruby-lint/definition_builder/ruby_method.rb +84 -0
  47. data/lib/ruby-lint/definition_builder/ruby_module.rb +68 -0
  48. data/lib/ruby-lint/definition_generator.rb +41 -15
  49. data/lib/ruby-lint/definitions/core/arg0.rb +1 -1
  50. data/lib/ruby-lint/definitions/core/argf.rb +1 -1
  51. data/lib/ruby-lint/definitions/core/argument_error.rb +2 -2
  52. data/lib/ruby-lint/definitions/core/argv.rb +1 -1
  53. data/lib/ruby-lint/definitions/core/array.rb +6 -6
  54. data/lib/ruby-lint/definitions/core/autoload.rb +2 -2
  55. data/lib/ruby-lint/definitions/core/basic_object.rb +3 -3
  56. data/lib/ruby-lint/definitions/core/bignum.rb +2 -2
  57. data/lib/ruby-lint/definitions/core/binding.rb +2 -2
  58. data/lib/ruby-lint/definitions/core/class.rb +2 -2
  59. data/lib/ruby-lint/definitions/core/comparable.rb +1 -1
  60. data/lib/ruby-lint/definitions/core/complex.rb +4 -4
  61. data/lib/ruby-lint/definitions/core/condition_variable.rb +2 -2
  62. data/lib/ruby-lint/definitions/core/continuation.rb +2 -2
  63. data/lib/ruby-lint/definitions/core/data.rb +2 -2
  64. data/lib/ruby-lint/definitions/core/date.rb +34 -34
  65. data/lib/ruby-lint/definitions/core/date_time.rb +26 -26
  66. data/lib/ruby-lint/definitions/core/default_record_separator.rb +1 -1
  67. data/lib/ruby-lint/definitions/core/digest.rb +14 -14
  68. data/lib/ruby-lint/definitions/core/dir.rb +34 -34
  69. data/lib/ruby-lint/definitions/core/encoding.rb +237 -237
  70. data/lib/ruby-lint/definitions/core/encoding_error.rb +2 -2
  71. data/lib/ruby-lint/definitions/core/enumerable.rb +15 -15
  72. data/lib/ruby-lint/definitions/core/enumerator.rb +2 -2
  73. data/lib/ruby-lint/definitions/core/env.rb +1 -1
  74. data/lib/ruby-lint/definitions/core/eoferror.rb +2 -2
  75. data/lib/ruby-lint/definitions/core/erb.rb +22 -22
  76. data/lib/ruby-lint/definitions/core/errno.rb +525 -525
  77. data/lib/ruby-lint/definitions/core/etc.rb +6 -6
  78. data/lib/ruby-lint/definitions/core/exception.rb +2 -2
  79. data/lib/ruby-lint/definitions/core/false.rb +1 -1
  80. data/lib/ruby-lint/definitions/core/false_class.rb +2 -2
  81. data/lib/ruby-lint/definitions/core/fatal_error.rb +2 -2
  82. data/lib/ruby-lint/definitions/core/fiber.rb +2 -2
  83. data/lib/ruby-lint/definitions/core/fiber_error.rb +2 -2
  84. data/lib/ruby-lint/definitions/core/file.rb +68 -68
  85. data/lib/ruby-lint/definitions/core/file_list.rb +2 -2
  86. data/lib/ruby-lint/definitions/core/file_test.rb +1 -1
  87. data/lib/ruby-lint/definitions/core/file_utils.rb +16 -16
  88. data/lib/ruby-lint/definitions/core/fixnum.rb +4 -4
  89. data/lib/ruby-lint/definitions/core/float.rb +16 -16
  90. data/lib/ruby-lint/definitions/core/float_domain_error.rb +2 -2
  91. data/lib/ruby-lint/definitions/core/gc.rb +2 -2
  92. data/lib/ruby-lint/definitions/core/gem.rb +119 -119
  93. data/lib/ruby-lint/definitions/core/hash.rb +14 -14
  94. data/lib/ruby-lint/definitions/core/immediate_value.rb +1 -1
  95. data/lib/ruby-lint/definitions/core/index_error.rb +2 -2
  96. data/lib/ruby-lint/definitions/core/integer.rb +2 -2
  97. data/lib/ruby-lint/definitions/core/interrupt.rb +2 -2
  98. data/lib/ruby-lint/definitions/core/io.rb +38 -38
  99. data/lib/ruby-lint/definitions/core/ioerror.rb +2 -2
  100. data/lib/ruby-lint/definitions/core/kernel.rb +3 -3
  101. data/lib/ruby-lint/definitions/core/key_error.rb +2 -2
  102. data/lib/ruby-lint/definitions/core/load_error.rb +6 -6
  103. data/lib/ruby-lint/definitions/core/local_jump_error.rb +2 -2
  104. data/lib/ruby-lint/definitions/core/main.rb +1 -1
  105. data/lib/ruby-lint/definitions/core/marshal.rb +35 -35
  106. data/lib/ruby-lint/definitions/core/match_data.rb +2 -2
  107. data/lib/ruby-lint/definitions/core/math.rb +7 -7
  108. data/lib/ruby-lint/definitions/core/memory_segmention_error.rb +2 -2
  109. data/lib/ruby-lint/definitions/core/method.rb +2 -2
  110. data/lib/ruby-lint/definitions/core/module.rb +1 -1
  111. data/lib/ruby-lint/definitions/core/monitor.rb +4 -4
  112. data/lib/ruby-lint/definitions/core/monitor_mixin.rb +5 -5
  113. data/lib/ruby-lint/definitions/core/mutex.rb +2 -2
  114. data/lib/ruby-lint/definitions/core/name_error.rb +2 -2
  115. data/lib/ruby-lint/definitions/core/nil.rb +1 -1
  116. data/lib/ruby-lint/definitions/core/nil_class.rb +2 -2
  117. data/lib/ruby-lint/definitions/core/no_memory_error.rb +2 -2
  118. data/lib/ruby-lint/definitions/core/no_method_error.rb +2 -2
  119. data/lib/ruby-lint/definitions/core/not_implemented_error.rb +2 -2
  120. data/lib/ruby-lint/definitions/core/numeric.rb +2 -2
  121. data/lib/ruby-lint/definitions/core/object.rb +2 -2
  122. data/lib/ruby-lint/definitions/core/object_space.rb +1 -1
  123. data/lib/ruby-lint/definitions/core/open_struct.rb +3 -3
  124. data/lib/ruby-lint/definitions/core/option_parser.rb +83 -83
  125. data/lib/ruby-lint/definitions/core/precision.rb +1 -1
  126. data/lib/ruby-lint/definitions/core/primitive_failure.rb +2 -2
  127. data/lib/ruby-lint/definitions/core/proc.rb +2 -2
  128. data/lib/ruby-lint/definitions/core/process.rb +29 -29
  129. data/lib/ruby-lint/definitions/core/psych.rb +149 -149
  130. data/lib/ruby-lint/definitions/core/queue.rb +2 -2
  131. data/lib/ruby-lint/definitions/core/rake.rb +117 -117
  132. data/lib/ruby-lint/definitions/core/rake_file_utils.rb +1 -1
  133. data/lib/ruby-lint/definitions/core/rakeversion.rb +1 -1
  134. data/lib/ruby-lint/definitions/core/random.rb +2 -2
  135. data/lib/ruby-lint/definitions/core/range.rb +4 -4
  136. data/lib/ruby-lint/definitions/core/range_error.rb +2 -2
  137. data/lib/ruby-lint/definitions/core/rational.rb +2 -2
  138. data/lib/ruby-lint/definitions/core/rb_config.rb +3 -3
  139. data/lib/ruby-lint/definitions/core/regexp.rb +28 -28
  140. data/lib/ruby-lint/definitions/core/regexp_error.rb +2 -2
  141. data/lib/ruby-lint/definitions/core/rubinius.rb +1057 -1057
  142. data/lib/ruby-lint/definitions/core/ruby_copyright.rb +1 -1
  143. data/lib/ruby-lint/definitions/core/ruby_description.rb +1 -1
  144. data/lib/ruby-lint/definitions/core/ruby_engine.rb +1 -1
  145. data/lib/ruby-lint/definitions/core/ruby_lint.rb +9 -9
  146. data/lib/ruby-lint/definitions/core/ruby_patchlevel.rb +1 -1
  147. data/lib/ruby-lint/definitions/core/ruby_platform.rb +1 -1
  148. data/lib/ruby-lint/definitions/core/ruby_release_date.rb +1 -1
  149. data/lib/ruby-lint/definitions/core/ruby_version.rb +1 -1
  150. data/lib/ruby-lint/definitions/core/runtime_error.rb +2 -2
  151. data/lib/ruby-lint/definitions/core/scan_error.rb +2 -2
  152. data/lib/ruby-lint/definitions/core/script_error.rb +2 -2
  153. data/lib/ruby-lint/definitions/core/security_error.rb +2 -2
  154. data/lib/ruby-lint/definitions/core/shellwords.rb +1 -1
  155. data/lib/ruby-lint/definitions/core/signal.rb +3 -3
  156. data/lib/ruby-lint/definitions/core/signal_exception.rb +2 -2
  157. data/lib/ruby-lint/definitions/core/singleton.rb +2 -2
  158. data/lib/ruby-lint/definitions/core/sized_queue.rb +2 -2
  159. data/lib/ruby-lint/definitions/core/standard_error.rb +2 -2
  160. data/lib/ruby-lint/definitions/core/stderr.rb +1 -1
  161. data/lib/ruby-lint/definitions/core/stdin.rb +1 -1
  162. data/lib/ruby-lint/definitions/core/stdout.rb +1 -1
  163. data/lib/ruby-lint/definitions/core/stop_iteration.rb +2 -2
  164. data/lib/ruby-lint/definitions/core/string.rb +21 -21
  165. data/lib/ruby-lint/definitions/core/string_io.rb +7 -7
  166. data/lib/ruby-lint/definitions/core/string_scanner.rb +4 -4
  167. data/lib/ruby-lint/definitions/core/struct.rb +20 -20
  168. data/lib/ruby-lint/definitions/core/syck.rb +4 -4
  169. data/lib/ruby-lint/definitions/core/symbol.rb +2 -2
  170. data/lib/ruby-lint/definitions/core/syntax_error.rb +2 -2
  171. data/lib/ruby-lint/definitions/core/system_call_error.rb +2 -2
  172. data/lib/ruby-lint/definitions/core/system_exit.rb +2 -2
  173. data/lib/ruby-lint/definitions/core/system_stack_error.rb +2 -2
  174. data/lib/ruby-lint/definitions/core/thread.rb +6 -6
  175. data/lib/ruby-lint/definitions/core/thread_error.rb +2 -2
  176. data/lib/ruby-lint/definitions/core/thread_group.rb +2 -2
  177. data/lib/ruby-lint/definitions/core/time.rb +3 -3
  178. data/lib/ruby-lint/definitions/core/toplevel_binding.rb +1 -1
  179. data/lib/ruby-lint/definitions/core/true.rb +1 -1
  180. data/lib/ruby-lint/definitions/core/true_class.rb +2 -2
  181. data/lib/ruby-lint/definitions/core/type_error.rb +2 -2
  182. data/lib/ruby-lint/definitions/core/unbound_method.rb +2 -2
  183. data/lib/ruby-lint/definitions/core/unmarshalable.rb +1 -1
  184. data/lib/ruby-lint/definitions/core/unsupported_library_error.rb +2 -2
  185. data/lib/ruby-lint/definitions/core/weak_ref.rb +4 -4
  186. data/lib/ruby-lint/definitions/core/zero_division_error.rb +2 -2
  187. data/lib/ruby-lint/definitions/rails.rb +12 -0
  188. data/lib/ruby-lint/definitions/rails/abstract_controller.rb +335 -0
  189. data/lib/ruby-lint/definitions/rails/action_controller.rb +1244 -0
  190. data/lib/ruby-lint/definitions/rails/action_dispatch.rb +741 -0
  191. data/lib/ruby-lint/definitions/rails/action_mailer.rb +502 -0
  192. data/lib/ruby-lint/definitions/rails/action_pack.rb +16 -0
  193. data/lib/ruby-lint/definitions/rails/action_view.rb +898 -0
  194. data/lib/ruby-lint/definitions/rails/active_model.rb +437 -0
  195. data/lib/ruby-lint/definitions/rails/active_record.rb +2901 -0
  196. data/lib/ruby-lint/definitions/rails/active_support.rb +1963 -0
  197. data/lib/ruby-lint/definitions/rails/arel.rb +665 -0
  198. data/lib/ruby-lint/definitions/rails/rails.rb +452 -0
  199. data/lib/ruby-lint/definitions/rails/sprockets.rb +968 -0
  200. data/lib/ruby-lint/generated_constant.rb +33 -0
  201. data/lib/ruby-lint/helper/constant_paths.rb +30 -21
  202. data/lib/ruby-lint/inspector.rb +20 -2
  203. data/lib/ruby-lint/iterator.rb +11 -171
  204. data/lib/ruby-lint/nested_stack.rb +46 -0
  205. data/lib/ruby-lint/parser.rb +24 -806
  206. data/lib/ruby-lint/report.rb +2 -30
  207. data/lib/ruby-lint/report/entry.rb +2 -2
  208. data/lib/ruby-lint/runner.rb +81 -0
  209. data/lib/ruby-lint/template/definition.erb +12 -8
  210. data/lib/ruby-lint/variable_predicates.rb +16 -58
  211. data/lib/ruby-lint/version.rb +1 -1
  212. data/lib/ruby-lint/virtual_machine.rb +1044 -0
  213. data/ruby-lint.gemspec +17 -7
  214. data/spec/fixtures/complex/rails/basic_controller.rb +9 -0
  215. data/spec/fixtures/complex/rcap.rb +38 -0
  216. data/spec/fixtures/complex/slop.rb +680 -0
  217. data/spec/fixtures/config.yml +8 -0
  218. data/spec/fixtures/invalid.rb +3 -0
  219. data/spec/fixtures/invalid_2.rb +3 -0
  220. data/spec/fixtures/syntax_error.rb +1 -0
  221. data/spec/fixtures/valid.rb +3 -0
  222. data/spec/helper.rb +6 -0
  223. data/spec/ruby-lint/{analyze → analysis}/argument_amount.rb +7 -7
  224. data/spec/ruby-lint/analysis/confusing_variables.rb +46 -0
  225. data/spec/ruby-lint/analysis/pedantics.rb +43 -0
  226. data/spec/ruby-lint/{analyze → analysis}/shadowing_variables.rb +5 -5
  227. data/spec/ruby-lint/{analyze → analysis}/undefined_methods.rb +18 -18
  228. data/spec/ruby-lint/{analyze → analysis}/undefined_variables.rb +19 -25
  229. data/spec/ruby-lint/{analyze → analysis}/unused_variables.rb +29 -16
  230. data/spec/ruby-lint/ast/node.rb +33 -0
  231. data/spec/ruby-lint/cli/analyze.rb +31 -0
  232. data/spec/ruby-lint/cli/ast.rb +23 -0
  233. data/spec/ruby-lint/configuration.rb +45 -6
  234. data/spec/ruby-lint/definition/constant_proxy.rb +31 -0
  235. data/spec/ruby-lint/definition/dsl.rb +13 -20
  236. data/spec/ruby-lint/definition/ruby_method.rb +65 -148
  237. data/spec/ruby-lint/definition/ruby_object.rb +60 -96
  238. data/spec/ruby-lint/definition_builder/primitive.rb +62 -0
  239. data/spec/ruby-lint/definition_builder/ruby_class.rb +108 -0
  240. data/spec/ruby-lint/definition_builder/ruby_method.rb +53 -0
  241. data/spec/ruby-lint/definition_builder/ruby_module.rb +50 -0
  242. data/spec/ruby-lint/iterator.rb +40 -16
  243. data/spec/ruby-lint/nested_stack.rb +23 -0
  244. data/spec/ruby-lint/parser.rb +14 -0
  245. data/spec/ruby-lint/report.rb +0 -10
  246. data/spec/ruby-lint/report/entry.rb +8 -4
  247. data/spec/ruby-lint/runner.rb +32 -0
  248. data/spec/ruby-lint/virtual_machine/assignments/arrays.rb +87 -0
  249. data/spec/ruby-lint/virtual_machine/assignments/hashes.rb +52 -0
  250. data/spec/ruby-lint/virtual_machine/assignments/optional.rb +41 -0
  251. data/spec/ruby-lint/{definitions_builder → virtual_machine}/assignments/return_values.rb +11 -11
  252. data/spec/ruby-lint/virtual_machine/assignments/variables.rb +85 -0
  253. data/spec/ruby-lint/virtual_machine/associate_nodes.rb +17 -0
  254. data/spec/ruby-lint/virtual_machine/autoloading.rb +31 -0
  255. data/spec/ruby-lint/virtual_machine/blocks.rb +64 -0
  256. data/spec/ruby-lint/virtual_machine/classes/class_methods.rb +21 -0
  257. data/spec/ruby-lint/virtual_machine/classes/extending.rb +104 -0
  258. data/spec/ruby-lint/virtual_machine/classes/redefining.rb +24 -0
  259. data/spec/ruby-lint/virtual_machine/classes/sclass.rb +94 -0
  260. data/spec/ruby-lint/virtual_machine/classes/scoping.rb +60 -0
  261. data/spec/ruby-lint/virtual_machine/complex/rails.rb +18 -0
  262. data/spec/ruby-lint/virtual_machine/complex/rcap.rb +15 -0
  263. data/spec/ruby-lint/virtual_machine/complex/slop.rb +16 -0
  264. data/spec/ruby-lint/{definitions_builder → virtual_machine}/for.rb +2 -2
  265. data/spec/ruby-lint/virtual_machine/freeze.rb +13 -0
  266. data/spec/ruby-lint/virtual_machine/interpolation.rb +12 -0
  267. data/spec/ruby-lint/virtual_machine/methods/defining.rb +40 -0
  268. data/spec/ruby-lint/virtual_machine/methods/exporting.rb +19 -0
  269. data/spec/ruby-lint/virtual_machine/methods/parameters.rb +77 -0
  270. data/spec/ruby-lint/virtual_machine/methods/patching.rb +26 -0
  271. data/spec/ruby-lint/virtual_machine/methods/scoping.rb +63 -0
  272. data/spec/ruby-lint/virtual_machine/methods/visibility.rb +64 -0
  273. data/spec/ruby-lint/{definitions_builder → virtual_machine}/modules.rb +16 -16
  274. data/spec/ruby-lint/virtual_machine/reference_amount.rb +33 -0
  275. data/spec/ruby-lint/virtual_machine/unused.rb +17 -0
  276. data/spec/support/bacon.rb +13 -13
  277. data/spec/support/building.rb +23 -16
  278. data/spec/support/coveralls.rb +5 -0
  279. data/spec/support/fixtures.rb +20 -0
  280. data/spec/support/parsing.rb +3 -5
  281. data/spec/support/simplecov.rb +5 -3
  282. data/task/build.rake +1 -1
  283. data/task/cop.rake +11 -0
  284. data/task/generate.rake +40 -2
  285. data/task/profile.rake +27 -0
  286. data/task/todo.rake +6 -0
  287. data/task/travis.rake +7 -0
  288. metadata +160 -75
  289. metadata.gz.asc +14 -14
  290. data/doc/build/.gitkeep +0 -0
  291. data/lib/ruby-lint/analyze/argument_amount.rb +0 -73
  292. data/lib/ruby-lint/analyze/shadowing_variables.rb +0 -32
  293. data/lib/ruby-lint/analyze/undefined_methods.rb +0 -68
  294. data/lib/ruby-lint/analyze/undefined_variables.rb +0 -72
  295. data/lib/ruby-lint/analyze/unused_variables.rb +0 -48
  296. data/lib/ruby-lint/base.rb +0 -85
  297. data/lib/ruby-lint/definitions_builder.rb +0 -692
  298. data/lib/ruby-lint/helper/conversion.rb +0 -33
  299. data/lib/ruby-lint/helper/current_scope.rb +0 -98
  300. data/lib/ruby-lint/helper/methods.rb +0 -91
  301. data/lib/ruby-lint/node.rb +0 -107
  302. data/lib/ruby-lint/parser_error.rb +0 -30
  303. data/spec/ruby-lint/constant_loader.rb +0 -32
  304. data/spec/ruby-lint/definition/method_calls.rb +0 -26
  305. data/spec/ruby-lint/definitions_builder/assignments/arrays.rb +0 -71
  306. data/spec/ruby-lint/definitions_builder/assignments/hashes.rb +0 -65
  307. data/spec/ruby-lint/definitions_builder/assignments/objects.rb +0 -23
  308. data/spec/ruby-lint/definitions_builder/assignments/optional.rb +0 -22
  309. data/spec/ruby-lint/definitions_builder/assignments/variables.rb +0 -71
  310. data/spec/ruby-lint/definitions_builder/associate_nodes.rb +0 -17
  311. data/spec/ruby-lint/definitions_builder/blocks.rb +0 -40
  312. data/spec/ruby-lint/definitions_builder/classes.rb +0 -230
  313. data/spec/ruby-lint/definitions_builder/methods.rb +0 -147
  314. data/spec/ruby-lint/definitions_builder/reference_amount.rb +0 -31
  315. data/spec/ruby-lint/definitions_builder/unused.rb +0 -15
  316. data/spec/ruby-lint/node.rb +0 -38
  317. data/spec/ruby-lint/parser/assignments.rb +0 -225
  318. data/spec/ruby-lint/parser/classes.rb +0 -110
  319. data/spec/ruby-lint/parser/errors.rb +0 -12
  320. data/spec/ruby-lint/parser/metadata.rb +0 -17
  321. data/spec/ruby-lint/parser/method_definitions.rb +0 -111
  322. data/spec/ruby-lint/parser/methods.rb +0 -217
  323. data/spec/ruby-lint/parser/modules.rb +0 -70
  324. data/spec/ruby-lint/parser/operators.rb +0 -40
  325. data/spec/ruby-lint/parser/statements/begin.rb +0 -55
  326. data/spec/ruby-lint/parser/statements/case.rb +0 -34
  327. data/spec/ruby-lint/parser/statements/defined.rb +0 -11
  328. data/spec/ruby-lint/parser/statements/for.rb +0 -34
  329. data/spec/ruby-lint/parser/statements/if.rb +0 -46
  330. data/spec/ruby-lint/parser/statements/return.rb +0 -14
  331. data/spec/ruby-lint/parser/statements/super.rb +0 -49
  332. data/spec/ruby-lint/parser/statements/unless.rb +0 -42
  333. data/spec/ruby-lint/parser/statements/until.rb +0 -25
  334. data/spec/ruby-lint/parser/statements/while.rb +0 -25
  335. data/spec/ruby-lint/parser/statements/yield.rb +0 -18
  336. data/spec/ruby-lint/parser/types/arrays.rb +0 -47
  337. data/spec/ruby-lint/parser/types/booleans.rb +0 -11
  338. data/spec/ruby-lint/parser/types/constants.rb +0 -32
  339. data/spec/ruby-lint/parser/types/hashes.rb +0 -55
  340. data/spec/ruby-lint/parser/types/nil.rb +0 -7
  341. data/spec/ruby-lint/parser/types/numbers.rb +0 -11
  342. data/spec/ruby-lint/parser/types/procs.rb +0 -11
  343. data/spec/ruby-lint/parser/types/ranges.rb +0 -11
  344. data/spec/ruby-lint/parser/types/regexp.rb +0 -27
  345. data/spec/ruby-lint/parser/types/strings.rb +0 -44
  346. data/spec/ruby-lint/parser/types/symbols.rb +0 -15
  347. data/task/stdlib.rake +0 -23
@@ -3,8 +3,8 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('FileList') do |klass|
7
- klass.inherits(RubyLint.global_constant('Object'))
6
+ RubyLint::VirtualMachine.global_scope.define_constant('FileList') do |klass|
7
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
8
8
 
9
9
  klass.define_method('[]') do |method|
10
10
  method.define_rest_argument('args')
@@ -3,7 +3,7 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('FileTest') do |klass|
6
+ RubyLint::VirtualMachine.global_scope.define_constant('FileTest') do |klass|
7
7
 
8
8
  klass.define_method('__module_init__')
9
9
 
@@ -3,7 +3,7 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('FileUtils') do |klass|
6
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils') do |klass|
7
7
 
8
8
  klass.define_method('__module_init__')
9
9
 
@@ -291,7 +291,7 @@ end
291
291
  # Created: 2013-04-01 18:33:54 +0200
292
292
  # Platform: rbx 2.0.0.rc1
293
293
  #
294
- RubyLint.global_scope.define_constant('FileUtils::DryRun') do |klass|
294
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::DryRun') do |klass|
295
295
 
296
296
  klass.define_method('__module_init__')
297
297
 
@@ -477,8 +477,8 @@ end
477
477
  # Created: 2013-04-01 18:33:54 +0200
478
478
  # Platform: rbx 2.0.0.rc1
479
479
  #
480
- RubyLint.global_scope.define_constant('FileUtils::Entry_') do |klass|
481
- klass.inherits(RubyLint.global_constant('Object'))
480
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::Entry_') do |klass|
481
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
482
482
 
483
483
  klass.define_method('__class_init__')
484
484
 
@@ -561,7 +561,7 @@ end
561
561
  # Created: 2013-04-01 18:33:54 +0200
562
562
  # Platform: rbx 2.0.0.rc1
563
563
  #
564
- RubyLint.global_scope.define_constant('FileUtils::Entry_::DIRECTORY_TERM') do |klass|
564
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::Entry_::DIRECTORY_TERM') do |klass|
565
565
  end
566
566
 
567
567
  ##
@@ -569,7 +569,7 @@ end
569
569
  # Created: 2013-04-01 18:33:54 +0200
570
570
  # Platform: rbx 2.0.0.rc1
571
571
  #
572
- RubyLint.global_scope.define_constant('FileUtils::Entry_::SYSCASE') do |klass|
572
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::Entry_::SYSCASE') do |klass|
573
573
  end
574
574
 
575
575
  ##
@@ -577,7 +577,7 @@ end
577
577
  # Created: 2013-04-01 18:33:54 +0200
578
578
  # Platform: rbx 2.0.0.rc1
579
579
  #
580
- RubyLint.global_scope.define_constant('FileUtils::Entry_::S_IF_DOOR') do |klass|
580
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::Entry_::S_IF_DOOR') do |klass|
581
581
  end
582
582
 
583
583
  ##
@@ -585,7 +585,7 @@ end
585
585
  # Created: 2013-04-01 18:33:54 +0200
586
586
  # Platform: rbx 2.0.0.rc1
587
587
  #
588
- RubyLint.global_scope.define_constant('FileUtils::LN_SUPPORTED') do |klass|
588
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::LN_SUPPORTED') do |klass|
589
589
  end
590
590
 
591
591
  ##
@@ -593,7 +593,7 @@ end
593
593
  # Created: 2013-04-01 18:33:54 +0200
594
594
  # Platform: rbx 2.0.0.rc1
595
595
  #
596
- RubyLint.global_scope.define_constant('FileUtils::LOW_METHODS') do |klass|
596
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::LOW_METHODS') do |klass|
597
597
  end
598
598
 
599
599
  ##
@@ -601,7 +601,7 @@ end
601
601
  # Created: 2013-04-01 18:33:54 +0200
602
602
  # Platform: rbx 2.0.0.rc1
603
603
  #
604
- RubyLint.global_scope.define_constant('FileUtils::LowMethods') do |klass|
604
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::LowMethods') do |klass|
605
605
 
606
606
  klass.define_method('__module_init__')
607
607
  end
@@ -611,7 +611,7 @@ end
611
611
  # Created: 2013-04-01 18:33:54 +0200
612
612
  # Platform: rbx 2.0.0.rc1
613
613
  #
614
- RubyLint.global_scope.define_constant('FileUtils::METHODS') do |klass|
614
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::METHODS') do |klass|
615
615
  end
616
616
 
617
617
  ##
@@ -619,7 +619,7 @@ end
619
619
  # Created: 2013-04-01 18:33:54 +0200
620
620
  # Platform: rbx 2.0.0.rc1
621
621
  #
622
- RubyLint.global_scope.define_constant('FileUtils::NoWrite') do |klass|
622
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::NoWrite') do |klass|
623
623
 
624
624
  klass.define_method('__module_init__')
625
625
 
@@ -805,7 +805,7 @@ end
805
805
  # Created: 2013-04-01 18:33:54 +0200
806
806
  # Platform: rbx 2.0.0.rc1
807
807
  #
808
- RubyLint.global_scope.define_constant('FileUtils::OPT_TABLE') do |klass|
808
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::OPT_TABLE') do |klass|
809
809
  end
810
810
 
811
811
  ##
@@ -813,7 +813,7 @@ end
813
813
  # Created: 2013-04-01 18:33:54 +0200
814
814
  # Platform: rbx 2.0.0.rc1
815
815
  #
816
- RubyLint.global_scope.define_constant('FileUtils::RUBY') do |klass|
816
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::RUBY') do |klass|
817
817
  end
818
818
 
819
819
  ##
@@ -821,7 +821,7 @@ end
821
821
  # Created: 2013-04-01 18:33:54 +0200
822
822
  # Platform: rbx 2.0.0.rc1
823
823
  #
824
- RubyLint.global_scope.define_constant('FileUtils::StreamUtils_') do |klass|
824
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::StreamUtils_') do |klass|
825
825
 
826
826
  klass.define_method('__module_init__')
827
827
  end
@@ -831,7 +831,7 @@ end
831
831
  # Created: 2013-04-01 18:33:54 +0200
832
832
  # Platform: rbx 2.0.0.rc1
833
833
  #
834
- RubyLint.global_scope.define_constant('FileUtils::Verbose') do |klass|
834
+ RubyLint::VirtualMachine.global_scope.define_constant('FileUtils::Verbose') do |klass|
835
835
 
836
836
  klass.define_method('__module_init__')
837
837
 
@@ -3,8 +3,8 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('Fixnum') do |klass|
7
- klass.inherits(RubyLint.global_constant('Integer'))
6
+ RubyLint::VirtualMachine.global_scope.define_constant('Fixnum') do |klass|
7
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Integer'))
8
8
 
9
9
  klass.define_method('===') do |method|
10
10
  method.define_argument('obj')
@@ -144,7 +144,7 @@ end
144
144
  # Created: 2013-04-01 18:33:54 +0200
145
145
  # Platform: rbx 2.0.0.rc1
146
146
  #
147
- RubyLint.global_scope.define_constant('Fixnum::MAX') do |klass|
147
+ RubyLint::VirtualMachine.global_scope.define_constant('Fixnum::MAX') do |klass|
148
148
  end
149
149
 
150
150
  ##
@@ -152,5 +152,5 @@ end
152
152
  # Created: 2013-04-01 18:33:54 +0200
153
153
  # Platform: rbx 2.0.0.rc1
154
154
  #
155
- RubyLint.global_scope.define_constant('Fixnum::MIN') do |klass|
155
+ RubyLint::VirtualMachine.global_scope.define_constant('Fixnum::MIN') do |klass|
156
156
  end
@@ -3,8 +3,8 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('Float') do |klass|
7
- klass.inherits(RubyLint.global_constant('Numeric'))
6
+ RubyLint::VirtualMachine.global_scope.define_constant('Float') do |klass|
7
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Numeric'))
8
8
 
9
9
  klass.define_method('__class_init__')
10
10
 
@@ -156,7 +156,7 @@ end
156
156
  # Created: 2013-04-01 18:33:54 +0200
157
157
  # Platform: rbx 2.0.0.rc1
158
158
  #
159
- RubyLint.global_scope.define_constant('Float::DIG') do |klass|
159
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::DIG') do |klass|
160
160
  end
161
161
 
162
162
  ##
@@ -164,7 +164,7 @@ end
164
164
  # Created: 2013-04-01 18:33:54 +0200
165
165
  # Platform: rbx 2.0.0.rc1
166
166
  #
167
- RubyLint.global_scope.define_constant('Float::EPSILON') do |klass|
167
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::EPSILON') do |klass|
168
168
  end
169
169
 
170
170
  ##
@@ -172,7 +172,7 @@ end
172
172
  # Created: 2013-04-01 18:33:54 +0200
173
173
  # Platform: rbx 2.0.0.rc1
174
174
  #
175
- RubyLint.global_scope.define_constant('Float::FFI') do |klass|
175
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::FFI') do |klass|
176
176
 
177
177
  klass.define_method('__module_init__')
178
178
 
@@ -223,7 +223,7 @@ end
223
223
  # Created: 2013-04-01 18:33:54 +0200
224
224
  # Platform: rbx 2.0.0.rc1
225
225
  #
226
- RubyLint.global_scope.define_constant('Float::INFINITY') do |klass|
226
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::INFINITY') do |klass|
227
227
  end
228
228
 
229
229
  ##
@@ -231,7 +231,7 @@ end
231
231
  # Created: 2013-04-01 18:33:54 +0200
232
232
  # Platform: rbx 2.0.0.rc1
233
233
  #
234
- RubyLint.global_scope.define_constant('Float::MANT_DIG') do |klass|
234
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MANT_DIG') do |klass|
235
235
  end
236
236
 
237
237
  ##
@@ -239,7 +239,7 @@ end
239
239
  # Created: 2013-04-01 18:33:54 +0200
240
240
  # Platform: rbx 2.0.0.rc1
241
241
  #
242
- RubyLint.global_scope.define_constant('Float::MAX') do |klass|
242
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MAX') do |klass|
243
243
  end
244
244
 
245
245
  ##
@@ -247,7 +247,7 @@ end
247
247
  # Created: 2013-04-01 18:33:54 +0200
248
248
  # Platform: rbx 2.0.0.rc1
249
249
  #
250
- RubyLint.global_scope.define_constant('Float::MAX_10_EXP') do |klass|
250
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MAX_10_EXP') do |klass|
251
251
  end
252
252
 
253
253
  ##
@@ -255,7 +255,7 @@ end
255
255
  # Created: 2013-04-01 18:33:54 +0200
256
256
  # Platform: rbx 2.0.0.rc1
257
257
  #
258
- RubyLint.global_scope.define_constant('Float::MAX_EXP') do |klass|
258
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MAX_EXP') do |klass|
259
259
  end
260
260
 
261
261
  ##
@@ -263,7 +263,7 @@ end
263
263
  # Created: 2013-04-01 18:33:54 +0200
264
264
  # Platform: rbx 2.0.0.rc1
265
265
  #
266
- RubyLint.global_scope.define_constant('Float::MIN') do |klass|
266
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MIN') do |klass|
267
267
  end
268
268
 
269
269
  ##
@@ -271,7 +271,7 @@ end
271
271
  # Created: 2013-04-01 18:33:54 +0200
272
272
  # Platform: rbx 2.0.0.rc1
273
273
  #
274
- RubyLint.global_scope.define_constant('Float::MIN_10_EXP') do |klass|
274
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MIN_10_EXP') do |klass|
275
275
  end
276
276
 
277
277
  ##
@@ -279,7 +279,7 @@ end
279
279
  # Created: 2013-04-01 18:33:54 +0200
280
280
  # Platform: rbx 2.0.0.rc1
281
281
  #
282
- RubyLint.global_scope.define_constant('Float::MIN_EXP') do |klass|
282
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::MIN_EXP') do |klass|
283
283
  end
284
284
 
285
285
  ##
@@ -287,7 +287,7 @@ end
287
287
  # Created: 2013-04-01 18:33:54 +0200
288
288
  # Platform: rbx 2.0.0.rc1
289
289
  #
290
- RubyLint.global_scope.define_constant('Float::NAN') do |klass|
290
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::NAN') do |klass|
291
291
  end
292
292
 
293
293
  ##
@@ -295,7 +295,7 @@ end
295
295
  # Created: 2013-04-01 18:33:54 +0200
296
296
  # Platform: rbx 2.0.0.rc1
297
297
  #
298
- RubyLint.global_scope.define_constant('Float::RADIX') do |klass|
298
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::RADIX') do |klass|
299
299
  end
300
300
 
301
301
  ##
@@ -303,5 +303,5 @@ end
303
303
  # Created: 2013-04-01 18:33:54 +0200
304
304
  # Platform: rbx 2.0.0.rc1
305
305
  #
306
- RubyLint.global_scope.define_constant('Float::ROUNDS') do |klass|
306
+ RubyLint::VirtualMachine.global_scope.define_constant('Float::ROUNDS') do |klass|
307
307
  end
@@ -3,6 +3,6 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('FloatDomainError') do |klass|
7
- klass.inherits(RubyLint.global_constant('RangeError'))
6
+ RubyLint::VirtualMachine.global_scope.define_constant('FloatDomainError') do |klass|
7
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('RangeError'))
8
8
  end
@@ -3,7 +3,7 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('GC') do |klass|
6
+ RubyLint::VirtualMachine.global_scope.define_constant('GC') do |klass|
7
7
 
8
8
  klass.define_method('__module_init__')
9
9
 
@@ -35,7 +35,7 @@ end
35
35
  # Created: 2013-04-01 18:33:54 +0200
36
36
  # Platform: rbx 2.0.0.rc1
37
37
  #
38
- RubyLint.global_scope.define_constant('GC::Profiler') do |klass|
38
+ RubyLint::VirtualMachine.global_scope.define_constant('GC::Profiler') do |klass|
39
39
 
40
40
  klass.define_method('__module_init__')
41
41
 
@@ -3,7 +3,7 @@
3
3
  # Created: 2013-04-01 18:33:54 +0200
4
4
  # Platform: rbx 2.0.0.rc1
5
5
  #
6
- RubyLint.global_scope.define_constant('Gem') do |klass|
6
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem') do |klass|
7
7
 
8
8
  klass.define_method('__module_init__')
9
9
 
@@ -342,8 +342,8 @@ end
342
342
  # Created: 2013-04-01 18:33:54 +0200
343
343
  # Platform: rbx 2.0.0.rc1
344
344
  #
345
- RubyLint.global_scope.define_constant('Gem::Builder') do |klass|
346
- klass.inherits(RubyLint.global_constant('Object'))
345
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Builder') do |klass|
346
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
347
347
 
348
348
  klass.define_method('__class_init__')
349
349
 
@@ -359,8 +359,8 @@ end
359
359
  # Created: 2013-04-01 18:33:54 +0200
360
360
  # Platform: rbx 2.0.0.rc1
361
361
  #
362
- RubyLint.global_scope.define_constant('Gem::Cache') do |klass|
363
- klass.inherits(RubyLint.global_constant('Object'))
362
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Cache') do |klass|
363
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
364
364
 
365
365
  klass.define_method('__class_init__')
366
366
 
@@ -571,8 +571,8 @@ end
571
571
  # Created: 2013-04-01 18:33:54 +0200
572
572
  # Platform: rbx 2.0.0.rc1
573
573
  #
574
- RubyLint.global_scope.define_constant('Gem::CommandLineError') do |klass|
575
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
574
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::CommandLineError') do |klass|
575
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
576
576
  end
577
577
 
578
578
  ##
@@ -580,8 +580,8 @@ end
580
580
  # Created: 2013-04-01 18:33:54 +0200
581
581
  # Platform: rbx 2.0.0.rc1
582
582
  #
583
- RubyLint.global_scope.define_constant('Gem::ConfigFile') do |klass|
584
- klass.inherits(RubyLint.global_constant('Object'))
583
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::ConfigFile') do |klass|
584
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
585
585
 
586
586
  klass.define_method('__class_init__')
587
587
 
@@ -672,7 +672,7 @@ end
672
672
  # Created: 2013-04-01 18:33:54 +0200
673
673
  # Platform: rbx 2.0.0.rc1
674
674
  #
675
- RubyLint.global_scope.define_constant('Gem::ConfigFile::DEFAULT_BULK_THRESHOLD') do |klass|
675
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::ConfigFile::DEFAULT_BULK_THRESHOLD') do |klass|
676
676
  end
677
677
 
678
678
  ##
@@ -680,7 +680,7 @@ end
680
680
  # Created: 2013-04-01 18:33:54 +0200
681
681
  # Platform: rbx 2.0.0.rc1
682
682
  #
683
- RubyLint.global_scope.define_constant('Gem::ConfigFile::OPERATING_SYSTEM_DEFAULTS') do |klass|
683
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::ConfigFile::OPERATING_SYSTEM_DEFAULTS') do |klass|
684
684
  end
685
685
 
686
686
  ##
@@ -688,7 +688,7 @@ end
688
688
  # Created: 2013-04-01 18:33:54 +0200
689
689
  # Platform: rbx 2.0.0.rc1
690
690
  #
691
- RubyLint.global_scope.define_constant('Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE') do |klass|
691
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE') do |klass|
692
692
  end
693
693
 
694
694
  ##
@@ -696,7 +696,7 @@ end
696
696
  # Created: 2013-04-01 18:33:54 +0200
697
697
  # Platform: rbx 2.0.0.rc1
698
698
  #
699
- RubyLint.global_scope.define_constant('Gem::ConfigMap') do |klass|
699
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::ConfigMap') do |klass|
700
700
  end
701
701
 
702
702
  ##
@@ -704,8 +704,8 @@ end
704
704
  # Created: 2013-04-01 18:33:54 +0200
705
705
  # Platform: rbx 2.0.0.rc1
706
706
  #
707
- RubyLint.global_scope.define_constant('Gem::Dependency') do |klass|
708
- klass.inherits(RubyLint.global_constant('Object'))
707
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Dependency') do |klass|
708
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
709
709
 
710
710
  klass.define_method('__class_init__')
711
711
 
@@ -774,7 +774,7 @@ end
774
774
  # Created: 2013-04-01 18:33:54 +0200
775
775
  # Platform: rbx 2.0.0.rc1
776
776
  #
777
- RubyLint.global_scope.define_constant('Gem::Dependency::TYPES') do |klass|
777
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Dependency::TYPES') do |klass|
778
778
  end
779
779
 
780
780
  ##
@@ -782,8 +782,8 @@ end
782
782
  # Created: 2013-04-01 18:33:54 +0200
783
783
  # Platform: rbx 2.0.0.rc1
784
784
  #
785
- RubyLint.global_scope.define_constant('Gem::DependencyError') do |klass|
786
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
785
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::DependencyError') do |klass|
786
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
787
787
  end
788
788
 
789
789
  ##
@@ -791,8 +791,8 @@ end
791
791
  # Created: 2013-04-01 18:33:54 +0200
792
792
  # Platform: rbx 2.0.0.rc1
793
793
  #
794
- RubyLint.global_scope.define_constant('Gem::DependencyList') do |klass|
795
- klass.inherits(RubyLint.global_constant('Object'))
794
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::DependencyList') do |klass|
795
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
796
796
 
797
797
  klass.define_method('__class_init__')
798
798
 
@@ -865,8 +865,8 @@ end
865
865
  # Created: 2013-04-01 18:33:54 +0200
866
866
  # Platform: rbx 2.0.0.rc1
867
867
  #
868
- RubyLint.global_scope.define_constant('Gem::DependencyList::Cyclic') do |klass|
869
- klass.inherits(RubyLint.global_constant('StandardError'))
868
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::DependencyList::Cyclic') do |klass|
869
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('StandardError'))
870
870
  end
871
871
 
872
872
  ##
@@ -874,8 +874,8 @@ end
874
874
  # Created: 2013-04-01 18:33:54 +0200
875
875
  # Platform: rbx 2.0.0.rc1
876
876
  #
877
- RubyLint.global_scope.define_constant('Gem::DependencyList::SortedElement') do |klass|
878
- klass.inherits(RubyLint.global_constant('Object'))
877
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::DependencyList::SortedElement') do |klass|
878
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
879
879
 
880
880
  klass.define_method('__class_init__')
881
881
 
@@ -898,8 +898,8 @@ end
898
898
  # Created: 2013-04-01 18:33:54 +0200
899
899
  # Platform: rbx 2.0.0.rc1
900
900
  #
901
- RubyLint.global_scope.define_constant('Gem::DependencyRemovalException') do |klass|
902
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
901
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::DependencyRemovalException') do |klass|
902
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
903
903
  end
904
904
 
905
905
  ##
@@ -907,7 +907,7 @@ end
907
907
  # Created: 2013-04-01 18:33:54 +0200
908
908
  # Platform: rbx 2.0.0.rc1
909
909
  #
910
- RubyLint.global_scope.define_constant('Gem::Deprecate') do |klass|
910
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Deprecate') do |klass|
911
911
 
912
912
  klass.define_method('__module_init__')
913
913
 
@@ -932,8 +932,8 @@ end
932
932
  # Created: 2013-04-01 18:33:54 +0200
933
933
  # Platform: rbx 2.0.0.rc1
934
934
  #
935
- RubyLint.global_scope.define_constant('Gem::DocumentError') do |klass|
936
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
935
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::DocumentError') do |klass|
936
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
937
937
  end
938
938
 
939
939
  ##
@@ -941,8 +941,8 @@ end
941
941
  # Created: 2013-04-01 18:33:54 +0200
942
942
  # Platform: rbx 2.0.0.rc1
943
943
  #
944
- RubyLint.global_scope.define_constant('Gem::EndOfYAMLException') do |klass|
945
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
944
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::EndOfYAMLException') do |klass|
945
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
946
946
  end
947
947
 
948
948
  ##
@@ -950,8 +950,8 @@ end
950
950
  # Created: 2013-04-01 18:33:54 +0200
951
951
  # Platform: rbx 2.0.0.rc1
952
952
  #
953
- RubyLint.global_scope.define_constant('Gem::Exception') do |klass|
954
- klass.inherits(RubyLint.global_constant('RuntimeError'))
953
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Exception') do |klass|
954
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('RuntimeError'))
955
955
  end
956
956
 
957
957
  ##
@@ -959,8 +959,8 @@ end
959
959
  # Created: 2013-04-01 18:33:54 +0200
960
960
  # Platform: rbx 2.0.0.rc1
961
961
  #
962
- RubyLint.global_scope.define_constant('Gem::FilePermissionError') do |klass|
963
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
962
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::FilePermissionError') do |klass|
963
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
964
964
 
965
965
  klass.define_method('__class_init__')
966
966
  end
@@ -970,8 +970,8 @@ end
970
970
  # Created: 2013-04-01 18:33:54 +0200
971
971
  # Platform: rbx 2.0.0.rc1
972
972
  #
973
- RubyLint.global_scope.define_constant('Gem::FormatException') do |klass|
974
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
973
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::FormatException') do |klass|
974
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
975
975
 
976
976
  klass.define_method('__class_init__')
977
977
 
@@ -985,8 +985,8 @@ end
985
985
  # Created: 2013-04-01 18:33:54 +0200
986
986
  # Platform: rbx 2.0.0.rc1
987
987
  #
988
- RubyLint.global_scope.define_constant('Gem::GemNotFoundException') do |klass|
989
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
988
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::GemNotFoundException') do |klass|
989
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
990
990
 
991
991
  klass.define_method('__class_init__')
992
992
 
@@ -1002,8 +1002,8 @@ end
1002
1002
  # Created: 2013-04-01 18:33:54 +0200
1003
1003
  # Platform: rbx 2.0.0.rc1
1004
1004
  #
1005
- RubyLint.global_scope.define_constant('Gem::GemNotInHomeException') do |klass|
1006
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
1005
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::GemNotInHomeException') do |klass|
1006
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
1007
1007
 
1008
1008
  klass.define_method('__class_init__')
1009
1009
 
@@ -1017,8 +1017,8 @@ end
1017
1017
  # Created: 2013-04-01 18:33:54 +0200
1018
1018
  # Platform: rbx 2.0.0.rc1
1019
1019
  #
1020
- RubyLint.global_scope.define_constant('Gem::GemPathSearcher') do |klass|
1021
- klass.inherits(RubyLint.global_constant('Object'))
1020
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::GemPathSearcher') do |klass|
1021
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
1022
1022
 
1023
1023
  klass.define_method('__class_init__')
1024
1024
 
@@ -1097,8 +1097,8 @@ end
1097
1097
  # Created: 2013-04-01 18:33:54 +0200
1098
1098
  # Platform: rbx 2.0.0.rc1
1099
1099
  #
1100
- RubyLint.global_scope.define_constant('Gem::InstallError') do |klass|
1101
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
1100
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::InstallError') do |klass|
1101
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
1102
1102
  end
1103
1103
 
1104
1104
  ##
@@ -1106,8 +1106,8 @@ end
1106
1106
  # Created: 2013-04-01 18:33:54 +0200
1107
1107
  # Platform: rbx 2.0.0.rc1
1108
1108
  #
1109
- RubyLint.global_scope.define_constant('Gem::InvalidSpecificationException') do |klass|
1110
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
1109
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::InvalidSpecificationException') do |klass|
1110
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
1111
1111
  end
1112
1112
 
1113
1113
  ##
@@ -1115,8 +1115,8 @@ end
1115
1115
  # Created: 2013-04-01 18:33:54 +0200
1116
1116
  # Platform: rbx 2.0.0.rc1
1117
1117
  #
1118
- RubyLint.global_scope.define_constant('Gem::LoadError') do |klass|
1119
- klass.inherits(RubyLint.global_constant('LoadError'))
1118
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::LoadError') do |klass|
1119
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('LoadError'))
1120
1120
 
1121
1121
  klass.define_method('__class_init__')
1122
1122
 
@@ -1134,8 +1134,8 @@ end
1134
1134
  # Created: 2013-04-01 18:33:54 +0200
1135
1135
  # Platform: rbx 2.0.0.rc1
1136
1136
  #
1137
- RubyLint.global_scope.define_constant('Gem::LoadError::InvalidExtensionError') do |klass|
1138
- klass.inherits(RubyLint.global_constant('LoadError'))
1137
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::LoadError::InvalidExtensionError') do |klass|
1138
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('LoadError'))
1139
1139
  end
1140
1140
 
1141
1141
  ##
@@ -1143,8 +1143,8 @@ end
1143
1143
  # Created: 2013-04-01 18:33:54 +0200
1144
1144
  # Platform: rbx 2.0.0.rc1
1145
1145
  #
1146
- RubyLint.global_scope.define_constant('Gem::LoadError::MRIExtensionError') do |klass|
1147
- klass.inherits(RubyLint.global_constant('LoadError::InvalidExtensionError'))
1146
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::LoadError::MRIExtensionError') do |klass|
1147
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('LoadError::InvalidExtensionError'))
1148
1148
  end
1149
1149
 
1150
1150
  ##
@@ -1152,7 +1152,7 @@ end
1152
1152
  # Created: 2013-04-01 18:33:54 +0200
1153
1153
  # Platform: rbx 2.0.0.rc1
1154
1154
  #
1155
- RubyLint.global_scope.define_constant('Gem::MARSHAL_SPEC_DIR') do |klass|
1155
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::MARSHAL_SPEC_DIR') do |klass|
1156
1156
  end
1157
1157
 
1158
1158
  ##
@@ -1160,8 +1160,8 @@ end
1160
1160
  # Created: 2013-04-01 18:33:54 +0200
1161
1161
  # Platform: rbx 2.0.0.rc1
1162
1162
  #
1163
- RubyLint.global_scope.define_constant('Gem::NoAliasYAMLTree') do |klass|
1164
- klass.inherits(RubyLint.global_constant('Psych::Visitors::YAMLTree'))
1163
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::NoAliasYAMLTree') do |klass|
1164
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Psych::Visitors::YAMLTree'))
1165
1165
 
1166
1166
  klass.define_method('__class_init__')
1167
1167
 
@@ -1180,7 +1180,7 @@ end
1180
1180
  # Created: 2013-04-01 18:33:54 +0200
1181
1181
  # Platform: rbx 2.0.0.rc1
1182
1182
  #
1183
- RubyLint.global_scope.define_constant('Gem::NoAliasYAMLTree::DISPATCH') do |klass|
1183
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::NoAliasYAMLTree::DISPATCH') do |klass|
1184
1184
  end
1185
1185
 
1186
1186
  ##
@@ -1188,8 +1188,8 @@ end
1188
1188
  # Created: 2013-04-01 18:33:54 +0200
1189
1189
  # Platform: rbx 2.0.0.rc1
1190
1190
  #
1191
- RubyLint.global_scope.define_constant('Gem::OperationNotSupportedError') do |klass|
1192
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
1191
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::OperationNotSupportedError') do |klass|
1192
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
1193
1193
  end
1194
1194
 
1195
1195
  ##
@@ -1197,8 +1197,8 @@ end
1197
1197
  # Created: 2013-04-01 18:33:54 +0200
1198
1198
  # Platform: rbx 2.0.0.rc1
1199
1199
  #
1200
- RubyLint.global_scope.define_constant('Gem::PackageTask') do |klass|
1201
- klass.inherits(RubyLint.global_constant('Rake::PackageTask'))
1200
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask') do |klass|
1201
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Rake::PackageTask'))
1202
1202
 
1203
1203
  klass.define_method('__class_init__')
1204
1204
 
@@ -1218,7 +1218,7 @@ end
1218
1218
  # Created: 2013-04-01 18:33:54 +0200
1219
1219
  # Platform: rbx 2.0.0.rc1
1220
1220
  #
1221
- RubyLint.global_scope.define_constant('Gem::PackageTask::DEFAULT') do |klass|
1221
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::DEFAULT') do |klass|
1222
1222
  end
1223
1223
 
1224
1224
  ##
@@ -1226,7 +1226,7 @@ end
1226
1226
  # Created: 2013-04-01 18:33:54 +0200
1227
1227
  # Platform: rbx 2.0.0.rc1
1228
1228
  #
1229
- RubyLint.global_scope.define_constant('Gem::PackageTask::DryRun') do |klass|
1229
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::DryRun') do |klass|
1230
1230
 
1231
1231
  klass.define_method('__module_init__')
1232
1232
 
@@ -1412,8 +1412,8 @@ end
1412
1412
  # Created: 2013-04-01 18:33:54 +0200
1413
1413
  # Platform: rbx 2.0.0.rc1
1414
1414
  #
1415
- RubyLint.global_scope.define_constant('Gem::PackageTask::Entry_') do |klass|
1416
- klass.inherits(RubyLint.global_constant('Object'))
1415
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::Entry_') do |klass|
1416
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
1417
1417
 
1418
1418
  klass.define_method('__class_init__')
1419
1419
 
@@ -1496,7 +1496,7 @@ end
1496
1496
  # Created: 2013-04-01 18:33:54 +0200
1497
1497
  # Platform: rbx 2.0.0.rc1
1498
1498
  #
1499
- RubyLint.global_scope.define_constant('Gem::PackageTask::LN_SUPPORTED') do |klass|
1499
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::LN_SUPPORTED') do |klass|
1500
1500
  end
1501
1501
 
1502
1502
  ##
@@ -1504,7 +1504,7 @@ end
1504
1504
  # Created: 2013-04-01 18:33:54 +0200
1505
1505
  # Platform: rbx 2.0.0.rc1
1506
1506
  #
1507
- RubyLint.global_scope.define_constant('Gem::PackageTask::LOW_METHODS') do |klass|
1507
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::LOW_METHODS') do |klass|
1508
1508
  end
1509
1509
 
1510
1510
  ##
@@ -1512,7 +1512,7 @@ end
1512
1512
  # Created: 2013-04-01 18:33:54 +0200
1513
1513
  # Platform: rbx 2.0.0.rc1
1514
1514
  #
1515
- RubyLint.global_scope.define_constant('Gem::PackageTask::LowMethods') do |klass|
1515
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::LowMethods') do |klass|
1516
1516
 
1517
1517
  klass.define_method('__module_init__')
1518
1518
  end
@@ -1522,7 +1522,7 @@ end
1522
1522
  # Created: 2013-04-01 18:33:54 +0200
1523
1523
  # Platform: rbx 2.0.0.rc1
1524
1524
  #
1525
- RubyLint.global_scope.define_constant('Gem::PackageTask::METHODS') do |klass|
1525
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::METHODS') do |klass|
1526
1526
  end
1527
1527
 
1528
1528
  ##
@@ -1530,7 +1530,7 @@ end
1530
1530
  # Created: 2013-04-01 18:33:54 +0200
1531
1531
  # Platform: rbx 2.0.0.rc1
1532
1532
  #
1533
- RubyLint.global_scope.define_constant('Gem::PackageTask::NoWrite') do |klass|
1533
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::NoWrite') do |klass|
1534
1534
 
1535
1535
  klass.define_method('__module_init__')
1536
1536
 
@@ -1716,7 +1716,7 @@ end
1716
1716
  # Created: 2013-04-01 18:33:54 +0200
1717
1717
  # Platform: rbx 2.0.0.rc1
1718
1718
  #
1719
- RubyLint.global_scope.define_constant('Gem::PackageTask::OPT_TABLE') do |klass|
1719
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::OPT_TABLE') do |klass|
1720
1720
  end
1721
1721
 
1722
1722
  ##
@@ -1724,7 +1724,7 @@ end
1724
1724
  # Created: 2013-04-01 18:33:54 +0200
1725
1725
  # Platform: rbx 2.0.0.rc1
1726
1726
  #
1727
- RubyLint.global_scope.define_constant('Gem::PackageTask::RUBY') do |klass|
1727
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::RUBY') do |klass|
1728
1728
  end
1729
1729
 
1730
1730
  ##
@@ -1732,7 +1732,7 @@ end
1732
1732
  # Created: 2013-04-01 18:33:54 +0200
1733
1733
  # Platform: rbx 2.0.0.rc1
1734
1734
  #
1735
- RubyLint.global_scope.define_constant('Gem::PackageTask::StreamUtils_') do |klass|
1735
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::StreamUtils_') do |klass|
1736
1736
 
1737
1737
  klass.define_method('__module_init__')
1738
1738
  end
@@ -1742,7 +1742,7 @@ end
1742
1742
  # Created: 2013-04-01 18:33:54 +0200
1743
1743
  # Platform: rbx 2.0.0.rc1
1744
1744
  #
1745
- RubyLint.global_scope.define_constant('Gem::PackageTask::Verbose') do |klass|
1745
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PackageTask::Verbose') do |klass|
1746
1746
 
1747
1747
  klass.define_method('__module_init__')
1748
1748
 
@@ -1942,8 +1942,8 @@ end
1942
1942
  # Created: 2013-04-01 18:33:54 +0200
1943
1943
  # Platform: rbx 2.0.0.rc1
1944
1944
  #
1945
- RubyLint.global_scope.define_constant('Gem::PathSupport') do |klass|
1946
- klass.inherits(RubyLint.global_constant('Object'))
1945
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::PathSupport') do |klass|
1946
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
1947
1947
 
1948
1948
  klass.define_method('__class_init__')
1949
1949
 
@@ -1957,8 +1957,8 @@ end
1957
1957
  # Created: 2013-04-01 18:33:54 +0200
1958
1958
  # Platform: rbx 2.0.0.rc1
1959
1959
  #
1960
- RubyLint.global_scope.define_constant('Gem::Platform') do |klass|
1961
- klass.inherits(RubyLint.global_constant('Object'))
1960
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Platform') do |klass|
1961
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
1962
1962
 
1963
1963
  klass.define_method('__class_init__')
1964
1964
 
@@ -2020,7 +2020,7 @@ end
2020
2020
  # Created: 2013-04-01 18:33:54 +0200
2021
2021
  # Platform: rbx 2.0.0.rc1
2022
2022
  #
2023
- RubyLint.global_scope.define_constant('Gem::Platform::CURRENT') do |klass|
2023
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Platform::CURRENT') do |klass|
2024
2024
  end
2025
2025
 
2026
2026
  ##
@@ -2028,7 +2028,7 @@ end
2028
2028
  # Created: 2013-04-01 18:33:54 +0200
2029
2029
  # Platform: rbx 2.0.0.rc1
2030
2030
  #
2031
- RubyLint.global_scope.define_constant('Gem::Platform::RUBY') do |klass|
2031
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Platform::RUBY') do |klass|
2032
2032
  end
2033
2033
 
2034
2034
  ##
@@ -2036,7 +2036,7 @@ end
2036
2036
  # Created: 2013-04-01 18:33:54 +0200
2037
2037
  # Platform: rbx 2.0.0.rc1
2038
2038
  #
2039
- RubyLint.global_scope.define_constant('Gem::RUBYGEMS_DIR') do |klass|
2039
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::RUBYGEMS_DIR') do |klass|
2040
2040
  end
2041
2041
 
2042
2042
  ##
@@ -2044,7 +2044,7 @@ end
2044
2044
  # Created: 2013-04-01 18:33:54 +0200
2045
2045
  # Platform: rbx 2.0.0.rc1
2046
2046
  #
2047
- RubyLint.global_scope.define_constant('Gem::RbConfigPriorities') do |klass|
2047
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::RbConfigPriorities') do |klass|
2048
2048
  end
2049
2049
 
2050
2050
  ##
@@ -2052,8 +2052,8 @@ end
2052
2052
  # Created: 2013-04-01 18:33:54 +0200
2053
2053
  # Platform: rbx 2.0.0.rc1
2054
2054
  #
2055
- RubyLint.global_scope.define_constant('Gem::RemoteError') do |klass|
2056
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
2055
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::RemoteError') do |klass|
2056
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
2057
2057
  end
2058
2058
 
2059
2059
  ##
@@ -2061,8 +2061,8 @@ end
2061
2061
  # Created: 2013-04-01 18:33:54 +0200
2062
2062
  # Platform: rbx 2.0.0.rc1
2063
2063
  #
2064
- RubyLint.global_scope.define_constant('Gem::RemoteInstallationCancelled') do |klass|
2065
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
2064
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::RemoteInstallationCancelled') do |klass|
2065
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
2066
2066
  end
2067
2067
 
2068
2068
  ##
@@ -2070,8 +2070,8 @@ end
2070
2070
  # Created: 2013-04-01 18:33:54 +0200
2071
2071
  # Platform: rbx 2.0.0.rc1
2072
2072
  #
2073
- RubyLint.global_scope.define_constant('Gem::RemoteInstallationSkipped') do |klass|
2074
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
2073
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::RemoteInstallationSkipped') do |klass|
2074
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
2075
2075
  end
2076
2076
 
2077
2077
  ##
@@ -2079,8 +2079,8 @@ end
2079
2079
  # Created: 2013-04-01 18:33:54 +0200
2080
2080
  # Platform: rbx 2.0.0.rc1
2081
2081
  #
2082
- RubyLint.global_scope.define_constant('Gem::RemoteSourceException') do |klass|
2083
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
2082
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::RemoteSourceException') do |klass|
2083
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
2084
2084
  end
2085
2085
 
2086
2086
  ##
@@ -2088,8 +2088,8 @@ end
2088
2088
  # Created: 2013-04-01 18:33:54 +0200
2089
2089
  # Platform: rbx 2.0.0.rc1
2090
2090
  #
2091
- RubyLint.global_scope.define_constant('Gem::Requirement') do |klass|
2092
- klass.inherits(RubyLint.global_constant('Object'))
2091
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Requirement') do |klass|
2092
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
2093
2093
 
2094
2094
  klass.define_method('__class_init__')
2095
2095
 
@@ -2158,7 +2158,7 @@ end
2158
2158
  # Created: 2013-04-01 18:33:54 +0200
2159
2159
  # Platform: rbx 2.0.0.rc1
2160
2160
  #
2161
- RubyLint.global_scope.define_constant('Gem::Requirement::OPS') do |klass|
2161
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Requirement::OPS') do |klass|
2162
2162
  end
2163
2163
 
2164
2164
  ##
@@ -2166,7 +2166,7 @@ end
2166
2166
  # Created: 2013-04-01 18:33:54 +0200
2167
2167
  # Platform: rbx 2.0.0.rc1
2168
2168
  #
2169
- RubyLint.global_scope.define_constant('Gem::Requirement::PATTERN') do |klass|
2169
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Requirement::PATTERN') do |klass|
2170
2170
  end
2171
2171
 
2172
2172
  ##
@@ -2174,8 +2174,8 @@ end
2174
2174
  # Created: 2013-04-01 18:33:54 +0200
2175
2175
  # Platform: rbx 2.0.0.rc1
2176
2176
  #
2177
- RubyLint.global_scope.define_constant('Gem::SourceIndex') do |klass|
2178
- klass.inherits(RubyLint.global_constant('Object'))
2177
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::SourceIndex') do |klass|
2178
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
2179
2179
 
2180
2180
  klass.define_method('__class_init__')
2181
2181
 
@@ -2386,8 +2386,8 @@ end
2386
2386
  # Created: 2013-04-01 18:33:54 +0200
2387
2387
  # Platform: rbx 2.0.0.rc1
2388
2388
  #
2389
- RubyLint.global_scope.define_constant('Gem::SourceIndex::SortedElement') do |klass|
2390
- klass.inherits(RubyLint.global_constant('Object'))
2389
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::SourceIndex::SortedElement') do |klass|
2390
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
2391
2391
 
2392
2392
  klass.define_method('__class_init__')
2393
2393
 
@@ -2410,8 +2410,8 @@ end
2410
2410
  # Created: 2013-04-01 18:33:54 +0200
2411
2411
  # Platform: rbx 2.0.0.rc1
2412
2412
  #
2413
- RubyLint.global_scope.define_constant('Gem::SpecFetcher') do |klass|
2414
- klass.inherits(RubyLint.global_constant('Object'))
2413
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::SpecFetcher') do |klass|
2414
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
2415
2415
 
2416
2416
  klass.define_method('__class_init__')
2417
2417
 
@@ -2480,7 +2480,7 @@ end
2480
2480
  # Created: 2013-04-01 18:33:54 +0200
2481
2481
  # Platform: rbx 2.0.0.rc1
2482
2482
  #
2483
- RubyLint.global_scope.define_constant('Gem::SpecFetcher::FILES') do |klass|
2483
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::SpecFetcher::FILES') do |klass|
2484
2484
  end
2485
2485
 
2486
2486
  ##
@@ -2488,8 +2488,8 @@ end
2488
2488
  # Created: 2013-04-01 18:33:54 +0200
2489
2489
  # Platform: rbx 2.0.0.rc1
2490
2490
  #
2491
- RubyLint.global_scope.define_constant('Gem::Specification') do |klass|
2492
- klass.inherits(RubyLint.global_constant('Object'))
2491
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Specification') do |klass|
2492
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
2493
2493
 
2494
2494
  klass.define_method('__class_init__')
2495
2495
 
@@ -3000,7 +3000,7 @@ end
3000
3000
  # Created: 2013-04-01 18:33:54 +0200
3001
3001
  # Platform: rbx 2.0.0.rc1
3002
3002
  #
3003
- RubyLint.global_scope.define_constant('Gem::Specification::CURRENT_SPECIFICATION_VERSION') do |klass|
3003
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Specification::CURRENT_SPECIFICATION_VERSION') do |klass|
3004
3004
  end
3005
3005
 
3006
3006
  ##
@@ -3008,7 +3008,7 @@ end
3008
3008
  # Created: 2013-04-01 18:33:54 +0200
3009
3009
  # Platform: rbx 2.0.0.rc1
3010
3010
  #
3011
- RubyLint.global_scope.define_constant('Gem::Specification::MARSHAL_FIELDS') do |klass|
3011
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Specification::MARSHAL_FIELDS') do |klass|
3012
3012
  end
3013
3013
 
3014
3014
  ##
@@ -3016,7 +3016,7 @@ end
3016
3016
  # Created: 2013-04-01 18:33:54 +0200
3017
3017
  # Platform: rbx 2.0.0.rc1
3018
3018
  #
3019
- RubyLint.global_scope.define_constant('Gem::Specification::NONEXISTENT_SPECIFICATION_VERSION') do |klass|
3019
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Specification::NONEXISTENT_SPECIFICATION_VERSION') do |klass|
3020
3020
  end
3021
3021
 
3022
3022
  ##
@@ -3024,7 +3024,7 @@ end
3024
3024
  # Created: 2013-04-01 18:33:54 +0200
3025
3025
  # Platform: rbx 2.0.0.rc1
3026
3026
  #
3027
- RubyLint.global_scope.define_constant('Gem::Specification::TODAY') do |klass|
3027
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Specification::TODAY') do |klass|
3028
3028
  end
3029
3029
 
3030
3030
  ##
@@ -3032,8 +3032,8 @@ end
3032
3032
  # Created: 2013-04-01 18:33:54 +0200
3033
3033
  # Platform: rbx 2.0.0.rc1
3034
3034
  #
3035
- RubyLint.global_scope.define_constant('Gem::SyckDefaultKey') do |klass|
3036
- klass.inherits(RubyLint.global_constant('Object'))
3035
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::SyckDefaultKey') do |klass|
3036
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
3037
3037
 
3038
3038
  klass.define_method('__class_init__')
3039
3039
 
@@ -3045,8 +3045,8 @@ end
3045
3045
  # Created: 2013-04-01 18:33:54 +0200
3046
3046
  # Platform: rbx 2.0.0.rc1
3047
3047
  #
3048
- RubyLint.global_scope.define_constant('Gem::SystemExitException') do |klass|
3049
- klass.inherits(RubyLint.global_constant('SystemExit'))
3048
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::SystemExitException') do |klass|
3049
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('SystemExit'))
3050
3050
 
3051
3051
  klass.define_method('__class_init__')
3052
3052
 
@@ -3060,7 +3060,7 @@ end
3060
3060
  # Created: 2013-04-01 18:33:54 +0200
3061
3061
  # Platform: rbx 2.0.0.rc1
3062
3062
  #
3063
- RubyLint.global_scope.define_constant('Gem::VERSION') do |klass|
3063
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::VERSION') do |klass|
3064
3064
  end
3065
3065
 
3066
3066
  ##
@@ -3068,8 +3068,8 @@ end
3068
3068
  # Created: 2013-04-01 18:33:54 +0200
3069
3069
  # Platform: rbx 2.0.0.rc1
3070
3070
  #
3071
- RubyLint.global_scope.define_constant('Gem::VerificationError') do |klass|
3072
- klass.inherits(RubyLint.global_constant('Gem::Exception'))
3071
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::VerificationError') do |klass|
3072
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Gem::Exception'))
3073
3073
  end
3074
3074
 
3075
3075
  ##
@@ -3077,8 +3077,8 @@ end
3077
3077
  # Created: 2013-04-01 18:33:54 +0200
3078
3078
  # Platform: rbx 2.0.0.rc1
3079
3079
  #
3080
- RubyLint.global_scope.define_constant('Gem::Version') do |klass|
3081
- klass.inherits(RubyLint.global_constant('Object'))
3080
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Version') do |klass|
3081
+ klass.inherits(RubyLint::VirtualMachine.constant_proxy('Object'))
3082
3082
 
3083
3083
  klass.define_method('__class_init__')
3084
3084
 
@@ -3141,7 +3141,7 @@ end
3141
3141
  # Created: 2013-04-01 18:33:54 +0200
3142
3142
  # Platform: rbx 2.0.0.rc1
3143
3143
  #
3144
- RubyLint.global_scope.define_constant('Gem::Version::ANCHORED_VERSION_PATTERN') do |klass|
3144
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Version::ANCHORED_VERSION_PATTERN') do |klass|
3145
3145
  end
3146
3146
 
3147
3147
  ##
@@ -3149,7 +3149,7 @@ end
3149
3149
  # Created: 2013-04-01 18:33:54 +0200
3150
3150
  # Platform: rbx 2.0.0.rc1
3151
3151
  #
3152
- RubyLint.global_scope.define_constant('Gem::Version::VERSION_PATTERN') do |klass|
3152
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::Version::VERSION_PATTERN') do |klass|
3153
3153
  end
3154
3154
 
3155
3155
  ##
@@ -3157,5 +3157,5 @@ end
3157
3157
  # Created: 2013-04-01 18:33:54 +0200
3158
3158
  # Platform: rbx 2.0.0.rc1
3159
3159
  #
3160
- RubyLint.global_scope.define_constant('Gem::WIN_PATTERNS') do |klass|
3160
+ RubyLint::VirtualMachine.global_scope.define_constant('Gem::WIN_PATTERNS') do |klass|
3161
3161
  end