Missing models
This commit is contained in:
parent
4efb93428e
commit
23d27756b8
|
@ -2,11 +2,11 @@
|
|||
module MusicBrainz
|
||||
def self.query_interval=(sec)
|
||||
MusicBrainz::Tools::Proxy.query_interval = sec
|
||||
puts "WARNING! MusicBrainz.query_interval is deprecated. Use MusicBrainz::Tools::Proxy.query_interval"
|
||||
STDOUT.send :puts, "WARNING! MusicBrainz.query_interval is deprecated. Use MusicBrainz::Tools::Proxy.query_interval"
|
||||
end
|
||||
|
||||
def self.cache_path=(path)
|
||||
MusicBrainz::Tools::Cache.cache_path = path
|
||||
puts "WARNING! MusicBrainz.cache_path is deprecated. Use MusicBrainz::Tools::Cache.cache_path"
|
||||
$stdout.send :puts, "WARNING! MusicBrainz.cache_path is deprecated. Use MusicBrainz::Tools::Cache.cache_path"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,6 +5,7 @@ require "nokogiri"
|
|||
require "cgi"
|
||||
|
||||
require "version"
|
||||
require "deprecated"
|
||||
|
||||
module MusicBrainz
|
||||
autoload :Base, "musicbrainz/base"
|
||||
|
|
|
@ -13,6 +13,10 @@ module MusicBrainz
|
|||
@@query_interval = sec.to_f
|
||||
end
|
||||
|
||||
def self.query_interval
|
||||
@@query_interval
|
||||
end
|
||||
|
||||
def self.tries_limit=(num)
|
||||
@@tries_limit = num.to_i
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue