lib/milkode/cdweb/lib/database.rb in milkode-1.5.0 vs lib/milkode/cdweb/lib/database.rb in milkode-1.6.0
- old
+ new
@@ -64,11 +64,11 @@
strict_packages = []
is_not_search = false
# パッケージ名未指定の時は現在位置を検索条件に追加
if packages.empty? && current_path != ''
- package, restpath = Util::divide_shortpath(current_path)
+ package, restpath = Util.divide_shortpath(current_path)
grn_package = @grndb.packages[package]
if grn_package
# パッケージ名
strict_packages << package
@@ -181,10 +181,10 @@
sorted.map {|r| r.name}
end
def touch_viewtime(path)
- package, restpath = Util::divide_shortpath(path)
+ package, restpath = Util.divide_shortpath(path)
@grndb.packages.touch_if(package, :viewtime) if package
end
def fav?(name)
@grndb.packages.fav?(name)