sanitization 1.1.3 → 1.2.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: f6205f9747ede56298a9f328432e9b429a22cfddc4553dd208acbb0358f52f38
4
- data.tar.gz: 53f878df3e4a8d6988115cf4ededfa7c86d80dd2421bced1557aee34d3c2129c
3
+ metadata.gz: e2fb43dabdf9271b466909b68e6e6df5b6fe81a20e68820549f1d0d8d4525269
4
+ data.tar.gz: 41ce90afc106f2526c7df345de3910d1907ab27fe0250edf5ab00c31f36ee7e4
5
5
  SHA512:
6
- metadata.gz: 63dbe605e5f06b74f943b3a06c1632a287e9b3be699a1357a7846c7eecc1ed48a47bced5d69828735085aeff9fc03b669acd9691ad34406224d80631b3cd91de
7
- data.tar.gz: 7634312dc87b1f209702b9080e70446da6c584afb33bfd71c2fef88bebfe687d173259c0245004d2e3804a8ec312aeb7aec5e038a2d6e20c93531b43d0275be4
6
+ metadata.gz: e3166de8170a6ddaf8cf9bd62b68d8d43ffff7c852f196e7f5af0b3fd9147979bc4d1d7164778425f197e514cff0f9051b41ae22346c48423f53b5d0a1f6541f
7
+ data.tar.gz: 7c3b42cb30c2edb909c04ed6f1d3ff2704e9e1fb1a411a05c4535c11956535c08adf4f3714bd1d9b5292aaed7892c7a5e6661a182a32ff6f3f27dc7da6599655
@@ -14,11 +14,11 @@ on:
14
14
  branches: [ main ]
15
15
 
16
16
  jobs:
17
- test:
17
+ rspec:
18
18
  runs-on: ubuntu-latest
19
19
  strategy:
20
20
  matrix:
21
- ruby-version: ['2.7', '3.0']
21
+ ruby-version: ['3.2', '3.3', '3.4']
22
22
 
23
23
  steps:
24
24
  - uses: actions/checkout@v2
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.4.2
data/Appraisals CHANGED
@@ -1,9 +1,30 @@
1
1
  appraise "rails-6" do
2
2
  gem "activerecord", "~> 6.1.4"
3
3
  gem "activesupport", "~> 6.1.4"
4
+ gem "mutex_m", "~> 0.3.0"
5
+ gem "base64"
6
+ gem "bigdecimal"
7
+ gem "sqlite3", "~> 1.4"
8
+
9
+ # Fixes uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
10
+ gem "concurrent-ruby", "< 1.3.5"
4
11
  end
5
12
 
6
13
  appraise "rails-7" do
7
- gem "activerecord", "~> 7.0"
8
- gem "activesupport", "~> 7.0"
9
- end
14
+ gem "activerecord", "~> 7.0.1"
15
+ gem "activesupport", "~> 7.0.1"
16
+ gem "mutex_m", "~> 0.3.0"
17
+ gem "base64"
18
+ gem "bigdecimal"
19
+ gem "sqlite3", "~> 1.4"
20
+
21
+ # Fixes uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
22
+ gem "concurrent-ruby", "< 1.3.5"
23
+ end
24
+
25
+ appraise "rails-8" do
26
+ gem "activerecord", "~> 8.0.2"
27
+ gem "activesupport", "~> 8.0.2"
28
+ gem "bigdecimal"
29
+ gem "sqlite3", "~> 2.6.0"
30
+ end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 1.2
2
+ * Official support for Rails 8
3
+ * Official support for Ruby 3.4
4
+ * Deprecated support for Ruby < 3.2
5
+
6
+ # 1.1.4
7
+ * Official support for Ruby 3.1
8
+
1
9
  # 1.1.3
2
10
  * Official support for Rails 7
3
11
 
@@ -13,4 +21,4 @@
13
21
 
14
22
 
15
23
  # 1.0.0
16
- * Initial Release
24
+ * Initial Release
data/Gemfile CHANGED
@@ -3,9 +3,9 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in sanitization.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
6
+ gem "rake", "~> 13.2"
7
7
  gem "rspec", "~> 3.0"
8
- gem "appraisal", "~> 2.4.1"
8
+ gem "appraisal", "~> 2.5"
9
9
  gem "cucumber-ci-environment"
10
10
  gem "sqlite3"
11
11
  gem "byebug"
data/Gemfile.lock CHANGED
@@ -1,64 +1,102 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sanitization (1.1.3)
4
+ sanitization (1.2.0)
5
5
  activerecord
6
6
  activesupport
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (7.0.0)
12
- activesupport (= 7.0.0)
13
- activerecord (7.0.0)
14
- activemodel (= 7.0.0)
15
- activesupport (= 7.0.0)
16
- activesupport (7.0.0)
17
- concurrent-ruby (~> 1.0, >= 1.0.2)
11
+ activemodel (8.0.2)
12
+ activesupport (= 8.0.2)
13
+ activerecord (8.0.2)
14
+ activemodel (= 8.0.2)
15
+ activesupport (= 8.0.2)
16
+ timeout (>= 0.4.0)
17
+ activesupport (8.0.2)
18
+ base64
19
+ benchmark (>= 0.3)
20
+ bigdecimal
21
+ concurrent-ruby (~> 1.0, >= 1.3.1)
22
+ connection_pool (>= 2.2.5)
23
+ drb
18
24
  i18n (>= 1.6, < 2)
25
+ logger (>= 1.4.2)
19
26
  minitest (>= 5.1)
20
- tzinfo (~> 2.0)
21
- appraisal (2.4.1)
27
+ securerandom (>= 0.3)
28
+ tzinfo (~> 2.0, >= 2.0.5)
29
+ uri (>= 0.13.1)
30
+ appraisal (2.5.0)
22
31
  bundler
23
32
  rake
24
33
  thor (>= 0.14.0)
25
- byebug (11.1.3)
26
- concurrent-ruby (1.1.9)
27
- cucumber-ci-environment (8.0.1)
28
- diff-lcs (1.4.4)
29
- i18n (1.8.11)
34
+ base64 (0.2.0)
35
+ benchmark (0.4.0)
36
+ bigdecimal (3.1.9)
37
+ byebug (12.0.0)
38
+ concurrent-ruby (1.3.4)
39
+ connection_pool (2.5.2)
40
+ cucumber-ci-environment (10.0.1)
41
+ diff-lcs (1.6.1)
42
+ drb (2.2.1)
43
+ i18n (1.14.7)
30
44
  concurrent-ruby (~> 1.0)
31
- minitest (5.15.0)
32
- rake (12.3.3)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
45
+ logger (1.7.0)
46
+ minitest (5.25.5)
47
+ rake (13.2.1)
48
+ rspec (3.13.0)
49
+ rspec-core (~> 3.13.0)
50
+ rspec-expectations (~> 3.13.0)
51
+ rspec-mocks (~> 3.13.0)
52
+ rspec-core (3.13.3)
53
+ rspec-support (~> 3.13.0)
54
+ rspec-expectations (3.13.3)
40
55
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.10.0)
42
- rspec-mocks (3.10.2)
56
+ rspec-support (~> 3.13.0)
57
+ rspec-mocks (3.13.2)
43
58
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.10.0)
45
- rspec-support (3.10.2)
46
- sqlite3 (1.4.2)
47
- thor (1.1.0)
48
- tzinfo (2.0.4)
59
+ rspec-support (~> 3.13.0)
60
+ rspec-support (3.13.2)
61
+ securerandom (0.4.1)
62
+ sqlite3 (2.6.0-aarch64-linux-gnu)
63
+ sqlite3 (2.6.0-aarch64-linux-musl)
64
+ sqlite3 (2.6.0-arm-linux-gnu)
65
+ sqlite3 (2.6.0-arm-linux-musl)
66
+ sqlite3 (2.6.0-arm64-darwin)
67
+ sqlite3 (2.6.0-x86-linux-gnu)
68
+ sqlite3 (2.6.0-x86-linux-musl)
69
+ sqlite3 (2.6.0-x86_64-darwin)
70
+ sqlite3 (2.6.0-x86_64-linux-gnu)
71
+ sqlite3 (2.6.0-x86_64-linux-musl)
72
+ thor (1.3.2)
73
+ timeout (0.4.3)
74
+ tzinfo (2.0.6)
49
75
  concurrent-ruby (~> 1.0)
76
+ uri (1.0.3)
50
77
 
51
78
  PLATFORMS
52
- ruby
79
+ aarch64-linux-gnu
80
+ aarch64-linux-musl
81
+ arm-linux-gnu
82
+ arm-linux-musl
83
+ arm64-darwin
84
+ x86-linux-gnu
85
+ x86-linux-musl
86
+ x86_64-darwin
87
+ x86_64-linux
88
+ x86_64-linux-gnu
89
+ x86_64-linux-musl
53
90
 
54
91
  DEPENDENCIES
55
- appraisal (~> 2.4.1)
92
+ appraisal (~> 2.5)
56
93
  byebug
94
+ concurrent-ruby (< 1.3.5)
57
95
  cucumber-ci-environment
58
- rake (~> 12.0)
96
+ rake (~> 13.2)
59
97
  rspec (~> 3.0)
60
98
  sanitization!
61
99
  sqlite3
62
100
 
63
101
  BUNDLED WITH
64
- 2.2.22
102
+ 2.6.3
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Carl Mercier
3
+ Copyright (c) 2025 Carl Mercier
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Sanitization makes it easy to store slightly cleaner strings to your database.
4
4
 
5
+ ![Specs](https://github.com/cmer/sanitization/actions/workflows/specs.yml/badge.svg)
6
+ [![Gem Version](https://badge.fury.io/rb/sanitization.svg)](https://badge.fury.io/rb/sanitization)
5
7
 
6
8
  ### Features (all optional):
7
9
 
@@ -2,13 +2,17 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rake", "~> 12.0"
5
+ gem "rake", "~> 13.2"
6
6
  gem "rspec", "~> 3.0"
7
- gem "appraisal", "~> 2.4.1"
7
+ gem "appraisal", "~> 2.5"
8
8
  gem "cucumber-ci-environment"
9
- gem "sqlite3"
9
+ gem "sqlite3", "~> 1.4"
10
10
  gem "byebug"
11
11
  gem "activerecord", "~> 6.1.4"
12
12
  gem "activesupport", "~> 6.1.4"
13
+ gem "mutex_m", "~> 0.3.0"
14
+ gem "base64"
15
+ gem "bigdecimal"
16
+ gem "concurrent-ruby", "< 1.3.5"
13
17
 
14
18
  gemspec path: "../"
@@ -1,68 +1,86 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sanitization (1.1.2)
4
+ sanitization (1.1.4)
5
5
  activerecord
6
6
  activesupport
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (6.1.4.1)
12
- activesupport (= 6.1.4.1)
13
- activerecord (6.1.4.1)
14
- activemodel (= 6.1.4.1)
15
- activesupport (= 6.1.4.1)
16
- activesupport (6.1.4.1)
11
+ activemodel (6.1.7.10)
12
+ activesupport (= 6.1.7.10)
13
+ activerecord (6.1.7.10)
14
+ activemodel (= 6.1.7.10)
15
+ activesupport (= 6.1.7.10)
16
+ activesupport (6.1.7.10)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 1.6, < 2)
19
19
  minitest (>= 5.1)
20
20
  tzinfo (~> 2.0)
21
21
  zeitwerk (~> 2.3)
22
- appraisal (2.4.1)
22
+ appraisal (2.5.0)
23
23
  bundler
24
24
  rake
25
25
  thor (>= 0.14.0)
26
- byebug (11.1.3)
27
- concurrent-ruby (1.1.9)
28
- cucumber-ci-environment (8.0.1)
29
- diff-lcs (1.4.4)
30
- i18n (1.8.11)
26
+ base64 (0.2.0)
27
+ bigdecimal (3.1.9)
28
+ byebug (12.0.0)
29
+ concurrent-ruby (1.3.4)
30
+ cucumber-ci-environment (10.0.1)
31
+ diff-lcs (1.6.1)
32
+ i18n (1.14.7)
31
33
  concurrent-ruby (~> 1.0)
32
- minitest (5.14.4)
33
- rake (12.3.3)
34
- rspec (3.10.0)
35
- rspec-core (~> 3.10.0)
36
- rspec-expectations (~> 3.10.0)
37
- rspec-mocks (~> 3.10.0)
38
- rspec-core (3.10.1)
39
- rspec-support (~> 3.10.0)
40
- rspec-expectations (3.10.1)
34
+ mini_portile2 (2.8.8)
35
+ minitest (5.25.5)
36
+ mutex_m (0.3.0)
37
+ rake (13.2.1)
38
+ rspec (3.13.0)
39
+ rspec-core (~> 3.13.0)
40
+ rspec-expectations (~> 3.13.0)
41
+ rspec-mocks (~> 3.13.0)
42
+ rspec-core (3.13.3)
43
+ rspec-support (~> 3.13.0)
44
+ rspec-expectations (3.13.3)
41
45
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.10.0)
43
- rspec-mocks (3.10.2)
46
+ rspec-support (~> 3.13.0)
47
+ rspec-mocks (3.13.2)
44
48
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.10.0)
46
- rspec-support (3.10.3)
47
- sqlite3 (1.4.2)
48
- thor (1.1.0)
49
- tzinfo (2.0.4)
49
+ rspec-support (~> 3.13.0)
50
+ rspec-support (3.13.2)
51
+ sqlite3 (1.7.3)
52
+ mini_portile2 (~> 2.8.0)
53
+ thor (1.3.2)
54
+ tzinfo (2.0.6)
50
55
  concurrent-ruby (~> 1.0)
51
- zeitwerk (2.5.1)
56
+ zeitwerk (2.7.2)
52
57
 
53
58
  PLATFORMS
54
- arm64-darwin-21
59
+ aarch64-linux-gnu
60
+ aarch64-linux-musl
61
+ arm-linux-gnu
62
+ arm-linux-musl
63
+ arm64-darwin
64
+ x86-linux-gnu
65
+ x86-linux-musl
66
+ x86_64-darwin
67
+ x86_64-linux-gnu
68
+ x86_64-linux-musl
55
69
 
56
70
  DEPENDENCIES
57
71
  activerecord (~> 6.1.4)
58
72
  activesupport (~> 6.1.4)
59
- appraisal (~> 2.4.1)
73
+ appraisal (~> 2.5)
74
+ base64
75
+ bigdecimal
60
76
  byebug
77
+ concurrent-ruby (< 1.3.5)
61
78
  cucumber-ci-environment
62
- rake (~> 12.0)
79
+ mutex_m (~> 0.3.0)
80
+ rake (~> 13.2)
63
81
  rspec (~> 3.0)
64
82
  sanitization!
65
- sqlite3
83
+ sqlite3 (~> 1.4)
66
84
 
67
85
  BUNDLED WITH
68
- 2.2.22
86
+ 2.6.3
@@ -2,13 +2,17 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rake", "~> 12.0"
5
+ gem "rake", "~> 13.2"
6
6
  gem "rspec", "~> 3.0"
7
- gem "appraisal", "~> 2.4.1"
7
+ gem "appraisal", "~> 2.5"
8
8
  gem "cucumber-ci-environment"
9
- gem "sqlite3"
9
+ gem "sqlite3", "~> 1.4"
10
10
  gem "byebug"
11
- gem "activerecord", "~> 7.0"
12
- gem "activesupport", "~> 7.0"
11
+ gem "activerecord", "~> 7.0.1"
12
+ gem "activesupport", "~> 7.0.1"
13
+ gem "mutex_m", "~> 0.3.0"
14
+ gem "base64"
15
+ gem "bigdecimal"
16
+ gem "concurrent-ruby", "< 1.3.5"
13
17
 
