localport 0.1.2 → 0.1.3
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.
- data/VERSION +1 -1
- data/lib/localport/command.rb +1 -1
- data/lib/localport/config.rb +3 -0
- data/localport.gemspec +1 -1
- metadata +2 -2
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.1. | 
| 1 | 
            +
            0.1.3
         | 
    
        data/lib/localport/command.rb
    CHANGED
    
    
    
        data/lib/localport/config.rb
    CHANGED
    
    | @@ -61,6 +61,9 @@ LocalPort::LINK_DIR = '%s'" % [apps_dir, link_dir] | |
| 61 61 | 
             
                    # e.g. ruby-1.8.7-p160 => 1.8.7-p160
         | 
| 62 62 | 
             
                    symlink_base = File.basename symlink
         | 
| 63 63 | 
             
                    src_base = File.basename src
         | 
| 64 | 
            +
                    src_extname = File.extname(src_base)
         | 
| 65 | 
            +
                    src_base = src_base.gsub(src_extname, "")
         | 
| 66 | 
            +
                    symlink_base = symlink_base.gsub(src_extname, "")
         | 
| 64 67 | 
             
                    version = symlink_base.gsub(/#{src_base}-?/, '')
         | 
| 65 68 |  | 
| 66 69 | 
             
                    # srcがカレントにあるリンクを指しているのなら
         | 
    
        data/localport.gemspec
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: localport
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.3
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 127 127 | 
             
                  version: '0'
         | 
| 128 128 | 
             
                  segments:
         | 
| 129 129 | 
             
                  - 0
         | 
| 130 | 
            -
                  hash:  | 
| 130 | 
            +
                  hash: 1929482462854349642
         | 
| 131 131 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 132 132 | 
             
              none: false
         | 
| 133 133 | 
             
              requirements:
         |