newark 0.0.3 → 0.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: eb4394aa3b48d0bbd477917db8fd791f11cd2190
4
- data.tar.gz: 744a0b8042b2ef6556956459114ac2c9526217a9
3
+ metadata.gz: bb71854d252f0cb1624e26254eedacf067804078
4
+ data.tar.gz: c97931ceba7ff07431537aa4b21f3aef4797f69d
5
5
  SHA512:
6
- metadata.gz: 128211194c513e3f1f42fc815d535f5b7b01d75eedcb9fd536c924fad119bbd78bf6afd092b8541b03c42de10af400e96b61d0f756cad3d0d1c0d314ba6a2bd0
7
- data.tar.gz: 2ff7364d01557d7189bf9bc5e4f11d663b2239e950538846321c9357f35e33fb16f22758ed43e6c1d75a4515bdb3d1434b50bec52550422ed51ae14c2bb80e0c
6
+ metadata.gz: b75f48d5ccaa1478d5f5d6c31fa3e411dc44ed77beab91bde4ba6cee393a6575012a41bee6b4a35a908b815a2c51f6b122ec0a7f2e09c5174b59ecde325581b3
7
+ data.tar.gz: b9ca2a867c6b2e49db0e169c6cadb8f0d2fa9f577c0c2d42a5218db58cf98bdf88f5de17d3d96e633a5534b6d0f9356eb15324f9505b5b8af57365cd5fe0fc51
@@ -12,7 +12,7 @@ module Newark
12
12
  end
13
13
 
14
14
  def body
15
- @body ||= @env['rack.input'].clone.read
15
+ @body ||= @env['rack.input'].read
16
16
  end
17
17
 
18
18
  def headers
@@ -3,7 +3,7 @@ module Newark
3
3
 
4
4
  FOUR_O_FOUR = [ 404, {}, [] ].freeze
5
5
 
6
- attr_accessor :request, :response
6
+ attr_reader :app, :env, :request, :response
7
7
 
8
8
  def initialize(app, env)
9
9
  @app = app
@@ -1,3 +1,3 @@
1
1
  module Newark
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-17 00:00:00.000000000 Z
11
+ date: 2014-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack