Class: Bundler::Dsl
- Inherits:
-
Object
- Object
- Bundler::Dsl
- Includes:
- BundlerPatch::CredentialFile
- Defined in:
- lib/bundler-pgs/bundler_dsl_extension.rb
Instance Method Summary collapse
Methods included from BundlerPatch::CredentialFile
Instance Method Details
#private_gem_server(name = "default") ⇒ Object
14 15 16 17 18 19 |
# File 'lib/bundler-pgs/bundler_dsl_extension.rb', line 14 def private_gem_server(name = "default") with_credential_file do |credential_filename| yaml = YAML.load_file(credential_filename) yaml[name]["source"].to_s.strip end end |