artifact_logger 1.1.0 → 1.2.0
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.
- data/README.rdoc +2 -0
- data/lib/artifact_logger/active_record.rb +1 -1
- metadata +3 -5
data/README.rdoc
CHANGED
@@ -5,7 +5,7 @@ module ArtifactLogger::ActiveRecord
|
|
5
5
|
module ClassMethods
|
6
6
|
def enable_artifact_logger options={}
|
7
7
|
#Configure the has_many
|
8
|
-
has_many :log, :as => :artifact, :class_name => '::Log::Message'
|
8
|
+
has_many :log, :as => :artifact, :class_name => '::Log::Message', :dependent => :destroy, :autosave => true
|
9
9
|
#Store the old logging method
|
10
10
|
alias_method :_log, :log
|
11
11
|
remove_method :log
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artifact_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
default_executable:
|
12
|
+
date: 2012-04-02 00:00:00.000000000Z
|
14
13
|
dependencies: []
|
15
14
|
description: A very simple dropin engine for logging information on artifacts in a
|
16
15
|
database.
|
@@ -30,7 +29,6 @@ files:
|
|
30
29
|
- MIT-LICENSE
|
31
30
|
- Rakefile
|
32
31
|
- README.rdoc
|
33
|
-
has_rdoc: true
|
34
32
|
homepage: http://github.com/ajrkerr/artifact_logger/
|
35
33
|
licenses: []
|
36
34
|
post_install_message:
|
@@ -51,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
49
|
version: '0'
|
52
50
|
requirements: []
|
53
51
|
rubyforge_project:
|
54
|
-
rubygems_version: 1.
|
52
|
+
rubygems_version: 1.8.10
|
55
53
|
signing_key:
|
56
54
|
specification_version: 3
|
57
55
|
summary: A simple dropin engine for logging information on artifacts in a databse.
|