auth-centric-firewall 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: 669fd19673965861241121a8c8a1744f298e19b7116b0d96a6c2337d9a9b6a0c
4
- data.tar.gz: d13c16055743036a648bfe7a27844924da16c8a0099e0a45569b6da3752a1238
3
+ metadata.gz: e287e19f12735e9c687cb6f79450e78abd78cc28e6b5c9c423444606a3b019fb
4
+ data.tar.gz: b3865f72602036e7f9e02280c6bcfb48e8df7f5fdcf1a37cd2dd1588b8599b88
5
5
  SHA512:
6
- metadata.gz: 2d5efc53a5a8bb3dee51368aa9720282ea44ed7aea60c412fcdb007e93945f8f6907a0581d71b5f1cc29860323996161b52c9bb2f6bc058cdfcb734c829e566d
7
- data.tar.gz: e85bacf437f529c59e17ad92518b2cc662d2516f943a38a30cd70493c843b3e3f6a4d701a27cb11bf2674b075aae09ecccc0be41e749f533e7b8a05d0db3acf3
6
+ metadata.gz: e725fadcc1372ca2363bfc0f726b8e07a70999ba37574e53e7a674988e2a1977431454c8a8d2be31760ccf0795083aea066a1df6a7b3f587e18695ecb6c5b844
7
+ data.tar.gz: bd2fc5072fa375ac835f5bc3be163df97a41c1bdd21f01481e45e81e1167a5c800a98e4dfe114eca06081d5de0172eb6d502658f85bf481c4d11743806848d62
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Released]
2
2
 
3
+ ## [0.1.1] - 2025-05-17
4
+
5
+ - Try to find real I.P
6
+
3
7
  ## [0.1.0] - 2025-04-14
4
8
 
5
9
  - Pass exception that has occurred
data/README.md CHANGED
@@ -4,27 +4,7 @@ Stop bad actors.
4
4
 
5
5
  ## Installation
6
6
 
7
-
8
- ```bash
9
- bundle add auth-centric-firewall
10
- ```
11
-
12
- If bundler is not being used to manage dependencies, install the gem by executing:
13
-
14
- ```bash
15
- gem install auth-centric-firewall
16
- ```
17
-
18
- ## Usage
19
-
20
- ### Env Variables
21
-
22
- ```bash
23
- AUTH_CENTRIC_ENABLED=true
24
- AUTH_CENTRIC_HOST=http://localhost:3003
25
- AUTH_CENTRIC_API_KEY=...
26
- AUTH_CENTRIC_TIMEOUT_SECONDS=3
27
- ```
7
+ See service docs in another project.
28
8
 
29
9
  ## Contributing
30
10
 
@@ -25,7 +25,7 @@ module Auth
25
25
  end
26
26
 
27
27
  def ip
28
- @request.env['HTTP_X_FORWARDED_FOR'] || @request.remote_ip
28
+ @request.env['HTTP_X_REAL_IP'] || @request.env['HTTP_X_FORWARDED_FOR'] || @request.remote_ip
29
29
  end
30
30
 
31
31
  def domain
@@ -3,7 +3,7 @@
3
3
  module Auth
4
4
  module Centric
5
5
  module Firewall
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth-centric-firewall
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
  - Saimon Lovell
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.6.8
75
+ rubygems_version: 3.6.9
76
76
  specification_version: 4
77
77
  summary: Use artificial intelligence to find hackers.
78
78
  test_files: []