autoloaded 1.4.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +4 -8
- data/.rspec +1 -1
- data/.travis.yml +15 -0
- data/Gemfile +11 -10
- data/Guardfile +21 -22
- data/History.md +35 -10
- data/License.md +1 -1
- data/README.md +78 -68
- data/Rakefile +4 -0
- data/autoloaded.gemspec +41 -37
- data/bin/console +10 -0
- data/bin/setup +8 -0
- data/lib/autoloaded/autoloader.rb +24 -6
- data/lib/autoloaded/constant.rb +1 -0
- data/lib/autoloaded/deprecation.rb +0 -2
- data/lib/autoloaded/inflection.rb +0 -2
- data/lib/autoloaded/load_pathed_directory.rb +2 -4
- data/lib/autoloaded/specification.rb +2 -0
- data/lib/autoloaded/specifications.rb +3 -3
- data/lib/autoloaded/version.rb +1 -1
- data/lib/autoloaded/warning.rb +1 -3
- data/lib/tasks/lib_each.rake +15 -3
- data/lib/tasks/spec.rake +3 -6
- metadata +22 -121
- data/spec/autoloaded/autoloader_spec.rb +0 -469
- data/spec/autoloaded/constant_spec.rb +0 -53
- data/spec/autoloaded/deprecation_spec.rb +0 -23
- data/spec/autoloaded/inflection_spec.rb +0 -30
- data/spec/autoloaded/load_pathed_directory_spec.rb +0 -120
- data/spec/autoloaded/refine/string/to_source_filename_spec.rb +0 -19
- data/spec/autoloaded/specification_spec.rb +0 -98
- data/spec/autoloaded/specifications_spec.rb +0 -191
- data/spec/autoloaded/version_spec.rb +0 -3
- data/spec/autoloaded/warning_spec.rb +0 -115
- data/spec/autoloaded_macro_sharedspec.rb +0 -24
- data/spec/autoloaded_spec.rb +0 -321
- data/spec/fixtures/autoloaded_with_conventional_filename/N-est-ed.rb +0 -1
- data/spec/fixtures/autoloaded_with_conventional_filename/nest_ed.rb +0 -1
- data/spec/fixtures/autoloaded_with_conventional_filename/nested/doubly_nested.rb +0 -9
- data/spec/fixtures/autoloaded_with_conventional_filename/nested.rb +0 -16
- data/spec/fixtures/autoloaded_with_conventional_filename/old_school_autoload.rb +0 -5
- data/spec/fixtures/autoloaded_with_conventional_filename.rb +0 -12
- data/spec/fixtures/autoloaded_with_unconventional_filename/N-est-ed.rb +0 -7
- data/spec/fixtures/autoloaded_with_unconventional_filename/nest_ed.rb +0 -1
- data/spec/fixtures/autoloaded_with_unconventional_filename/old_school_autoload.rb +0 -5
- data/spec/fixtures/autoloaded_with_unconventional_filename.rb +0 -12
- data/spec/fixtures/filenames/AFilename.rb +0 -0
- data/spec/fixtures/filenames/a-file-name.rb +0 -0
- data/spec/fixtures/filenames/a-filename.rb +0 -0
- data/spec/fixtures/filenames/a_file_name.rb +0 -0
- data/spec/fixtures/filenames/a_filename.rb +0 -0
- data/spec/fixtures/filenames/afile-name.rb +0 -0
- data/spec/fixtures/filenames/afile_name.rb +0 -0
- data/spec/fixtures/not_autoloaded/nested.rb +0 -1
- data/spec/fixtures/not_autoloaded/old_school_autoload.rb +0 -5
- data/spec/fixtures/not_autoloaded.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename/N-est-ed.rb +0 -1
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename/nest_ed.rb +0 -1
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename/nested.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename/old_school_autoload.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename.rb +0 -10
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename_only/nested.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename_only/old_school_autoload.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_conventional_filename_only.rb +0 -10
- data/spec/fixtures/old_api/autoloaded_with_unconventional_filenames/N-est-ed.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_unconventional_filenames/nest_ed.rb +0 -0
- data/spec/fixtures/old_api/autoloaded_with_unconventional_filenames/old_school_autoload.rb +0 -5
- data/spec/fixtures/old_api/autoloaded_with_unconventional_filenames.rb +0 -10
- data/spec/fixtures/old_api/not_autoloaded/nested.rb +0 -1
- data/spec/fixtures/old_api/not_autoloaded/old_school_autoload.rb +0 -5
- data/spec/fixtures/old_api/not_autoloaded.rb +0 -6
- data/spec/matchers.rb +0 -85
- data/spec/spec_helper.rb +0 -91
- data/spec/support/util.rb +0 -43
- data/spec/support/without_side_effects.rb +0 -37
    
        data/bin/console
    ADDED
    
    
    
        data/bin/setup
    ADDED
    
    
| @@ -1,3 +1,9 @@ | |
| 1 | 
            +
            require 'autoloaded/inflection'
         | 
| 2 | 
            +
            require 'autoloaded/load_pathed_directory'
         | 
| 3 | 
            +
            require 'autoloaded/specification'
         | 
| 4 | 
            +
            require 'autoloaded/specifications'
         | 
| 5 | 
            +
            require 'autoloaded/warning'
         | 
| 6 | 
            +
             | 
| 1 7 | 
             
            module Autoloaded
         | 
| 2 8 |  | 
| 3 9 | 
             
              # Autoloads files in a source directory.
         | 
| @@ -35,8 +41,8 @@ module Autoloaded | |
| 35 41 | 
             
                # @return [Array of Array] the arguments passed to each +autoload+ statement
         | 
| 36 42 | 
             
                #                          made
         | 
| 37 43 | 
             
                #
         | 
| 38 | 
            -
                # @see  | 
| 39 | 
            -
                # @see  | 
| 44 | 
            +
                # @see https://ruby-doc.org/core/Module.html#method-i-autoload Module#autoload
         | 
| 45 | 
            +
                # @see https://ruby-doc.org/core/Kernel.html#method-i-autoload Kernel#autoload
         | 
| 40 46 | 
             
                # @see #from
         | 
| 41 47 | 
             
                # @see #except
         | 
| 42 48 | 
             
                # @see #only
         | 
| @@ -207,7 +213,10 @@ module Autoloaded | |
| 207 213 | 
             
                # @see #autoload!
         | 
| 208 214 | 
             
                # @see #host_binding
         | 
| 209 215 | 
             
                def from(value=nil)
         | 
| 210 | 
            -
                   | 
| 216 | 
            +
                  if value.nil?
         | 
| 217 | 
            +
                    return (instance_variable_defined?(:@from) && @from && @from.path) ||
         | 
| 218 | 
            +
                           default_from
         | 
| 219 | 
            +
                  end
         | 
| 211 220 |  | 
| 212 221 | 
             
                  # Validate value.
         | 
| 213 222 | 
             
                  @from = LoadPathedDirectory.new(value)
         | 
| @@ -243,7 +252,8 @@ module Autoloaded | |
| 243 252 | 
             
                end
         | 
| 244 253 |  | 
| 245 254 | 
             
                def from_load_pathed_directory
         | 
| 246 | 
            -
                  @from || | 
| 255 | 
            +
                  (instance_variable_defined?(:@from) && @from) ||
         | 
| 256 | 
            +
                    LoadPathedDirectory.new(default_from)
         | 
| 247 257 | 
             
                end
         | 
| 248 258 |  | 
| 249 259 | 
             
                def host_eval(statement)
         | 
| @@ -253,11 +263,19 @@ module Autoloaded | |
| 253 263 | 
             
                end
         | 
| 254 264 |  | 
| 255 265 | 
             
                def host_source_filename
         | 
| 256 | 
            -
                   | 
| 266 | 
            +
                  if host_binding.respond_to?(:source_location)
         | 
| 267 | 
            +
                    host_eval "::File.expand_path '#{host_binding.source_location.first}'"
         | 
| 268 | 
            +
                  else
         | 
| 269 | 
            +
                    host_eval '::File.expand_path __FILE__'
         | 
| 270 | 
            +
                  end
         | 
| 257 271 | 
             
                end
         | 
| 258 272 |  | 
| 259 273 | 
             
                def host_source_location
         | 
| 260 | 
            -
                   | 
| 274 | 
            +
                  if host_binding.respond_to?(:source_location)
         | 
| 275 | 
            +
                    host_binding.source_location
         | 
| 276 | 
            +
                  else
         | 
| 277 | 
            +
                    host_eval('[__FILE__, __LINE__]')
         | 
| 278 | 
            +
                  end.collect(&:to_s).join ':'
         | 
| 261 279 | 
             
                end
         | 
| 262 280 |  | 
| 263 281 | 
             
              end
         | 
    
        data/lib/autoloaded/constant.rb
    CHANGED
    
    
| @@ -1,7 +1,5 @@ | |
| 1 1 | 
             
            require 'pathname'
         | 
| 2 2 |  | 
| 3 | 
            -
            module Autoloaded; end
         | 
| 4 | 
            -
             | 
| 5 3 | 
             
            # Enumerates the source files in a directory, relativizing their paths using the
         | 
| 6 4 | 
             
            # Ruby load path.
         | 
| 7 5 | 
             
            #
         | 
| @@ -63,7 +61,7 @@ public | |
| 63 61 | 
             
              # @return [LoadPathedDirectory] the _LoadPathedDirectory_
         | 
| 64 62 | 
             
              #
         | 
| 65 63 | 
             
              # @see #path
         | 
| 66 | 
            -
              # @see  | 
| 64 | 
            +
              # @see https://ruby-doc.org/core/Kernel.html#method-i-require Kernel#require
         | 
| 67 65 | 
             
              def each_source_filename
         | 
| 68 66 | 
             
                if (ruby_load_path = closest_ruby_load_path)
         | 
| 69 67 | 
             
                  ::Dir.chdir ruby_load_path do
         | 
| @@ -97,7 +95,7 @@ private | |
| 97 95 | 
             
                # Don't use Pathname#relative_path_from because we want to avoid introducing
         | 
| 98 96 | 
             
                # double dots. The intent is to render the path as relative, if and only if
         | 
| 99 97 | 
             
                # it is a subdirectory of 'other_path'.
         | 
| 100 | 
            -
                pattern = /^#{::Regexp.escape other_path.chomp(::File::SEPARATOR)}#{::Regexp.escape ::File::SEPARATOR}?/
         | 
| 98 | 
            +
                pattern = /^#{::Regexp.escape other_path.to_s.chomp(::File::SEPARATOR)}#{::Regexp.escape ::File::SEPARATOR}?/
         | 
| 101 99 | 
             
                path.gsub pattern, ''
         | 
| 102 100 | 
             
              end
         | 
| 103 101 |  | 
| @@ -1,5 +1,3 @@ | |
| 1 | 
            -
            module Autoloaded; end
         | 
| 2 | 
            -
             | 
| 3 1 | 
             
            # Holds regulations for autoloading.
         | 
| 4 2 | 
             
            #
         | 
| 5 3 | 
             
            # @since 1.3
         | 
| @@ -39,7 +37,9 @@ class Autoloaded::Specifications | |
| 39 37 | 
             
              %i(except only with).each do |attribute_name|
         | 
| 40 38 | 
             
                define_method attribute_name do
         | 
| 41 39 | 
             
                  variable_name = "@#{attribute_name}"
         | 
