Module: Fasterer::Github
- Defined in:
- lib/fasterer/github.rb,
lib/fasterer/github/scanner.rb,
lib/fasterer/github/version.rb,
lib/fasterer/github/api_wrapper.rb,
lib/fasterer/github/gh_traverser.rb,
lib/fasterer/github/configuration.rb,
lib/fasterer/github/output_composer.rb,
lib/fasterer/github/analyzer_extension.rb
Defined Under Namespace
Classes: AnalyzerExtension, ApiWrapper, Configuration, GhTraverser, OutputComposer, Scanner
Constant Summary
collapse
- VERSION =
'0.2.1'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
4
5
6
|
# File 'lib/fasterer/github/configuration.rb', line 4
def configuration
@configuration
end
|
Class Method Details
7
8
9
|
# File 'lib/fasterer/github/configuration.rb', line 7
def self.configure
yield(configuration)
end
|
.reset_configuration ⇒ Object
15
16
17
18
|
# File 'lib/fasterer/github/configuration.rb', line 15
def self.reset_configuration
Fasterer::Github.configuration = nil
Fasterer::Github.configure {}
end
|
.scan(owner, repo, path = nil) ⇒ Object
7
8
9
10
11
|
# File 'lib/fasterer/github.rb', line 7
def self.scan(owner, repo, path = nil)
scanner = Fasterer::Github::Scanner.new(owner, repo, path)
scanner.run
scanner.results
end
|