New Upstream Snapshot - ruby-cookiejar

Ready changes

Summary

Merged new upstream version: 0.3.3+git20191217.1.adb79c0 (was: 0.3.3).

Resulting package

Built on 2023-01-19T06:31 (took 4m7s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots ruby-cookiejar

Lintian Result

Diff

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 2aa2b0e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-.yardoc
-*.*proj
-pkg
-doc
-.bundle
-.ruby-version
-Gemfile.lock
diff --git a/LICENSE b/LICENSE
index 170f9db..4d77e75 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 - 2014, David Waite and Other Contributors
+Copyright (c) 2009 - 2018, David Waite and Other Contributors
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
diff --git a/_config.yml b/_config.yml
new file mode 100644
index 0000000..259a24e
--- /dev/null
+++ b/_config.yml
@@ -0,0 +1 @@
+theme: jekyll-theme-tactile
\ No newline at end of file
diff --git a/cookiejar.gemspec b/cookiejar.gemspec
index 17a970e..1c58a00 100644
--- a/cookiejar.gemspec
+++ b/cookiejar.gemspec
@@ -8,6 +8,7 @@ Gem::Specification.new do |s|
   s.name        = 'cookiejar'
   s.version     = CookieJar::VERSION
   s.authors     = ['David Waite']
+  s.license     = 'BSD-2-Clause'
   s.email       = ['david@alkaline-solutions.com']
   s.description = 'Allows for parsing and returning cookies in Ruby HTTP client code'
   s.summary     = 'Client-side HTTP Cookie library'
@@ -19,9 +20,9 @@ Gem::Specification.new do |s|
   s.rdoc_options  = ['--title', 'CookieJar -- Client-side HTTP Cookies']
   s.require_paths = ['lib']
 
-  s.add_development_dependency 'rake', '~> 10.0'
+  s.add_development_dependency 'rake', '>= 10.0', '< 13'
   s.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
   s.add_development_dependency 'rspec', '~> 3.0'
-  s.add_development_dependency 'yard',  '~> 0.8', '>= 0.8.7'
+  s.add_development_dependency 'yard',  '~> 0.9.20'
   s.add_development_dependency 'bundler', '>= 0.9.3'
 end
diff --git a/debian/changelog b/debian/changelog
index e4399e3..da358e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ruby-cookiejar (0.3.3-2) UNRELEASED; urgency=medium
+ruby-cookiejar (0.3.3+git20191217.1.adb79c0-1) UNRELEASED; urgency=medium
 
   [ Utkarsh Gupta ]
   * Add salsa-ci.yml
@@ -16,8 +16,9 @@ ruby-cookiejar (0.3.3-2) UNRELEASED; urgency=medium
   * Update watch file format version to 4.
   * Bump debhelper from old 12 to 13.
   * Remove overrides for lintian tags that are no longer supported.
+  * New upstream snapshot.
 
- -- Utkarsh Gupta <guptautkarsh2102@gmail.com>  Tue, 13 Aug 2019 03:50:10 +0530
+ -- Utkarsh Gupta <guptautkarsh2102@gmail.com>  Thu, 19 Jan 2023 06:28:59 -0000
 
 ruby-cookiejar (0.3.3-1) unstable; urgency=medium
 
diff --git a/lib/cookiejar/cookie.rb b/lib/cookiejar/cookie.rb
index 1c96dc8..607a3c7 100644
--- a/lib/cookiejar/cookie.rb
+++ b/lib/cookiejar/cookie.rb
@@ -180,7 +180,7 @@ module CookieJar
                '/'
              else
                uri.path
-      end
+             end
       path_match   = path.start_with? @path
       secure_match = !(@secure && uri.scheme == 'http')
       script_match = !(script && @http_only)
diff --git a/lib/cookiejar/cookie_validation.rb b/lib/cookiejar/cookie_validation.rb
index e73dd89..a64c607 100644
--- a/lib/cookiejar/cookie_validation.rb
+++ b/lib/cookiejar/cookie_validation.rb
@@ -321,6 +321,8 @@ module CookieJar
             args[:secure] = true
           when :httponly
             args[:http_only] = true
+          when :samesite
+            args[:samesite] = keyvalue.downcase
           else
             fail InvalidCookieError, "Unknown cookie parameter '#{key}'"
           end
diff --git a/lib/cookiejar/jar.rb b/lib/cookiejar/jar.rb
index 2ae5779..e7ff0c9 100644
--- a/lib/cookiejar/jar.rb
+++ b/lib/cookiejar/jar.rb
@@ -39,7 +39,7 @@ module CookieJar
   #
   # Paths are given a straight prefix string comparison to match.
   # Further filters <secure, http only, ports> are not represented in this
-  # heirarchy.
+  # hierarchy.
   #
   # Cookies returned are ordered solely by specificity (length) of the
   # path.
@@ -222,7 +222,7 @@ module CookieJar
                '/'
              else
                uri.path
-      end
+             end
 
       results = []
       hosts.each do |host|
diff --git a/metadata.yml b/metadata.yml
deleted file mode 100644
index 68b9420..0000000
--- a/metadata.yml
+++ /dev/null
@@ -1,144 +0,0 @@
---- !ruby/object:Gem::Specification
-name: cookiejar
-version: !ruby/object:Gem::Version
-  version: 0.3.3
-platform: ruby
-authors:
-- David Waite
-autorequire: 
-bindir: bin
-cert_chain: []
-date: 2014-02-01 00:00:00.000000000 Z
-dependencies:
-- !ruby/object:Gem::Dependency
-  name: rake
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '10.0'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '10.0'
-- !ruby/object:Gem::Dependency
-  name: rspec-collection_matchers
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '1.0'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '1.0'
-- !ruby/object:Gem::Dependency
-  name: rspec
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '3.0'
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '3.0'
-- !ruby/object:Gem::Dependency
-  name: yard
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '0.8'
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 0.8.7
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - "~>"
-      - !ruby/object:Gem::Version
-        version: '0.8'
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 0.8.7
-- !ruby/object:Gem::Dependency
-  name: bundler
-  requirement: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 0.9.3
-  type: :development
-  prerelease: false
-  version_requirements: !ruby/object:Gem::Requirement
-    requirements:
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 0.9.3
-description: Allows for parsing and returning cookies in Ruby HTTP client code
-email:
-- david@alkaline-solutions.com
-executables: []
-extensions: []
-extra_rdoc_files: []
-files:
-- ".gitignore"
-- ".rspec"
-- ".travis.yml"
-- Gemfile
-- LICENSE
-- README.markdown
-- Rakefile
-- contributors.json
-- cookiejar.gemspec
-- lib/cookiejar.rb
-- lib/cookiejar/cookie.rb
-- lib/cookiejar/cookie_validation.rb
-- lib/cookiejar/jar.rb
-- lib/cookiejar/version.rb
-- spec/cookie_spec.rb
-- spec/cookie_validation_spec.rb
-- spec/jar_spec.rb
-- spec/spec_helper.rb
-homepage: http://alkaline-solutions.com
-licenses: []
-metadata: {}
-post_install_message: 
-rdoc_options:
-- "--title"
-- CookieJar -- Client-side HTTP Cookies
-require_paths:
-- lib
-required_ruby_version: !ruby/object:Gem::Requirement
-  requirements:
-  - - ">="
-    - !ruby/object:Gem::Version
-      version: '0'
-required_rubygems_version: !ruby/object:Gem::Requirement
-  requirements:
-  - - ">="
-    - !ruby/object:Gem::Version
-      version: '0'
-requirements: []
-rubyforge_project: 
-rubygems_version: 2.5.1
-signing_key: 
-specification_version: 4
-summary: Client-side HTTP Cookie library
-test_files:
-- spec/cookie_spec.rb
-- spec/cookie_validation_spec.rb
-- spec/jar_spec.rb
-- spec/spec_helper.rb
-has_rdoc: 

Debdiff

File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)

  • Ruby-Versions: all

More details

Full run details