ruby-lint 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.asc +17 -0
- data.tar.gz.asc +14 -14
- data/.ruby-version +1 -0
- data/.travis.yml +0 -1
- data/.yardopts +1 -0
- data/CONTRIBUTING.md +41 -0
- data/MANIFEST +99 -66
- data/README.md +36 -10
- data/Rakefile +6 -0
- data/checksum/ruby-lint-0.0.4.gem.sha512 +1 -0
- data/doc/changelog.md +94 -0
- data/lib/ruby-lint.rb +18 -1
- data/lib/ruby-lint/analysis/argument_amount.rb +43 -10
- data/lib/ruby-lint/analysis/base.rb +23 -17
- data/lib/ruby-lint/analysis/pedantics.rb +3 -1
- data/lib/ruby-lint/analysis/undefined_methods.rb +48 -10
- data/lib/ruby-lint/analysis/unused_variables.rb +27 -5
- data/lib/ruby-lint/ast/node.rb +10 -0
- data/lib/ruby-lint/cli/analyze.rb +22 -4
- data/lib/ruby-lint/cli/base.rb +8 -2
- data/lib/ruby-lint/configuration.rb +43 -4
- data/lib/ruby-lint/definition/constant_proxy.rb +10 -1
- data/lib/ruby-lint/definition/ruby_method.rb +45 -31
- data/lib/ruby-lint/definition/ruby_object.rb +56 -15
- data/lib/ruby-lint/definition_builder/base.rb +4 -0
- data/lib/ruby-lint/definition_builder/primitive.rb +1 -1
- data/lib/ruby-lint/definition_builder/ruby_array.rb +1 -1
- data/lib/ruby-lint/definition_builder/ruby_block.rb +1 -0
- data/lib/ruby-lint/definition_builder/ruby_class.rb +1 -1
- data/lib/ruby-lint/definition_builder/ruby_hash.rb +1 -1
- data/lib/ruby-lint/definition_builder/ruby_module.rb +3 -1
- data/lib/ruby-lint/definition_generator.rb +15 -7
- data/lib/ruby-lint/definitions/core/arg0.rb +1 -1
- data/lib/ruby-lint/definitions/core/argf.rb +1 -1
- data/lib/ruby-lint/definitions/core/argument_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/argv.rb +1 -1
- data/lib/ruby-lint/definitions/core/array.rb +6 -6
- data/lib/ruby-lint/definitions/core/autoload.rb +2 -2
- data/lib/ruby-lint/definitions/core/basic_object.rb +8 -12
- data/lib/ruby-lint/definitions/core/bignum.rb +2 -2
- data/lib/ruby-lint/definitions/core/binding.rb +2 -2
- data/lib/ruby-lint/definitions/core/class.rb +2 -2
- data/lib/ruby-lint/definitions/core/comparable.rb +1 -1
- data/lib/ruby-lint/definitions/core/complex.rb +4 -4
- data/lib/ruby-lint/definitions/core/condition_variable.rb +2 -2
- data/lib/ruby-lint/definitions/core/continuation.rb +2 -2
- data/lib/ruby-lint/definitions/core/data.rb +2 -2
- data/lib/ruby-lint/definitions/core/date.rb +34 -34
- data/lib/ruby-lint/definitions/core/date_time.rb +26 -26
- data/lib/ruby-lint/definitions/core/default_record_separator.rb +1 -1
- data/lib/ruby-lint/definitions/core/digest.rb +14 -14
- data/lib/ruby-lint/definitions/core/dir.rb +34 -34
- data/lib/ruby-lint/definitions/core/encoding.rb +237 -237
- data/lib/ruby-lint/definitions/core/encoding_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/enumerable.rb +15 -15
- data/lib/ruby-lint/definitions/core/enumerator.rb +2 -2
- data/lib/ruby-lint/definitions/core/env.rb +1 -1
- data/lib/ruby-lint/definitions/core/eoferror.rb +2 -2
- data/lib/ruby-lint/definitions/core/erb.rb +30 -23
- data/lib/ruby-lint/definitions/core/errno.rb +525 -525
- data/lib/ruby-lint/definitions/core/etc.rb +6 -6
- data/lib/ruby-lint/definitions/core/exception.rb +2 -2
- data/lib/ruby-lint/definitions/core/false.rb +1 -1
- data/lib/ruby-lint/definitions/core/false_class.rb +2 -2
- data/lib/ruby-lint/definitions/core/fatal_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/fiber.rb +2 -2
- data/lib/ruby-lint/definitions/core/fiber_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/file.rb +68 -68
- data/lib/ruby-lint/definitions/core/file_list.rb +2 -2
- data/lib/ruby-lint/definitions/core/file_test.rb +1 -1
- data/lib/ruby-lint/definitions/core/file_utils.rb +16 -16
- data/lib/ruby-lint/definitions/core/fixnum.rb +4 -4
- data/lib/ruby-lint/definitions/core/float.rb +16 -16
- data/lib/ruby-lint/definitions/core/float_domain_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/gc.rb +2 -2
- data/lib/ruby-lint/definitions/core/gem.rb +119 -119
- data/lib/ruby-lint/definitions/core/hash.rb +14 -14
- data/lib/ruby-lint/definitions/core/immediate_value.rb +1 -1
- data/lib/ruby-lint/definitions/core/index_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/integer.rb +2 -2
- data/lib/ruby-lint/definitions/core/interrupt.rb +2 -2
- data/lib/ruby-lint/definitions/core/io.rb +38 -38
- data/lib/ruby-lint/definitions/core/ioerror.rb +2 -2
- data/lib/ruby-lint/definitions/core/kernel.rb +113 -60
- data/lib/ruby-lint/definitions/core/key_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/load_error.rb +6 -6
- data/lib/ruby-lint/definitions/core/local_jump_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/marshal.rb +35 -35
- data/lib/ruby-lint/definitions/core/match_data.rb +2 -2
- data/lib/ruby-lint/definitions/core/math.rb +7 -7
- data/lib/ruby-lint/definitions/core/memory_segmention_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/method.rb +2 -2
- data/lib/ruby-lint/definitions/core/module.rb +39 -3
- data/lib/ruby-lint/definitions/core/monitor.rb +4 -4
- data/lib/ruby-lint/definitions/core/monitor_mixin.rb +5 -5
- data/lib/ruby-lint/definitions/core/mutex.rb +2 -2
- data/lib/ruby-lint/definitions/core/name_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/nil.rb +1 -1
- data/lib/ruby-lint/definitions/core/nil_class.rb +2 -2
- data/lib/ruby-lint/definitions/core/no_memory_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/no_method_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/not_implemented_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/numeric.rb +2 -2
- data/lib/ruby-lint/definitions/core/object.rb +2 -2
- data/lib/ruby-lint/definitions/core/object_space.rb +1 -1
- data/lib/ruby-lint/definitions/core/open_struct.rb +3 -3
- data/lib/ruby-lint/definitions/core/option_parser.rb +83 -83
- data/lib/ruby-lint/definitions/core/precision.rb +1 -1
- data/lib/ruby-lint/definitions/core/primitive_failure.rb +2 -2
- data/lib/ruby-lint/definitions/core/proc.rb +2 -2
- data/lib/ruby-lint/definitions/core/process.rb +29 -29
- data/lib/ruby-lint/definitions/core/queue.rb +2 -2
- data/lib/ruby-lint/definitions/core/rake.rb +117 -117
- data/lib/ruby-lint/definitions/core/rake_file_utils.rb +1 -1
- data/lib/ruby-lint/definitions/core/rakeversion.rb +1 -1
- data/lib/ruby-lint/definitions/core/random.rb +2 -2
- data/lib/ruby-lint/definitions/core/range.rb +4 -4
- data/lib/ruby-lint/definitions/core/range_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/rational.rb +2 -2
- data/lib/ruby-lint/definitions/core/rb_config.rb +3 -3
- data/lib/ruby-lint/definitions/core/regexp.rb +28 -28
- data/lib/ruby-lint/definitions/core/regexp_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/ruby_copyright.rb +1 -1
- data/lib/ruby-lint/definitions/core/ruby_description.rb +1 -1
- data/lib/ruby-lint/definitions/core/ruby_engine.rb +1 -1
- data/lib/ruby-lint/definitions/core/ruby_patchlevel.rb +1 -1
- data/lib/ruby-lint/definitions/core/ruby_platform.rb +1 -1
- data/lib/ruby-lint/definitions/core/ruby_release_date.rb +1 -1
- data/lib/ruby-lint/definitions/core/ruby_version.rb +1 -1
- data/lib/ruby-lint/definitions/core/runtime_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/scan_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/script_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/security_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/shellwords.rb +1 -1
- data/lib/ruby-lint/definitions/core/signal.rb +3 -3
- data/lib/ruby-lint/definitions/core/signal_exception.rb +2 -2
- data/lib/ruby-lint/definitions/core/singleton.rb +2 -2
- data/lib/ruby-lint/definitions/core/sized_queue.rb +2 -2
- data/lib/ruby-lint/definitions/core/standard_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/stderr.rb +3 -2
- data/lib/ruby-lint/definitions/core/stdin.rb +3 -2
- data/lib/ruby-lint/definitions/core/stdout.rb +3 -2
- data/lib/ruby-lint/definitions/core/stop_iteration.rb +2 -2
- data/lib/ruby-lint/definitions/core/string.rb +21 -21
- data/lib/ruby-lint/definitions/core/string_io.rb +7 -7
- data/lib/ruby-lint/definitions/core/string_scanner.rb +4 -4
- data/lib/ruby-lint/definitions/core/struct.rb +20 -20
- data/lib/ruby-lint/definitions/core/syck.rb +4 -4
- data/lib/ruby-lint/definitions/core/symbol.rb +2 -2
- data/lib/ruby-lint/definitions/core/syntax_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/system_call_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/system_exit.rb +2 -2
- data/lib/ruby-lint/definitions/core/system_stack_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/thread.rb +6 -6
- data/lib/ruby-lint/definitions/core/thread_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/thread_group.rb +2 -2
- data/lib/ruby-lint/definitions/core/time.rb +3 -3
- data/lib/ruby-lint/definitions/core/toplevel_binding.rb +1 -1
- data/lib/ruby-lint/definitions/core/true.rb +1 -1
- data/lib/ruby-lint/definitions/core/true_class.rb +2 -2
- data/lib/ruby-lint/definitions/core/type_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/unbound_method.rb +2 -2
- data/lib/ruby-lint/definitions/core/unmarshalable.rb +1 -1
- data/lib/ruby-lint/definitions/core/unsupported_library_error.rb +2 -2
- data/lib/ruby-lint/definitions/core/weak_ref.rb +4 -4
- data/lib/ruby-lint/definitions/core/yaml.rb +2361 -0
- data/lib/ruby-lint/definitions/core/zero_division_error.rb +2 -2
- data/lib/ruby-lint/definitions/global_variables.rb +9 -0
- data/lib/ruby-lint/definitions/rails/abstract_controller.rb +174 -28
- data/lib/ruby-lint/definitions/rails/action_controller.rb +4959 -550
- data/lib/ruby-lint/definitions/rails/action_dispatch.rb +2489 -292
- data/lib/ruby-lint/definitions/rails/action_mailer.rb +1285 -42
- data/lib/ruby-lint/definitions/rails/action_pack.rb +14 -6
- data/lib/ruby-lint/definitions/rails/action_view.rb +6941 -445
- data/lib/ruby-lint/definitions/rails/active_model.rb +1212 -69
- data/lib/ruby-lint/definitions/rails/active_record.rb +10344 -1450
- data/lib/ruby-lint/definitions/rails/active_support.rb +4631 -573
- data/lib/ruby-lint/definitions/rails/arel.rb +3211 -319
- data/lib/ruby-lint/definitions/rails/rails.rb +2922 -84
- data/lib/ruby-lint/definitions/rails/sprockets.rb +3048 -277
- data/lib/ruby-lint/docstring/mapping.rb +55 -0
- data/lib/ruby-lint/docstring/param_tag.rb +29 -0
- data/lib/ruby-lint/docstring/parser.rb +133 -0
- data/lib/ruby-lint/docstring/return_tag.rb +24 -0
- data/lib/ruby-lint/file_loader.rb +96 -0
- data/lib/ruby-lint/file_scanner.rb +91 -0
- data/lib/ruby-lint/global_scope.rb +56 -0
- data/lib/ruby-lint/helper/constant_paths.rb +1 -1
- data/lib/ruby-lint/inspector.rb +11 -33
- data/lib/ruby-lint/iterator.rb +31 -4
- data/lib/ruby-lint/method_call/alias.rb +46 -0
- data/lib/ruby-lint/method_call/assign_member.rb +55 -0
- data/lib/ruby-lint/method_call/attribute.rb +102 -0
- data/lib/ruby-lint/method_call/base.rb +37 -0
- data/lib/ruby-lint/method_call/define_method.rb +17 -0
- data/lib/ruby-lint/method_call/include.rb +39 -0
- data/lib/ruby-lint/parser.rb +9 -4
- data/lib/ruby-lint/presenter/text.rb +2 -1
- data/lib/ruby-lint/report.rb +19 -42
- data/lib/ruby-lint/report/entry.rb +20 -17
- data/lib/ruby-lint/runner.rb +92 -11
- data/lib/ruby-lint/template/definition.erb +2 -2
- data/lib/ruby-lint/variable_predicates.rb +7 -10
- data/lib/ruby-lint/version.rb +1 -1
- data/lib/ruby-lint/virtual_machine.rb +265 -188
- data/ruby-lint.gemspec +4 -4
- data/ruby-lint.yml +7 -0
- data/spec/fixtures/associating.rb +7 -0
- data/spec/fixtures/file_scanner/lib/example/recursive/source.rb +6 -0
- data/spec/fixtures/file_scanner/lib/example/recursive/target.rb +8 -0
- data/spec/fixtures/file_scanner/lib/example/user.rb +6 -0
- data/spec/fixtures/file_scanner/lib/test-dashes/foo.rb +4 -0
- data/spec/fixtures/file_scanner/rails/app/models/example/user.rb +6 -0
- data/spec/fixtures/file_scanner/rails/app/models/user.rb +4 -0
- data/spec/fixtures/uses_external.rb +1 -0
- data/spec/fixtures/uses_external_invalid.rb +3 -0
- data/spec/fixtures/uses_external_namespace.rb +1 -0
- data/spec/ruby-lint/analysis/{argument_amount.rb → argument_amount_spec.rb} +33 -7
- data/spec/ruby-lint/analysis/base_spec.rb +12 -0
- data/spec/ruby-lint/analysis/{pedantics.rb → pedantics_spec.rb} +24 -4
- data/spec/ruby-lint/analysis/{shadowing_variables.rb → shadowing_variables_spec.rb} +6 -6
- data/spec/ruby-lint/analysis/undefined_methods_spec.rb +320 -0
- data/spec/ruby-lint/analysis/{undefined_variables.rb → undefined_variables_spec.rb} +33 -10
- data/spec/ruby-lint/analysis/{unused_variables.rb → unused_variables_spec.rb} +36 -9
- data/spec/ruby-lint/ast/{node.rb → node_spec.rb} +12 -6
- data/spec/ruby-lint/cli/{analyze.rb → analyze_spec.rb} +16 -5
- data/spec/ruby-lint/cli/{ast.rb → ast_spec.rb} +3 -3
- data/spec/ruby-lint/configuration_spec.rb +106 -0
- data/spec/ruby-lint/definition/constant_proxy_spec.rb +54 -0
- data/spec/ruby-lint/definition/{dsl.rb → dsl_spec.rb} +15 -15
- data/spec/ruby-lint/definition/{ruby_method.rb → ruby_method_spec.rb} +31 -17
- data/spec/ruby-lint/definition/{ruby_object.rb → ruby_object_spec.rb} +28 -23
- data/spec/ruby-lint/definition_builder/{primitive.rb → primitive_spec.rb} +9 -9
- data/spec/ruby-lint/definition_builder/{ruby_class.rb → ruby_class_spec.rb} +13 -13
- data/spec/ruby-lint/definition_builder/{ruby_method.rb → ruby_method_spec.rb} +9 -9
- data/spec/ruby-lint/definition_builder/{ruby_module.rb → ruby_module_spec.rb} +12 -10
- data/spec/ruby-lint/docstring/mapping.rb +27 -0
- data/spec/ruby-lint/docstring/parser_spec.rb +88 -0
- data/spec/ruby-lint/extensions/{string.rb → string_spec.rb} +3 -3
- data/spec/ruby-lint/file_loader_spec.rb +69 -0
- data/spec/ruby-lint/file_scanner_spec.rb +51 -0
- data/spec/ruby-lint/inspector_spec.rb +44 -0
- data/spec/ruby-lint/{iterator.rb → iterator_spec.rb} +39 -4
- data/spec/ruby-lint/{nested_stack.rb → nested_stack_spec.rb} +4 -4
- data/spec/ruby-lint/parser_spec.rb +31 -0
- data/spec/ruby-lint/presenter/json_spec.rb +58 -0
- data/spec/ruby-lint/presenter/text_spec.rb +49 -0
- data/spec/ruby-lint/report/entry_spec.rb +58 -0
- data/spec/ruby-lint/report_spec.rb +39 -0
- data/spec/ruby-lint/runner_spec.rb +52 -0
- data/spec/ruby-lint/virtual_machine/alias_spec.rb +55 -0
- data/spec/ruby-lint/virtual_machine/assignments/{arrays.rb → arrays_spec.rb} +7 -7
- data/spec/ruby-lint/virtual_machine/assignments/{hashes.rb → hashes_spec.rb} +6 -6
- data/spec/ruby-lint/virtual_machine/assignments/{optional.rb → optional_spec.rb} +6 -6
- data/spec/ruby-lint/virtual_machine/assignments/{return_values.rb → return_values_spec.rb} +11 -11
- data/spec/ruby-lint/virtual_machine/assignments/{variables.rb → variables_spec.rb} +38 -7
- data/spec/ruby-lint/virtual_machine/associate_nodes_spec.rb +59 -0
- data/spec/ruby-lint/virtual_machine/{autoloading.rb → autoloading_spec.rb} +6 -6
- data/spec/ruby-lint/virtual_machine/{blocks.rb → blocks_spec.rb} +30 -4
- data/spec/ruby-lint/virtual_machine/classes/{class_methods.rb → class_methods_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/classes/{extending.rb → extending_spec.rb} +20 -15
- data/spec/ruby-lint/virtual_machine/classes/{redefining.rb → redefining_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/classes/{sclass.rb → sclass_spec.rb} +7 -7
- data/spec/ruby-lint/virtual_machine/classes/{scoping.rb → scoping_spec.rb} +5 -5
- data/spec/ruby-lint/virtual_machine/complex/{rails.rb → rails_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/complex/{rcap.rb → rcap_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/complex/{slop.rb → slop_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/constants_spec.rb +31 -0
- data/spec/ruby-lint/virtual_machine/{for.rb → for_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/{freeze.rb → freeze_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/global_variables_spec.rb +12 -0
- data/spec/ruby-lint/virtual_machine/inherit_kernel_spec.rb +15 -0
- data/spec/ruby-lint/virtual_machine/{interpolation.rb → interpolation_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/methods/attr_spec.rb +116 -0
- data/spec/ruby-lint/virtual_machine/methods/define_method_spec.rb +41 -0
- data/spec/ruby-lint/virtual_machine/methods/{defining.rb → defining_spec.rb} +4 -4
- data/spec/ruby-lint/virtual_machine/methods/docstrings_spec.rb +69 -0
- data/spec/ruby-lint/virtual_machine/methods/{exporting.rb → exporting_spec.rb} +3 -3
- data/spec/ruby-lint/virtual_machine/methods/{parameters.rb → parameters_spec.rb} +17 -5
- data/spec/ruby-lint/virtual_machine/methods/{patching.rb → patching_spec.rb} +4 -4
- data/spec/ruby-lint/virtual_machine/methods/{scoping.rb → scoping_spec.rb} +5 -5
- data/spec/ruby-lint/virtual_machine/methods/{visibility.rb → visibility_spec.rb} +6 -6
- data/spec/ruby-lint/virtual_machine/{modules.rb → modules_spec.rb} +39 -9
- data/spec/ruby-lint/virtual_machine/reference_amount_spec.rb +61 -0
- data/spec/ruby-lint/virtual_machine/{unused.rb → unused_spec.rb} +4 -4
- data/spec/{helper.rb → spec_helper.rb} +6 -4
- data/spec/support/building.rb +10 -6
- data/spec/support/coveralls.rb +1 -1
- data/spec/support/parsing.rb +10 -1
- data/spec/support/simplecov.rb +1 -1
- data/spec/support/versions.rb +9 -0
- data/task/test.rake +2 -4
- data/task/travis.rake +1 -0
- metadata +144 -143
- metadata.gz.asc +14 -14
- data/.rubocop.yml +0 -59
- data/doc/contributing.md +0 -16
- data/lib/ruby-lint/analysis/confusing_variables.rb +0 -26
- data/lib/ruby-lint/definitions/core/main.rb +0 -25
- data/lib/ruby-lint/definitions/core/psych.rb +0 -2231
- data/lib/ruby-lint/definitions/core/rubinius.rb +0 -16637
- data/lib/ruby-lint/definitions/core/ruby_lint.rb +0 -93
- data/spec/ruby-lint/analysis/confusing_variables.rb +0 -46
- data/spec/ruby-lint/analysis/undefined_methods.rb +0 -174
- data/spec/ruby-lint/configuration.rb +0 -54
- data/spec/ruby-lint/definition/constant_proxy.rb +0 -31
- data/spec/ruby-lint/parser.rb +0 -14
- data/spec/ruby-lint/presenter/json.rb +0 -31
- data/spec/ruby-lint/presenter/text.rb +0 -22
- data/spec/ruby-lint/report.rb +0 -50
- data/spec/ruby-lint/report/entry.rb +0 -28
- data/spec/ruby-lint/runner.rb +0 -32
- data/spec/ruby-lint/virtual_machine/associate_nodes.rb +0 -17
- data/spec/ruby-lint/virtual_machine/reference_amount.rb +0 -33
- data/spec/support/bacon.rb +0 -33
- data/task/cop.rake +0 -11
@@ -3,8 +3,8 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('SignalException') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Exception'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('Singleton') do |klass|
|
7
7
|
|
8
8
|
klass.define_method('__init__') do |method|
|
9
9
|
method.define_argument('klass')
|
@@ -25,7 +25,7 @@ end
|
|
25
25
|
# Created: 2013-04-01 18:33:55 +0200
|
26
26
|
# Platform: rbx 2.0.0.rc1
|
27
27
|
#
|
28
|
-
RubyLint::
|
28
|
+
RubyLint::GlobalScope.definitions.define_constant('Singleton::SingletonClassMethods') do |klass|
|
29
29
|
|
30
30
|
klass.define_method('__module_init__')
|
31
31
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('SizedQueue') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Queue'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -3,6 +3,6 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('StandardError') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Exception'))
|
8
8
|
end
|
@@ -3,5 +3,6 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('STDERR') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('IO'))
|
8
|
+
end
|
@@ -3,5 +3,6 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('STDIN') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('IO'))
|
8
|
+
end
|
@@ -3,5 +3,6 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('STDOUT') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('IO'))
|
8
|
+
end
|
@@ -3,6 +3,6 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('StopIteration') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('IndexError'))
|
8
8
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('String') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__allocate__')
|
10
10
|
|
@@ -563,8 +563,8 @@ end
|
|
563
563
|
# Created: 2013-04-01 18:33:55 +0200
|
564
564
|
# Platform: rbx 2.0.0.rc1
|
565
565
|
#
|
566
|
-
RubyLint::
|
567
|
-
klass.inherits(RubyLint::
|
566
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier') do |klass|
|
567
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
568
568
|
|
569
569
|
klass.define_method('__class_init__')
|
570
570
|
|
@@ -580,7 +580,7 @@ end
|
|
580
580
|
# Created: 2013-04-01 18:33:55 +0200
|
581
581
|
# Platform: rbx 2.0.0.rc1
|
582
582
|
#
|
583
|
-
RubyLint::
|
583
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::DENOMINATOR') do |klass|
|
584
584
|
end
|
585
585
|
|
586
586
|
##
|
@@ -588,7 +588,7 @@ end
|
|
588
588
|
# Created: 2013-04-01 18:33:55 +0200
|
589
589
|
# Platform: rbx 2.0.0.rc1
|
590
590
|
#
|
591
|
-
RubyLint::
|
591
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::NUMBER') do |klass|
|
592
592
|
end
|
593
593
|
|
594
594
|
##
|
@@ -596,7 +596,7 @@ end
|
|
596
596
|
# Created: 2013-04-01 18:33:55 +0200
|
597
597
|
# Platform: rbx 2.0.0.rc1
|
598
598
|
#
|
599
|
-
RubyLint::
|
599
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::NUMBERNOS') do |klass|
|
600
600
|
end
|
601
601
|
|
602
602
|
##
|
@@ -604,7 +604,7 @@ end
|
|
604
604
|
# Created: 2013-04-01 18:33:55 +0200
|
605
605
|
# Platform: rbx 2.0.0.rc1
|
606
606
|
#
|
607
|
-
RubyLint::
|
607
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::NUMERATOR') do |klass|
|
608
608
|
end
|
609
609
|
|
610
610
|
##
|
@@ -612,7 +612,7 @@ end
|
|
612
612
|
# Created: 2013-04-01 18:33:55 +0200
|
613
613
|
# Platform: rbx 2.0.0.rc1
|
614
614
|
#
|
615
|
-
RubyLint::
|
615
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::PATTERN0') do |klass|
|
616
616
|
end
|
617
617
|
|
618
618
|
##
|
@@ -620,7 +620,7 @@ end
|
|
620
620
|
# Created: 2013-04-01 18:33:55 +0200
|
621
621
|
# Platform: rbx 2.0.0.rc1
|
622
622
|
#
|
623
|
-
RubyLint::
|
623
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::PATTERN1') do |klass|
|
624
624
|
end
|
625
625
|
|
626
626
|
##
|
@@ -628,7 +628,7 @@ end
|
|
628
628
|
# Created: 2013-04-01 18:33:55 +0200
|
629
629
|
# Platform: rbx 2.0.0.rc1
|
630
630
|
#
|
631
|
-
RubyLint::
|
631
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::PATTERN2') do |klass|
|
632
632
|
end
|
633
633
|
|
634
634
|
##
|
@@ -636,7 +636,7 @@ end
|
|
636
636
|
# Created: 2013-04-01 18:33:55 +0200
|
637
637
|
# Platform: rbx 2.0.0.rc1
|
638
638
|
#
|
639
|
-
RubyLint::
|
639
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Complexifier::SPACE') do |klass|
|
640
640
|
end
|
641
641
|
|
642
642
|
##
|
@@ -644,7 +644,7 @@ end
|
|
644
644
|
# Created: 2013-04-01 18:33:55 +0200
|
645
645
|
# Platform: rbx 2.0.0.rc1
|
646
646
|
#
|
647
|
-
RubyLint::
|
647
|
+
RubyLint::GlobalScope.definitions.define_constant('String::ControlCharacters') do |klass|
|
648
648
|
end
|
649
649
|
|
650
650
|
##
|
@@ -652,7 +652,7 @@ end
|
|
652
652
|
# Created: 2013-04-01 18:33:55 +0200
|
653
653
|
# Platform: rbx 2.0.0.rc1
|
654
654
|
#
|
655
|
-
RubyLint::
|
655
|
+
RubyLint::GlobalScope.definitions.define_constant('String::ControlPrintValue') do |klass|
|
656
656
|
end
|
657
657
|
|
658
658
|
##
|
@@ -660,8 +660,8 @@ end
|
|
660
660
|
# Created: 2013-04-01 18:33:55 +0200
|
661
661
|
# Platform: rbx 2.0.0.rc1
|
662
662
|
#
|
663
|
-
RubyLint::
|
664
|
-
klass.inherits(RubyLint::
|
663
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Rationalizer') do |klass|
|
664
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
665
665
|
|
666
666
|
klass.define_method('__class_init__')
|
667
667
|
|
@@ -677,7 +677,7 @@ end
|
|
677
677
|
# Created: 2013-04-01 18:33:55 +0200
|
678
678
|
# Platform: rbx 2.0.0.rc1
|
679
679
|
#
|
680
|
-
RubyLint::
|
680
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Rationalizer::DENOMINATOR') do |klass|
|
681
681
|
end
|
682
682
|
|
683
683
|
##
|
@@ -685,7 +685,7 @@ end
|
|
685
685
|
# Created: 2013-04-01 18:33:55 +0200
|
686
686
|
# Platform: rbx 2.0.0.rc1
|
687
687
|
#
|
688
|
-
RubyLint::
|
688
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Rationalizer::NUMERATOR') do |klass|
|
689
689
|
end
|
690
690
|
|
691
691
|
##
|
@@ -693,7 +693,7 @@ end
|
|
693
693
|
# Created: 2013-04-01 18:33:55 +0200
|
694
694
|
# Platform: rbx 2.0.0.rc1
|
695
695
|
#
|
696
|
-
RubyLint::
|
696
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Rationalizer::PATTERN') do |klass|
|
697
697
|
end
|
698
698
|
|
699
699
|
##
|
@@ -701,7 +701,7 @@ end
|
|
701
701
|
# Created: 2013-04-01 18:33:55 +0200
|
702
702
|
# Platform: rbx 2.0.0.rc1
|
703
703
|
#
|
704
|
-
RubyLint::
|
704
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Rationalizer::RATIONAL') do |klass|
|
705
705
|
end
|
706
706
|
|
707
707
|
##
|
@@ -709,5 +709,5 @@ end
|
|
709
709
|
# Created: 2013-04-01 18:33:55 +0200
|
710
710
|
# Platform: rbx 2.0.0.rc1
|
711
711
|
#
|
712
|
-
RubyLint::
|
712
|
+
RubyLint::GlobalScope.definitions.define_constant('String::Rationalizer::SPACE') do |klass|
|
713
713
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('StringIO') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -236,8 +236,8 @@ end
|
|
236
236
|
# Created: 2013-04-01 18:33:55 +0200
|
237
237
|
# Platform: rbx 2.0.0.rc1
|
238
238
|
#
|
239
|
-
RubyLint::
|
240
|
-
klass.inherits(RubyLint::
|
239
|
+
RubyLint::GlobalScope.definitions.define_constant('StringIO::Data') do |klass|
|
240
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
241
241
|
|
242
242
|
klass.define_method('__class_init__')
|
243
243
|
|
@@ -259,8 +259,8 @@ end
|
|
259
259
|
# Created: 2013-04-01 18:33:55 +0200
|
260
260
|
# Platform: rbx 2.0.0.rc1
|
261
261
|
#
|
262
|
-
RubyLint::
|
263
|
-
klass.inherits(RubyLint::
|
262
|
+
RubyLint::GlobalScope.definitions.define_constant('StringIO::SortedElement') do |klass|
|
263
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
264
264
|
|
265
265
|
klass.define_method('__class_init__')
|
266
266
|
|
@@ -283,5 +283,5 @@ end
|
|
283
283
|
# Created: 2013-04-01 18:33:55 +0200
|
284
284
|
# Platform: rbx 2.0.0.rc1
|
285
285
|
#
|
286
|
-
RubyLint::
|
286
|
+
RubyLint::GlobalScope.definitions.define_constant('StringIO::Undefined') do |klass|
|
287
287
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('StringScanner') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -146,7 +146,7 @@ end
|
|
146
146
|
# Created: 2013-04-01 18:33:55 +0200
|
147
147
|
# Platform: rbx 2.0.0.rc1
|
148
148
|
#
|
149
|
-
RubyLint::
|
149
|
+
RubyLint::GlobalScope.definitions.define_constant('StringScanner::Id') do |klass|
|
150
150
|
end
|
151
151
|
|
152
152
|
##
|
@@ -154,5 +154,5 @@ end
|
|
154
154
|
# Created: 2013-04-01 18:33:55 +0200
|
155
155
|
# Platform: rbx 2.0.0.rc1
|
156
156
|
#
|
157
|
-
RubyLint::
|
157
|
+
RubyLint::GlobalScope.definitions.define_constant('StringScanner::Version') do |klass|
|
158
158
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -90,8 +90,8 @@ end
|
|
90
90
|
# Created: 2013-04-01 18:33:55 +0200
|
91
91
|
# Platform: rbx 2.0.0.rc1
|
92
92
|
#
|
93
|
-
RubyLint::
|
94
|
-
klass.inherits(RubyLint::
|
93
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Group') do |klass|
|
94
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct'))
|
95
95
|
|
96
96
|
klass.define_method('__class_init__')
|
97
97
|
|
@@ -109,7 +109,7 @@ end
|
|
109
109
|
# Created: 2013-04-01 18:33:55 +0200
|
110
110
|
# Platform: rbx 2.0.0.rc1
|
111
111
|
#
|
112
|
-
RubyLint::
|
112
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Group::FFI') do |klass|
|
113
113
|
|
114
114
|
klass.define_method('__module_init__')
|
115
115
|
|
@@ -160,8 +160,8 @@ end
|
|
160
160
|
# Created: 2013-04-01 18:33:55 +0200
|
161
161
|
# Platform: rbx 2.0.0.rc1
|
162
162
|
#
|
163
|
-
RubyLint::
|
164
|
-
klass.inherits(RubyLint::
|
163
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Group::InlineArray') do |klass|
|
164
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
165
165
|
|
166
166
|
klass.define_method('__class_init__')
|
167
167
|
|
@@ -193,8 +193,8 @@ end
|
|
193
193
|
# Created: 2013-04-01 18:33:55 +0200
|
194
194
|
# Platform: rbx 2.0.0.rc1
|
195
195
|
#
|
196
|
-
RubyLint::
|
197
|
-
klass.inherits(RubyLint::
|
196
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Group::InlineCharArray') do |klass|
|
197
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct::InlineArray'))
|
198
198
|
|
199
199
|
klass.define_method('__class_init__')
|
200
200
|
|
@@ -210,8 +210,8 @@ end
|
|
210
210
|
# Created: 2013-04-01 18:33:55 +0200
|
211
211
|
# Platform: rbx 2.0.0.rc1
|
212
212
|
#
|
213
|
-
RubyLint::
|
214
|
-
klass.inherits(RubyLint::
|
213
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Passwd') do |klass|
|
214
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct'))
|
215
215
|
|
216
216
|
klass.define_method('__class_init__')
|
217
217
|
|
@@ -235,8 +235,8 @@ end
|
|
235
235
|
# Created: 2013-04-01 18:33:55 +0200
|
236
236
|
# Platform: rbx 2.0.0.rc1
|
237
237
|
#
|
238
|
-
RubyLint::
|
239
|
-
klass.inherits(RubyLint::
|
238
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Passwd::InlineArray') do |klass|
|
239
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
240
240
|
|
241
241
|
klass.define_method('__class_init__')
|
242
242
|
|
@@ -268,8 +268,8 @@ end
|
|
268
268
|
# Created: 2013-04-01 18:33:55 +0200
|
269
269
|
# Platform: rbx 2.0.0.rc1
|
270
270
|
#
|
271
|
-
RubyLint::
|
272
|
-
klass.inherits(RubyLint::
|
271
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Passwd::InlineCharArray') do |klass|
|
272
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct::InlineArray'))
|
273
273
|
|
274
274
|
klass.define_method('__class_init__')
|
275
275
|
|
@@ -285,8 +285,8 @@ end
|
|
285
285
|
# Created: 2013-04-01 18:33:55 +0200
|
286
286
|
# Platform: rbx 2.0.0.rc1
|
287
287
|
#
|
288
|
-
RubyLint::
|
289
|
-
klass.inherits(RubyLint::
|
288
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::SortedElement') do |klass|
|
289
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
290
290
|
|
291
291
|
klass.define_method('__class_init__')
|
292
292
|
|
@@ -309,8 +309,8 @@ end
|
|
309
309
|
# Created: 2013-04-01 18:33:55 +0200
|
310
310
|
# Platform: rbx 2.0.0.rc1
|
311
311
|
#
|
312
|
-
RubyLint::
|
313
|
-
klass.inherits(RubyLint::
|
312
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Tms') do |klass|
|
313
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Struct'))
|
314
314
|
|
315
315
|
klass.define_method('[]') do |method|
|
316
316
|
method.define_rest_argument('args')
|
@@ -353,5 +353,5 @@ end
|
|
353
353
|
# Created: 2013-04-01 18:33:55 +0200
|
354
354
|
# Platform: rbx 2.0.0.rc1
|
355
355
|
#
|
356
|
-
RubyLint::
|
356
|
+
RubyLint::GlobalScope.definitions.define_constant('Struct::Tms::STRUCT_ATTRS') do |klass|
|
357
357
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Created: 2013-04-01 18:33:55 +0200
|
4
4
|
# Platform: rbx 2.0.0.rc1
|
5
5
|
#
|
6
|
-
RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('Syck') do |klass|
|
7
7
|
|
8
8
|
klass.define_method('__module_init__')
|
9
9
|
end
|
@@ -13,8 +13,8 @@ end
|
|
13
13
|
# Created: 2013-04-01 18:33:55 +0200
|
14
14
|
# Platform: rbx 2.0.0.rc1
|
15
15
|
#
|
16
|
-
RubyLint::
|
17
|
-
klass.inherits(RubyLint::
|
16
|
+
RubyLint::GlobalScope.definitions.define_constant('Syck::DefaultKey') do |klass|
|
17
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
18
18
|
|
19
19
|
klass.define_method('__class_init__')
|
20
20
|
|
@@ -26,5 +26,5 @@ end
|
|
26
26
|
# Created: 2013-04-01 18:33:55 +0200
|
27
27
|
# Platform: rbx 2.0.0.rc1
|
28
28
|
#
|
29
|
-
RubyLint::
|
29
|
+
RubyLint::GlobalScope.definitions.define_constant('Syck::ENGINE') do |klass|
|
30
30
|
end
|