Class: Librarian::Chef::Source::Github

Inherits:
Object
  • Object
show all
Defined in:
lib/librarian/chef/source/github.rb

Class Method Summary collapse

Class Method Details

.from_lock_options(environment, options) ⇒ Object



14
15
16
# File 'lib/librarian/chef/source/github.rb', line 14

def from_lock_options(environment, options)
  Git.from_lock_options(environment, options)
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, options)
  Git.from_spec_args(environment, "https://github.com/#{uri}", options)
end

.lock_nameObject



10
11
12
# File 'lib/librarian/chef/source/github.rb', line 10

def lock_name
  Git.lock_name
end