ronin-web-session_cookie 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 116b628c759109384e7675298fd5b2b26476fd1d9bb45c360c391b732d76e947
4
- data.tar.gz: 5116188cf2b37f86531ff8bd5a719f4b1f0001babc8c9c9b515ff8fd45da6ba9
3
+ metadata.gz: 050b828b6c7e81a6283e29b308931fe8dd0af7fdcf7d0d662a539ed4d8e4a98f
4
+ data.tar.gz: 4875f991169f9be17260b542ba866186a9de1b7d05c807383f218862832ef80e
5
5
  SHA512:
6
- metadata.gz: 4e998a57ee237416c9bb3404711b3e19448b40f107e264aa57a66e5463c210caf7871880b2df2b91c591bfb988127ca202d1e89402431671b22cf8f6727df79e
7
- data.tar.gz: acc5f52363cac1473623c50d22cb978cb9c8068231f58c350798814678e2868fbc33a351c85ff2682aca4049700b7e2dd7c26eab8f082c93117f3cff05f05430
6
+ metadata.gz: 1053fe66d464df979527189603d982baf2603a1dad230df43fc964de83138b12c7eee60f18e4bde227dfbaa426d09c92f527c54ff2de3e7db318712c22c35487
7
+ data.tar.gz: 209ac126ef17423d5c188b4267a9ecde43c1bb1cbfd2ad24b26b6fefbafda17c93cfb5f60079bafafc16fee4df120c7896139b84a5ef689be7d5fb4148760f5f
@@ -13,6 +13,7 @@ jobs:
13
13
  - '3.1'
14
14
  - '3.2'
15
15
  - '3.3'
16
+ - '3.4'
16
17
  - jruby
17
18
  - truffleruby
18
19
  name: Ruby ${{ matrix.ruby }}
data/ChangeLog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.1.1 / 2025-02-14
2
+
3
+ * Added the `base64` gem as a dependency for Bundler and Ruby 3.4.0.
4
+ * Use `require_relative` to improve load times.
5
+
1
6
  ### 0.1.0 / 2024-07-22
2
7
 
3
8
  * Initial release:
