groonga-command-parser 1.1.1 → 1.1.2

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
  SHA1:
3
- metadata.gz: 80b66bb089e2eadb42d743db7c71baf82b4d165c
4
- data.tar.gz: 60d236172a8301558d9961fe81f15fbfe9f66161
3
+ metadata.gz: 3f848ed21767fd2e9f3d30712ea34363175b3d02
4
+ data.tar.gz: 158dd8b58703d631723e8f44b877ce3e9c69036f
5
5
  SHA512:
6
- metadata.gz: 006c544ddaf5d9d64529bed581ecab6c8606ec1229d3c2780b5af2b745d36409dd8210a328c9bb84c3ce5ba288b772e2b0a7140703939df7cff8b5047b77a0a7
7
- data.tar.gz: db6660cc03650a070685218ffc7f3350156a4ed273498fa38e67b6e42fa7f7b0e2e4f489da9a151ce9e6518bc2d30ebdee4cfbc85354a11e7bba5c4862eb8099
6
+ metadata.gz: 21cff9a6346dc77d4de8449f9f736ef029dea4df2fa18c51ea29d805a328de44d3b34bc9e7ddc626f0c65339d621e06ab0a5cecd8386829ccfca20f81f464365
7
+ data.tar.gz: 2cd3f8e7f8a414b331710b2e6f521976c7aa3eb57431e29b44f654e1715fe2df94a2513bcd099fb5f03fcb5e7b7245b80f68f1740f752f9217b7339d3e970c61
@@ -1,5 +1,11 @@
1
1
  # News
2
2
 
3
+ ## 1.1.2: 2017-10-31
4
+
5
+ ### Fixes
6
+
7
+ * Fixed a nil error.
8
+
3
9
  ## 1.1.1: 2017-10-31
4
10
 
5
11
  ### Fixes
@@ -360,7 +360,11 @@ module Groonga
360
360
  @load_values_parser.on_consumed = lambda do |consumed|
361
361
  if @loading
362
362
  @command.original_source << consumed
363
- @buffer = @buffer[consumed.bytesize..-1]
363
+ if @buffer.bytesize == consumed.bytesize
364
+ @buffer = "".force_encoding("ASCII-8BIT")
365
+ else
366
+ @buffer = @buffer[consumed.bytesize..-1]
367
+ end
364
368
  end
365
369
  end
366
370
  @load_values_parser.on_end = lambda do |rest|
@@ -17,7 +17,7 @@
17
17
  module Groonga
18
18
  module Command
19
19
  class Parser
20
- VERSION = "1.1.1"
20
+ VERSION = "1.1.2"
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-command-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou