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: 4bc397a48e26c377cab3315458cc8da30cb80cd7efd00bdea36595d7f6cb8bd7
4
- data.tar.gz: 142b467fd6d1b809e4ca2c8b06c826084488dc6cf48aabc387e2dbe22edf0688
3
+ metadata.gz: 7df943f7814e74ff95c4e7cd6b4b230a1cc24f450cc712d7ab07c92a656a76bb
4
+ data.tar.gz: dfeed1fc1b77885748272691426bd125e28f2bafca6e7c00c9f31ba6e09f3bfe
5
5
  SHA512:
6
- metadata.gz: 49862f644474605b03c770c8bd88ca4469a1d234f6b13fc707147ea6ff3c1d82b3f8aa883b35e9fefc09e6c4f58b12c66e9f899a1daf96f4342cc03ffa4969fd
7
- data.tar.gz: cd8283475cab0a4cfdd4f3d2ae6d8d5b42ecc9b09b8877185a07a660fd44819910a372cb472620e0e65444ac762ec729387c5d53dee299eba1f3dbade445b2d5
6
+ metadata.gz: 6355c25e19da42bb2e21af69bace7c6f3eae6c64ace8db3d531e0641d3962a97fad5fb178d52cb127c43e155b707b7ed9df6b2b15ef6b74604df9ac7b4eae92e
7
+ data.tar.gz: a2305198416fe7fb8d9bc54b83b4db82d375534e2d19d5beb5ba54549487a3e4bd27d8ae26d98aae577cbf50feaaaa4e163536c5dad754d03a4f18185b1e1c93
data/doc/text/news.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # News
2
2
 
3
+ ## 1.4.6: 2019-08-20
4
+
5
+ ### Improvements
6
+
7
+ * `groonga-query-log-run-regression-test`:
8
+
9
+ * Added support for "\" as path separator.
10
+
3
11
  ## 1.4.5: 2019-08-15
4
12
 
5
13
  ### Improvements
@@ -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("")
@@ -15,5 +15,5 @@
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
  module GroongaQueryLog
18
- VERSION = "1.4.5"
18
+ VERSION = "1.4.6"
19
19
  end
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.5
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-15 00:00:00.000000000 Z
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