sanitization 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +5 -5
- data/Appraisals +9 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +24 -23
- data/gemfiles/rails_6.gemfile +14 -0
- data/gemfiles/rails_6.gemfile.lock +68 -0
- data/gemfiles/rails_7.gemfile +14 -0
- data/gemfiles/rails_7.gemfile.lock +66 -0
- data/lib/sanitization/version.rb +1 -1
- data/sanitization.gemspec +4 -3
- metadata +26 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6205f9747ede56298a9f328432e9b429a22cfddc4553dd208acbb0358f52f38
|
4
|
+
data.tar.gz: 53f878df3e4a8d6988115cf4ededfa7c86d80dd2421bced1557aee34d3c2129c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63dbe605e5f06b74f943b3a06c1632a287e9b3be699a1357a7846c7eecc1ed48a47bced5d69828735085aeff9fc03b669acd9691ad34406224d80631b3cd91de
|
7
|
+
data.tar.gz: 7634312dc87b1f209702b9080e70446da6c584afb33bfd71c2fef88bebfe687d173259c0245004d2e3804a8ec312aeb7aec5e038a2d6e20c93531b43d0275be4
|
data/.github/workflows/main.yml
CHANGED
@@ -15,21 +15,21 @@ on:
|
|
15
15
|
|
16
16
|
jobs:
|
17
17
|
test:
|
18
|
-
|
19
18
|
runs-on: ubuntu-latest
|
20
19
|
strategy:
|
21
20
|
matrix:
|
22
|
-
ruby-version: ['2.
|
21
|
+
ruby-version: ['2.7', '3.0']
|
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
|
-
|
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
|
35
|
+
run: bundle exec appraisal rspec
|
data/Appraisals
ADDED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,30 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sanitization (1.1.
|
4
|
+
sanitization (1.1.3)
|
5
5
|
activerecord
|
6
6
|
activesupport
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (
|
12
|
-
activesupport (=
|
13
|
-
activerecord (
|
14
|
-
activemodel (=
|
15
|
-
activesupport (=
|
16
|
-
activesupport (
|
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
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
-
i18n (>=
|
19
|
-
minitest (
|
20
|
-
tzinfo (~>
|
21
|
-
|
18
|
+
i18n (>= 1.6, < 2)
|
19
|
+
minitest (>= 5.1)
|
20
|
+
tzinfo (~> 2.0)
|
21
|
+
appraisal (2.4.1)
|
22
|
+
bundler
|
23
|
+
rake
|
24
|
+
thor (>= 0.14.0)
|
22
25
|
byebug (11.1.3)
|
23
|
-
concurrent-ruby (1.1.
|
26
|
+
concurrent-ruby (1.1.9)
|
27
|
+
cucumber-ci-environment (8.0.1)
|
24
28
|
diff-lcs (1.4.4)
|
25
|
-
i18n (1.8.
|
29
|
+
i18n (1.8.11)
|
26
30
|
concurrent-ruby (~> 1.0)
|
27
|
-
minitest (5.
|
31
|
+
minitest (5.15.0)
|
28
32
|
rake (12.3.3)
|
29
33
|
rspec (3.10.0)
|
30
34
|
rspec-core (~> 3.10.0)
|
@@ -40,24 +44,21 @@ GEM
|
|
40
44
|
rspec-support (~> 3.10.0)
|
41
45
|
rspec-support (3.10.2)
|
42
46
|
sqlite3 (1.4.2)
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
thread_safe (0.3.6)
|
47
|
-
tzinfo (1.2.8)
|
48
|
-
thread_safe (~> 0.1)
|
49
|
-
zeitwerk (2.4.2)
|
47
|
+
thor (1.1.0)
|
48
|
+
tzinfo (2.0.4)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
50
|
|
51
51
|
PLATFORMS
|
52
52
|
ruby
|
53
53
|
|
54
54
|
DEPENDENCIES
|
55
|
+
appraisal (~> 2.4.1)
|
55
56
|
byebug
|
57
|
+
cucumber-ci-environment
|
56
58
|
rake (~> 12.0)
|
57
59
|
rspec (~> 3.0)
|
58
60
|
sanitization!
|
59
61
|
sqlite3
|
60
|
-
temping (~> 3.0)
|
61
62
|
|
62
63
|
BUNDLED WITH
|
63
|
-
2.
|
64
|
+
2.2.22
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rake", "~> 12.0"
|
6
|
+
gem "rspec", "~> 3.0"
|
7
|
+
gem "appraisal", "~> 2.4.1"
|
8
|
+
gem "cucumber-ci-environment"
|
9
|
+
gem "sqlite3"
|
10
|
+
gem "byebug"
|
11
|
+
gem "activerecord", "~> 6.1.4"
|
12
|
+
gem "activesupport", "~> 6.1.4"
|
13
|
+
|
14
|
+
gemspec path: "../"
|
@@ -0,0 +1,68 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
sanitization (1.1.2)
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
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)
|
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.4.1)
|
23
|
+
bundler
|
24
|
+
rake
|
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)
|
31
|
+
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)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.10.0)
|
43
|
+
rspec-mocks (3.10.2)
|
44
|
+
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)
|
50
|
+
concurrent-ruby (~> 1.0)
|
51
|
+
zeitwerk (2.5.1)
|
52
|
+
|
53
|
+
PLATFORMS
|
54
|
+
arm64-darwin-21
|
55
|
+
|
56
|
+
DEPENDENCIES
|
57
|
+
activerecord (~> 6.1.4)
|
58
|
+
activesupport (~> 6.1.4)
|
59
|
+
appraisal (~> 2.4.1)
|
60
|
+
byebug
|
61
|
+
cucumber-ci-environment
|
62
|
+
rake (~> 12.0)
|
63
|
+
rspec (~> 3.0)
|
64
|
+
sanitization!
|
65
|
+
sqlite3
|
66
|
+
|
67
|
+
BUNDLED WITH
|
68
|
+
2.2.22
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rake", "~> 12.0"
|
6
|
+
gem "rspec", "~> 3.0"
|
7
|
+
gem "appraisal", "~> 2.4.1"
|
8
|
+
gem "cucumber-ci-environment"
|
9
|
+
gem "sqlite3"
|
10
|
+
gem "byebug"
|
11
|
+
gem "activerecord", "~> 7.0"
|
12
|
+
gem "activesupport", "~> 7.0"
|
13
|
+
|
14
|
+
gemspec path: "../"
|
@@ -0,0 +1,66 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
sanitization (1.1.2)
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
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)
|
18
|
+
i18n (>= 1.6, < 2)
|
19
|
+
minitest (>= 5.1)
|
20
|
+
tzinfo (~> 2.0)
|
21
|
+
appraisal (2.4.1)
|
22
|
+
bundler
|
23
|
+
rake
|
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)
|
30
|
+
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)
|
40
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
+
rspec-support (~> 3.10.0)
|
42
|
+
rspec-mocks (3.10.2)
|
43
|
+
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)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
|
51
|
+
PLATFORMS
|
52
|
+
arm64-darwin-21
|
53
|
+
|
54
|
+
DEPENDENCIES
|
55
|
+
activerecord (~> 7.0)
|
56
|
+
activesupport (~> 7.0)
|
57
|
+
appraisal (~> 2.4.1)
|
58
|
+
byebug
|
59
|
+
cucumber-ci-environment
|
60
|
+
rake (~> 12.0)
|
61
|
+
rspec (~> 3.0)
|
62
|
+
sanitization!
|
63
|
+
sqlite3
|
64
|
+
|
65
|
+
BUNDLED WITH
|
66
|
+
2.2.22
|
data/lib/sanitization/version.rb
CHANGED
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.
|
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,5 @@ 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
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanitization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Mercier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -38,7 +38,22 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: appraisal
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Sanitization makes it easy to store slightly cleaner strings to your
|
56
|
+
database.
|
42
57
|
email:
|
43
58
|
- foss@carlmercier.com
|
44
59
|
executables: []
|
@@ -48,6 +63,7 @@ files:
|
|
48
63
|
- ".github/workflows/main.yml"
|
49
64
|
- ".gitignore"
|
50
65
|
- ".rspec"
|
66
|
+
- Appraisals
|
51
67
|
- CHANGELOG.md
|
52
68
|
- Gemfile
|
53
69
|
- Gemfile.lock
|
@@ -56,6 +72,10 @@ files:
|
|
56
72
|
- Rakefile
|
57
73
|
- bin/console
|
58
74
|
- bin/setup
|
75
|
+
- gemfiles/rails_6.gemfile
|
76
|
+
- gemfiles/rails_6.gemfile.lock
|
77
|
+
- gemfiles/rails_7.gemfile
|
78
|
+
- gemfiles/rails_7.gemfile.lock
|
59
79
|
- lib/sanitization.rb
|
60
80
|
- lib/sanitization/active_record_extension.rb
|
61
81
|
- lib/sanitization/configuration.rb
|
@@ -77,15 +97,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
97
|
requirements:
|
78
98
|
- - ">="
|
79
99
|
- !ruby/object:Gem::Version
|
80
|
-
version: 2.
|
100
|
+
version: 2.7.0
|
81
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
102
|
requirements:
|
83
103
|
- - ">="
|
84
104
|
- !ruby/object:Gem::Version
|
85
105
|
version: '0'
|
86
106
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.2.22
|
88
108
|
signing_key:
|
89
109
|
specification_version: 4
|
90
|
-
summary:
|
110
|
+
summary: Sanitization makes it easy to store slightly cleaner strings to your database.
|
91
111
|
test_files: []
|