notifiably_audited 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjdjYmUyZjc1NDM5MmVmOWFkYmE2MDg1ZGEwYjgwNzQzZGY2MmNlYw==
4
+ OTY0YTNmZTUxMzRiMmI0OGZhZGFkMDdkYjMyODUxMzAyMGUxYmFmMw==
5
5
  data.tar.gz: !binary |-
6
- OTIzNmUzOGIyYThhY2RmYTQ5MThjZDI4NWNkMjM3NzU4OGI0ZmJmZA==
6
+ ODFjOTkwZjMzMzliYWY0MDJhM2ZmNjZkYzYzNTI5ZTg5YTExMmNkOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWNiYTVmNmJjMmY0MmQ3NDk0Y2IwZmZmNTk0ODA4ZDAzZmMxNzgxOWYxZGQx
10
- MmE4ZjRkZGYzMjgyNjZmNGRkYmQxMGRlYzk2N2MwM2E5NGZlMjZlNGU4Zjhk
11
- NjQ5ZDAxMDY3MTQ4M2NlNzE0MmRjZTIwNGY5MmI0MGEzODU3MWQ=
9
+ ODM0ZWFiMWFjMjM0YmZjMWQ0ZDU3YWVhYWY2ZDc3ZmI4NzJlMWEzMDVmMGRh
10
+ MGM4ZWU3MWIxZDMzMmM2NmUzNjMxNzU5ZGFkNmFlZjBjMTZmODdjNzIxMjY0
11
+ NTVjZTFiYzRmNDRkOGQ5ODc3YjY3OTI0NDZkY2EwY2VlZmFjMmM=
12
12
  data.tar.gz: !binary |-
13
- NjE4NGY4NGQ5N2I1NzI2OGY3YmY0MjA4YjA3NGMzY2U1OWU2MGZhODQ5ZWIy
14
- NmUxM2FjZWFlYWFjNDU2OTAzYjJmYTg2MmU0MzUxNDMwNWZhNDdmMmZmYmI5
15
- OTcyYzVmMjlhMGUwZDNkYmE5ZDI2MDIyOGUyNzVmZGNmZDRhNWY=
13
+ ODc5OTFmMmE1YzNlZDhiY2FhN2Y0MWI4ZjM2ZDE4M2UzNWMzOTM3YzgzZDk4
14
+ MGE1NGJkZDY1NmQ0NmY1NzQ3ZTllMmQ2NTJhY2MwZDhmYzIzZWFlNmYwZDdm
15
+ NTYxMjNhNWQxYjIyNzk2NDdjNmFjMWVhYjE5NDViNGY3NGI1OTQ=
data/audited.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'notifiably_audited'
5
- gem.version = '0.0.4'
5
+ gem.version = '0.0.5'
6
6
 
7
7
  gem.authors = ['Brandon Keepers', 'Kenneth Kalmer', 'Daniel Morrison', 'Brian Ryckbost', 'Steve Richert', 'Ryan Glover']
8
8
  gem.email = 'info@collectiveidea.com'
@@ -1,2 +1,15 @@
1
- require 'audited'
2
- require 'audited/adapters/active_record'
1
+ module Audited
2
+ VERSION = '3.0.0'
3
+
4
+ class << self
5
+ attr_accessor :ignored_attributes, :current_user_method, :audit_class
6
+
7
+ def store
8
+ Thread.current[:audited_store] ||= {}
9
+ end
10
+ end
11
+
12
+ @ignored_attributes = %w(lock_version created_at updated_at created_on updated_on)
13
+
14
+ @current_user_method = :current_user
15
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifiably_audited
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers