rack-app 7.6.1 → 7.6.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
  SHA256:
3
- metadata.gz: 9d79b70dcb9b2e40f6f72d744393137ac491c60e5d8d60580c780c2ed22b1450
4
- data.tar.gz: c49619a0f6b1b369312efd415aa46e8464a649609fcc7b2520fc2ee31046d397
3
+ metadata.gz: ca703fd01ac71f6c54e349d25d58540a724a4133cd2b3ac38bcffc2752820529
4
+ data.tar.gz: 19329c662b15c65d1d578066e5d7d1e12bcce180b46b4025398e1a8c5009b79e
5
5
  SHA512:
6
- metadata.gz: 673c644050ef4bcd62cda1144d5078a149e9f13770ec4a0f5855b5659c0b50f025d84fc25f405c16c24194effeb0d65b1bc1bc1f90b8615f3f611cadd085d162
7
- data.tar.gz: 2891119e70ad873a642e1b6d19c921292376be152fe2e08ae175310916ae2d8ee028d5a346e85501c7663c66782d9e37ee6108efdade49feb11fca296c469a7e
6
+ metadata.gz: da7df3dc724c11abf5519789d91513cb64f97aea2d18dd388155b3275119f39468145aa9f88d4ec5093f7d001ef114dfa12497cb8dc3fe82e4ffbf84e59d6ea3
7
+ data.tar.gz: db5c0d4f626954611ad99e62dbe3c5fbf141e0757fd71fd0432a899ceddc12cc55d9fc5060043bc13ede8f442db00b741d2571af98e24ee4614ace26876344bb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.6.1
1
+ 7.6.2
@@ -2,11 +2,11 @@ module Rack::App::Payload::Parser::Builder::Formats
2
2
  extend(self)
3
3
 
4
4
  JSON_CONTENT_TYPES = [
5
- 'application/json',
6
- 'application/x-javascript',
7
- 'text/javascript',
8
- 'text/x-javascript',
9
- 'text/x-json'
5
+ 'application/json',
6
+ 'application/x-javascript',
7
+ 'text/javascript',
8
+ 'text/x-javascript',
9
+ 'text/x-json'
10
10
  ].freeze
11
11
 
12
12
  JSON_PARSER = proc do |io|
@@ -28,9 +28,9 @@ module Rack::App::Payload::Parser::Builder::Formats
28
28
  end
29
29
 
30
30
  JSON_STREAM_CONTENT_TYPES = [
31
- 'application/jsonstream',
32
- 'application/stream+json',
33
- 'application/x-json-stream'
31
+ 'application/jsonstream',
32
+ 'application/stream+json',
33
+ 'application/x-json-stream'
34
34
  ].freeze
35
35
 
36
36
  JSON_STREAM_PARSER = proc do |io|
@@ -62,8 +62,8 @@ module Rack::App::Payload::Parser::Builder::Formats
62
62
  # end
63
63
 
64
64
  FORM_CONTENT_TYPES = [
65
- 'application/x-www-form-urlencoded',
66
- # 'multipart/form-data'
65
+ 'application/x-www-form-urlencoded',
66
+ # 'multipart/form-data'
67
67
  ].freeze
68
68
 
69
69
  FORM_SEP_CHAR = '&'.freeze
@@ -76,7 +76,7 @@ module Rack::App::Payload::Parser::Builder::Formats
76
76
  lambda do |form|
77
77
  ::Rack::Utils.parse_nested_query(form, FORM_SEP_CHAR)
78
78
  end
79
- end
79
+ end
80
80
 
81
81
  NULL_END_CHAR = /#{"\u0000"}$/
82
82
 
@@ -102,7 +102,7 @@ module Rack::App::Payload::Parser::Builder::Formats
102
102
  last_name = form_name
103
103
  unless respond_to?(form_name)
104
104
  raise(NotImplementedError, "unknown formatter: #{last_name}")
105
- end
105
+ end
106
106
  __send__ form_name, builder
107
107
  end
108
108
  end
@@ -3,8 +3,8 @@ module Rack::App::Streamer::Scheduler::Null
3
3
  extend(self)
4
4
 
5
5
  def schedule(*)
6
- yield
7
- end
6
+ yield
7
+ end
8
8
 
9
9
  def defer(*)
10
10
  yield
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.1
4
+ version: 7.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-21 00:00:00.000000000 Z
11
+ date: 2020-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler