audit_tables 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/README.md +4 -0
- data/Rakefile +5 -1
- data/audit_tables.gemspec +1 -1
- data/circle.yml +1 -1
- data/lib/audit_tables.rb +2 -2
- data/lib/audit_tables/build_audit_trigger.rb +1 -1
- data/lib/audit_tables/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c817f41c8465c2e987267aee8da54ddca4054c84
|
4
|
+
data.tar.gz: 263e585124aa4c2237b623500456c1ddebff12ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1409d048235a3cd952a643d2bb62d338a5b07b37e1fb836717afc291a9a42864152b464229174dfe02b069c114cac9d0ad92082b923dae4515ef25aad0f73a0e
|
7
|
+
data.tar.gz: 3f70bc8be91fa221d5be2f1babe8eb10bd38022d606fb3e23d01c0be8dd91ab74a38070e6fa38c1323bc09df2e1879203acded26016c4e5642846215db303e5e
|
data/.rubocop.yml
CHANGED
@@ -7,12 +7,18 @@ AllCops:
|
|
7
7
|
DisplayCopNames: true
|
8
8
|
AmbiguousOperator:
|
9
9
|
Enabled: false
|
10
|
+
Metrics/BlockLength:
|
11
|
+
Enabled: false
|
10
12
|
Metrics/LineLength:
|
11
13
|
Max: 120
|
12
14
|
Exclude:
|
13
15
|
- Rakefile
|
16
|
+
Style/SymbolArray:
|
17
|
+
Enabled: false
|
14
18
|
Style/Documentation:
|
15
19
|
Enabled: false
|
20
|
+
Style/EmptyLineAfterMagicComment:
|
21
|
+
Enabled: false
|
16
22
|
Style/HashSyntax:
|
17
23
|
Exclude:
|
18
24
|
- Rakefile
|
data/README.md
CHANGED
@@ -123,5 +123,9 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
123
123
|
|
124
124
|
## Change Log
|
125
125
|
|
126
|
+
* 1.0.2 (2017-12-26)
|
127
|
+
* Update development dependency `rubocop` (security vulnerability)
|
128
|
+
* 1.0.1 (2017-01-24)
|
129
|
+
* Use explicit requires, was causing errors in some environments
|
126
130
|
* Version 1.0.0 (2017-01-20)
|
127
131
|
* Initial Release
|
data/Rakefile
CHANGED
data/audit_tables.gemspec
CHANGED
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency 'rake', '~> 10.0'
|
33
33
|
spec.add_development_dependency 'rails'
|
34
34
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
35
|
-
spec.add_development_dependency 'rubocop', '= 0.
|
35
|
+
spec.add_development_dependency 'rubocop', '= 0.48.1'
|
36
36
|
end
|
data/circle.yml
CHANGED
data/lib/audit_tables.rb
CHANGED
@@ -43,7 +43,7 @@ module AuditTables
|
|
43
43
|
def self.check_for_audit_tables
|
44
44
|
messages = []
|
45
45
|
|
46
|
-
all_audit_tables.
|
46
|
+
all_audit_tables.reject { |table| table.starts_with?('audit_') }.each do |table_name|
|
47
47
|
messages << table_name unless all_audit_tables.include? "audit_#{table_name}"
|
48
48
|
end
|
49
49
|
|
@@ -63,7 +63,7 @@ module AuditTables
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def self.rebuild_all_audit_triggers
|
66
|
-
all_audit_tables.
|
66
|
+
all_audit_tables.reject { |table| table.starts_with?('audit_') }.each do |table_name|
|
67
67
|
build_audit_triggers_for(table_name)
|
68
68
|
end
|
69
69
|
end
|
data/lib/audit_tables/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audit_tables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Syncordia Technologies
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.48.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.48.1
|
139
139
|
description: Adds audit tables and triggers for postgres databases
|
140
140
|
email:
|
141
141
|
- info@syncordiahealth.ie
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
184
|
rubyforge_project:
|
185
|
-
rubygems_version: 2.
|
185
|
+
rubygems_version: 2.6.14
|
186
186
|
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: Adds audit tables and triggers for postgres databases
|