faraday-ssrf-filter 0.1.0 → 0.3.0

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: 2dcc958c9132d2f306a52896efa1b21455232705fa5565cde86cf6205ac74c7e
4
- data.tar.gz: 37663afac9a815654d26dda87d91ab901003d60a1c80f955871156a8af23f8b7
3
+ metadata.gz: 6ce2c67639d9546f95ab72e44ec84c2ec1e1a7574d5486901b735b2419c0c96a
4
+ data.tar.gz: 8a624f33a4339bd383e139293d61b2f0ada25477659223b74047c8126cf5bfde
5
5
  SHA512:
6
- metadata.gz: b882da77d01e75f0da42f90d6164c4e2b5af195ec0609e0a632b4f24275c687b921b74cb3aacd8beed3184f58534cd78ed33246863f02fccf7c630325cfe34a0
7
- data.tar.gz: f073b6ffd4c3253ba46b550c66a882d5f4f4c8eebbc386eb92e1098e99844c0397238feac3178ae5f95cf397f7e3861b7442783769ddc19b81d6428aa654fd10
6
+ metadata.gz: d80b281c71bdf2329d019cc58b04ad4ef02a2984e0d46828af7a5acad28fa92df3e3193fc845559a317272ad651a94006769a1690dcb3044fcfa6a235ca7d444
7
+ data.tar.gz: 54ac93b6e7346217b352b187fb8cb7cb7b0c38ccdab5e357969b80b627141e52198ec673ef85efaa523cdd34bda324ce9c335acf05670fb32fb9668225ab4d37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.0 (2026-10-18)
4
+
5
+ - **Breaking:** require Ruby 3.3+ (3.0–3.2 are end-of-life)
6
+ - Block `192.88.99.0/24` (6to4 relay anycast, deprecated by RFC 7526) and its IPv6-mapped forms
7
+ - Test against Ruby 3.3, 3.4, 4.0 and head
8
+ - Pin RubyGems credentials action to a commit SHA; least-privilege CI token
9
+ - Run RuboCop in default Rake task
10
+
11
+ ## 0.2.0 (2026-05-18)
12
+
13
+ - Add gem name autoload (`require 'faraday-ssrf-filter'` now works)
14
+ - Add GitHub Actions release workflow with RubyGems trusted publisher
15
+ - Improve .gitignore
16
+
3
17
  ## 0.1.0 (2026-05-17)
4
18
 
5
19
  - Initial release
data/README.md CHANGED
@@ -18,6 +18,11 @@ Inspired by [ssrf_filter](https://github.com/arkadiyt/ssrf_filter) (which uses `
18
18
  - **Scheme validation** (only `http`/`https` by default)
19
19
  - Works with **all Faraday adapters**
20
20
 
21
+ ## Requirements
22
+
23
+ - Ruby 3.3+
24
+ - Faraday 1.x or 2.x
25
+
21
26
  ## Installation
22
27
 
23
28
  Add to your Gemfile:
@@ -26,6 +26,7 @@ module Faraday
26
26
  IPAddr.new('172.16.0.0/12'),
27
27
  IPAddr.new('192.0.0.0/24'),
28
28
  IPAddr.new('192.0.2.0/24'),
29
+ IPAddr.new('192.88.99.0/24'),
29
30
  IPAddr.new('192.168.0.0/16'),
30
31
  IPAddr.new('198.18.0.0/15'),
31
32
  IPAddr.new('198.51.100.0/24'),
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module SsrfFilter
5
- VERSION = '0.1.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday/ssrf_filter'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-ssrf-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Quentin Rousseau
@@ -41,6 +41,7 @@ files:
41
41
  - CHANGELOG.md
42
42
  - LICENSE
43
43
  - README.md
44
+ - lib/faraday-ssrf-filter.rb
44
45
  - lib/faraday/ssrf_filter.rb
45
46
  - lib/faraday/ssrf_filter/middleware.rb
46
47
  - lib/faraday/ssrf_filter/version.rb
@@ -48,9 +49,9 @@ homepage: https://github.com/kwent/faraday-ssrf-filter
48
49
  licenses:
49
50
  - MIT
50
51
  metadata:
51
- homepage_uri: https://github.com/kwent/faraday-ssrf-filter
52
52
  source_code_uri: https://github.com/kwent/faraday-ssrf-filter
53
53
  changelog_uri: https://github.com/kwent/faraday-ssrf-filter/blob/main/CHANGELOG.md
54
+ bug_tracker_uri: https://github.com/kwent/faraday-ssrf-filter/issues
54
55
  rubygems_mfa_required: 'true'
55
56
  rdoc_options: []
56
57
  require_paths:
@@ -59,14 +60,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
60
  requirements:
60
61
  - - ">="
61
62
  - !ruby/object:Gem::Version
62
- version: 3.0.0
63
+ version: '3.3'
63
64
  required_rubygems_version: !ruby/object:Gem::Requirement
64
65
  requirements:
65
66
  - - ">="
66
67
  - !ruby/object:Gem::Version
67
68
  version: '0'
68
69
  requirements: []
69
- rubygems_version: 3.6.9
70
+ rubygems_version: 4.0.20
70
71
  specification_version: 4
71
72
  summary: Faraday middleware to prevent SSRF attacks
72
73
  test_files: []