Module: GemsBond

Defined in:
lib/gems_bond.rb,
lib/gems_bond/gem.rb,
lib/gems_bond/railtie.rb,
lib/gems_bond/spy/all.rb,
lib/gems_bond/spy/one.rb,
lib/gems_bond/version.rb,
lib/gems_bond/examination.rb,
lib/gems_bond/printers/csv.rb,
lib/gems_bond/configuration.rb,
lib/gems_bond/printers/html.rb,
lib/gems_bond/fetchers/github.rb,
lib/gems_bond/printers/stdout.rb,
lib/gems_bond/fetchers/fetcher.rb,
lib/gems_bond/printers/printer.rb,
lib/gems_bond/fetchers/ruby_gems.rb,
lib/gems_bond/helpers/formatting_helper.rb,
lib/gems_bond/helpers/concurrency_helper.rb

Overview

Gem module

Defined Under Namespace

Modules: Examination, Fetchers, Helpers, Printers, Spy Classes: Configuration, Gem, Railtie

Constant Summary collapse

VERSION =
"1.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/gems_bond.rb', line 9

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Configures Gems Bond

Yield Parameters:

  • configuration (Proc)

    to apply

Returns:

  • GemsBond::Configuration



14
15
16
17
# File 'lib/gems_bond.rb', line 14

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end