rubypath 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/LICENSE.txt +165 -0
- data/lib/rubypath.rb +29 -0
- data/lib/rubypath/backend.rb +96 -0
- data/lib/rubypath/backend/mock.rb +362 -0
- data/lib/rubypath/backend/sys.rb +163 -0
- data/lib/rubypath/comparison.rb +21 -0
- data/lib/rubypath/construction.rb +115 -0
- data/lib/rubypath/dir_operations.rb +161 -0
- data/lib/rubypath/extensions.rb +162 -0
- data/lib/rubypath/file_operations.rb +193 -0
- data/lib/rubypath/file_predicates.rb +34 -0
- data/lib/rubypath/identity.rb +59 -0
- data/lib/rubypath/io_operations.rb +84 -0
- data/lib/rubypath/mock.rb +44 -0
- data/lib/rubypath/path_operations.rb +320 -0
- data/lib/rubypath/path_predicates.rb +63 -0
- data/lib/rubypath/version.rb +15 -0
- data/rubypath.gemspec +33 -0
- metadata +22 -3
    
        data/rubypath.gemspec
    ADDED
    
    | @@ -0,0 +1,33 @@ | |
| 1 | 
            +
            # coding: utf-8
         | 
| 2 | 
            +
            # frozen_string_literal: true
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            lib = File.expand_path('../lib', __FILE__)
         | 
| 5 | 
            +
            $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
         | 
| 6 | 
            +
            require 'rubypath/version'
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            Gem::Specification.new do |spec|
         | 
| 9 | 
            +
              spec.name          = 'rubypath'
         | 
| 10 | 
            +
              spec.version       = Path::VERSION
         | 
| 11 | 
            +
              spec.authors       = ['Jan Graichen']
         | 
| 12 | 
            +
              spec.email         = ['jg@altimos.de']
         | 
| 13 | 
            +
              spec.description   = 'Path library incorporating File, Dir, Pathname, IO ' \
         | 
| 14 | 
            +
                                   'methods as well as a virtual mock filesystem.'
         | 
| 15 | 
            +
              spec.summary       = 'Path library incorporating File, Dir, Pathname, IO ' \
         | 
| 16 | 
            +
                                   'methods as well as a virtual mock filesystem.'
         | 
| 17 | 
            +
              spec.homepage      = 'https://github.com/jgraichen/rubypath'
         | 
| 18 | 
            +
              spec.license       = 'LGPL-3.0+'
         | 
| 19 | 
            +
             | 
| 20 | 
            +
              spec.files = `git ls-files -z`.split("\x0").select do |f|
         | 
| 21 | 
            +
                f.match %r{
         | 
| 22 | 
            +
                  ^(lib)/
         | 
| 23 | 
            +
                  |CHANGELOG.*
         | 
| 24 | 
            +
                  |LICENSE.*
         | 
| 25 | 
            +
                  |.*\.gemspec
         | 
| 26 | 
            +
                }ix
         | 
| 27 | 
            +
              end
         | 
| 28 | 
            +
              spec.executables   = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
         | 
| 29 | 
            +
              spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
         | 
| 30 | 
            +
              spec.require_paths = ['lib']
         | 
| 31 | 
            +
             | 
| 32 | 
            +
              spec.add_development_dependency 'bundler', '~> 1.3'
         | 
| 33 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: rubypath
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jan Graichen
         | 
| @@ -31,10 +31,29 @@ email: | |
| 31 31 | 
             
            executables: []
         | 
| 32 32 | 
             
            extensions: []
         | 
| 33 33 | 
             
            extra_rdoc_files: []
         | 
| 34 | 
            -
            files: | 
| 34 | 
            +
            files:
         | 
| 35 | 
            +
            - CHANGELOG.md
         | 
| 36 | 
            +
            - LICENSE.txt
         | 
| 37 | 
            +
            - lib/rubypath.rb
         | 
| 38 | 
            +
            - lib/rubypath/backend.rb
         | 
| 39 | 
            +
            - lib/rubypath/backend/mock.rb
         | 
| 40 | 
            +
            - lib/rubypath/backend/sys.rb
         | 
| 41 | 
            +
            - lib/rubypath/comparison.rb
         | 
| 42 | 
            +
            - lib/rubypath/construction.rb
         | 
| 43 | 
            +
            - lib/rubypath/dir_operations.rb
         | 
| 44 | 
            +
            - lib/rubypath/extensions.rb
         | 
| 45 | 
            +
            - lib/rubypath/file_operations.rb
         | 
| 46 | 
            +
            - lib/rubypath/file_predicates.rb
         | 
| 47 | 
            +
            - lib/rubypath/identity.rb
         | 
| 48 | 
            +
            - lib/rubypath/io_operations.rb
         | 
| 49 | 
            +
            - lib/rubypath/mock.rb
         | 
| 50 | 
            +
            - lib/rubypath/path_operations.rb
         | 
| 51 | 
            +
            - lib/rubypath/path_predicates.rb
         | 
| 52 | 
            +
            - lib/rubypath/version.rb
         | 
| 53 | 
            +
            - rubypath.gemspec
         | 
| 35 54 | 
             
            homepage: https://github.com/jgraichen/rubypath
         | 
| 36 55 | 
             
            licenses:
         | 
| 37 | 
            -
            -  | 
| 56 | 
            +
            - LGPL-3.0+
         | 
| 38 57 | 
             
            metadata: {}
         | 
| 39 58 | 
             
            post_install_message: 
         | 
| 40 59 | 
             
            rdoc_options: []
         |