Class: Librarian::Chef::Source::Github
- Inherits:
-
Object
- Object
- Librarian::Chef::Source::Github
- Defined in:
- lib/librarian/chef/source/github.rb
Class Method Summary collapse
- .from_lock_options(environment, options) ⇒ Object
- .from_spec_args(environment, uri, options) ⇒ Object
- .lock_name ⇒ Object
Class Method Details
.from_lock_options(environment, options) ⇒ Object
14 15 16 |
# File 'lib/librarian/chef/source/github.rb', line 14 def (environment, ) Git.(environment, ) end |
.from_spec_args(environment, uri, options) ⇒ Object
18 19 20 |
# File 'lib/librarian/chef/source/github.rb', line 18 def from_spec_args(environment, uri, ) Git.from_spec_args(environment, "https://github.com/#{uri}", ) end |
.lock_name ⇒ Object
10 11 12 |
# File 'lib/librarian/chef/source/github.rb', line 10 def lock_name Git.lock_name end |