pro_monitor 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'rails', '~> 3.2.12'
4
+
5
+ group :development do
6
+ gem "rspec", "~> 2.8.0"
7
+ gem "rdoc", "~> 3.12"
8
+ gem "bundler", "~> 1.3.2"
9
+ gem "jeweler", "~> 1.8.4"
10
+ gem "simplecov", ">= 0"
11
+ end
@@ -0,0 +1,110 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ actionmailer (3.2.12)
5
+ actionpack (= 3.2.12)
6
+ mail (~> 2.4.4)
7
+ actionpack (3.2.12)
8
+ activemodel (= 3.2.12)
9
+ activesupport (= 3.2.12)
10
+ builder (~> 3.0.0)
11
+ erubis (~> 2.7.0)
12
+ journey (~> 1.0.4)
13
+ rack (~> 1.4.5)
14
+ rack-cache (~> 1.2)
15
+ rack-test (~> 0.6.1)
16
+ sprockets (~> 2.2.1)
17
+ activemodel (3.2.12)
18
+ activesupport (= 3.2.12)
19
+ builder (~> 3.0.0)
20
+ activerecord (3.2.12)
21
+ activemodel (= 3.2.12)
22
+ activesupport (= 3.2.12)
23
+ arel (~> 3.0.2)
24
+ tzinfo (~> 0.3.29)
25
+ activeresource (3.2.12)
26
+ activemodel (= 3.2.12)
27
+ activesupport (= 3.2.12)
28
+ activesupport (3.2.12)
29
+ i18n (~> 0.6)
30
+ multi_json (~> 1.0)
31
+ arel (3.0.2)
32
+ builder (3.0.4)
33
+ diff-lcs (1.1.3)
34
+ erubis (2.7.0)
35
+ git (1.2.5)
36
+ hike (1.2.1)
37
+ i18n (0.6.4)
38
+ jeweler (1.8.4)
39
+ bundler (~> 1.0)
40
+ git (>= 1.2.5)
41
+ rake
42
+ rdoc
43
+ journey (1.0.4)
44
+ json (1.7.7)
45
+ mail (2.4.4)
46
+ i18n (>= 0.4.0)
47
+ mime-types (~> 1.16)
48
+ treetop (~> 1.4.8)
49
+ mime-types (1.21)
50
+ multi_json (1.6.1)
51
+ polyglot (0.3.3)
52
+ rack (1.4.5)
53
+ rack-cache (1.2)
54
+ rack (>= 0.4)
55
+ rack-ssl (1.3.3)
56
+ rack
57
+ rack-test (0.6.2)
58
+ rack (>= 1.0)
59
+ rails (3.2.12)
60
+ actionmailer (= 3.2.12)
61
+ actionpack (= 3.2.12)
62
+ activerecord (= 3.2.12)
63
+ activeresource (= 3.2.12)
64
+ activesupport (= 3.2.12)
65
+ bundler (~> 1.0)
66
+ railties (= 3.2.12)
67
+ railties (3.2.12)
68
+ actionpack (= 3.2.12)
69
+ activesupport (= 3.2.12)
70
+ rack-ssl (~> 1.3.2)
71
+ rake (>= 0.8.7)
72
+ rdoc (~> 3.4)
73
+ thor (>= 0.14.6, < 2.0)
74
+ rake (10.0.3)
75
+ rdoc (3.12.2)
76
+ json (~> 1.4)
77
+ rspec (2.8.0)
78
+ rspec-core (~> 2.8.0)
79
+ rspec-expectations (~> 2.8.0)
80
+ rspec-mocks (~> 2.8.0)
81
+ rspec-core (2.8.0)
82
+ rspec-expectations (2.8.0)
83
+ diff-lcs (~> 1.1.2)
84
+ rspec-mocks (2.8.0)
85
+ simplecov (0.7.1)
86
+ multi_json (~> 1.0)
87
+ simplecov-html (~> 0.7.1)
88
+ simplecov-html (0.7.1)
89
+ sprockets (2.2.2)
90
+ hike (~> 1.2)
91
+ multi_json (~> 1.0)
92
+ rack (~> 1.0)
93
+ tilt (~> 1.1, != 1.3.0)
94
+ thor (0.17.0)
95
+ tilt (1.3.5)
96
+ treetop (1.4.12)
97
+ polyglot
98
+ polyglot (>= 0.3.1)
99
+ tzinfo (0.3.36)
100
+
101
+ PLATFORMS
102
+ ruby
103
+
104
+ DEPENDENCIES
105
+ bundler (~> 1.3.2)
106
+ jeweler (~> 1.8.4)
107
+ rails (~> 3.2.12)
108
+ rdoc (~> 3.12)
109
+ rspec (~> 2.8.0)
110
+ simplecov
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Mack Talcott
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ = pro_monitor
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to pro_monitor
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
+ * Fork the project.
10
+ * Start a feature/bugfix branch.
11
+ * Commit and push until you are happy with your contribution.
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2013 Mack Talcott. See LICENSE.txt for
18
+ further details.
19
+
@@ -0,0 +1,36 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "pro_monitor"
18
+ gem.homepage = "http://github.com/mtalcott/pro_monitor"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{An easily customizable way to monitor, aggregate, and format ActiveRecord model changes for auditing.}
21
+ gem.description = %Q{An easily customizable way to monitor, aggregate, and format ActiveRecord model changes for auditing.}
22
+ gem.email = "mtalcott@promantek.com"
23
+ gem.authors = ["Mack Talcott"]
24
+
25
+ # Dependencies
26
+ gem.add_dependency "rails", "~> 3.2.12"
27
+ end
28
+ Jeweler::RubygemsDotOrgTasks.new
29
+
30
+ require 'rspec/core'
31
+ require 'rspec/core/rake_task'
32
+ RSpec::Core::RakeTask.new(:spec) do |spec|
33
+ spec.pattern = FileList['spec/**/*_spec.rb']
34
+ end
35
+
36
+ task :default => :spec
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,48 @@
1
+ require "rubygems"
2
+ require "bundler/setup"
3
+ require "rails"
4
+
5
+ class ProMonitor
6
+
7
+ # class_attribute :current_aggregation
8
+
9
+ def self.aggregate_changes(options = {})
10
+ previous_aggregation = self.current_aggregation
11
+ self.current_aggregation = aggregation = ProMonitor::Aggregation.new
12
+ begin
13
+ yield
14
+ ensure
15
+ self.current_aggregation = previous_aggregation
16
+ end
17
+ aggregation
18
+ end
19
+
20
+ def self.publish_changes(aggregation)
21
+ ProMonitor::Publisher.new(aggregation).publish
22
+ end
23
+
24
+ def self.aggregate_and_publish
25
+ aggregation = aggregate_changes do
26
+ yield
27
+ end
28
+ publish_changes(aggregation)
29
+ aggregation
30
+ end
31
+
32
+ def aggregating?
33
+ !!current_aggregation
34
+ end
35
+
36
+ def self.config
37
+ @config ||= ProMonitor::Config.new
38
+ end
39
+
40
+ def self.configure
41
+ yield(self.config) if block_given?
42
+ end
43
+
44
+ def self.logger
45
+ Rails.logger
46
+ end
47
+
48
+ end
@@ -0,0 +1,8 @@
1
+ class ProMonitor::Aggregation < Array
2
+
3
+ def <<(thing)
4
+ ProMonitor.logger.info "Aggregating #{thing.inspect}"
5
+ super
6
+ end
7
+
8
+ end
@@ -0,0 +1,110 @@
1
+ class ProMonitor::Change
2
+
3
+ def initialize(action, model)
4
+ @action, @model = action, model
5
+ end
6
+
7
+ [:create, :update, :destroy].each do |action|
8
+ define_method "#{action}?" do
9
+ self.action == action
10
+ end
11
+ end
12
+
13
+ def action
14
+ @action.to_sym
15
+ end
16
+
17
+ def changes
18
+ model.changes.with_indifferent_access
19
+ end
20
+
21
+ def model_type
22
+ model.class.name
23
+ end
24
+
25
+ def model_name
26
+ ProMonitor.config.name_attributes.each do |name_attribute|
27
+ return model.send(name_attribute) if model.respond_to?(name_attribute)
28
+ end
29
+ model.id.to_s
30
+ end
31
+
32
+ def changes
33
+ model.previous_changes.symbolize_keys
34
+ end
35
+
36
+ def changed_attribute_names
37
+ changes.keys
38
+ end
39
+
40
+ def description
41
+ "#{pretty_model_type} #{model_name} #{pretty_action}"
42
+ end
43
+
44
+ def details
45
+ return update_details if update?
46
+ end
47
+
48
+ def update_details
49
+ changes.map do |attribute_name, values|
50
+ attribute_update_details(attribute_name, values)
51
+ end
52
+ end
53
+
54
+ def attribute_update_details(attribute_name, values)
55
+ i18n_args = {
56
+ attribute_name: pretty_attribute_name(attribute_name),
57
+ from: pretty_attribute(attribute_name, values.first),
58
+ to: pretty_attribute(attribute_name, values.last),
59
+ scope: :pro_monitor
60
+ }
61
+ i18n(:attribute_change, i18n_args)
62
+ end
63
+
64
+ def model_name_i18n_key
65
+ model_type.underscore
66
+ end
67
+
68
+ def pretty_model_type
69
+ i18n(model_name_i18n_key, default: model_name_i18n_key.humanize)
70
+ end
71
+
72
+ def date_format
73
+ '%m/%d/%Y'
74
+ end
75
+
76
+ def time_format
77
+ '%m/%d/%Y %I:%M:%S %p'
78
+ end
79
+
80
+ def pretty_attribute(attribute_name, value)
81
+ if value.is_a?(Date)
82
+ I18n.l(value, format: date_format)
83
+ elsif value.is_a?(DateTime)
84
+ I18n.l(value, format: time_format)
85
+ else
86
+ value.to_s
87
+ end
88
+ end
89
+
90
+ def pretty_attribute_name(attribute_name)
91
+ i18n(attribute_name, default: attribute_name.humanize)
92
+ end
93
+
94
+ def default_pretty_action
95
+ case action
96
+ when :create then "created"
97
+ when :update then "updated"
98
+ when :destroy then "deleted"
99
+ end
100
+ end
101
+
102
+ def pretty_action
103
+ i18n(action, default: default_pretty_action)
104
+ end
105
+
106
+ def i18n(key, options = {})
107
+ I18n.t(key, options)
108
+ end
109
+
110
+ end
@@ -0,0 +1,24 @@
1
+ class ProMonitor::Config
2
+
3
+ attr_writer :name_attributes, :description_output, :monitored_models, :load
4
+
5
+ def name_attributes
6
+ [:name, :title]
7
+ end
8
+
9
+ # :html, :text
10
+ def description_output
11
+ @description_output || :html
12
+ end
13
+
14
+ # ['User']
15
+ def monitored_models
16
+ @monitored_models || []
17
+ end
18
+
19
+ # ['UserChange', 'ReviewSetChange']
20
+ def load
21
+ @load || []
22
+ end
23
+
24
+ end
@@ -0,0 +1,25 @@
1
+ class ProMonitor::Observer < ActiveRecord::Observer
2
+
3
+ observe :user, :review_set, :contact, :employee_plan, :appraisal, :review
4
+
5
+ def after_create(model)
6
+ handle_action(:create, model)
7
+ end
8
+
9
+ def after_update(model)
10
+ handle_action(:update, model)
11
+ end
12
+
13
+ def after_destroy(model)
14
+ handle_action(:destroy, model)
15
+ end
16
+
17
+ private
18
+
19
+ def handle_action(action, model)
20
+ return unless ProMonitor.aggregating?
21
+ change = ProMonitor::Change.new(action, model)
22
+ ProMonitor.current_aggregation << change
23
+ end
24
+
25
+ end
@@ -0,0 +1,13 @@
1
+ class ProMonitor::Publisher
2
+
3
+ attr_reader :changes
4
+
5
+ def initialize(changes)
6
+ @changes = changes
7
+ end
8
+
9
+ def publish
10
+ ProMonitor.logger.info "Publishing #{changes}"
11
+ end
12
+
13
+ end
@@ -0,0 +1,74 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "pro_monitor"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Mack Talcott"]
12
+ s.date = "2013-03-09"
13
+ s.description = "An easily customizable way to monitor, aggregate, and format ActiveRecord model changes for auditing."
14
+ s.email = "mtalcott@promantek.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/pro_monitor.rb",
29
+ "lib/pro_monitor/aggregation.rb",
30
+ "lib/pro_monitor/change.rb",
31
+ "lib/pro_monitor/config.rb",
32
+ "lib/pro_monitor/observer.rb",
33
+ "lib/pro_monitor/publisher.rb",
34
+ "pro_monitor.gemspec",
35
+ "spec/pro_monitor_spec.rb",
36
+ "spec/spec_helper.rb"
37
+ ]
38
+ s.homepage = "http://github.com/mtalcott/pro_monitor"
39
+ s.licenses = ["MIT"]
40
+ s.require_paths = ["lib"]
41
+ s.rubygems_version = "1.8.25"
42
+ s.summary = "An easily customizable way to monitor, aggregate, and format ActiveRecord model changes for auditing."
43
+
44
+ if s.respond_to? :specification_version then
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
+ s.add_runtime_dependency(%q<rails>, ["~> 3.2.12"])
49
+ s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
50
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
51
+ s.add_development_dependency(%q<bundler>, ["~> 1.3.2"])
52
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
53
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
54
+ s.add_runtime_dependency(%q<rails>, ["~> 3.2.12"])
55
+ else
56
+ s.add_dependency(%q<rails>, ["~> 3.2.12"])
57
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
58
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
59
+ s.add_dependency(%q<bundler>, ["~> 1.3.2"])
60
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
61
+ s.add_dependency(%q<simplecov>, [">= 0"])
62
+ s.add_dependency(%q<rails>, ["~> 3.2.12"])
63
+ end
64
+ else
65
+ s.add_dependency(%q<rails>, ["~> 3.2.12"])
66
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
67
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
68
+ s.add_dependency(%q<bundler>, ["~> 1.3.2"])
69
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
70
+ s.add_dependency(%q<simplecov>, [">= 0"])
71
+ s.add_dependency(%q<rails>, ["~> 3.2.12"])
72
+ end
73
+ end
74
+
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "ProMonitor" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'pro_monitor'
5
+
6
+ require 'simplecov'
7
+ SimpleCov.start 'rails'
8
+
9
+ # Requires supporting files with custom matchers and macros, etc,
10
+ # in ./support/ and its subdirectories.
11
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
12
+
13
+ RSpec.configure do |config|
14
+
15
+ end
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pro_monitor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mack Talcott
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.12
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.12
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 2.8.0
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.8.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: rdoc
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.12'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.3.2
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.3.2
78
+ - !ruby/object:Gem::Dependency
79
+ name: jeweler
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 1.8.4
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 1.8.4
94
+ - !ruby/object:Gem::Dependency
95
+ name: simplecov
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rails
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 3.2.12
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 3.2.12
126
+ description: An easily customizable way to monitor, aggregate, and format ActiveRecord
127
+ model changes for auditing.
128
+ email: mtalcott@promantek.com
129
+ executables: []
130
+ extensions: []
131
+ extra_rdoc_files:
132
+ - LICENSE.txt
133
+ - README.rdoc
134
+ files:
135
+ - .document
136
+ - .rspec
137
+ - Gemfile
138
+ - Gemfile.lock
139
+ - LICENSE.txt
140
+ - README.rdoc
141
+ - Rakefile
142
+ - VERSION
143
+ - lib/pro_monitor.rb
144
+ - lib/pro_monitor/aggregation.rb
145
+ - lib/pro_monitor/change.rb
146
+ - lib/pro_monitor/config.rb
147
+ - lib/pro_monitor/observer.rb
148
+ - lib/pro_monitor/publisher.rb
149
+ - pro_monitor.gemspec
150
+ - spec/pro_monitor_spec.rb
151
+ - spec/spec_helper.rb
152
+ homepage: http://github.com/mtalcott/pro_monitor
153
+ licenses:
154
+ - MIT
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ segments:
166
+ - 0
167
+ hash: 3921483793008849252
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ requirements: []
175
+ rubyforge_project:
176
+ rubygems_version: 1.8.25
177
+ signing_key:
178
+ specification_version: 3
179
+ summary: An easily customizable way to monitor, aggregate, and format ActiveRecord
180
+ model changes for auditing.
181
+ test_files: []