tidus 1.3.0 → 1.3.3

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: e856d718f2b4408d674dbd77073588f3da9f9c26dd8f9f61f9d4c1bbb674d525
4
- data.tar.gz: ed491dc4694a926936fe3d8c879a48894ae6ef77685730004c63e1cd6e1e1493
3
+ metadata.gz: 53fdc333c896e90ea99637cbe53f470c16ea54e6d9d2d2bbc1ad7c3a3f4c1a29
4
+ data.tar.gz: c86ecc2e6c016f2cd909e4db27249e99b8b4b6c5027d42180bfb0fbfb4535bd4
5
5
  SHA512:
6
- metadata.gz: f7ceb7506c37c5c9fd66fc5f417e8318b566ad8fcf900341c61a0cc3423bf69fe8066194c8cb1610296ecfe36fc48fd3ded8361904ab29d449e99828c17a54c8
7
- data.tar.gz: 885933234f25620860632d23ea8e1567034ee9455840b1ebde57e5a88a25c4cb4803ed66a45b2ae9ffdcac93bb95eeb03ddc052557d116097207a638451282d8
6
+ metadata.gz: 32b9372b4f8cf0ac0409b56335bfb7c20854e0cd173effcc930c729e23f89a0f559d3c09fd6ec45653f44f196d2069e002529c6546ca52bfb1f2e86a5965c6e8
7
+ data.tar.gz: 50e806f453a60bae47048479805ac4f86aa89015adfba7f5959676a779bb3b3de5aed9a8d770d5d88764b73803768e9465477cebe86956c9838e32865e8b2d7a
@@ -7,7 +7,7 @@ module Tidus
7
7
 
8
8
  length = options[:length] || 64
9
9
 
10
- return "SUBSTR(ENCODE(DIGEST(#{name}, 'sha256')::TEXT, 'HEX'), 0, #{length.to_i + 1})"
10
+ return "SUBSTR(ENCODE(DIGEST(#{name}, 'sha256')::BYTEA, 'HEX'), 0, #{length.to_i + 1})"
11
11
  end
12
12
 
13
13
  end
data/lib/tidus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tidus
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.3"
3
3
  end
data/lib/tidus.rb CHANGED
@@ -9,5 +9,6 @@ require 'tidus/anonymization'
9
9
  require 'tidus/strategies/base_selector'
10
10
  Dir["#{File.dirname(__FILE__)}/tidus/strategies/**/*.rb"].each { |f| require f }
11
11
 
12
- load 'active_record/railties/databases.rake' if defined?(Rails)
13
- load 'tasks/views.rake'
12
+ if !defined?(Rails)
13
+ load 'tasks/tidus_views.rake'
14
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tidus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-07 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '13.0'
19
+ version: '13.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '13.0'
26
+ version: '13.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.4'
47
+ version: '1.6'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.4'
54
+ version: '1.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activerecord
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - lib/tasks/views.rake
76
+ - lib/tasks/tidus_views.rake
77
77
  - lib/tidus.rb
78
78
  - lib/tidus/anonymization.rb
79
79
  - lib/tidus/query.rb
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.4.13
121
+ rubygems_version: 3.4.21
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Gem for creating anonymization views.
File without changes