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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88bf95173034cbd95ed89c352c9bfc3bc3308c4f7f372d8bf3942c887fba8cb2
4
- data.tar.gz: 775f8d5e284ce65376ad8871228ec0263eb123c8b5f7b5179776099196ddbb22
3
+ metadata.gz: 30ab02373cbc28f7d884d0fdfa88da77ec4a1628056332363d9899f7627e629d
4
+ data.tar.gz: bfbad23ad3325b0641ef5cfb2cfb21859f0db5b2a388982342bc43e74df722ac
5
5
  SHA512:
6
- metadata.gz: 41fcac8cededd6f62e625dba57392e051f8240abeafe180c20b880b892f0ae22fc83c3e99cb802d5594c6589055072d2480416405a152e3cbb1e33ede2c82679
7
- data.tar.gz: fa6c5c1516044ebf8d23fed1beb249ed32499dad731388a28f290646abc5d2b716f6ea8d9ee99f542373b205710e1dbbf74f76a52a84fc4853519d61622d4804
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.0
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.4", "2.5", "2.6", "2.7"]
51
- rails-version: ["5.2", "6.0", "6.1"]
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.4"
54
- rails-version: "6.0"
55
- - ruby-version: "2.4"
56
- rails-version: "6.1"
53
+ - ruby-version: "2.6"
54
+ rails-version: "7.0"
data/.rubocop.yml CHANGED
@@ -3,7 +3,10 @@ inherit_gem:
3
3
  gc_ruboconfig: rubocop.yml
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.4
6
+ TargetRubyVersion: 3.0
7
7
 
8
8
  Layout/LineLength:
9
9
  Max: 100
10
+
11
+ Gemspec/RequiredRubyVersion:
12
+ Enabled: false
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.5
1
+ 3.0.2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # v1.1.0
2
+
3
+ - Drop ruby 2.4 and 2.5 support
4
+ - Unpin ActiveSupport for Rails 7
5
+
1
6
  # v1.0.2
2
7
 
3
8
  - Unpin ActiveSupport for Rails 6
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.4"
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.23.0"
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", "< 7"
37
- spec.add_dependency "activesupport", ">= 5.2", "< 7"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anony
4
- VERSION = "1.0.2"
4
+ VERSION = "1.1.0"
5
5
  end
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.2
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: 2020-12-11 00:00:00.000000000 Z
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.23.0
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.23.0
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: '7'
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: '7'
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: '7'
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: '7'
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.4'
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.0.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