Included Modules

Class Index [+]

Quicksearch

Bundler::EndpointSpecification

used for Creating Specifications from the Gemcutter Endpoint

Attributes

name[R]
version[R]
platform[R]
dependencies[R]
source[RW]

Public Class Methods

new(name, version, platform, dependencies) click to toggle source
    # File lib/bundler/endpoint_specification.rb, line 11
11:     def initialize(name, version, platform, dependencies)
12:       @name         = name
13:       @version      = version
14:       @platform     = platform
15:       @dependencies = dependencies
16:     end

Public Instance Methods

__swap__(spec) click to toggle source
    # File lib/bundler/endpoint_specification.rb, line 69
69:     def __swap__(spec)
70:       @remote_specification = spec
71:     end
_local_specification() click to toggle source
    # File lib/bundler/endpoint_specification.rb, line 65
65:     def _local_specification
66:       eval(File.read(local_specification_path)) if @loaded_from && File.exists?(local_specification_path)
67:     end
bindir() click to toggle source

needed for bundle clean

    # File lib/bundler/endpoint_specification.rb, line 46
46:     def bindir
47:       if @remote_specification
48:         @remote_specification.bindir
49:       elsif _local_specification
50:         _local_specification.bindir
51:       else
52:         super
53:       end
54:     end
executables() click to toggle source

needed for binstubs

    # File lib/bundler/endpoint_specification.rb, line 35
35:     def executables
36:       if @remote_specification
37:         @remote_specification.executables
38:       elsif _local_specification
39:         _local_specification.executables
40:       else
41:         super
42:       end
43:     end
fetch_platform() click to toggle source
    # File lib/bundler/endpoint_specification.rb, line 18
18:     def fetch_platform
19:       @plaftorm
20:     end
post_install_message() click to toggle source

needed for post_install_messages during install

    # File lib/bundler/endpoint_specification.rb, line 57
57:     def post_install_message
58:       if @remote_specification
59:         @remote_specification.post_install_message
60:       elsif _local_specification
61:         _local_specification.post_install_message
62:       end
63:     end
require_paths() click to toggle source

needed for standalone, load required_paths from local gemspec after the gem in installed

    # File lib/bundler/endpoint_specification.rb, line 24
24:     def require_paths
25:       if @remote_specification
26:         @remote_specification.require_paths
27:       elsif _local_specification
28:         _local_specification.require_paths
29:       else
30:         super
31:       end
32:     end

Private Instance Methods

local_specification_path() click to toggle source
    # File lib/bundler/endpoint_specification.rb, line 74
74:     def local_specification_path
75:       "#{base_dir}/specifications/#{full_name}.gemspec"
76:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.