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.
-
#conda_parser_host ⇒ Object
Returns the value of attribute conda_parser_host.
-
#ignored_dirs ⇒ Object
Returns the value of attribute ignored_dirs.
-
#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
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/bibliothecary/configuration.rb', line 13 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" @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_host ⇒ Object
Returns the value of attribute cabal_parser_host.
11 12 13 |
# File 'lib/bibliothecary/configuration.rb', line 11 def cabal_parser_host @cabal_parser_host end |
#carthage_parser_host ⇒ Object
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_host ⇒ Object
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_host ⇒ Object
Returns the value of attribute conda_parser_host.
9 10 11 |
# File 'lib/bibliothecary/configuration.rb', line 9 def conda_parser_host @conda_parser_host end |
#ignored_dirs ⇒ Object
Returns the value of attribute ignored_dirs.
3 4 5 |
# File 'lib/bibliothecary/configuration.rb', line 3 def ignored_dirs @ignored_dirs end |
#ignored_files ⇒ Object
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_host ⇒ Object
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_host ⇒ Object
Returns the value of attribute swift_parser_host.
10 11 12 |
# File 'lib/bibliothecary/configuration.rb', line 10 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 |