rack-contrib 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rack-contrib might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/rack/contrib/jsonp.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0abe476c1066ae42097ede40ed8900fdea56f29
|
4
|
+
data.tar.gz: 187747919618dda6f9c11d6c8ba7340fd74fc8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89db04752e24f7b780a89f8cc7edb6181b79d051034f5efc6b9c6194ce4b08fe99e2fd8416fb3c53e68bf55b07be1f1110a40866a49dff0c10ed94d6957bcee0
|
7
|
+
data.tar.gz: 30ec6279d2da549cd25d54e5e3e0fb42809a9731563ead3e36e3c10cba6df3a1488e59821957d435eedc79b831aa538d4ffd26eba2a17295dcaf96fb6af38df2
|
data/lib/rack/contrib/jsonp.rb
CHANGED
@@ -7,8 +7,7 @@ module Rack
|
|
7
7
|
class JSONP
|
8
8
|
include Rack::Utils
|
9
9
|
|
10
|
-
|
11
|
-
VALID_CALLBACK = /\A#{VALID_JS_VAR}(?:\.?#{VALID_JS_VAR})*\z/
|
10
|
+
VALID_CALLBACK = /\A[a-zA-Z_$](?:\.?[\w$])*\z/
|
12
11
|
|
13
12
|
# These hold the Unicode characters \u2028 and \u2029.
|
14
13
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-contrib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rack-devel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
299
|
version: '0'
|
300
300
|
requirements: []
|
301
301
|
rubyforge_project:
|
302
|
-
rubygems_version: 2.
|
302
|
+
rubygems_version: 2.6.13
|
303
303
|
signing_key:
|
304
304
|
specification_version: 2
|
305
305
|
summary: Contributed Rack Middleware and Utilities
|