audit_weasel 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 306e06746d5a06e414edfd3aa5d888f0b9110c75
4
- data.tar.gz: 83c01b00a8cc30e8969c79d2dc92173a96d37984
3
+ metadata.gz: 0855be3f36e51c54a434e56d9c8ae7411aabbae1
4
+ data.tar.gz: 898889ea5f79251bccb787f6ef6b087bcadef115
5
5
  SHA512:
6
- metadata.gz: 563026ba46d2e4ab3a22684b352daacaf6f65c0c7ae89de7316497391d541969a03d9d04b58f3ffb6c8bdfbba1003634dff01798c96df0df5944453bbfd97246
7
- data.tar.gz: 5d81bdb3761f9d5a17a470fdf9d0a08185f7d952a7ccb685d2fcba97281e582ba8abe97e18f6db4ec2963c5ac64dc1da24021f5aaf86fa32083270b31685f831
6
+ metadata.gz: 52bccd1dcfee1ab4e5356d9068160b246f9b29d74532a1cda9af9ac0a2ea57996defec58ea8f00d9759bca3175e6cd1c70f876ab08d22bf950c94be71397f043
7
+ data.tar.gz: dcf961d7155f57c92ddef2377a134815762c393d568603b7b1199cb7c5d202b78a31ad8baa975b80975e82629b4ec77fcc084960f415b4b6e02d7a4ed38a7851
data/README.md CHANGED
@@ -15,8 +15,10 @@ created_by_user_id and updated_by_user_id fields. Now user B comes along and
15
15
  makes a change to the record, the updated_by_user_Id will change to user B.
16
16
 
17
17
  This is pretty handy if you don't want to burden your system with heavy
18
- auditing, but you do want to be able to have insight into what your users
19
- have done.
18
+ auditing, but you do want to have insight into what your users
19
+ have done. It's all in the background and if you want to expose the
20
+ auditing data through the front end your can since it's just a normal
21
+ field on the model.
20
22
 
21
23
  ## Installation
22
24
 
@@ -40,7 +42,7 @@ To install audit_weasel:
40
42
  rails generate audit_weasel:install
41
43
  ```
42
44
 
43
- This will generate a config file under the initializers director. Right now
45
+ This will generate a config file under the initializers directory. Right now
44
46
  there no configuration settings, but I am looking to add a couple of things.
45
47
 
46
48
  To audit a table:
data/lib/audit_weasel.rb CHANGED
@@ -7,11 +7,11 @@ require 'audit_weasel/callbacks'
7
7
  require 'audit_weasel/request_registry'
8
8
  require 'audit_weasel/railtie' if defined?(Rails)
9
9
 
10
- # begin
11
- # require 'pry'
12
- # rescue
13
- # LoadError
14
- # end
10
+ begin
11
+ require 'pry'
12
+ rescue
13
+ LoadError
14
+ end
15
15
 
16
16
  # Load all functionality required by the gem
17
17
  module AuditWeasel
@@ -3,7 +3,7 @@
3
3
  module AuditWeasel
4
4
  MAJOR = 0
5
5
  MINOR = 0
6
- TINY = 2
6
+ TINY = 3
7
7
  PRE = nil
8
8
 
9
9
  VERSION = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audit_weasel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan-Neal Mes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-02 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler