grape-batch 1.0.3 → 1.0.4

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: 629341058e79eb9e77d5f194253924d5e750ad33
4
- data.tar.gz: a55650fa2bb33ffcbd6687550b8626e1c387fa83
3
+ metadata.gz: 3cde41da304a6addd17c9d57b4326bf16d394682
4
+ data.tar.gz: 5f59e3a4857f129f6f16c07924067721c132c27e
5
5
  SHA512:
6
- metadata.gz: 5c845fcaacb2343e51583e9e076192a5cfcadcaf2fe81aafeb1427beceebadd5bcf31fe3e3c1b0a5a696508fd77976040efc14f82e3beee632f8187096941987
7
- data.tar.gz: d9332fce70ee22c5994155c1e0dbc2fb1c07873ef90c17772f7598208da4c9895d8a3439eed7b70e58bb7bf534cfcb506a4b31a20678d16d137b70d4d6f5f101
6
+ metadata.gz: a74d5336ae59e801dede8e4e3297db10f60c3a4acc553f1dc0feced8256c3c0ca5c733fbfad24b2a0d705b02ab7bef176f703074a5eb4b8da352b006d300907a
7
+ data.tar.gz: 2c4fa0a3ead2bbe33f712883404cfcf3e2da961fb7da4c33d90e977512cf93dba5b5dcbdde14a8ffc534f3eb6f97649f7f378e1c9d20a839f49d97d425ccfa58
@@ -3,7 +3,7 @@ module Grape
3
3
  class Validator
4
4
  class << self
5
5
  def parse(env, limit)
6
- batch_body = decode_body(env['rack.input'])
6
+ batch_body = decode_body(env['rack.input'].read)
7
7
 
8
8
  requests = batch_body['requests']
9
9
  validate_requests(requests, limit)
@@ -1,5 +1,5 @@
1
1
  module Grape
2
2
  module Batch
3
- VERSION = '1.0.3'
3
+ VERSION = '1.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lionel Oto