audited_controller 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
1
1
  require "audited_controller/version"
2
2
 
3
3
  # -*- encoding : utf-8 -*-
4
- class ApplicationController < ActionController::Base
4
+ #class ApplicationController < ActionController::Base
5
+ ApplicationController.class_eval do
5
6
  helper_method :add_to_audit
6
7
  def add_to_audit
7
8
  audit_config = HashWithIndifferentAccess.new(YAML.load(File.read(
@@ -1,3 +1,3 @@
1
1
  module AuditedController
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: audited_controller
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Siwei Shen