sanitization 1.1.2 → 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: ff858e62a80da368c793ce3d2378a2880624afbb96690ee8c28b1c3cb3f22e31
4
- data.tar.gz: 22e3dc04af69916f11eb3742d8c33e4576f028195e569d9d23bd69da5a471bef
3
+ metadata.gz: e2fb43dabdf9271b466909b68e6e6df5b6fe81a20e68820549f1d0d8d4525269
4
+ data.tar.gz: 41ce90afc106f2526c7df345de3910d1907ab27fe0250edf5ab00c31f36ee7e4
5
5
  SHA512:
6
- metadata.gz: 4e3f07dec145727b97aa419b2a08f05909899a61aa0b0f9cc002c68cc0304f84013118b44f502b4c10b25073d048d4b9eb86c554e53f8f346328059d8a249cad
7
- data.tar.gz: eb9e30c44753de9a8c2cfb569eb24e1b0775885db5a077f637325acfd7166e7323e893587449bba7d8723c6208f51c22c1d999987ec01c4c4b7c9c252dcec1d2
6
+ metadata.gz: e3166de8170a6ddaf8cf9bd62b68d8d43ffff7c852f196e7f5af0b3fd9147979bc4d1d7164778425f197e514cff0f9051b41ae22346c48423f53b5d0a1f6541f
7
+ data.tar.gz: 7c3b42cb30c2edb909c04ed6f1d3ff2704e9e1fb1a411a05c4535c11956535c08adf4f3714bd1d9b5292aaed7892c7a5e6661a182a32ff6f3f27dc7da6599655
@@ -14,22 +14,22 @@ on:
14
14
  branches: [ main ]
15
15
 
16
16
  jobs:
17
- test:
18
-
17
+ rspec:
19
18
  runs-on: ubuntu-latest
20
19
  strategy:
21
20
  matrix:
22
- ruby-version: ['2.6', '2.7']
21
+ ruby-version: ['3.2', '3.3', '3.4']
23
22
 
24
23
  steps:
25
24
  - uses: actions/checkout@v2
26
25
  - name: Set up Ruby
27
26
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
27
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
- # uses: ruby/setup-ruby@v1
30
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
28
+ uses: ruby/setup-ruby@v1
31
29
  with:
32
30
  ruby-version: ${{ matrix.ruby-version }}
33
31
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
32
+ - name: Install dependencies
33
+ run: bundle exec appraisal install
34
34
  - name: Run tests
35
- run: bundle exec rake
35
+ run: bundle exec appraisal rspec
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.4.2
data/Appraisals ADDED
@@ -0,0 +1,30 @@
1
+ appraise "rails-6" do
2
+ gem "activerecord", "~> 6.1.4"
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"
11
+ end
12
+
13
+ appraise "rails-7" do
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,17 @@
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
+
9
+ # 1.1.3
10
+ * Official support for Rails 7
11
+
12
+ # 1.1.2
13
+ * Bug fixes
14
+
1
15
  # 1.1.1
2
16
  * Changed `sanitization` method to `sanitizes` as the new preferred way. `sanitization` still works and is an alias of `sanitizes`.
3
17
 
@@ -7,4 +21,4 @@
7
21
 
8
22
 
9
23
  # 1.0.0
10
- * Initial Release
24
+ * Initial Release
data/Gemfile CHANGED
@@ -3,8 +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 "temping", "~> 3.0"
8
+ gem "appraisal", "~> 2.5"
9
+ gem "cucumber-ci-environment"
9
10
  gem "sqlite3"
10
11
  gem "byebug"
data/Gemfile.lock CHANGED
@@ -1,63 +1,102 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sanitization (1.1.2)
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 (6.0.3.2)
12
- activesupport (= 6.0.3.2)
13
- activerecord (6.0.3.2)
14
- activemodel (= 6.0.3.2)
15
- activesupport (= 6.0.3.2)
16
- activesupport (6.0.3.2)
17
- concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 0.7, < 2)
19
- minitest (~> 5.1)
20
- tzinfo (~> 1.1)
21
- zeitwerk (~> 2.2, >= 2.2.2)
22
- byebug (11.1.3)
23
- concurrent-ruby (1.1.8)
24
- diff-lcs (1.4.4)
25
- i18n (1.8.10)
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)
26
44
  concurrent-ruby (~> 1.0)
27
- minitest (5.14.4)
28
- rake (12.3.3)
29
- rspec (3.10.0)
30
- rspec-core (~> 3.10.0)
31
- rspec-expectations (~> 3.10.0)
32
- rspec-mocks (~> 3.10.0)
33
- rspec-core (3.10.1)
34
- rspec-support (~> 3.10.0)
35
- 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)
36
55
  diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.10.0)
38
- rspec-mocks (3.10.2)
56
+ rspec-support (~> 3.13.0)
57
+ rspec-mocks (3.13.2)
39
58
  diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.10.0)
41
- rspec-support (3.10.2)
42
- sqlite3 (1.4.2)
43
- temping (3.10.0)
44
- activerecord (>= 4.2)
45
- activesupport (>= 4.2)
46
- thread_safe (0.3.6)
47
- tzinfo (1.2.8)
48
- thread_safe (~> 0.1)
49
- zeitwerk (2.4.2)
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)
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
92
+ appraisal (~> 2.5)
55
93
  byebug
56
- rake (~> 12.0)
94
+ concurrent-ruby (< 1.3.5)
95
+ cucumber-ci-environment
96
+ rake (~> 13.2)
57
97
  rspec (~> 3.0)
58
98
  sanitization!
59
99
  sqlite3
60
- temping (~> 3.0)
61
100
 
62
101
  BUNDLED WITH
63
- 2.1.4
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
 
@@ -0,0 +1,18 @@
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", "~> 1.4"
10
+ gem "byebug"
11
+ gem "activerecord", "~> 6.1.4"
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"
17
+
18
+ gemspec path: "../"
@@ -0,0 +1,86 @@
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 (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
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 1.6, < 2)
19
+ minitest (>= 5.1)
20
+ tzinfo (~> 2.0)
21
+ zeitwerk (~> 2.3)
22
+ appraisal (2.5.0)
23
+ bundler
24
+ rake
25
+ thor (>= 0.14.0)
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)
33
+ concurrent-ruby (~> 1.0)
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)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.13.0)
47
+ rspec-mocks (3.13.2)
48
+ diff-lcs (>= 1.2.0, < 2.0)
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)
55
+ concurrent-ruby (~> 1.0)
56
+ zeitwerk (2.7.2)
57
+
58
+ PLATFORMS
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
69
+
70
+ DEPENDENCIES
71
+ activerecord (~> 6.1.4)
72
+ activesupport (~> 6.1.4)
73
+ appraisal (~> 2.5)
74
+ base64
75
+ bigdecimal
76
+ byebug
77
+ concurrent-ruby (< 1.3.5)
78
+ cucumber-ci-environment
79
+ mutex_m (~> 0.3.0)
80
+ rake (~> 13.2)
81
+ rspec (~> 3.0)
82
+ sanitization!
83
+ sqlite3 (~> 1.4)
84
+
85
+ BUNDLED WITH
86
+ 2.6.3
@@ -0,0 +1,18 @@
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", "~> 1.4"
10
+ gem "byebug"
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"
17
+
18
+ gemspec path: "../"
@@ -0,0 +1,84 @@
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 (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
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 1.6, < 2)
19
+ minitest (>= 5.1)
20
+ tzinfo (~> 2.0)
21
+ appraisal (2.5.0)
22
+ bundler
23
+ rake
24
+ thor (>= 0.14.0)
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)
32
+ concurrent-ruby (~> 1.0)
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)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.13.0)
46
+ rspec-mocks (3.13.2)
47
+ diff-lcs (>= 1.2.0, < 2.0)
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)
54
+ concurrent-ruby (~> 1.0)
55
+
56
+ PLATFORMS
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
67
+
68
+ DEPENDENCIES
69
+ activerecord (~> 7.0.1)
70
+ activesupport (~> 7.0.1)
71
+ appraisal (~> 2.5)
72
+ base64
73
+ bigdecimal
74
+ byebug
75
+ concurrent-ruby (< 1.3.5)
76
+ cucumber-ci-environment
77
+ mutex_m (~> 0.3.0)
78
+ rake (~> 13.2)
79
+ rspec (~> 3.0)
80
+ sanitization!
81
+ sqlite3 (~> 1.4)
82
+
83
+ BUNDLED WITH
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.2"
2
+ VERSION = "1.2.0"
3
3
  end
data/sanitization.gemspec CHANGED
@@ -6,11 +6,11 @@ Gem::Specification.new do |spec|
6
6
  spec.authors = ["Carl Mercier"]
7
7
  spec.email = ["foss@carlmercier.com"]
8
8
 
9
- spec.summary = %q{}
10
- spec.description = %q{}
9
+ spec.summary = %q{Sanitization makes it easy to store slightly cleaner strings to your database.}
10
+ spec.description = %q{Sanitization makes it easy to store slightly cleaner strings to your database.}
11
11
  spec.homepage = "https://github.com/cmer/sanitization"
12
12
  spec.license = "MIT"
13
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
14
14
 
15
15
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
16
16
 
@@ -28,4 +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", "~> 2.5"
32
+ spec.add_development_dependency "concurrent-ruby", "< 1.3.5"
33
+ spec.add_development_dependency "sqlite3", "~> 2.6.0"
31
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.2
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-05-10 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
@@ -38,16 +37,61 @@ dependencies:
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: '0'
41
- description: ''
40
+ - !ruby/object:Gem::Dependency
41
+ name: appraisal
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.5'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
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
82
+ description: Sanitization makes it easy to store slightly cleaner strings to your
83
+ database.
42
84
  email:
43
85
  - foss@carlmercier.com
44
86
  executables: []
45
87
  extensions: []
46
88
  extra_rdoc_files: []
47
89
  files:
48
- - ".github/workflows/main.yml"
90
+ - ".github/workflows/specs.yml"
49
91
  - ".gitignore"
50
92
  - ".rspec"
93
+ - ".tool-versions"
94
+ - Appraisals
51
95
  - CHANGELOG.md
52
96
  - Gemfile
53
97
  - Gemfile.lock
@@ -56,6 +100,12 @@ files:
56
100
  - Rakefile
57
101
  - bin/console
58
102
  - bin/setup
103
+ - gemfiles/rails_6.gemfile
104
+ - gemfiles/rails_6.gemfile.lock
105
+ - gemfiles/rails_7.gemfile
106
+ - gemfiles/rails_7.gemfile.lock
107
+ - gemfiles/rails_8.gemfile
108
+ - gemfiles/rails_8.gemfile.lock
59
109
  - lib/sanitization.rb
60
110
  - lib/sanitization/active_record_extension.rb
61
111
  - lib/sanitization/configuration.rb
@@ -69,7 +119,6 @@ metadata:
69
119
  homepage_uri: https://github.com/cmer/sanitization
70
120
  source_code_uri: https://github.com/cmer/sanitization
71
121
  changelog_uri: https://github.com/cmer/sanitization
72
- post_install_message:
73
122
  rdoc_options: []
74
123
  require_paths:
75
124
  - lib
@@ -77,15 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
126
  requirements:
78
127
  - - ">="
79
128
  - !ruby/object:Gem::Version
80
- version: 2.3.0
129
+ version: 2.7.0
81
130
  required_rubygems_version: !ruby/object:Gem::Requirement
82
131
  requirements:
83
132
  - - ">="
84
133
  - !ruby/object:Gem::Version
85
134
  version: '0'
86
135
  requirements: []
87
- rubygems_version: 3.1.2
88
- signing_key:
136
+ rubygems_version: 3.6.2
89
137
  specification_version: 4
90
- summary: ''
138
+ summary: Sanitization makes it easy to store slightly cleaner strings to your database.
91
139
  test_files: []