restify 0.3.2.1.b68 → 0.3.2.1.b69

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTNhOWEyNWM5ZDM3NjhjNmE5ZDQ4OGUyOWYyZmMwMzFhYTU2YzJjNQ==
4
+ MjRkYWZkZjVmNzkzYWIxOWU2MDViMGY5OGNlOTY3ZmRiZTMxNjA4YQ==
5
5
  data.tar.gz: !binary |-
6
- ZGUzZTg5MjgzYTNlYzJlMWNlMjNiY2I5Yzg2OTRhMmFhMTAyZmJlNQ==
6
+ NzE0ZWUyZjZkNzA5NDQyOTc4NTY0ZjdhNmZlZTRmMzJmMTAxOTI2MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDE5NDUwNTBhOTM1NTJkNTM1Y2ZiZjUzYTg5NjI5MDllYWZkNmNjNDAyMjA1
10
- NTVjMzM1ZGM2ZWE3M2RjYTVlNWRiNTUyMWJlZGVhMmFlMTBjNDJmODViYTA0
11
- NmFlNTliNmY3OWE1MDAwNjI4Nzg4OTk0Zjc5NTYwNWFlOTczZjA=
9
+ ZDgxNGRiNTlhYTlhMmY0NTBhOTBmYjkwZDk0MjViZjNmNzM0MGU3NzFkODM5
10
+ NDhjNjhlMjAwYmRkN2I3ZTY2YWQ1ZjgyZDI3NmNhN2Q3NTFkOTA4NzEyZjI5
11
+ NzUzYWM2YjMxYzFlYjhkY2I3MjEyYjBlYzRhYmU3YmE1OWQ2MWY=
12
12
  data.tar.gz: !binary |-
13
- NDQ5MTU4NDE1NzNjYTgxYjdmYjIyNDYyMDdkODc3NDY2YThiYWNiZDliYTU2
14
- ZDM1NjJhZGViZDI3NWE0OTc4YzRmNWM4NzQ0MmM3ZmQxMjU0NzFjNTVlYjI2
15
- M2QyNmQxMDcxNjUxNjQ2OWEwN2U5NTVlZmNlZjRkZmE3OGE2ZGU=
13
+ NTUyMzZmNjRkNDkwNDk4YzEwMmY0NGNhZWI2NzU5YjBmNWEzNDYwM2YwNTMx
14
+ ZjYxNWViYzdiYjlmNWE5MmQyYzIwM2Q3MTY4YTYwNTk3YTI5NmQ1MDNhMWVj
15
+ ZGRhMTZmZmQzYTg2MDQ5MzdiNGQxZGUzZjQ3NzE2NGZhYjhlZjM=
@@ -1,3 +1,5 @@
1
+ require 'json'
2
+
1
3
  module Restify
2
4
  #
3
5
  module Processors
@@ -9,7 +11,7 @@ module Restify
9
11
  class Json < Base
10
12
 
11
13
  def load
12
- parse JSON.load(body), root: true
14
+ parse ::JSON.load(body), root: true
13
15
  end
14
16
 
15
17
  private
@@ -1,4 +1,5 @@
1
1
  require 'delegate'
2
+ require 'forwardable'
2
3
 
3
4
  module Restify
4
5
  #
@@ -1,4 +1,5 @@
1
1
  require 'rack/utils'
2
+ require 'json'
2
3
 
3
4
  module Restify
4
5
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2.1.b68
4
+ version: 0.3.2.1.b69
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen