audit_tables 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 12b1674ebfca6a1ded9baffc0c7942980a16f13c
4
- data.tar.gz: 7a8b3695f39e7cb194141e1f950b5477e6efa64d
3
+ metadata.gz: f9260ca8c0b382befdab485d8ef59cfa5be270f4
4
+ data.tar.gz: 83893aa356df6d2f2d38619c9be0e84aba5eb8d4
5
5
  SHA512:
6
- metadata.gz: 88c840a04f5784511915c8924486700e92a340d49a57c3c262ac85a61c6cd7e47f3739f3beaa72980ecc9d3ec77c19f434edef1f2b39c1a2877ecb778d0b9882
7
- data.tar.gz: 7727cd00aa9363086aaf1861f10b14e02da47ef50ead9dd581042c514b10da8e385de586a4e11d1328f2bdd4eedc9422be2a86ba63061f0c5350daf7cd83f4d5
6
+ metadata.gz: f6d3cbf83cc0eb2988b86c333b2349fda198404df5659343955bd048502a9a95b0b09b475d4acaa8a381014f256b156e4e161e29bf515a03fa37f8734fd13250
7
+ data.tar.gz: 7c5b677cd684dfe7f07206af7a1869c0bb9b6edb236bf261aab90e64468266586c908818fc03553486aa0e2c64594d22937dfa8866aa2822eb9ac1ec1c04f617
data/audit_tables.gemspec CHANGED
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ['lib']
25
25
 
26
+ spec.add_dependency 'activerecord', '>= 5.0.1'
27
+
26
28
  spec.add_development_dependency 'bundler', '~> 1.13'
27
29
  spec.add_development_dependency 'byebug', '~> 9.0.6'
28
30
  spec.add_development_dependency 'faker'
data/lib/audit_tables.rb CHANGED
@@ -1,7 +1,11 @@
1
1
  # frozen_string_literal: true
2
-
3
- # include all of the files inside the `lib/audit_tables` folder
4
- Gem.find_files('audit_tables/**/*.rb').each { |path| require path }
2
+ require 'active_record'
3
+ require 'audit_tables/version'
4
+ require 'audit_tables/base'
5
+ require 'audit_tables/build_audit_trigger'
6
+ require 'audit_tables/change_audit_table'
7
+ require 'audit_tables/create_audit_tables_for_existing_tables'
8
+ require 'audit_tables/create_new_audit_table'
5
9
 
6
10
  module AuditTables
7
11
  class << self
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module AuditTables
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audit_tables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
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-01-20 00:00:00.000000000 Z
11
+ date: 2017-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.1
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement