data-anonymization 0.8.5 → 0.8.9

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: 7c24dc45a72724bdc3a3d96977afbf04382ab3d40e04981b5b9a6676ffaf83f0
4
- data.tar.gz: 1b9bfd7209781e2afc867248ad374e5cac923c975b1933691e0216f0684721c1
3
+ metadata.gz: d33eb1cd4401917aba2967a32731807725e9ca49fb5fab72dcb14fe495df8b9a
4
+ data.tar.gz: d09c5105e971426b028e20027e65cfe4784d7de919bc2ee774e14951f77e14ca
5
5
  SHA512:
6
- metadata.gz: 58d1c365443b98223f2a59f31eab5700ad8023df5924c61157104fb503946a84145d6d8b5d413f0549935644a83de9386dcd5e663dc7caa451ad13d20881d57e
7
- data.tar.gz: 382c0e5c77ae689d09351969898baba8b5cc8dea3775293ce402fa4f953307141295ad76e8fbe589ebac7be3125a989083eb6e489087c050abb5c9d768518dc9
6
+ metadata.gz: 2a0d28811d4ea83eab80109fcf2d0f2b3df7405b76cf55fe32820c71bda7a549af7cd31e68dc0e1d86bc1db1634e2378f81e50130fba8fb675810f10eaf2d4b8
7
+ data.tar.gz: '0935c0edf46d1404221cee1efa8e0404cdf1574238412448e18ed9532c1c779047d9ace11f02dd91f779d77b27d7511398dd3feae98677ff1e6a95de824b5454'
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7.1
1
+ ruby-3.1.2
data/.travis.yml CHANGED
@@ -4,6 +4,5 @@ services:
4
4
  before_install: gem install bundler
5
5
  before_script: rake empty_dest
6
6
  rvm:
7
- - 2.5.8
8
- - 2.6.6
9
- - 2.7.1
7
+ - 2.7.5
8
+ - 3.1.0
data/README.md CHANGED
@@ -81,6 +81,12 @@ Postgresql database having **composite primary key**
81
81
 
82
82
  ## Changelog
83
83
 
84
+ #### 0.8.7 (Jan 14, 2022)
85
+ 1. Upgraded to rails 7.x
86
+
87
+ #### 0.8.5 (May 28, 2020)
88
+ 1. Upgraded to rails 6.x
89
+
84
90
  #### 0.8.1 (Aug 19, 2017)
85
91
  1. Multi-threading support added by [stanislav-tyutin](https://github.com/stanislav-tyutin) using Pull Request.
86
92
  2. Fixed to work with Ruby 2.4.x, issue with Integer data type
data/commands.txt CHANGED
@@ -1,4 +1,4 @@
1
- bundle update
2
- bundle outdated
1
+ rbenv exec bundle update
2
+ rbenv exec bundle outdated
3
3
 
4
- bundle exec rake
4
+ rbenv exec bundle exec rake
@@ -19,12 +19,12 @@ Gem::Specification.new do |gem|
19
19
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
20
20
  gem.require_paths = ['lib']
21
21
 
22
- gem.add_dependency('activerecord', '~> 6.0')
23
- gem.add_dependency('composite_primary_keys', '~> 12.0')
24
- gem.add_dependency('activesupport', '~> 6.0')
25
- gem.add_dependency('rgeo', '~> 1.0')
26
- gem.add_dependency('rgeo-geojson', '~> 2.0')
27
- gem.add_dependency('powerbar', '~> 1.0')
28
- gem.add_dependency('parallel', '~> 1.12')
29
- gem.add_dependency('thor', '~> 0.20.3')
22
+ gem.add_dependency('activerecord', '~> 7.0')
23
+ gem.add_dependency('activesupport', '~> 7.0')
24
+ gem.add_dependency('composite_primary_keys', '~> 14.0')
25
+ gem.add_dependency('parallel', '~> 1.21')
26
+ gem.add_dependency('powerbar', '~> 2.0')
27
+ gem.add_dependency('rgeo', '~> 2.4.0')
28
+ gem.add_dependency('rgeo-geojson', '~> 2.1.1')
29
+ gem.add_dependency('thor', '~> 1.2.1')
30
30
  end
data/lib/utils/logging.rb CHANGED
@@ -6,15 +6,15 @@ module DataAnon
6
6
  module Logging
7
7
 
8
8
  def logger
9
- @@logger ||= (self.logger = Logger.new(STDOUT) )
9
+ @@utils_logger ||= (self.logger = Logger.new(STDOUT) )
10
10
  end
11
11
 
12
12
  def logger= logger
13
- @@logger = logger
13
+ @@utils_logger = logger
14
14
  ActiveRecord::Base.logger = logger
15
- @@logger
15
+ @@utils_logger
16
16
  end
17
17
 
18
18
  end
19
19
  end
20
- end
20
+ end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DataAnonymization
2
- VERSION = '0.8.5'
2
+ VERSION = '0.8.9'
3
3
  end
@@ -1,8 +1,8 @@
1
1
  class CustomerSample
2
2
 
3
- class CreateCustomer < ActiveRecord::Migration[5.0]
3
+ class CreateCustomer < ActiveRecord::Migration[7.0]
4
4
  def up
5
- create_table :customers, { :id => false, :force => true } do |t|
5
+ create_table :customers, :id => false, :force => true do |t|
6
6
  t.integer :cust_id, :primary => true
7
7
  t.string :first_name
8
8
  t.string :last_name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data-anonymization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunit Parekh
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-05-28 00:00:00.000000000 Z
13
+ date: 2023-03-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
@@ -18,58 +18,58 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '6.0'
21
+ version: '7.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '6.0'
28
+ version: '7.0'
29
29
  - !ruby/object:Gem::Dependency
30
- name: composite_primary_keys
30
+ name: activesupport
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '12.0'
35
+ version: '7.0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '12.0'
42
+ version: '7.0'
43
43
  - !ruby/object:Gem::Dependency
44
- name: activesupport
44
+ name: composite_primary_keys
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '6.0'
49
+ version: '14.0'
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: '6.0'
56
+ version: '14.0'
57
57
  - !ruby/object:Gem::Dependency
58
- name: rgeo
58
+ name: parallel
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '1.0'
63
+ version: '1.21'
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '1.0'
70
+ version: '1.21'
71
71
  - !ruby/object:Gem::Dependency
72
- name: rgeo-geojson
72
+ name: powerbar
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - "~>"
@@ -83,47 +83,47 @@ dependencies:
83
83
  - !ruby/object:Gem::Version
84
84
  version: '2.0'
85
85
  - !ruby/object:Gem::Dependency
86
- name: powerbar
86
+ name: rgeo
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '1.0'
91
+ version: 2.4.0
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '1.0'
98
+ version: 2.4.0
99
99
  - !ruby/object:Gem::Dependency
100
- name: parallel
100
+ name: rgeo-geojson
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: '1.12'
105
+ version: 2.1.1
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '1.12'
112
+ version: 2.1.1
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: thor
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: 0.20.3
119
+ version: 1.2.1
120
120
  type: :runtime
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: 0.20.3
126
+ version: 1.2.1
127
127
  description: Data anonymization tool for RDBMS and MongoDB databases
128
128
  email:
129
129
  - parekh.sunit@gmail.com
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  - !ruby/object:Gem::Version
299
299
  version: '0'
300
300
  requirements: []
301
- rubygems_version: 3.1.2
301
+ rubygems_version: 3.0.3.1
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Tool to create anonymized production data dump to use for performance and