Class: Bibliothecary::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bibliothecary/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/bibliothecary/configuration.rb', line 14

def initialize
  @ignored_dirs = ['.git', 'node_modules', 'bower_components', 'vendor', 'dist']
  @ignored_files = []
  @carthage_parser_host = 'https://carthage.libraries.io'
  @clojars_parser_host  = 'https://clojars.libraries.io'
  @mix_parser_host      = 'https://mix.libraries.io'
  @gradle_parser_host   = 'https://gradle-parser.libraries.io'
  @yarn_parser_host     = 'https://yarn-parser.libraries.io'
  @conda_parser_host    = 'https://conda-parser.libraries.io'
  @swift_parser_host    = 'http://swift.libraries.io'
  @cabal_parser_host    = 'http://cabal.libraries.io'
end

Instance Attribute Details

#cabal_parser_hostObject

Returns the value of attribute cabal_parser_host.



12
13
14
# File 'lib/bibliothecary/configuration.rb', line 12

def cabal_parser_host
  @cabal_parser_host
end

#carthage_parser_hostObject

Returns the value of attribute carthage_parser_host.



5
6
7
# File 'lib/bibliothecary/configuration.rb', line 5

def carthage_parser_host
  @carthage_parser_host
end

#clojars_parser_hostObject

Returns the value of attribute clojars_parser_host.



6
7
8
# File 'lib/bibliothecary/configuration.rb', line 6

def clojars_parser_host
  @clojars_parser_host
end

#conda_parser_hostObject

Returns the value of attribute conda_parser_host.



10
11
12
# File 'lib/bibliothecary/configuration.rb', line 10

def conda_parser_host
  @conda_parser_host
end

#gradle_parser_hostObject

Returns the value of attribute gradle_parser_host.



8
9
10
# File 'lib/bibliothecary/configuration.rb', line 8

def gradle_parser_host
  @gradle_parser_host
end

#ignored_dirsObject

Returns the value of attribute ignored_dirs.



3
4
5
# File 'lib/bibliothecary/configuration.rb', line 3

def ignored_dirs
  @ignored_dirs
end

#ignored_filesObject

Returns the value of attribute ignored_files.



4
5
6
# File 'lib/bibliothecary/configuration.rb', line 4

def ignored_files
  @ignored_files
end

#mix_parser_hostObject

Returns the value of attribute mix_parser_host.



7
8
9
# File 'lib/bibliothecary/configuration.rb', line 7

def mix_parser_host
  @mix_parser_host
end

#swift_parser_hostObject

Returns the value of attribute swift_parser_host.



11
12
13
# File 'lib/bibliothecary/configuration.rb', line 11

def swift_parser_host
  @swift_parser_host
end

#yarn_parser_hostObject

Returns the value of attribute yarn_parser_host.



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

def yarn_parser_host
  @yarn_parser_host
end