cgi 0.3.5.1 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cgi/cookie.rb +1 -1
  3. data/lib/cgi.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00fede62cc7e963dda17f1a693c0262e563e6b81e41045561cd22b7f9934700e
4
- data.tar.gz: 364ec3c4debcd128b089ee9dd251ef223242860795de183c23b344c71a6023d7
3
+ metadata.gz: 07ab7772a63961e384acc8ba4823973fcc33a2146cca79711c9255f4501afea9
4
+ data.tar.gz: ed59bcae676cebc82134bf5244ec08af350091eab8cdbd9767d913035fd57a56
5
5
  SHA512:
6
- metadata.gz: 159bc861f2c5e20f886346b0cbbf153b7a3ea9592f7615b40fe4fd943758e75ffb2fb7144020eb9158f3f7bebc61cd2ac436d66e7c08189a8d2d20789ab2c16a
7
- data.tar.gz: 88f05e986c4a4dad86cd902d3fd3fef7e728a23f473256e931cb935cfd0cd06cfe25fc4f1f6fec9968462de92e28c8dfaedaeafe85d7cadfe69e790efcf1a00d
6
+ metadata.gz: 91a289cd6cfb781acadc05fdb858611a6dbc0f711a8b0b2d84353bfe6e97a2bf0df4b3fadbae829f73f2480ef2d4968bf8a9d7afe509214f6b71bcc9f3088a0f
7
+ data.tar.gz: 71d586f04495fe3abd333a0bf5bb4f017b72bd4d40536ac3dae1f7fadd8f61087720d40757b40d69d86b762826192bd406391061835fdc51d709912f1add60ab
data/lib/cgi/cookie.rb CHANGED
@@ -42,7 +42,7 @@ class CGI
42
42
 
43
43
  TOKEN_RE = %r"\A[[!-~]&&[^()<>@,;:\\\"/?=\[\]{}]]+\z"
44
44
  PATH_VALUE_RE = %r"\A[[ -~]&&[^;]]*\z"
45
- DOMAIN_VALUE_RE = %r"\A(?<label>(?!-)[-A-Za-z0-9]+(?<!-))(?:\.\g<label>)*\z"
45
+ DOMAIN_VALUE_RE = %r"\A\.?(?<label>(?!-)[-A-Za-z0-9]+(?<!-))(?:\.\g<label>)*\z"
46
46
 
47
47
  # Create a new CGI::Cookie object.
48
48
  #
data/lib/cgi.rb CHANGED
@@ -288,7 +288,7 @@
288
288
  #
289
289
 
290
290
  class CGI
291
- VERSION = "0.3.5.1"
291
+ VERSION = "0.3.7"
292
292
  end
293
293
 
294
294
  require 'cgi/core'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5.1
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto