-
Notifications
You must be signed in to change notification settings - Fork 36
/
configuration.rb
25 lines (24 loc) · 945 Bytes
/
configuration.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module Bibliothecary
class Configuration
attr_accessor :ignored_dirs
attr_accessor :ignored_files
attr_accessor :carthage_parser_host
attr_accessor :clojars_parser_host
attr_accessor :mix_parser_host
attr_accessor :yarn_parser_host
attr_accessor :conda_parser_host
attr_accessor :swift_parser_host
attr_accessor :cabal_parser_host
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 = "https://swift.libraries.io"
@cabal_parser_host = "https://cabal.libraries.io"
end
end
end