sishen-hbase-ruby 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
data/hbase-ruby.gemspec
CHANGED
@@ -6,9 +6,9 @@ module HBase
|
|
6
6
|
attr_reader :timestamp
|
7
7
|
|
8
8
|
def initialize(table_name, name, timestamp)
|
9
|
-
@table_name, @name, @timestamp = table_name, name, timestamp
|
10
|
-
path = "/#{table_name}/row/#{name}"
|
11
|
-
path << "/#{timestamp}" if timestamp
|
9
|
+
@table_name, @name, @timestamp = CGI.escape(table_name), CGI.escape(name), timestamp
|
10
|
+
path = "/#{@table_name}/row/#{@name}"
|
11
|
+
path << "/#{@timestamp}" if timestamp
|
12
12
|
super(path)
|
13
13
|
end
|
14
14
|
|