nay-record_with_operator 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/Rakefile +2 -2
  2. data/rails/init.rb +1 -0
  3. metadata +2 -1
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ DESCRIPTION = "Rails plugin to set created_by, updated_by, deleted_by to ActiveR
12
12
  GITHUB_PROJECT = "record_with_operator"
13
13
  HOMEPAGE = "http://github.com/nay/#{GITHUB_PROJECT}/tree"
14
14
  BIN_FILES = %w( )
15
- VER = "0.0.3"
15
+ VER = "0.0.4"
16
16
  CLEAN.include ['pkg']
17
17
 
18
18
  desc 'Default: run unit tests.'
@@ -56,7 +56,7 @@ spec = Gem::Specification.new do |s|
56
56
 
57
57
  s.files = %w(README.rdoc Rakefile MIT-LICENSE) +
58
58
  %w(install.rb uninstall.rb init.rb) +
59
- Dir.glob("{bin,doc,lib,tasks,test}/**/*")
59
+ Dir.glob("{bin,doc,lib,tasks,test,rails}/**/*")
60
60
 
61
61
  end
62
62
 
@@ -0,0 +1 @@
1
+ ActiveRecord::Base.instance_eval{include RecordWithOperator} unless ActiveRecord::Base.include?(RecordWithOperator)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nay-record_with_operator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuko Ohba
@@ -48,6 +48,7 @@ files:
48
48
  - test/record_with_operator_user_class_name_test.rb
49
49
  - test/schema.rb
50
50
  - test/test_helper.rb
51
+ - rails/init.rb
51
52
  has_rdoc: true
52
53
  homepage: http://github.com/nay/record_with_operator/tree
53
54
  post_install_message: