http-cookie 1.0.6 → 1.0.7

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: fd2affae74acb780842ead781a250bf2fe174fd034417391224ded71767cc08a
4
- data.tar.gz: 77f5ed5bdf3b14002399d237e3d86eb655f2d27da1c3aafd5725338565c24b08
3
+ metadata.gz: 73ca2100bbc196d47cf762d39b5bf250912d7f90c8643ad6a20fba10a34571ed
4
+ data.tar.gz: 0b1fa5d6681c58d4139c3a28ab1a8f820dd6ce152c28f81e11a8bdcb75606fac
5
5
  SHA512:
6
- metadata.gz: 5121ba37a869a8aa52c2efbc2ac3909715883d49203374c8997a3ceeceb84b15e674c77b5ccb0ad5a8cfcea593bfc8c707a96ff4b3ee7a5634302195e8a50ee5
7
- data.tar.gz: 8cb0b6b1ed0b5e9f952031b677a3d8e28d2d14c4a4036e335bfe3ce433743408ce6d1aaa8a23545777328a31cf1e095fc85dde84ddbc056e2ef4fc1e6d2e83be
6
+ metadata.gz: dfbbf53e6bfdc11b450e4b050239dfc97ec77012db0a7c0a713fb22833ab1d22fb69b2f75adc0bf2ad0a06e7aba97ec7af9d8469c8f36dcbcf8f563ea61f574d
7
+ data.tar.gz: '068c842134bf04dd257dd14b5beb607dea401bd88f72ccef669ca96ceff065b7989b86abda3a8a24699844b7f8e8bbaf4cc711da43dcd0e3755a88aec0b5a6b5'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.0.7 (2024-06-06)
2
+
3
+ - Explicitly require "cgi" to avoid `NameError` in some applications. (#50 by @flavorjones)
4
+
5
+
6
+ ## 1.0.6 (2024-06-01)
7
+
8
+ - Fix error formatting bug in HTTP::CookieJar::AbstractStore (#42 by @andrelaszlo)
9
+ - Allow non-RFC 3986-compliant URLs (#45 by @c960657)
10
+ - Add coverage for Ruby 3.2 and 3.3 (#46 by @flavorjones)
11
+ - Quash ruby 3.4 warnings (#47 by @flavorjones)
12
+
1
13
  ## 1.0.5 (2022-05-25)
2
14
 
3
15
  - Silence SQLite3 warnings
@@ -1,5 +1,5 @@
1
1
  module HTTP
2
2
  class Cookie
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
data/lib/http/cookie.rb CHANGED
@@ -6,6 +6,7 @@ require 'time'
6
6
  require 'uri'
7
7
  require 'domain_name'
8
8
  require 'http/cookie/ruby_compat'
9
+ require 'cgi'
9
10
 
10
11
  module HTTP
11
12
  autoload :CookieJar, 'http/cookie_jar'
@@ -400,8 +400,6 @@ class HTTP::CookieJar
400
400
  }
401
401
  end
402
402
  else
403
- require 'cgi'
404
-
405
403
  def encode_www_form(enum)
406
404
  enum.map { |k, v| "#{CGI.escape(k)}=#{CGI.escape(v)}" }.join('&')
407
405
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-cookie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akinori MUSHA
8
8
  - Aaron Patterson
9
9
  - Eric Hodel
10
10
  - Mike Dalessio
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2024-06-01 00:00:00.000000000 Z
14
+ date: 2024-08-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: domain_name
@@ -158,7 +158,7 @@ homepage: https://github.com/sparklemotion/http-cookie
158
158
  licenses:
159
159
  - MIT
160
160
  metadata: {}
161
- post_install_message:
161
+ post_install_message:
162
162
  rdoc_options: []
163
163
  require_paths:
164
164
  - lib
@@ -173,8 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  requirements: []
176
- rubygems_version: 3.5.9
177
- signing_key:
176
+ rubygems_version: 3.5.11
177
+ signing_key:
178
178
  specification_version: 4
179
179
  summary: A Ruby library to handle HTTP Cookies based on RFC 6265
180
180
  test_files: