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,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::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('Etc') do |klass|
|
7
7
|
|
8
8
|
klass.define_method('__module_init__')
|
9
9
|
|
@@ -47,7 +47,7 @@ end
|
|
47
47
|
# Created: 2013-04-01 18:33:54 +0200
|
48
48
|
# Platform: rbx 2.0.0.rc1
|
49
49
|
#
|
50
|
-
RubyLint::
|
50
|
+
RubyLint::GlobalScope.definitions.define_constant('Etc::FFI') do |klass|
|
51
51
|
|
52
52
|
klass.define_method('__module_init__')
|
53
53
|
|
@@ -98,8 +98,8 @@ end
|
|
98
98
|
# Created: 2013-04-01 18:33:54 +0200
|
99
99
|
# Platform: rbx 2.0.0.rc1
|
100
100
|
#
|
101
|
-
RubyLint::
|
102
|
-
klass.inherits(RubyLint::
|
101
|
+
RubyLint::GlobalScope.definitions.define_constant('Etc::Group') do |klass|
|
102
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct'))
|
103
103
|
|
104
104
|
klass.define_method('__class_init__')
|
105
105
|
|
@@ -117,8 +117,8 @@ end
|
|
117
117
|
# Created: 2013-04-01 18:33:54 +0200
|
118
118
|
# Platform: rbx 2.0.0.rc1
|
119
119
|
#
|
120
|
-
RubyLint::
|
121
|
-
klass.inherits(RubyLint::
|
120
|
+
RubyLint::GlobalScope.definitions.define_constant('Etc::Passwd') do |klass|
|
121
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct'))
|
122
122
|
|
123
123
|
klass.define_method('__class_init__')
|
124
124
|
|
@@ -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::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('Exception') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -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::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('FalseClass') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -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::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('FatalError') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Exception'))
|
8
8
|
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::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('Fiber') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -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::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('FiberError') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('StandardError'))
|
8
8
|
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::
|
7
|
-
klass.inherits(RubyLint::
|
6
|
+
RubyLint::GlobalScope.definitions.define_constant('File') do |klass|
|
7
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('IO'))
|
8
8
|
|
9
9
|
klass.define_method('__class_init__')
|
10
10
|
|
@@ -323,7 +323,7 @@ end
|
|
323
323
|
# Created: 2013-04-01 18:33:54 +0200
|
324
324
|
# Platform: rbx 2.0.0.rc1
|
325
325
|
#
|
326
|
-
RubyLint::
|
326
|
+
RubyLint::GlobalScope.definitions.define_constant('File::APPEND') do |klass|
|
327
327
|
end
|
328
328
|
|
329
329
|
##
|
@@ -331,7 +331,7 @@ end
|
|
331
331
|
# Created: 2013-04-01 18:33:54 +0200
|
332
332
|
# Platform: rbx 2.0.0.rc1
|
333
333
|
#
|
334
|
-
RubyLint::
|
334
|
+
RubyLint::GlobalScope.definitions.define_constant('File::BINARY') do |klass|
|
335
335
|
end
|
336
336
|
|
337
337
|
##
|
@@ -339,8 +339,8 @@ end
|
|
339
339
|
# Created: 2013-04-01 18:33:54 +0200
|
340
340
|
# Platform: rbx 2.0.0.rc1
|
341
341
|
#
|
342
|
-
RubyLint::
|
343
|
-
klass.inherits(RubyLint::
|
342
|
+
RubyLint::GlobalScope.definitions.define_constant('File::BidirectionalPipe') do |klass|
|
343
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('IO'))
|
344
344
|
|
345
345
|
klass.define_method('__class_init__')
|
346
346
|
|
@@ -395,7 +395,7 @@ end
|
|
395
395
|
# Created: 2013-04-01 18:33:54 +0200
|
396
396
|
# Platform: rbx 2.0.0.rc1
|
397
397
|
#
|
398
|
-
RubyLint::
|
398
|
+
RubyLint::GlobalScope.definitions.define_constant('File::CREAT') do |klass|
|
399
399
|
end
|
400
400
|
|
401
401
|
##
|
@@ -403,7 +403,7 @@ end
|
|
403
403
|
# Created: 2013-04-01 18:33:54 +0200
|
404
404
|
# Platform: rbx 2.0.0.rc1
|
405
405
|
#
|
406
|
-
RubyLint::
|
406
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Constants') do |klass|
|
407
407
|
|
408
408
|
klass.define_method('__module_init__')
|
409
409
|
end
|
@@ -413,8 +413,8 @@ end
|
|
413
413
|
# Created: 2013-04-01 18:33:54 +0200
|
414
414
|
# Platform: rbx 2.0.0.rc1
|
415
415
|
#
|
416
|
-
RubyLint::
|
417
|
-
klass.inherits(RubyLint::
|
416
|
+
RubyLint::GlobalScope.definitions.define_constant('File::EAGAINWaitReadable') do |klass|
|
417
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Errno::EAGAIN'))
|
418
418
|
|
419
419
|
klass.define_method('__class_init__')
|
420
420
|
end
|
@@ -424,8 +424,8 @@ end
|
|
424
424
|
# Created: 2013-04-01 18:33:54 +0200
|
425
425
|
# Platform: rbx 2.0.0.rc1
|
426
426
|
#
|
427
|
-
RubyLint::
|
428
|
-
klass.inherits(RubyLint::
|
427
|
+
RubyLint::GlobalScope.definitions.define_constant('File::EAGAINWaitWritable') do |klass|
|
428
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Errno::EAGAIN'))
|
429
429
|
|
430
430
|
klass.define_method('__class_init__')
|
431
431
|
end
|
@@ -435,7 +435,7 @@ end
|
|
435
435
|
# Created: 2013-04-01 18:33:54 +0200
|
436
436
|
# Platform: rbx 2.0.0.rc1
|
437
437
|
#
|
438
|
-
RubyLint::
|
438
|
+
RubyLint::GlobalScope.definitions.define_constant('File::EXCL') do |klass|
|
439
439
|
end
|
440
440
|
|
441
441
|
##
|
@@ -443,8 +443,8 @@ end
|
|
443
443
|
# Created: 2013-04-01 18:33:54 +0200
|
444
444
|
# Platform: rbx 2.0.0.rc1
|
445
445
|
#
|
446
|
-
RubyLint::
|
447
|
-
klass.inherits(RubyLint::
|
446
|
+
RubyLint::GlobalScope.definitions.define_constant('File::EachReader') do |klass|
|
447
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
448
448
|
|
449
449
|
klass.define_method('__class_init__')
|
450
450
|
|
@@ -473,7 +473,7 @@ end
|
|
473
473
|
# Created: 2013-04-01 18:33:54 +0200
|
474
474
|
# Platform: rbx 2.0.0.rc1
|
475
475
|
#
|
476
|
-
RubyLint::
|
476
|
+
RubyLint::GlobalScope.definitions.define_constant('File::FFI') do |klass|
|
477
477
|
|
478
478
|
klass.define_method('__module_init__')
|
479
479
|
|
@@ -524,7 +524,7 @@ end
|
|
524
524
|
# Created: 2013-04-01 18:33:54 +0200
|
525
525
|
# Platform: rbx 2.0.0.rc1
|
526
526
|
#
|
527
|
-
RubyLint::
|
527
|
+
RubyLint::GlobalScope.definitions.define_constant('File::F_GETFL') do |klass|
|
528
528
|
end
|
529
529
|
|
530
530
|
##
|
@@ -532,8 +532,8 @@ end
|
|
532
532
|
# Created: 2013-04-01 18:33:54 +0200
|
533
533
|
# Platform: rbx 2.0.0.rc1
|
534
534
|
#
|
535
|
-
RubyLint::
|
536
|
-
klass.inherits(RubyLint::
|
535
|
+
RubyLint::GlobalScope.definitions.define_constant('File::FileError') do |klass|
|
536
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Exception'))
|
537
537
|
end
|
538
538
|
|
539
539
|
##
|
@@ -541,8 +541,8 @@ end
|
|
541
541
|
# Created: 2013-04-01 18:33:54 +0200
|
542
542
|
# Platform: rbx 2.0.0.rc1
|
543
543
|
#
|
544
|
-
RubyLint::
|
545
|
-
klass.inherits(RubyLint::
|
544
|
+
RubyLint::GlobalScope.definitions.define_constant('File::InternalBuffer') do |klass|
|
545
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
546
546
|
|
547
547
|
klass.define_method('__class_init__')
|
548
548
|
|
@@ -625,7 +625,7 @@ end
|
|
625
625
|
# Created: 2013-04-01 18:33:54 +0200
|
626
626
|
# Platform: rbx 2.0.0.rc1
|
627
627
|
#
|
628
|
-
RubyLint::
|
628
|
+
RubyLint::GlobalScope.definitions.define_constant('File::LOCK_UN') do |klass|
|
629
629
|
end
|
630
630
|
|
631
631
|
##
|
@@ -633,7 +633,7 @@ end
|
|
633
633
|
# Created: 2013-04-01 18:33:54 +0200
|
634
634
|
# Platform: rbx 2.0.0.rc1
|
635
635
|
#
|
636
|
-
RubyLint::
|
636
|
+
RubyLint::GlobalScope.definitions.define_constant('File::NOCTTY') do |klass|
|
637
637
|
end
|
638
638
|
|
639
639
|
##
|
@@ -641,7 +641,7 @@ end
|
|
641
641
|
# Created: 2013-04-01 18:33:54 +0200
|
642
642
|
# Platform: rbx 2.0.0.rc1
|
643
643
|
#
|
644
|
-
RubyLint::
|
644
|
+
RubyLint::GlobalScope.definitions.define_constant('File::NONBLOCK') do |klass|
|
645
645
|
end
|
646
646
|
|
647
647
|
##
|
@@ -649,7 +649,7 @@ end
|
|
649
649
|
# Created: 2013-04-01 18:33:54 +0200
|
650
650
|
# Platform: rbx 2.0.0.rc1
|
651
651
|
#
|
652
|
-
RubyLint::
|
652
|
+
RubyLint::GlobalScope.definitions.define_constant('File::NULL') do |klass|
|
653
653
|
end
|
654
654
|
|
655
655
|
##
|
@@ -657,8 +657,8 @@ end
|
|
657
657
|
# Created: 2013-04-01 18:33:54 +0200
|
658
658
|
# Platform: rbx 2.0.0.rc1
|
659
659
|
#
|
660
|
-
RubyLint::
|
661
|
-
klass.inherits(RubyLint::
|
660
|
+
RubyLint::GlobalScope.definitions.define_constant('File::NoFileError') do |klass|
|
661
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('File::FileError'))
|
662
662
|
end
|
663
663
|
|
664
664
|
##
|
@@ -666,7 +666,7 @@ end
|
|
666
666
|
# Created: 2013-04-01 18:33:54 +0200
|
667
667
|
# Platform: rbx 2.0.0.rc1
|
668
668
|
#
|
669
|
-
RubyLint::
|
669
|
+
RubyLint::GlobalScope.definitions.define_constant('File::PATH_SEPARATOR') do |klass|
|
670
670
|
end
|
671
671
|
|
672
672
|
##
|
@@ -674,7 +674,7 @@ end
|
|
674
674
|
# Created: 2013-04-01 18:33:54 +0200
|
675
675
|
# Platform: rbx 2.0.0.rc1
|
676
676
|
#
|
677
|
-
RubyLint::
|
677
|
+
RubyLint::GlobalScope.definitions.define_constant('File::POSIX') do |klass|
|
678
678
|
|
679
679
|
klass.define_method('__module_init__')
|
680
680
|
|
@@ -838,8 +838,8 @@ end
|
|
838
838
|
# Created: 2013-04-01 18:33:54 +0200
|
839
839
|
# Platform: rbx 2.0.0.rc1
|
840
840
|
#
|
841
|
-
RubyLint::
|
842
|
-
klass.inherits(RubyLint::
|
841
|
+
RubyLint::GlobalScope.definitions.define_constant('File::PermissionError') do |klass|
|
842
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('File::FileError'))
|
843
843
|
end
|
844
844
|
|
845
845
|
##
|
@@ -847,7 +847,7 @@ end
|
|
847
847
|
# Created: 2013-04-01 18:33:54 +0200
|
848
848
|
# Platform: rbx 2.0.0.rc1
|
849
849
|
#
|
850
|
-
RubyLint::
|
850
|
+
RubyLint::GlobalScope.definitions.define_constant('File::SEEK_CUR') do |klass|
|
851
851
|
end
|
852
852
|
|
853
853
|
##
|
@@ -855,7 +855,7 @@ end
|
|
855
855
|
# Created: 2013-04-01 18:33:54 +0200
|
856
856
|
# Platform: rbx 2.0.0.rc1
|
857
857
|
#
|
858
|
-
RubyLint::
|
858
|
+
RubyLint::GlobalScope.definitions.define_constant('File::SEEK_END') do |klass|
|
859
859
|
end
|
860
860
|
|
861
861
|
##
|
@@ -863,7 +863,7 @@ end
|
|
863
863
|
# Created: 2013-04-01 18:33:54 +0200
|
864
864
|
# Platform: rbx 2.0.0.rc1
|
865
865
|
#
|
866
|
-
RubyLint::
|
866
|
+
RubyLint::GlobalScope.definitions.define_constant('File::SEPARATOR') do |klass|
|
867
867
|
end
|
868
868
|
|
869
869
|
##
|
@@ -871,7 +871,7 @@ end
|
|
871
871
|
# Created: 2013-04-01 18:33:54 +0200
|
872
872
|
# Platform: rbx 2.0.0.rc1
|
873
873
|
#
|
874
|
-
RubyLint::
|
874
|
+
RubyLint::GlobalScope.definitions.define_constant('File::SYNC') do |klass|
|
875
875
|
end
|
876
876
|
|
877
877
|
##
|
@@ -879,7 +879,7 @@ end
|
|
879
879
|
# Created: 2013-04-01 18:33:54 +0200
|
880
880
|
# Platform: rbx 2.0.0.rc1
|
881
881
|
#
|
882
|
-
RubyLint::
|
882
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Socketable') do |klass|
|
883
883
|
|
884
884
|
klass.define_method('__module_init__')
|
885
885
|
|
@@ -891,8 +891,8 @@ end
|
|
891
891
|
# Created: 2013-04-01 18:33:54 +0200
|
892
892
|
# Platform: rbx 2.0.0.rc1
|
893
893
|
#
|
894
|
-
RubyLint::
|
895
|
-
klass.inherits(RubyLint::
|
894
|
+
RubyLint::GlobalScope.definitions.define_constant('File::SortedElement') do |klass|
|
895
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
896
896
|
|
897
897
|
klass.define_method('__class_init__')
|
898
898
|
|
@@ -915,8 +915,8 @@ end
|
|
915
915
|
# Created: 2013-04-01 18:33:54 +0200
|
916
916
|
# Platform: rbx 2.0.0.rc1
|
917
917
|
#
|
918
|
-
RubyLint::
|
919
|
-
klass.inherits(RubyLint::
|
918
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat') do |klass|
|
919
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
920
920
|
|
921
921
|
klass.define_method('__class_init__')
|
922
922
|
|
@@ -1032,7 +1032,7 @@ end
|
|
1032
1032
|
# Created: 2013-04-01 18:33:54 +0200
|
1033
1033
|
# Platform: rbx 2.0.0.rc1
|
1034
1034
|
#
|
1035
|
-
RubyLint::
|
1035
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::EXISTS_STRUCT') do |klass|
|
1036
1036
|
end
|
1037
1037
|
|
1038
1038
|
##
|
@@ -1040,7 +1040,7 @@ end
|
|
1040
1040
|
# Created: 2013-04-01 18:33:54 +0200
|
1041
1041
|
# Platform: rbx 2.0.0.rc1
|
1042
1042
|
#
|
1043
|
-
RubyLint::
|
1043
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFBLK') do |klass|
|
1044
1044
|
end
|
1045
1045
|
|
1046
1046
|
##
|
@@ -1048,7 +1048,7 @@ end
|
|
1048
1048
|
# Created: 2013-04-01 18:33:54 +0200
|
1049
1049
|
# Platform: rbx 2.0.0.rc1
|
1050
1050
|
#
|
1051
|
-
RubyLint::
|
1051
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFCHR') do |klass|
|
1052
1052
|
end
|
1053
1053
|
|
1054
1054
|
##
|
@@ -1056,7 +1056,7 @@ end
|
|
1056
1056
|
# Created: 2013-04-01 18:33:54 +0200
|
1057
1057
|
# Platform: rbx 2.0.0.rc1
|
1058
1058
|
#
|
1059
|
-
RubyLint::
|
1059
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFDIR') do |klass|
|
1060
1060
|
end
|
1061
1061
|
|
1062
1062
|
##
|
@@ -1064,7 +1064,7 @@ end
|
|
1064
1064
|
# Created: 2013-04-01 18:33:54 +0200
|
1065
1065
|
# Platform: rbx 2.0.0.rc1
|
1066
1066
|
#
|
1067
|
-
RubyLint::
|
1067
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFIFO') do |klass|
|
1068
1068
|
end
|
1069
1069
|
|
1070
1070
|
##
|
@@ -1072,7 +1072,7 @@ end
|
|
1072
1072
|
# Created: 2013-04-01 18:33:54 +0200
|
1073
1073
|
# Platform: rbx 2.0.0.rc1
|
1074
1074
|
#
|
1075
|
-
RubyLint::
|
1075
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFLNK') do |klass|
|
1076
1076
|
end
|
1077
1077
|
|
1078
1078
|
##
|
@@ -1080,7 +1080,7 @@ end
|
|
1080
1080
|
# Created: 2013-04-01 18:33:54 +0200
|
1081
1081
|
# Platform: rbx 2.0.0.rc1
|
1082
1082
|
#
|
1083
|
-
RubyLint::
|
1083
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFMT') do |klass|
|
1084
1084
|
end
|
1085
1085
|
|
1086
1086
|
##
|
@@ -1088,7 +1088,7 @@ end
|
|
1088
1088
|
# Created: 2013-04-01 18:33:54 +0200
|
1089
1089
|
# Platform: rbx 2.0.0.rc1
|
1090
1090
|
#
|
1091
|
-
RubyLint::
|
1091
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFREG') do |klass|
|
1092
1092
|
end
|
1093
1093
|
|
1094
1094
|
##
|
@@ -1096,7 +1096,7 @@ end
|
|
1096
1096
|
# Created: 2013-04-01 18:33:54 +0200
|
1097
1097
|
# Platform: rbx 2.0.0.rc1
|
1098
1098
|
#
|
1099
|
-
RubyLint::
|
1099
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IFSOCK') do |klass|
|
1100
1100
|
end
|
1101
1101
|
|
1102
1102
|
##
|
@@ -1104,7 +1104,7 @@ end
|
|
1104
1104
|
# Created: 2013-04-01 18:33:54 +0200
|
1105
1105
|
# Platform: rbx 2.0.0.rc1
|
1106
1106
|
#
|
1107
|
-
RubyLint::
|
1107
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IRGRP') do |klass|
|
1108
1108
|
end
|
1109
1109
|
|
1110
1110
|
##
|
@@ -1112,7 +1112,7 @@ end
|
|
1112
1112
|
# Created: 2013-04-01 18:33:54 +0200
|
1113
1113
|
# Platform: rbx 2.0.0.rc1
|
1114
1114
|
#
|
1115
|
-
RubyLint::
|
1115
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IRUGO') do |klass|
|
1116
1116
|
end
|
1117
1117
|
|
1118
1118
|
##
|
@@ -1120,7 +1120,7 @@ end
|
|
1120
1120
|
# Created: 2013-04-01 18:33:54 +0200
|
1121
1121
|
# Platform: rbx 2.0.0.rc1
|
1122
1122
|
#
|
1123
|
-
RubyLint::
|
1123
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IWGRP') do |klass|
|
1124
1124
|
end
|
1125
1125
|
|
1126
1126
|
##
|
@@ -1128,7 +1128,7 @@ end
|
|
1128
1128
|
# Created: 2013-04-01 18:33:54 +0200
|
1129
1129
|
# Platform: rbx 2.0.0.rc1
|
1130
1130
|
#
|
1131
|
-
RubyLint::
|
1131
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IWUGO') do |klass|
|
1132
1132
|
end
|
1133
1133
|
|
1134
1134
|
##
|
@@ -1136,7 +1136,7 @@ end
|
|
1136
1136
|
# Created: 2013-04-01 18:33:54 +0200
|
1137
1137
|
# Platform: rbx 2.0.0.rc1
|
1138
1138
|
#
|
1139
|
-
RubyLint::
|
1139
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::S_IXUGO') do |klass|
|
1140
1140
|
end
|
1141
1141
|
|
1142
1142
|
##
|
@@ -1144,8 +1144,8 @@ end
|
|
1144
1144
|
# Created: 2013-04-01 18:33:54 +0200
|
1145
1145
|
# Platform: rbx 2.0.0.rc1
|
1146
1146
|
#
|
1147
|
-
RubyLint::
|
1148
|
-
klass.inherits(RubyLint::
|
1147
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::Struct') do |klass|
|
1148
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct'))
|
1149
1149
|
|
1150
1150
|
klass.define_method('__class_init__')
|
1151
1151
|
end
|
@@ -1155,8 +1155,8 @@ end
|
|
1155
1155
|
# Created: 2013-04-01 18:33:54 +0200
|
1156
1156
|
# Platform: rbx 2.0.0.rc1
|
1157
1157
|
#
|
1158
|
-
RubyLint::
|
1159
|
-
klass.inherits(RubyLint::
|
1158
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::Struct::InlineArray') do |klass|
|
1159
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
1160
1160
|
|
1161
1161
|
klass.define_method('__class_init__')
|
1162
1162
|
|
@@ -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::
|
1192
|
-
klass.inherits(RubyLint::
|
1191
|
+
RubyLint::GlobalScope.definitions.define_constant('File::Stat::Struct::InlineCharArray') do |klass|
|
1192
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Rubinius::FFI::Struct::InlineArray'))
|
1193
1193
|
|
1194
1194
|
klass.define_method('__class_init__')
|
1195
1195
|
|
@@ -1205,8 +1205,8 @@ end
|
|
1205
1205
|
# Created: 2013-04-01 18:33:54 +0200
|
1206
1206
|
# Platform: rbx 2.0.0.rc1
|
1207
1207
|
#
|
1208
|
-
RubyLint::
|
1209
|
-
klass.inherits(RubyLint::
|
1208
|
+
RubyLint::GlobalScope.definitions.define_constant('File::StreamCopier') do |klass|
|
1209
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('Object'))
|
1210
1210
|
|
1211
1211
|
klass.define_method('__class_init__')
|
1212
1212
|
|
@@ -1234,7 +1234,7 @@ end
|
|
1234
1234
|
# Created: 2013-04-01 18:33:54 +0200
|
1235
1235
|
# Platform: rbx 2.0.0.rc1
|
1236
1236
|
#
|
1237
|
-
RubyLint::
|
1237
|
+
RubyLint::GlobalScope.definitions.define_constant('File::TRUNC') do |klass|
|
1238
1238
|
end
|
1239
1239
|
|
1240
1240
|
##
|
@@ -1242,7 +1242,7 @@ end
|
|
1242
1242
|
# Created: 2013-04-01 18:33:54 +0200
|
1243
1243
|
# Platform: rbx 2.0.0.rc1
|
1244
1244
|
#
|
1245
|
-
RubyLint::
|
1245
|
+
RubyLint::GlobalScope.definitions.define_constant('File::TransferIO') do |klass|
|
1246
1246
|
|
1247
1247
|
klass.define_method('__module_init__')
|
1248
1248
|
|
@@ -1256,8 +1256,8 @@ end
|
|
1256
1256
|
# Created: 2013-04-01 18:33:54 +0200
|
1257
1257
|
# Platform: rbx 2.0.0.rc1
|
1258
1258
|
#
|
1259
|
-
RubyLint::
|
1260
|
-
klass.inherits(RubyLint::
|
1259
|
+
RubyLint::GlobalScope.definitions.define_constant('File::UnableToStat') do |klass|
|
1260
|
+
klass.inherits(RubyLint::GlobalScope.constant_proxy('File::FileError'))
|
1261
1261
|
end
|
1262
1262
|
|
1263
1263
|
##
|
@@ -1265,7 +1265,7 @@ end
|
|
1265
1265
|
# Created: 2013-04-01 18:33:54 +0200
|
1266
1266
|
# Platform: rbx 2.0.0.rc1
|
1267
1267
|
#
|
1268
|
-
RubyLint::
|
1268
|
+
RubyLint::GlobalScope.definitions.define_constant('File::WaitReadable') do |klass|
|
1269
1269
|
end
|
1270
1270
|
|
1271
1271
|
##
|
@@ -1273,5 +1273,5 @@ end
|
|
1273
1273
|
# Created: 2013-04-01 18:33:54 +0200
|
1274
1274
|
# Platform: rbx 2.0.0.rc1
|
1275
1275
|
#
|
1276
|
-
RubyLint::
|
1276
|
+
RubyLint::GlobalScope.definitions.define_constant('File::WaitWritable') do |klass|
|
1277
1277
|
end
|