has_meta 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module HasMeta
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/has_meta.rb CHANGED
@@ -1,5 +1,6 @@
1
- require "cgi"
2
- require "has_meta/version"
1
+ require 'cgi'
2
+ require 'active_record'
3
+ require 'has_meta/version'
3
4
 
4
5
  module HasMeta
5
6
  module Extensions
@@ -29,4 +30,4 @@ module HasMeta
29
30
  end
30
31
  end
31
32
 
32
- ActiveModel::AttributeMethods.send :include, HasMeta::Extensions
33
+ ActiveRecord::Base.send :include, HasMeta::Extensions
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_meta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: