YUKI Hiroshi
null+****@clear*****
Fri Sep 27 18:58:04 JST 2013
YUKI Hiroshi 2013-09-27 18:58:04 +0900 (Fri, 27 Sep 2013) New Revision: ba4d137e6bd830a6955a84e60e5757f7d658c6d3 https://github.com/droonga/fluent-plugin-droonga/commit/ba4d137e6bd830a6955a84e60e5757f7d658c6d3 Message: Use double quotation to define string literals Modified files: lib/droonga/catalog.rb Modified: lib/droonga/catalog.rb (+4 -4) =================================================================== --- lib/droonga/catalog.rb 2013-09-27 18:56:31 +0900 (d6a0359) +++ lib/droonga/catalog.rb 2013-09-27 18:58:04 +0900 (4c483bd) @@ -15,8 +15,8 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -require 'digest/sha1' -require 'zlib' +require "digest/sha1" +require "zlib" module Droonga class << self @@ -32,7 +32,7 @@ module Droonga end class Catalog - CATALOG_FILE_PATH = 'catalog.json' + CATALOG_FILE_PATH = "catalog.json" def initialize(path) @catalog_path = path @@ -78,7 +78,7 @@ module Droonga part["partitions"].each do |range, partitions| partitions.each do |partition| if partition =~ pattern - path = File.join([device, $POSTMATCH, 'db']) + path = File.join([device, $POSTMATCH, "db"]) path = File.expand_path(path, base_path) options = { :database => path, -------------- next part -------------- HTML����������������������������... Download