anony 1.7.0 → 1.7.1

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: 10df947501d12fc04d77ba8133487801dae18bc0bba4d13c5f08c8e68b4852c4
4
- data.tar.gz: 822685bc6968e72119bbc9ee497e16e5a59d3859763372e8162cef5cd838387d
3
+ metadata.gz: dfdbfdfa70da743dd7ebcbc6e2cd9df79abfccf89aaca6e0ccd4b202eb792302
4
+ data.tar.gz: e9cd4d8d9ebebfd78c97dbb797b2d42da625d54a7e7d8a7f455dd2a3f9644a2e
5
5
  SHA512:
6
- metadata.gz: d69bb5e5e66f43731c4be96eb9dbc5922979fcff55d39e839dd78a294c5d28c75e3e51ca87c9747c5f550a4bba0feaa4697882756c06520740b2efbd5fbe8676
7
- data.tar.gz: d93945a2bb1556229ae9c7ca68b613acb198b15e6440342403ea7f6cfaf740f02bb6d5810a03a2c8a10574aeaab021ef93dc54fa037650743449237e1080cf78
6
+ metadata.gz: ef4dd193d2f27ce65f5cbaa686ffba2b8f166e0fab170af3393dede1d0752349f8c5edddaedcf53473c5ffe9e1bda1681169f4d67bb6456cdabc675686bd52f8
7
+ data.tar.gz: f6a2cd2fddbd8131c289ad7ecc2933a70c2d25b9aad9f901684796bbdb9572f3cfcad1edd58fca416fe7537987771f0e811fafbccbfc69563a3c4e9356f61e00
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ - Fix link for `DefineDeletionStrategy` cop check
6
+
3
7
  ## v1.7.0
4
8
 
5
9
  - Add support for Ruby 3.4
data/Gemfile CHANGED
@@ -13,6 +13,6 @@ group :development, :test do
13
13
  gem "gc_ruboconfig", "~> 5.0.0"
14
14
  gem "rspec", "~> 3.9"
15
15
  gem "rspec-github", "~> 3.0.0"
16
- gem "sqlite3", "~> 2.6.0"
16
+ gem "sqlite3", "~> 2.8.0"
17
17
  gem "yard", "~> 0.9.20"
18
18
  end
@@ -24,7 +24,7 @@ module RuboCop
24
24
  # class MyNewThing < ApplicationRecord; end
25
25
  class DefineDeletionStrategy < Base
26
26
  MSG = "Define .anonymise for %<model>s, see https://github.com/gocardless/" \
27
- "anony/blob/#{Anony::VERSION}/README.md for details".freeze
27
+ "anony/blob/v#{Anony::VERSION}/README.md for details".freeze
28
28
 
29
29
  def_node_search :uses_anonymise?, "(send nil? :anonymise)"
30
30
 
@@ -22,7 +22,7 @@ module Anony
22
22
  # configuration, so #validate! always returns true
23
23
  #
24
24
  # @return [true]
25
- def validate!
25
+ def validate! # rubocop:disable Naming/PredicateMethod
26
26
  true
27
27
  end
28
28
 
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.7.0"
4
+ VERSION = "1.7.1"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anony
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless Engineering
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-13 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activerecord
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.6.2
107
+ rubygems_version: 3.7.2
108
108
  specification_version: 4
109
109
  summary: A small library that defines how ActiveRecord models should be anonymised
110
110
  for deletion purposes.