| 42 | 
            -
                  ( | 
| 40 | 
            +
                  ((instance_variable_defined?(variable_name) &&
         | 
| 41 | 
            +
                    instance_variable_get(variable_name)) ||
         | 
| 42 | 
            +
                   []).tap do |value|
         | 
| 43 43 | 
             
                    instance_variable_set variable_name, value
         | 
| 44 44 | 
             
                  end
         | 
| 45 45 | 
             
                end
         | 
    
        data/lib/autoloaded/version.rb
    CHANGED
    
    
    
        data/lib/autoloaded/warning.rb
    CHANGED
    
    | @@ -1,5 +1,3 @@ | |
| 1 | 
            -
            module Autoloaded; end
         | 
| 2 | 
            -
             | 
| 3 1 | 
             
            # Prints warning messages to _stderr_.
         | 
| 4 2 | 
             
            #
         | 
| 5 3 | 
             
            # @since 1.3
         | 
| @@ -64,7 +62,7 @@ module Autoloaded::Warning | |
| 64 62 | 
             
                #
         | 
| 65 63 | 
             
                # @see .enabled?
         | 
| 66 64 | 
             
                def enable(enabling)
         | 
| 67 | 
            -
                  previous_value = @disabled
         | 
| 65 | 
            +
                  previous_value = instance_variable_defined?(:@disabled) && @disabled
         | 
| 68 66 | 
             
                  @disabled = not!(enabling)
         | 
| 69 67 | 
             
                  if block_given?
         | 
| 70 68 | 
             
                    begin
         | 
    
        data/lib/tasks/lib_each.rake
    CHANGED
    
    | @@ -1,13 +1,25 @@ | |
| 1 1 | 
             
            namespace :lib do
         | 
| 2 | 
            -
              desc " | 
| 2 | 
            +
              desc "Check the source for missing 'require' statements. Set the 'VERBOSE' " +
         | 
| 3 | 
            +
                   'environment variable to "t[rue]" to display the name of each file as ' +
         | 
| 4 | 
            +
                   'it is loaded.'
         | 
| 3 5 | 
             
              task :each do
         | 
| 6 | 
            +
                def verbose?
         | 
| 7 | 
            +
                  ENV['VERBOSE'].to_s =~ /^T/i
         | 
| 8 | 
            +
                end
         | 
| 9 | 
            +
             | 
| 4 10 | 
             
                Dir.chdir 'lib' do
         | 
| 5 11 | 
             
                  Dir.glob( '**/*.rb' ) do |f|
         | 
| 6 12 | 
             
                    next if f == 'tasks.rb'
         | 
| 7 13 |  | 
| 8 | 
            -
                     | 
| 9 | 
            -
             | 
| 14 | 
            +
                    if verbose?
         | 
| 15 | 
            +
                      puts "* #{f}"
         | 
| 16 | 
            +
                    else
         | 
| 17 | 
            +
                      print "\e[32m.\e[0m"
         | 
| 18 | 
            +
                    end
         | 
| 19 | 
            +
                    command = "/usr/bin/env ruby -e 'require File.expand_path(#{f.inspect})'"
         | 
| 20 | 
            +
                    break unless system(command)
         | 
| 10 21 | 
             
                  end
         | 
| 11 22 | 
             
                end
         | 
| 23 | 
            +
                puts unless verbose?
         | 
| 12 24 | 
             
              end
         | 
| 13 25 | 
             
            end
         | 
    
        data/lib/tasks/spec.rake
    CHANGED
    
    | @@ -44,7 +44,8 @@ else | |
| 44 44 | 
             
                  else
         | 
| 45 45 | 
             
                    noun_phrase = "#{uncommitted_spec_files.length} uncommitted spec file#{(uncommitted_spec_files.length == 1) ? nil : 's'}"
         | 
| 46 46 | 
             
                    desc = "Run #{noun_phrase}"
         | 
| 47 | 
            -
                    define_spec_task :uncommitted, desc: | 
| 47 | 
            +
                    define_spec_task :uncommitted, desc:    desc,
         | 
| 48 | 
            +
                                                   pattern: uncommitted_spec_files
         | 
| 48 49 | 
             
                  end
         | 
| 49 50 | 
             
                else
         | 
| 50 51 | 
             
                  noun_phrase = "#{uncommitted_files_in_spec.length} uncommitted file#{uncommitted_files_in_spec.length == 1 ? nil : 's'}"
         | 
| @@ -52,16 +53,12 @@ else | |
| 52 53 | 
             
                  define_spec_task :uncommitted, desc: desc, pattern: 'spec'
         | 
| 53 54 | 
             
                end
         | 
| 54 55 |  | 
| 55 | 
            -
                define_spec_task :warnings, desc: | 
| 56 | 
            +
                define_spec_task :warnings, desc:     'Run specs with Ruby warnings enabled',
         | 
| 56 57 | 
             
                                            format:   :progress,
         | 
| 57 58 | 
             
                                            profile:  false,
         | 
| 58 59 | 
             
                                            warnings: true
         | 
| 59 60 | 
             
              end
         | 
| 60 61 |  | 
| 61 | 
            -
              desc 'Run specs'
         | 
| 62 | 
            -
              task ''       => :spec
         | 
| 63 | 
            -
              task :default => :spec
         | 
| 64 | 
            -
             | 
| 65 62 | 
             
              # Support the 'gem test' command.
         | 
| 66 63 | 
             
              define_spec_task :test, desc: '', backtrace: true,
         | 
| 67 64 | 
             
                                                debug:     false,
         | 
    
        metadata
    CHANGED
    
    | @@ -1,57 +1,57 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: autoloaded
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.7.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Nils Jonsson
         | 
| 8 | 
            -
            autorequire: | 
| 9 | 
            -
            bindir:  | 
| 8 | 
            +
            autorequire:
         | 
| 9 | 
            +
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2021-09-19 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            -
              name:  | 
| 14 | 
            +
              name: codeclimate-test-reporter
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - "~>"
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: ' | 
| 19 | 
            +
                    version: '0'
         | 
| 20 20 | 
             
              type: :development
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - "~>"
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: ' | 
| 26 | 
            +
                    version: '0'
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: rake
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 30 | 
             
                requirements:
         | 
| 31 31 | 
             
                - - "~>"
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: ' | 
| 33 | 
            +
                    version: '13'
         | 
| 34 34 | 
             
              type: :development
         | 
| 35 35 | 
             
              prerelease: false
         | 
| 36 36 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 37 | 
             
                requirements:
         | 
| 38 38 | 
             
                - - "~>"
         | 
| 39 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: ' | 
| 40 | 
            +
                    version: '13'
         | 
| 41 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 42 | 
             
              name: rspec
         | 
| 43 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 44 | 
             
                requirements:
         | 
| 45 45 | 
             
                - - "~>"
         | 
| 46 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version: '3'
         | 
| 47 | 
            +
                    version: '3.3'
         | 
| 48 48 | 
             
              type: :development
         | 
| 49 49 | 
             
              prerelease: false
         | 
| 50 50 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 51 | 
             
                requirements:
         | 
| 52 52 | 
             
                - - "~>"
         | 
| 53 53 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            -
                    version: '3'
         | 
| 54 | 
            +
                    version: '3.3'
         | 
| 55 55 | 
             
            description: If you like the ‘Module#autoload’ feature of the Ruby Core library, you
         | 
| 56 56 | 
             
              may have wished for Autoloaded. It eliminates the drudgery of handcrafting an `autoload`
         | 
| 57 57 | 
             
              statement for each Ruby source code file in your project. It also avoids the limitations
         | 
| @@ -76,6 +76,8 @@ files: | |
| 76 76 | 
             
            - README.md
         | 
| 77 77 | 
             
            - Rakefile
         | 
| 78 78 | 
             
            - autoloaded.gemspec
         | 
| 79 | 
            +
            - bin/console
         | 
| 80 | 
            +
            - bin/setup
         | 
| 79 81 | 
             
            - lib/autoloaded.rb
         | 
| 80 82 | 
             
            - lib/autoloaded/autoloader.rb
         | 
| 81 83 | 
             
            - lib/autoloaded/compatibility/refine_and_using.rb
         | 
| @@ -95,133 +97,32 @@ files: | |
| 95 97 | 
             
            - lib/tasks/lib_each.rake
         | 
| 96 98 | 
             
            - lib/tasks/spec.rake
         | 
| 97 99 | 
             
            - lib/tasks/spec_each.rake
         | 
| 98 | 
            -
             | 
| 99 | 
            -
            - spec/autoloaded/constant_spec.rb
         | 
| 100 | 
            -
            - spec/autoloaded/deprecation_spec.rb
         | 
| 101 | 
            -
            - spec/autoloaded/inflection_spec.rb
         | 
| 102 | 
            -
            - spec/autoloaded/load_pathed_directory_spec.rb
         | 
| 103 | 
            -
            - spec/autoloaded/refine/string/to_source_filename_spec.rb
         | 
| 104 | 
            -
            - spec/autoloaded/specification_spec.rb
         | 
| 105 | 
            -
            - spec/autoloaded/specifications_spec.rb
         | 
| 106 | 
            -
            - spec/autoloaded/version_spec.rb
         | 
| 107 | 
            -
            - spec/autoloaded/warning_spec.rb
         | 
| 108 | 
            -
            - spec/autoloaded_macro_sharedspec.rb
         | 
| 109 | 
            -
            - spec/autoloaded_spec.rb
         | 
| 110 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename.rb
         | 
| 111 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/N-est-ed.rb
         | 
| 112 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/nest_ed.rb
         | 
| 113 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/nested.rb
         | 
| 114 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/nested/doubly_nested.rb
         | 
| 115 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/old_school_autoload.rb
         | 
| 116 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename.rb
         | 
| 117 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename/N-est-ed.rb
         | 
| 118 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename/nest_ed.rb
         | 
| 119 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename/old_school_autoload.rb
         | 
| 120 | 
            -
            - spec/fixtures/filenames/AFilename.rb
         | 
| 121 | 
            -
            - spec/fixtures/filenames/a-file-name.rb
         | 
| 122 | 
            -
            - spec/fixtures/filenames/a-filename.rb
         | 
| 123 | 
            -
            - spec/fixtures/filenames/a_file_name.rb
         | 
| 124 | 
            -
            - spec/fixtures/filenames/a_filename.rb
         | 
| 125 | 
            -
            - spec/fixtures/filenames/afile-name.rb
         | 
| 126 | 
            -
            - spec/fixtures/filenames/afile_name.rb
         | 
| 127 | 
            -
            - spec/fixtures/not_autoloaded.rb
         | 
| 128 | 
            -
            - spec/fixtures/not_autoloaded/nested.rb
         | 
| 129 | 
            -
            - spec/fixtures/not_autoloaded/old_school_autoload.rb
         | 
| 130 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename.rb
         | 
| 131 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/N-est-ed.rb
         | 
| 132 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/nest_ed.rb
         | 
| 133 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/nested.rb
         | 
| 134 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/old_school_autoload.rb
         | 
| 135 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename_only.rb
         | 
| 136 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename_only/nested.rb
         | 
| 137 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename_only/old_school_autoload.rb
         | 
| 138 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames.rb
         | 
| 139 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames/N-est-ed.rb
         | 
| 140 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames/nest_ed.rb
         | 
| 141 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames/old_school_autoload.rb
         | 
| 142 | 
            -
            - spec/fixtures/old_api/not_autoloaded.rb
         | 
| 143 | 
            -
            - spec/fixtures/old_api/not_autoloaded/nested.rb
         | 
| 144 | 
            -
            - spec/fixtures/old_api/not_autoloaded/old_school_autoload.rb
         | 
| 145 | 
            -
            - spec/matchers.rb
         | 
| 146 | 
            -
            - spec/spec_helper.rb
         | 
| 147 | 
            -
            - spec/support/util.rb
         | 
| 148 | 
            -
            - spec/support/without_side_effects.rb
         | 
| 149 | 
            -
            homepage: http://njonsson.github.io/autoloaded
         | 
| 100 | 
            +
            homepage: https://njonsson.github.io/autoloaded
         | 
| 150 101 | 
             
            licenses:
         | 
| 151 102 | 
             
            - MIT
         | 
| 152 103 | 
             
            metadata: {}
         | 
| 153 | 
            -
            post_install_message: | 
| 104 | 
            +
            post_install_message:
         | 
| 154 105 | 
             
            rdoc_options: []
         | 
| 155 106 | 
             
            require_paths:
         | 
| 156 107 | 
             
            - lib
         | 
| 157 108 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 158 109 | 
             
              requirements:
         | 
| 159 | 
            -
              - - " | 
| 110 | 
            +
              - - ">="
         | 
| 160 111 | 
             
                - !ruby/object:Gem::Version
         | 
| 161 112 | 
             
                  version: '2'
         | 
| 113 | 
            +
              - - "<"
         | 
| 114 | 
            +
                - !ruby/object:Gem::Version
         | 
| 115 | 
            +
                  version: '4'
         | 
| 162 116 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 163 117 | 
             
              requirements:
         | 
| 164 118 | 
             
              - - ">="
         | 
| 165 119 | 
             
                - !ruby/object:Gem::Version
         | 
| 166 120 | 
             
                  version: '0'
         | 
| 167 121 | 
             
            requirements: []
         | 
| 168 | 
            -
             | 
| 169 | 
            -
             | 
| 170 | 
            -
            signing_key: 
         | 
| 122 | 
            +
            rubygems_version: 3.2.20
         | 
| 123 | 
            +
            signing_key:
         | 
| 171 124 | 
             
            specification_version: 4
         | 
| 172 125 | 
             
            summary: Eliminates the drudgery of handcrafting a Ruby Core library `autoload` statement
         | 
| 173 126 | 
             
              for each Ruby source code file in your project. It also avoids the limitations of
         | 
| 174 127 | 
             
              rigid convention-driven facilities such as those provided by the ActiveSupport RubyGem.
         | 
| 175 | 
            -
            test_files:
         | 
| 176 | 
            -
            - spec/autoloaded/autoloader_spec.rb
         | 
| 177 | 
            -
            - spec/autoloaded/constant_spec.rb
         | 
| 178 | 
            -
            - spec/autoloaded/deprecation_spec.rb
         | 
| 179 | 
            -
            - spec/autoloaded/inflection_spec.rb
         | 
| 180 | 
            -
            - spec/autoloaded/load_pathed_directory_spec.rb
         | 
| 181 | 
            -
            - spec/autoloaded/refine/string/to_source_filename_spec.rb
         | 
| 182 | 
            -
            - spec/autoloaded/specification_spec.rb
         | 
| 183 | 
            -
            - spec/autoloaded/specifications_spec.rb
         | 
| 184 | 
            -
            - spec/autoloaded/version_spec.rb
         | 
| 185 | 
            -
            - spec/autoloaded/warning_spec.rb
         | 
| 186 | 
            -
            - spec/autoloaded_macro_sharedspec.rb
         | 
| 187 | 
            -
            - spec/autoloaded_spec.rb
         | 
| 188 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename.rb
         | 
| 189 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/N-est-ed.rb
         | 
| 190 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/nest_ed.rb
         | 
| 191 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/nested.rb
         | 
| 192 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/nested/doubly_nested.rb
         | 
| 193 | 
            -
            - spec/fixtures/autoloaded_with_conventional_filename/old_school_autoload.rb
         | 
| 194 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename.rb
         | 
| 195 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename/N-est-ed.rb
         | 
| 196 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename/nest_ed.rb
         | 
| 197 | 
            -
            - spec/fixtures/autoloaded_with_unconventional_filename/old_school_autoload.rb
         | 
| 198 | 
            -
            - spec/fixtures/filenames/AFilename.rb
         | 
| 199 | 
            -
            - spec/fixtures/filenames/a-file-name.rb
         | 
| 200 | 
            -
            - spec/fixtures/filenames/a-filename.rb
         | 
| 201 | 
            -
            - spec/fixtures/filenames/a_file_name.rb
         | 
| 202 | 
            -
            - spec/fixtures/filenames/a_filename.rb
         | 
| 203 | 
            -
            - spec/fixtures/filenames/afile-name.rb
         | 
| 204 | 
            -
            - spec/fixtures/filenames/afile_name.rb
         | 
| 205 | 
            -
            - spec/fixtures/not_autoloaded.rb
         | 
| 206 | 
            -
            - spec/fixtures/not_autoloaded/nested.rb
         | 
| 207 | 
            -
            - spec/fixtures/not_autoloaded/old_school_autoload.rb
         | 
| 208 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename.rb
         | 
| 209 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/N-est-ed.rb
         | 
| 210 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/nest_ed.rb
         | 
| 211 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/nested.rb
         | 
| 212 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename/old_school_autoload.rb
         | 
| 213 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename_only.rb
         | 
| 214 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename_only/nested.rb
         | 
| 215 | 
            -
            - spec/fixtures/old_api/autoloaded_with_conventional_filename_only/old_school_autoload.rb
         | 
| 216 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames.rb
         | 
| 217 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames/N-est-ed.rb
         | 
| 218 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames/nest_ed.rb
         | 
| 219 | 
            -
            - spec/fixtures/old_api/autoloaded_with_unconventional_filenames/old_school_autoload.rb
         | 
| 220 | 
            -
            - spec/fixtures/old_api/not_autoloaded.rb
         | 
| 221 | 
            -
            - spec/fixtures/old_api/not_autoloaded/nested.rb
         | 
| 222 | 
            -
            - spec/fixtures/old_api/not_autoloaded/old_school_autoload.rb
         | 
| 223 | 
            -
            - spec/matchers.rb
         | 
| 224 | 
            -
            - spec/spec_helper.rb
         | 
| 225 | 
            -
            - spec/support/util.rb
         | 
| 226 | 
            -
            - spec/support/without_side_effects.rb
         | 
| 227 | 
            -
            has_rdoc: 
         | 
| 128 | 
            +
            test_files: []
         |