Class: Bibliothecary::Configuration
- Inherits:
-
Object
- Object
- Bibliothecary::Configuration
- Defined in:
- lib/bibliothecary/configuration.rb
Instance Attribute Summary collapse
-
#cabal_parser_host ⇒ Object
Returns the value of attribute cabal_parser_host.
-
#carthage_parser_host ⇒ Object
Returns the value of attribute carthage_parser_host.
-
#clojars_parser_host ⇒ Object
Returns the value of attribute clojars_parser_host.
-
#gradle_parser_host ⇒ Object
Returns the value of attribute gradle_parser_host.
-
#ignored_files ⇒ Object
Returns the value of attribute ignored_files.
-
#mix_parser_host ⇒ Object
Returns the value of attribute mix_parser_host.
-
#swift_parser_host ⇒ Object
Returns the value of attribute swift_parser_host.
-
#yarn_parser_host ⇒ Object
Returns the value of attribute yarn_parser_host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/bibliothecary/configuration.rb', line 12 def initialize @ignored_files = ['.git', 'node_modules', 'bower_components', 'spec/fixtures', 'vendor', 'dist'] @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' @swift_parser_host = 'http://swift.libraries.io' @cabal_parser_host = 'http://cabal.libraries.io' end |
Instance Attribute Details
#cabal_parser_host ⇒ Object
Returns the value of attribute cabal_parser_host.
10 11 12 |
# File 'lib/bibliothecary/configuration.rb', line 10 def cabal_parser_host @cabal_parser_host end |
#carthage_parser_host ⇒ Object
Returns the value of attribute carthage_parser_host.
4 5 6 |
# File 'lib/bibliothecary/configuration.rb', line 4 def carthage_parser_host @carthage_parser_host end |
#clojars_parser_host ⇒ Object
Returns the value of attribute clojars_parser_host.
5 6 7 |
# File 'lib/bibliothecary/configuration.rb', line 5 def clojars_parser_host @clojars_parser_host end |
#gradle_parser_host ⇒ Object
Returns the value of attribute gradle_parser_host.
7 8 9 |
# File 'lib/bibliothecary/configuration.rb', line 7 def gradle_parser_host @gradle_parser_host end |
#ignored_files ⇒ Object
Returns the value of attribute ignored_files.
3 4 5 |
# File 'lib/bibliothecary/configuration.rb', line 3 def ignored_files @ignored_files end |
#mix_parser_host ⇒ Object
Returns the value of attribute mix_parser_host.
6 7 8 |
# File 'lib/bibliothecary/configuration.rb', line 6 def mix_parser_host @mix_parser_host end |
#swift_parser_host ⇒ Object
Returns the value of attribute swift_parser_host.
9 10 11 |
# File 'lib/bibliothecary/configuration.rb', line 9 def swift_parser_host @swift_parser_host end |
#yarn_parser_host ⇒ Object
Returns the value of attribute yarn_parser_host.
8 9 10 |
# File 'lib/bibliothecary/configuration.rb', line 8 def yarn_parser_host @yarn_parser_host end |