anony 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +6 -8
- data/.rubocop.yml +4 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/anony.gemspec +4 -4
- data/lib/anony/cops/define_deletion_strategy.rb +1 -1
- data/lib/anony/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30ab02373cbc28f7d884d0fdfa88da77ec4a1628056332363d9899f7627e629d
|
4
|
+
data.tar.gz: bfbad23ad3325b0641ef5cfb2cfb21859f0db5b2a388982342bc43e74df722ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f10ce2f8c110fae434df6c37c6946b99715f25b2790ab0da3f8784a991e88cf5f7927800099d23e1b6b5a38f55439bd97d2078382b88139213b943e38515015b
|
7
|
+
data.tar.gz: 716e44ce317a2712c81e038e0757cca8e99db144a7c8612830fe0af413153859593ca7a45d5c0ce7b55c3f2117ee6fc8bbcc9ee84ffa8e69a4bcbbc61990ffaa
|
data/.circleci/config.yml
CHANGED
@@ -9,7 +9,7 @@ jobs:
|
|
9
9
|
type: string
|
10
10
|
|
11
11
|
docker:
|
12
|
-
- image: ruby:<<parameters.ruby-version>>
|
12
|
+
- image: cimg/ruby:<<parameters.ruby-version>>
|
13
13
|
environment:
|
14
14
|
- RAILS_VERSION=<<parameters.rails-version>>
|
15
15
|
steps:
|
@@ -18,7 +18,7 @@ jobs:
|
|
18
18
|
- restore_cache:
|
19
19
|
key: anony-bundler-{{ checksum "anony.gemspec" }}
|
20
20
|
|
21
|
-
- run: gem install bundler -v 2.2.
|
21
|
+
- run: gem install bundler -v 2.2.33
|
22
22
|
- run: bundle config set path 'vendor/bundle'
|
23
23
|
- run: bundle install
|
24
24
|
|
@@ -47,10 +47,8 @@ workflows:
|
|
47
47
|
- test:
|
48
48
|
matrix:
|
49
49
|
parameters:
|
50
|
-
ruby-version: ["2.
|
51
|
-
rails-version: ["
|
50
|
+
ruby-version: ["2.6", "2.7", "3.0"]
|
51
|
+
rails-version: ["6.0", "6.1", "7.0"]
|
52
52
|
exclude:
|
53
|
-
- ruby-version: "2.
|
54
|
-
rails-version: "
|
55
|
-
- ruby-version: "2.4"
|
56
|
-
rails-version: "6.1"
|
53
|
+
- ruby-version: "2.6"
|
54
|
+
rails-version: "7.0"
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.2
|
data/CHANGELOG.md
CHANGED
data/anony.gemspec
CHANGED
@@ -22,10 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.required_ruby_version = ">= 2.
|
25
|
+
spec.required_ruby_version = ">= 2.6"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2.2.0"
|
28
|
-
spec.add_development_dependency "gc_ruboconfig", "~> 2.
|
28
|
+
spec.add_development_dependency "gc_ruboconfig", "~> 2.24.0"
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.9"
|
30
30
|
spec.add_development_dependency "rspec_junit_formatter", "~> 0.4"
|
31
31
|
spec.add_development_dependency "yard", "~> 0.9.20"
|
@@ -33,6 +33,6 @@ Gem::Specification.new do |spec|
|
|
33
33
|
# For integration testing
|
34
34
|
spec.add_development_dependency "sqlite3", "~> 1.4.1"
|
35
35
|
|
36
|
-
spec.add_dependency "activerecord", ">= 5.2", "<
|
37
|
-
spec.add_dependency "activesupport", ">= 5.2", "<
|
36
|
+
spec.add_dependency "activerecord", ">= 5.2", "< 8"
|
37
|
+
spec.add_dependency "activesupport", ">= 5.2", "< 8"
|
38
38
|
end
|
@@ -24,7 +24,7 @@ module RuboCop
|
|
24
24
|
# class MyNewThing < ApplicationRecord; end
|
25
25
|
class DefineDeletionStrategy < Cop
|
26
26
|
MSG = "Define .anonymise for %<model>s, see https://github.com/gocardless/" \
|
27
|
-
"anony/blob/#{Anony::VERSION}/README.md for details"
|
27
|
+
"anony/blob/#{Anony::VERSION}/README.md for details".freeze
|
28
28
|
|
29
29
|
def_node_search :uses_anonymise?, "(send nil? :anonymise)"
|
30
30
|
|
data/lib/anony/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.24.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 2.24.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,7 +103,7 @@ dependencies:
|
|
103
103
|
version: '5.2'
|
104
104
|
- - "<"
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
106
|
+
version: '8'
|
107
107
|
type: :runtime
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -113,7 +113,7 @@ dependencies:
|
|
113
113
|
version: '5.2'
|
114
114
|
- - "<"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '8'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: activesupport
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
version: '5.2'
|
124
124
|
- - "<"
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: '
|
126
|
+
version: '8'
|
127
127
|
type: :runtime
|
128
128
|
prerelease: false
|
129
129
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -133,7 +133,7 @@ dependencies:
|
|
133
133
|
version: '5.2'
|
134
134
|
- - "<"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: '
|
136
|
+
version: '8'
|
137
137
|
description:
|
138
138
|
email:
|
139
139
|
- engineering@gocardless.com
|
@@ -179,14 +179,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
179
179
|
requirements:
|
180
180
|
- - ">="
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: '2.
|
182
|
+
version: '2.6'
|
183
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
|
-
rubygems_version: 3.
|
189
|
+
rubygems_version: 3.2.22
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: A small library that defines how ActiveRecord models should be anonymised
|