bundler 1.8.3 → 1.8.4
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.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +7 -0
 - data/lib/bundler/lockfile_parser.rb +1 -1
 - data/lib/bundler/source.rb +3 -4
 - data/lib/bundler/source/rubygems.rb +9 -4
 - data/lib/bundler/source_list.rb +3 -2
 - data/lib/bundler/version.rb +1 -1
 - data/man/bundle-package.ronn +7 -0
 - metadata +2 -3
 - data/lib/bundler/source/local_rubygems.rb +0 -16
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 94dcf8415141822172726fafaafc71de5639e1b7
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 2c99b2539d93bd15af0a51c6167bf1825d5f7fd5
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 767a8471e930fd16d98b2bad05bf8719cf86996a9ed592a619c12d8ef1728450cfc52f0c7897acf7cfe3557e2720d26ad091da21a5d0af6f0107d4836f54ae2a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 368ac2c806d1e2e90c998fb5e9df1c0b41ace6db7f8a40aed9a9f4c665cb2f3254a88b0a45a67bd10b13d57a045d71dd7e5cc7f9eb663cde0791450271423c68
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -29,7 +29,7 @@ module Bundler 
     | 
|
| 
       29 
29 
     | 
    
         
             
                  @state        = :source
         
     | 
| 
       30 
30 
     | 
    
         
             
                  @specs        = {}
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
     | 
    
         
            -
                  @rubygems_aggregate = Source:: 
     | 
| 
      
 32 
     | 
    
         
            +
                  @rubygems_aggregate = Source::Rubygems.new
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
                  if lockfile.match(/<<<<<<<|=======|>>>>>>>|\|\|\|\|\|\|\|/)
         
     | 
| 
       35 
35 
     | 
    
         
             
                    raise LockfileError, "Your Gemfile.lock contains merge conflicts.\n" \
         
     | 
    
        data/lib/bundler/source.rb
    CHANGED
    
    | 
         @@ -1,9 +1,8 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            module Bundler
         
     | 
| 
       2 
2 
     | 
    
         
             
              class Source
         
     | 
| 
       3 
     | 
    
         
            -
                autoload :Rubygems, 
     | 
| 
       4 
     | 
    
         
            -
                autoload : 
     | 
| 
       5 
     | 
    
         
            -
                autoload : 
     | 
| 
       6 
     | 
    
         
            -
                autoload :Git,           'bundler/source/git'
         
     | 
| 
      
 3 
     | 
    
         
            +
                autoload :Rubygems, 'bundler/source/rubygems'
         
     | 
| 
      
 4 
     | 
    
         
            +
                autoload :Path,     'bundler/source/path'
         
     | 
| 
      
 5 
     | 
    
         
            +
                autoload :Git,      'bundler/source/git'
         
     | 
| 
       7 
6 
     | 
    
         | 
| 
       8 
7 
     | 
    
         
             
                def self.mirror_for(uri)
         
     | 
| 
       9 
8 
     | 
    
         
             
                  uri = URI(uri.to_s) unless uri.is_a?(URI)
         
     | 
| 
         @@ -68,10 +68,15 @@ module Bundler 
     | 
|
| 
       68 
68 
     | 
    
         
             
                  alias_method :name, :to_s
         
     | 
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
                  def specs
         
     | 
| 
       71 
     | 
    
         
            -
                     
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
      
 71 
     | 
    
         
            +
                    @specs ||= begin
         
     | 
| 
      
 72 
     | 
    
         
            +
                      # remote_specs usually generates a way larger Index than the other
         
     | 
| 
      
 73 
     | 
    
         
            +
                      # sources, and large_idx.use small_idx is way faster than
         
     | 
| 
      
 74 
     | 
    
         
            +
                      # small_idx.use large_idx.
         
     | 
| 
      
 75 
     | 
    
         
            +
                      idx = @allow_remote ? remote_specs.dup : Index.new
         
     | 
| 
      
 76 
     | 
    
         
            +
                      idx.use(cached_specs, :override_dupes) if @allow_cached || @allow_remote
         
     | 
| 
      
 77 
     | 
    
         
            +
                      idx.use(installed_specs, :override_dupes)
         
     | 
| 
      
 78 
     | 
    
         
            +
                      idx
         
     | 
| 
      
 79 
     | 
    
         
            +
                    end
         
     | 
| 
       75 
80 
     | 
    
         
             
                  end
         
     | 
| 
       76 
81 
     | 
    
         | 
| 
       77 
82 
     | 
    
         
             
                  def install(spec)
         
     | 
    
        data/lib/bundler/source_list.rb
    CHANGED
    
    | 
         @@ -6,7 +6,7 @@ module Bundler 
     | 
|
| 
       6 
6 
     | 
    
         
             
                def initialize
         
     | 
| 
       7 
7 
     | 
    
         
             
                  @path_sources       = []
         
     | 
| 
       8 
8 
     | 
    
         
             
                  @git_sources        = []
         
     | 
| 
       9 
     | 
    
         
            -
                  @rubygems_aggregate = Source:: 
     | 
| 
      
 9 
     | 
    
         
            +
                  @rubygems_aggregate = Source::Rubygems.new
         
     | 
| 
       10 
10 
     | 
    
         
             
                  @rubygems_sources   = []
         
     | 
| 
       11 
11 
     | 
    
         
             
                end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
         @@ -57,7 +57,8 @@ module Bundler 
     | 
|
| 
       57 
57 
     | 
    
         
             
                    end
         
     | 
| 
       58 
58 
     | 
    
         
             
                  end
         
     | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
     | 
    
         
            -
                  replacement_rubygems = 
     | 
| 
      
 60 
     | 
    
         
            +
                  replacement_rubygems =
         
     | 
| 
      
 61 
     | 
    
         
            +
                    replacement_sources.detect { |s| s.is_a?(Source::Rubygems) }
         
     | 
| 
       61 
62 
     | 
    
         
             
                  @rubygems_aggregate = replacement_rubygems if replacement_rubygems
         
     | 
| 
       62 
63 
     | 
    
         | 
| 
       63 
64 
     | 
    
         
             
                  # Return true if there were changes
         
     | 
    
        data/lib/bundler/version.rb
    CHANGED
    
    | 
         @@ -2,5 +2,5 @@ module Bundler 
     | 
|
| 
       2 
2 
     | 
    
         
             
              # We're doing this because we might write tests that deal
         
     | 
| 
       3 
3 
     | 
    
         
             
              # with other versions of bundler and we are unsure how to
         
     | 
| 
       4 
4 
     | 
    
         
             
              # handle this better.
         
     | 
| 
       5 
     | 
    
         
            -
              VERSION = "1.8. 
     | 
| 
      
 5 
     | 
    
         
            +
              VERSION = "1.8.4" unless defined?(::Bundler::VERSION)
         
     | 
| 
       6 
6 
     | 
    
         
             
            end
         
     | 
    
        data/man/bundle-package.ronn
    CHANGED
    
    | 
         @@ -17,6 +17,13 @@ Since Bundler 1.2, the `bundle package` command can also package `:git` and 
     | 
|
| 
       17 
17 
     | 
    
         
             
            `:path` dependencies besides .gem files. This needs to be explicitly enabled
         
     | 
| 
       18 
18 
     | 
    
         
             
            via the `--all` option. Once used, the `--all` option will be remembered.
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
      
 20 
     | 
    
         
            +
            ## SUPPORT FOR MULTIPLE PLATFORMS
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            When using gems that have different packages for different platforms, Bundler
         
     | 
| 
      
 23 
     | 
    
         
            +
            1.8 and newer support caching of gems for other platforms in `vendor/cache`.
         
     | 
| 
      
 24 
     | 
    
         
            +
            This needs to be enabled via the `--all-platforms` option. This setting will be
         
     | 
| 
      
 25 
     | 
    
         
            +
            remembered in your local bundler configuration.
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
       20 
27 
     | 
    
         
             
            ## REMOTE FETCHING
         
     | 
| 
       21 
28 
     | 
    
         | 
| 
       22 
29 
     | 
    
         
             
            By default, if you simply run [bundle install(1)][bundle-install] after running
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: bundler
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.8. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.8.4
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - André Arko
         
     | 
| 
         @@ -11,7 +11,7 @@ authors: 
     | 
|
| 
       11 
11 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       12 
12 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       13 
13 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       14 
     | 
    
         
            -
            date: 2015- 
     | 
| 
      
 14 
     | 
    
         
            +
            date: 2015-03-05 00:00:00.000000000 Z
         
     | 
| 
       15 
15 
     | 
    
         
             
            dependencies:
         
     | 
| 
       16 
16 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       17 
17 
     | 
    
         
             
              name: mustache
         
     | 
| 
         @@ -175,7 +175,6 @@ files: 
     | 
|
| 
       175 
175 
     | 
    
         
             
            - lib/bundler/source.rb
         
     | 
| 
       176 
176 
     | 
    
         
             
            - lib/bundler/source/git.rb
         
     | 
| 
       177 
177 
     | 
    
         
             
            - lib/bundler/source/git/git_proxy.rb
         
     | 
| 
       178 
     | 
    
         
            -
            - lib/bundler/source/local_rubygems.rb
         
     | 
| 
       179 
178 
     | 
    
         
             
            - lib/bundler/source/path.rb
         
     | 
| 
       180 
179 
     | 
    
         
             
            - lib/bundler/source/path/installer.rb
         
     | 
| 
       181 
180 
     | 
    
         
             
            - lib/bundler/source/rubygems.rb
         
     | 
| 
         @@ -1,16 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            module Bundler
         
     | 
| 
       2 
     | 
    
         
            -
              class Source
         
     | 
| 
       3 
     | 
    
         
            -
                class LocalRubygems < Rubygems
         
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
                  def specs
         
     | 
| 
       6 
     | 
    
         
            -
                    @specs ||= begin
         
     | 
| 
       7 
     | 
    
         
            -
                      idx = super
         
     | 
| 
       8 
     | 
    
         
            -
                      idx.use(cached_specs, :override_dupes) if @allow_cached || @allow_remote
         
     | 
| 
       9 
     | 
    
         
            -
                      idx.use(installed_specs, :override_dupes)
         
     | 
| 
       10 
     | 
    
         
            -
                      idx
         
     | 
| 
       11 
     | 
    
         
            -
                    end
         
     | 
| 
       12 
     | 
    
         
            -
                  end
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
                end
         
     | 
| 
       15 
     | 
    
         
            -
              end
         
     | 
| 
       16 
     | 
    
         
            -
            end
         
     |