metafy 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -11
- data/metafy.gemspec +2 -2
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -60,20 +60,12 @@ OR chain where with meta_where:
|
|
60
60
|
>> users = User.where( 'users.email LIKE "%@gmail.com"' ).meta_where( :language => "French" )
|
61
61
|
|
62
62
|
= Why would I want to use this Gem instead of just adding more database columns?
|
63
|
-
Well, there isn't much difference functionally between a normal database
|
63
|
+
Well, there isn't much difference functionally between a normal database column and a meta attribute. But there may be sometimes when you want to add a more dynamic, lightweight attribute that doesn't clutter your schema. That's when you'd use metafy.
|
64
64
|
|
65
65
|
= Version history
|
66
66
|
|
67
|
-
- Version
|
68
|
-
-
|
69
|
-
- Version 0.0.4
|
70
|
-
- Fixed the metas table name issue in 3.0.7
|
71
|
-
- Version 0.0.3
|
72
|
-
- Added documentation
|
73
|
-
- Version 0.0.2
|
74
|
-
- Gem Fixes
|
75
|
-
- Version 0.0.1
|
76
|
-
- Initial Version
|
67
|
+
- Version 1.0.3
|
68
|
+
- Refactored the code a bit
|
77
69
|
|
78
70
|
= Contact and copyright
|
79
71
|
|
data/metafy.gemspec
CHANGED
@@ -3,11 +3,11 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "metafy"
|
6
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.0.3"
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Blair Williams","Brandon Toone"]
|
9
9
|
s.email = ["blair@caseproof.com","btoone@gmail.com"]
|
10
|
-
s.homepage = "http://blairwilliams.com/rails/metafy"
|
10
|
+
s.homepage = "http://blairwilliams.com/ruby-on-rails/metafy"
|
11
11
|
s.summary = %q{Dynamic Attributes Engine for Rails 3}
|
12
12
|
s.description = %q{Metafy is a Gem for Rails 3 that makes it possible to easily add dynamic attributes to any ActiveRecord model. These lightweight, meta attributes work just like normal database column attributes on your ActiveRecord model and are fully searchable (i.e. you can find records by values contained in these dynamic attributes).}
|
13
13
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: metafy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Blair Williams
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-05-
|
14
|
+
date: 2011-05-11 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -50,7 +50,7 @@ files:
|
|
50
50
|
- metafy.gemspec
|
51
51
|
- test/test_helper.rb
|
52
52
|
- test/unit/mattr_test.rb
|
53
|
-
homepage: http://blairwilliams.com/rails/metafy
|
53
|
+
homepage: http://blairwilliams.com/ruby-on-rails/metafy
|
54
54
|
licenses:
|
55
55
|
- MIT
|
56
56
|
post_install_message:
|