data/README.md CHANGED
@@ -79,9 +79,10 @@ Ronin::Web::SessionCookie.parse('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOi
79
79
  ## Requirements
80
80
 
81
81
  * [Ruby] >= 3.0.0
82
- * [ronin-support] ~> 1.0
82
+ * [base64] ~> 0.1
83
83
  * [rack-session] ~> 1.0
84
84
  * [python-pickle] ~> 0.1
85
+ * [ronin-support] ~> 1.0
85
86
 
86
87
  ## Install
87
88
 
@@ -114,7 +115,7 @@ gem.add_dependency 'ronin-web-session_cookie', '~> 0.1'
114
115
 
115
116
  ## License
116
117
 
117
- Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
118
+ Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
118
119
 
119
120
  ronin-web-session_cookie is free software: you can redistribute it and/or modify
120
121
  it under the terms of the GNU Lesser General Public License as published
@@ -130,8 +131,9 @@ You should have received a copy of the GNU Lesser General Public License
130
131
  along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
131
132
 
132
133
  [Ruby]: https://www.ruby-lang.org
133
- [ronin-support]: https://github.com/ronin-rb/ronin-support#readme
134
+ [base64]: https://github.com/ruby/base64#readme
134
135
  [rack-session]: https://github.com/rack/rack-session
135
136
  [python-pickle]: https://github.com/postmodern/python-pickle#readme
137
+ [ronin-support]: https://github.com/ronin-rb/ronin-support#readme
136
138
  [Django]: https://docs.djangoproject.com/en/4.1/topics/http/sessions/#using-cookie-based-sessions
137
139
  [JWT]: https://jwt.io
data/gemspec.yml CHANGED
@@ -4,7 +4,7 @@ description: |
4
4
  ronin-web-session_cookie is a library for parsing and deserializing various
5
5
  session cookie formats. It supports Rack, Django (JSON and Pickled), and JWT.
6
6
 
7
- license: LGPL-3.0
7
+ license: LGPL-3.0-or-later
8
8
  authors: Postmodern
9
9
  email: postmodern.mod3@gmail.com
10
10
  homepage: https://ronin-rb.dev/
@@ -20,10 +20,11 @@ metadata:
20
20
  required_ruby_version: ">= 3.0.0"
21
21
 
22
22
  dependencies:
23
- # Ronin dependencies:
24
- ronin-support: ~> 1.1
23
+ base64: ~> 0.1
25
24
  rack-session: ~> 1.0
26
25
  python-pickle: ~> 0.1
26
+ # Ronin dependencies:
27
+ ronin-support: ~> 1.1
27
28
 
28
29
  development_dependencies:
29
30
  bundler: ~> 2.0
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
3
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
4
4
  #
5
5
  # ronin-web-session_cookie is free software: you can redistribute it and/or modify
6
6
  # it under the terms of the GNU Lesser General Public License as published
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
3
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
4
4
  #
5
5
  # ronin-web-session_cookie is free software: you can redistribute it and/or modify
6
6
  # it under the terms of the GNU Lesser General Public License as published
@@ -16,10 +16,10 @@
16
16
  # along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
17
17
  #
18
18
 
19
- require 'ronin/web/session_cookie/cookie'
19
+ require_relative 'cookie'
20
+
20
21
  require 'ronin/support/encoding/base64'
21
22
  require 'ronin/support/encoding/base62'
22
-
23
23
  require 'python/pickle'
24
24
 
25
25
  module Ronin
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
3
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
4
4
  #
5
5
  # ronin-web-session_cookie is free software: you can redistribute it and/or modify
6
6
  # it under the terms of the GNU Lesser General Public License as published
@@ -16,7 +16,7 @@
16
16
  # along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
17
17
  #
18
18
 
19
- require 'ronin/web/session_cookie/cookie'
19
+ require_relative 'cookie'
20
20
 
21
21
  require 'base64'
22
22
  require 'json'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
3
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
4
4
  #
5
5
  # ronin-web-session_cookie is free software: you can redistribute it and/or modify
6
6
  # it under the terms of the GNU Lesser General Public License as published
@@ -16,7 +16,7 @@
16
16
  # along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
17
17
  #
18
18
 
19
- require 'ronin/web/session_cookie/cookie'
19
+ require_relative 'cookie'
20
20
 
21
21
  require 'base64'
22
22
  require 'delegate'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
3
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
4
4
  #
5
5
  # ronin-web-session_cookie is free software: you can redistribute it and/or modify
6
6
  # it under the terms of the GNU Lesser General Public License as published
@@ -20,7 +20,7 @@ module Ronin
20
20
  module Web
21
21
  module SessionCookie
22
22
  # ronin-web-session_cookie version
23
- VERSION = '0.1.0'
23
+ VERSION = '0.1.1'
24
24
  end
25
25
  end
26
26
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
- # Copyright (c) 2023-2024 Hal Brodigan (postmodern.mod3@gmail.com)
3
+ # Copyright (c) 2023-2025 Hal Brodigan (postmodern.mod3@gmail.com)
4
4
  #
5
5
  # ronin-web-session_cookie is free software: you can redistribute it and/or modify
6
6
  # it under the terms of the GNU Lesser General Public License as published
@@ -16,9 +16,9 @@
16
16
  # along with ronin-web-session_cookie. If not, see <https://www.gnu.org/licenses/>.
17
17
  #
18
18
 
19
- require 'ronin/web/session_cookie/rack'
20
- require 'ronin/web/session_cookie/django'
21
- require 'ronin/web/session_cookie/jwt'
19
+ require_relative 'session_cookie/rack'
20
+ require_relative 'session_cookie/django'
21
+ require_relative 'session_cookie/jwt'
22
22
 
23
23
  module Ronin
24
24
  module Web
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-web-session_cookie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-22 00:00:00.000000000 Z
11
+ date: 2025-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: ronin-support
14
+ name: base64
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
19
+ version: '0.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.1'
26
+ version: '0.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack-session
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: ronin-support
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -99,7 +113,7 @@ files:
99
113
  - ronin-web-session_cookie.gemspec
100
114
  homepage: https://ronin-rb.dev/
101
115
  licenses:
102
- - LGPL-3.0
116
+ - LGPL-3.0-or-later
103
117
  metadata:
104
118
  documentation_uri: https://ronin-rb.dev/docs/ronin-web-session_cookie
105
119
  source_code_uri: https://github.com/ronin-rb/ronin-web-session_cookie
@@ -121,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
135
  - !ruby/object:Gem::Version
122
136
  version: '0'
123
137
  requirements: []
124
- rubygems_version: 3.5.11
138
+ rubygems_version: 3.5.22
125
139
  signing_key:
126
140
  specification_version: 4
127
141
  summary: A library for parsing and deserializing various session cookies.