14
18
  gemspec path: "../"
@@ -1,66 +1,84 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- sanitization (1.1.2)
4
+ sanitization (1.1.4)
5
5
  activerecord
6
6
  activesupport
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (7.0.0)
12
- activesupport (= 7.0.0)
13
- activerecord (7.0.0)
14
- activemodel (= 7.0.0)
15
- activesupport (= 7.0.0)
16
- activesupport (7.0.0)
11
+ activemodel (7.0.8.7)
12
+ activesupport (= 7.0.8.7)
13
+ activerecord (7.0.8.7)
14
+ activemodel (= 7.0.8.7)
15
+ activesupport (= 7.0.8.7)
16
+ activesupport (7.0.8.7)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 1.6, < 2)
19
19
  minitest (>= 5.1)
20
20
  tzinfo (~> 2.0)
21
- appraisal (2.4.1)
21
+ appraisal (2.5.0)
22
22
  bundler
23
23
  rake
24
24
  thor (>= 0.14.0)
25
- byebug (11.1.3)
26
- concurrent-ruby (1.1.9)
27
- cucumber-ci-environment (8.0.1)
28
- diff-lcs (1.5.0)
29
- i18n (1.8.11)
25
+ base64 (0.2.0)
26
+ bigdecimal (3.1.9)
27
+ byebug (12.0.0)
28
+ concurrent-ruby (1.3.4)
29
+ cucumber-ci-environment (10.0.1)
30
+ diff-lcs (1.6.1)
31
+ i18n (1.14.7)
30
32
  concurrent-ruby (~> 1.0)
31
- minitest (5.15.0)
32
- rake (12.3.3)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
33
+ mini_portile2 (2.8.8)
34
+ minitest (5.25.5)
35
+ mutex_m (0.3.0)
36
+ rake (13.2.1)
37
+ rspec (3.13.0)
38
+ rspec-core (~> 3.13.0)
39
+ rspec-expectations (~> 3.13.0)
40
+ rspec-mocks (~> 3.13.0)
41
+ rspec-core (3.13.3)
42
+ rspec-support (~> 3.13.0)
43
+ rspec-expectations (3.13.3)
40
44
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.10.0)
42
- rspec-mocks (3.10.2)
45
+ rspec-support (~> 3.13.0)
46
+ rspec-mocks (3.13.2)
43
47
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.10.0)
45
- rspec-support (3.10.3)
46
- sqlite3 (1.4.2)
47
- thor (1.1.0)
48
- tzinfo (2.0.4)
48
+ rspec-support (~> 3.13.0)
49
+ rspec-support (3.13.2)
50
+ sqlite3 (1.7.3)
51
+ mini_portile2 (~> 2.8.0)
52
+ thor (1.3.2)
53
+ tzinfo (2.0.6)
49
54
  concurrent-ruby (~> 1.0)
50
55
 
51
56
  PLATFORMS
52
- arm64-darwin-21
57
+ aarch64-linux-gnu
58
+ aarch64-linux-musl
59
+ arm-linux-gnu
60
+ arm-linux-musl
61
+ arm64-darwin
62
+ x86-linux-gnu
63
+ x86-linux-musl
64
+ x86_64-darwin
65
+ x86_64-linux-gnu
66
+ x86_64-linux-musl
53
67
 
54
68
  DEPENDENCIES
55
- activerecord (~> 7.0)
56
- activesupport (~> 7.0)
57
- appraisal (~> 2.4.1)
69
+ activerecord (~> 7.0.1)
70
+ activesupport (~> 7.0.1)
71
+ appraisal (~> 2.5)
72
+ base64
73
+ bigdecimal
58
74
  byebug
75
+ concurrent-ruby (< 1.3.5)
59
76
  cucumber-ci-environment
60
- rake (~> 12.0)
77
+ mutex_m (~> 0.3.0)
78
+ rake (~> 13.2)
61
79
  rspec (~> 3.0)
