sensitive_data_filter 0.7.0 → 0.8.0

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: 324e48c964c091761fe5f2e851d3174dab532f2d39cf8cabb404a22fda78449d
4
- data.tar.gz: 1ac9c36380e2f246787d807fd380454b36e69f82d72f227366557747685c4460
3
+ metadata.gz: 62a6c594bed4022321fd367f348a5e952bfa4ad49f8e790335c3a9a67e055542
4
+ data.tar.gz: aa997be99fba5dab56e8988c9c1b2d768ad58730971b8ae709e88140a2aa47be
5
5
  SHA512:
6
- metadata.gz: b0b92e9a4e71b6259f98865e95f2531feb875bcf19ae587a0f59df882d80a80fdc65c7fed4c436a44af4c1c9973c46f93c0c0405a94e38e4fce8c8b20ed7eea1
7
- data.tar.gz: d4a993de8e04e29b869e702e42467778cbfa7843ff2a6a1562e479edb5c76e701400569f0ae9221c59a3411af504df4585845768b532ce2e8bf380b4f4321c42
6
+ metadata.gz: 794c20ba8bc0937627838e99fc7115daea783ea84b20291c1525a890d1782aff9a40fe5565401cf76e508a3737f6e3bc830d7182d22c64e9041dca81260dda8f
7
+ data.tar.gz: edd8b5b1af65f7e485d833c27f1db82f539b12af350e210175c47b02eb05ebaaf8f747832a3b82ef2f924ea9a1d9636d39f4ce71de6a46b5b9f45871d26a26d8
@@ -5,7 +5,7 @@ jobs:
5
5
  strategy:
6
6
  fail-fast: false
7
7
  matrix:
8
- ruby: ["2.6", "2.7", "3.0", "3.1"]
8
+ ruby: ["3.0", "3.1", "3.2"]
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - uses: actions/checkout@v2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.2.0
data/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # Change Log
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
  This project adheres to [Semantic Versioning](http://semver.org/).
4
5
  This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
5
6
 
7
+ ## 0.8.0
8
+
9
+ - [PLAT-1175] Update to Ruby 3.2
10
+
6
11
  ## 0.7.0
7
12
 
8
13
  - [PLAT-183] Ruby 3.1 and publish coverage with github action
@@ -12,52 +17,72 @@ This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
12
17
  - [TT-8626] Update to build with github actions / ruby 3.0 / rails 6.1
13
18
 
14
19
  ## [0.5.0]
20
+
15
21
  - [TT-5815] Relax version dependencies and tested on latest ruby versions
16
22
 
17
23
  ## [0.4.1] - 2018-03-08
24
+
18
25
  ### Changed
26
+
19
27
  - [TT-3686] Don't mutate env vars unless the key already exists
20
28
 
21
29
  ## [0.4.0] - 2018-01-18
30
+
22
31
  ### Changed
32
+
23
33
  - [TT-3520] No longer clone the "env" middleware variable
24
34
  - [TT-3521] filter action dispatch parameter fields
25
35
  - [TT-3523] Update gem dependencies
26
36
 
27
37
  ## [0.3.0] - 2016-12-28
38
+
28
39
  ### Changed
40
+
29
41
  - Allows whitelisting hash values based on the key
30
42
  - Updates README for usage with Rails middleware stack
31
43
 
32
44
  ### Added
45
+
33
46
  - Adds `original_env` and `filtered_env` properties to occurrence
34
47
 
35
48
  ## [0.2.4] - 2016-12-22
49
+
36
50
  ### Changed
51
+
37
52
  - Does not match credit cards numbers that are part of alphanumerical strings
38
53
 
39
54
  ## [0.2.3] - 2016-12-22
55
+
40
56
  ### Fixed
57
+
41
58
  - Ensures that the url returned by the occurrence is filtered
42
59
 
43
60
  ### Changed
61
+
44
62
  - Does not match credit cards numbers that are part of longer numbers
45
63
 
46
64
  ## [0.2.2] - 2016-12-21
65
+
47
66
  ### Fixed
67
+
48
68
  - Implements stricter credit cards pattern matching
49
69
  - Matches unconventionally formatted credit cards
50
70
  - Scans every sub string for credit cards
51
71
 
52
72
  ## [0.2.1] - 2016-12-19
73
+
53
74
  ### Changed
75
+
54
76
  - Updates README for usage with Rails
55
77
 
56
78
  ### Fixed
79
+
57
80
  - Handles JSON parsing exceptions gracefully
58
81
 
59
82
  ## [0.2.0] - 2016-12-13
83
+
60
84
  ### Added
85
+
61
86
  - Occurrence exposes content type
62
87
  - Support for different content types
63
88
  - Native JSON parameter parsing
@@ -66,12 +91,16 @@ This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
66
91
  - Adds credit card brand validation
67
92
 
68
93
  ### Changed
94
+
69
95
  - Occurrence now exposes query and body params separately
70
96
 
71
97
  ### Fixed
98
+
72
99
  - Skips scanning of file uploads
73
100
 
74
101
  ## [0.1.0] - 2016-12-09
102
+
75
103
  ### Added
104
+
76
105
  - Whitelisting of matches
77
106
  - Initial release
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  require 'forwardable'
3
+ require 'rack'
3
4
 
4
5
  module SensitiveDataFilter
5
6
  module Middleware
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module SensitiveDataFilter
3
- VERSION = '0.7.0'
3
+ VERSION = '0.8.0'
4
4
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.required_ruby_version = '>= 2.6'
24
+ spec.required_ruby_version = '>= 3.0'
25
25
 
26
26
  spec.add_dependency 'rack'
27
27
  spec.add_dependency 'facets'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensitive_data_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Berardi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-01-25 00:00:00.000000000 Z
12
+ date: 2023-01-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -186,14 +186,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- version: '2.6'
189
+ version: '3.0'
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubygems_version: 3.3.3
196
+ rubygems_version: 3.4.1
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Rack Middleware filter for sensitive data