groonga-query-log 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7df943f7814e74ff95c4e7cd6b4b230a1cc24f450cc712d7ab07c92a656a76bb
|
4
|
+
data.tar.gz: dfeed1fc1b77885748272691426bd125e28f2bafca6e7c00c9f31ba6e09f3bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6355c25e19da42bb2e21af69bace7c6f3eae6c64ace8db3d531e0641d3962a97fad5fb178d52cb127c43e155b707b7ed9df6b2b15ef6b74604df9ac7b4eae92e
|
7
|
+
data.tar.gz: a2305198416fe7fb8d9bc54b83b4db82d375534e2d19d5beb5ba54549487a3e4bd27d8ae26d98aae577cbf50feaaaa4e163536c5dad754d03a4f18185b1e1c93
|
data/doc/text/news.md
CHANGED
@@ -100,6 +100,13 @@ module GroongaQueryLog
|
|
100
100
|
end
|
101
101
|
|
102
102
|
private
|
103
|
+
def normalize_path(path)
|
104
|
+
if File::ALT_SEPARATOR
|
105
|
+
path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR)
|
106
|
+
end
|
107
|
+
path
|
108
|
+
end
|
109
|
+
|
103
110
|
def create_option_parser
|
104
111
|
parser = OptionParser.new
|
105
112
|
parser.version = VERSION
|
@@ -109,12 +116,12 @@ module GroongaQueryLog
|
|
109
116
|
parser.on("--input-directory=DIRECTORY",
|
110
117
|
"Load schema and data from DIRECTORY.",
|
111
118
|
"(#{@input_directory})") do |directory|
|
112
|
-
@input_directory = Pathname.new(directory)
|
119
|
+
@input_directory = Pathname.new(normalize_path(directory))
|
113
120
|
end
|
114
121
|
parser.on("--working-directory=DIRECTORY",
|
115
122
|
"Use DIRECTORY as working directory.",
|
116
123
|
"(#{@working_directory})") do |directory|
|
117
|
-
@working_directory = Pathname.new(directory)
|
124
|
+
@working_directory = Pathname.new(normalize_path(directory))
|
118
125
|
end
|
119
126
|
|
120
127
|
parser.separator("")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groonga-query-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: groonga-command-parser
|