62
80
  sanitization!
63
- sqlite3
81
+ sqlite3 (~> 1.4)
64
82
 
65
83
  BUNDLED WITH
66
- 2.2.22
84
+ 2.6.3
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 13.2"
6
+ gem "rspec", "~> 3.0"
7
+ gem "appraisal", "~> 2.5"
8
+ gem "cucumber-ci-environment"
9
+ gem "sqlite3", "~> 2.6.0"
10
+ gem "byebug"
11
+ gem "activerecord", "~> 8.0.2"
12
+ gem "activesupport", "~> 8.0.2"
13
+ gem "bigdecimal"
14
+
15
+ gemspec path: "../"
@@ -0,0 +1,104 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ sanitization (1.1.4)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (8.0.2)
12
+ activesupport (= 8.0.2)
13
+ activerecord (8.0.2)
14
+ activemodel (= 8.0.2)
15
+ activesupport (= 8.0.2)
16
+ timeout (>= 0.4.0)
17
+ activesupport (8.0.2)
18
+ base64
19
+ benchmark (>= 0.3)
20
+ bigdecimal
21
+ concurrent-ruby (~> 1.0, >= 1.3.1)
22
+ connection_pool (>= 2.2.5)
23
+ drb
24
+ i18n (>= 1.6, < 2)
25
+ logger (>= 1.4.2)
26
+ minitest (>= 5.1)
27
+ securerandom (>= 0.3)
28
+ tzinfo (~> 2.0, >= 2.0.5)
29
+ uri (>= 0.13.1)
30
+ appraisal (2.5.0)
31
+ bundler
32
+ rake
33
+ thor (>= 0.14.0)
34
+ base64 (0.2.0)
35
+ benchmark (0.4.0)
36
+ bigdecimal (3.1.9)
37
+ byebug (12.0.0)
38
+ concurrent-ruby (1.3.4)
39
+ connection_pool (2.5.2)
40
+ cucumber-ci-environment (10.0.1)
41
+ diff-lcs (1.6.1)
42
+ drb (2.2.1)
43
+ i18n (1.14.7)
44
+ concurrent-ruby (~> 1.0)
45
+ logger (1.7.0)
46
+ minitest (5.25.5)
47
+ rake (13.2.1)
48
+ rspec (3.13.0)
49
+ rspec-core (~> 3.13.0)
50
+ rspec-expectations (~> 3.13.0)
51
+ rspec-mocks (~> 3.13.0)
52
+ rspec-core (3.13.3)
53
+ rspec-support (~> 3.13.0)
54
+ rspec-expectations (3.13.3)
55
+ diff-lcs (>= 1.2.0, < 2.0)
56
+ rspec-support (~> 3.13.0)
57
+ rspec-mocks (3.13.2)
58
+ diff-lcs (>= 1.2.0, < 2.0)
59
+ rspec-support (~> 3.13.0)
60
+ rspec-support (3.13.2)
61
+ securerandom (0.4.1)
62
+ sqlite3 (2.6.0-aarch64-linux-gnu)
63
+ sqlite3 (2.6.0-aarch64-linux-musl)
64
+ sqlite3 (2.6.0-arm-linux-gnu)
65
+ sqlite3 (2.6.0-arm-linux-musl)
66
+ sqlite3 (2.6.0-arm64-darwin)
67
+ sqlite3 (2.6.0-x86-linux-gnu)
68
+ sqlite3 (2.6.0-x86-linux-musl)
69
+ sqlite3 (2.6.0-x86_64-darwin)
70
+ sqlite3 (2.6.0-x86_64-linux-gnu)
71
+ sqlite3 (2.6.0-x86_64-linux-musl)
72
+ thor (1.3.2)
73
+ timeout (0.4.3)
74
+ tzinfo (2.0.6)
75
+ concurrent-ruby (~> 1.0)
76
+ uri (1.0.3)
77
+
78
+ PLATFORMS
79
+ aarch64-linux-gnu
80
+ aarch64-linux-musl
81
+ arm-linux-gnu
82
+ arm-linux-musl
83
+ arm64-darwin
84
+ x86-linux-gnu
85
+ x86-linux-musl
86
+ x86_64-darwin
87
+ x86_64-linux-gnu
88
+ x86_64-linux-musl
89
+
90
+ DEPENDENCIES
91
+ activerecord (~> 8.0.2)
92
+ activesupport (~> 8.0.2)
93
+ appraisal (~> 2.5)
94
+ bigdecimal
95
+ byebug
96
+ concurrent-ruby (< 1.3.5)
97
+ cucumber-ci-environment
98
+ rake (~> 13.2)
99
+ rspec (~> 3.0)
100
+ sanitization!
101
+ sqlite3 (~> 2.6.0)
102
+
103
+ BUNDLED WITH
104
+ 2.6.3
@@ -1,3 +1,3 @@
1
1
  module Sanitization
2
- VERSION = "1.1.3"
2
+ VERSION = "1.2.0"
3
3
  end
data/sanitization.gemspec CHANGED
@@ -28,5 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
  spec.add_runtime_dependency "activerecord"
30
30
  spec.add_runtime_dependency "activesupport"
31
- spec.add_development_dependency "appraisal"
31
+ spec.add_development_dependency "appraisal", "~> 2.5"
32
+ spec.add_development_dependency "concurrent-ruby", "< 1.3.5"
33
+ spec.add_development_dependency "sqlite3", "~> 2.6.0"
32
34
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanitization
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Mercier
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-12-30 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord
@@ -42,16 +41,44 @@ dependencies:
42
41
  name: appraisal
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
- - - ">="
44
+ - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '0'
46
+ version: '2.5'
48
47
  type: :development
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
- - - ">="
51
+ - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '0'
53
+ version: '2.5'
54
+ - !ruby/object:Gem::Dependency
55
+ name: concurrent-ruby
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: 1.3.5
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "<"
66
+ - !ruby/object:Gem::Version
67
+ version: 1.3.5
68
+ - !ruby/object:Gem::Dependency
69
+ name: sqlite3
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 2.6.0
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 2.6.0
55
82
  description: Sanitization makes it easy to store slightly cleaner strings to your
56
83
  database.
57
84
  email:
@@ -60,9 +87,10 @@ executables: []
60
87
  extensions: []
61
88
  extra_rdoc_files: []
62
89
  files:
63
- - ".github/workflows/main.yml"
90
+ - ".github/workflows/specs.yml"
64
91
  - ".gitignore"
65
92
  - ".rspec"
93
+ - ".tool-versions"
66
94
  - Appraisals
67
95
  - CHANGELOG.md
68
96
  - Gemfile
@@ -76,6 +104,8 @@ files:
76
104
  - gemfiles/rails_6.gemfile.lock
77
105
  - gemfiles/rails_7.gemfile
78
106
  - gemfiles/rails_7.gemfile.lock
107
+ - gemfiles/rails_8.gemfile
108
+ - gemfiles/rails_8.gemfile.lock
79
109
  - lib/sanitization.rb
80
110
  - lib/sanitization/active_record_extension.rb
81
111
  - lib/sanitization/configuration.rb
@@ -89,7 +119,6 @@ metadata:
89
119
  homepage_uri: https://github.com/cmer/sanitization
90
120
  source_code_uri: https://github.com/cmer/sanitization
91
121
  changelog_uri: https://github.com/cmer/sanitization
92
- post_install_message:
93
122
  rdoc_options: []
94
123
  require_paths:
95
124
  - lib
@@ -104,8 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
133
  - !ruby/object:Gem::Version
105
134
  version: '0'
106
135
  requirements: []
107
- rubygems_version: 3.2.22
108
- signing_key:
136
+ rubygems_version: 3.6.2
109
137
  specification_version: 4
110
138
  summary: Sanitization makes it easy to store slightly cleaner strings to your database.
111
139
  test_files: []