audited 4.2.1 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of audited might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef445618f1f48df1d878ae87852c0e1e7aef006c
4
- data.tar.gz: 56909bce46025423bc70073c87e0f6b729784ab9
3
+ metadata.gz: b493b49e84fe7edd29005249133f20334596e2e8
4
+ data.tar.gz: 84c47a86e7fb39785ae343825abde3319f1b1fff
5
5
  SHA512:
6
- metadata.gz: 85ddd879a1aaa2cb45dbca5aeea09d2837c6b25d2dd19978c4d6c3b3df072d3e2ce826a383bbcfa982cd2e3a993cf8b874f0914119bb6bbe3cb2e31969bb2b02
7
- data.tar.gz: ab035d36a69f7cc87cec3dca57d407d5301db967d189a0e16c42eaef906ee1d9e212beebe7ffe20565e9a7e7ac613b20fa28972182bbe79f0b2501218d229d2a
6
+ metadata.gz: 838eae030f0694a67ffaa526ada7b090e9a6d2e424aa1a12e72b43d8135870f43454a28bbe5d529feb40921112ea841f0e72e5763e537479768314c9c0386d2e
7
+ data.tar.gz: 1b74fcc9292dc3a85064ad6ad13a4689bbb79186e57fbbafe4a45ffaf1ceb8ab625a364abb60735f6177c3d0c53354156a5b960e2f8cab7ac3a70f42e5ef6f8b
@@ -1,5 +1,5 @@
1
1
  module Audited
2
2
  module ActiveRecord
3
- VERSION = "4.2.1"
3
+ VERSION = "4.2.2"
4
4
  end
5
5
  end
@@ -270,11 +270,11 @@ module Audited
270
270
  end
271
271
 
272
272
  def auditing_enabled
273
- Audited.store.fetch("#{name.tableize}_auditing_enabled", true)
273
+ Audited.store.fetch("#{table_name}_auditing_enabled", true)
274
274
  end
275
275
 
276
276
  def auditing_enabled= val
277
- Audited.store["#{name.tableize}_auditing_enabled"] = val
277
+ Audited.store["#{table_name}_auditing_enabled"] = val
278
278
  end
279
279
  end
280
280
  end
@@ -1,5 +1,5 @@
1
1
  module Audited
2
2
  module MongoMapper
3
- VERSION = "4.2.1"
3
+ VERSION = "4.2.2"
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module Audited
2
- VERSION = "4.2.1"
2
+ VERSION = "4.2.2"
3
3
  end
@@ -53,6 +53,9 @@ module Models
53
53
  audited
54
54
  end
55
55
 
56
+ class Company::STICompany < Company
57
+ end
58
+
56
59
  class Owner < ::ActiveRecord::Base
57
60
  self.table_name = 'users'
58
61
  has_associated_audits
@@ -20,6 +20,7 @@ ActiveRecord::Schema.define do
20
20
  create_table :companies, :force => true do |t|
21
21
  t.column :name, :string
22
22
  t.column :owner_id, :integer
23
+ t.column :type, :string
23
24
  end
24
25
 
25
26
  create_table :authors, :force => true do |t|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audited
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2016-07-29 00:00:00.000000000 Z
16
+ date: 2016-08-01 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails-observers