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.

Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rack/contrib/jsonp.rb +1 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3cea264a3b11a9fbb1007dffe003812fd158e17
4
- data.tar.gz: 2ea55db6bc8035033498a3ef28eaf67a05e77d0e
3
+ metadata.gz: c0abe476c1066ae42097ede40ed8900fdea56f29
4
+ data.tar.gz: 187747919618dda6f9c11d6c8ba7340fd74fc8e0
5
5
  SHA512:
6
- metadata.gz: 47ec0e780cc7f17442a259ca705f2f4195b697deea6a9846ff37444823306b2f713bf4f5b15ed646a2cdab4f18a367cca8a703d4691645507b2f4d91f423cd6d
7
- data.tar.gz: 157cd41a8ba74f5872f7f4dae46c0234b2aea03babbe984d3c4278e1f9b78b466cd5341ff7602be217015234b62ea3a050a0e458f67369dd76e5a98c69c8fd44
6
+ metadata.gz: 89db04752e24f7b780a89f8cc7edb6181b79d051034f5efc6b9c6194ce4b08fe99e2fd8416fb3c53e68bf55b07be1f1110a40866a49dff0c10ed94d6957bcee0
7
+ data.tar.gz: 30ec6279d2da549cd25d54e5e3e0fb42809a9731563ead3e36e3c10cba6df3a1488e59821957d435eedc79b831aa538d4ffd26eba2a17295dcaf96fb6af38df2
@@ -7,8 +7,7 @@ module Rack
7
7
  class JSONP
8
8
  include Rack::Utils
9
9
 
10
- VALID_JS_VAR = /[a-zA-Z_$][\w$]*/
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.6.0
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-08-29 00:00:00.000000000 Z
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.5.2
302
+ rubygems_version: 2.6.13
303
303
  signing_key:
304
304
  specification_version: 2
305
305
  summary: Contributed Rack Middleware and Utilities