acts_as_eav_model 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/.rvmrc +1 -0
  2. data/CHANGELOG +3 -0
  3. data/Gemfile +13 -0
  4. data/Gemfile.lock +92 -0
  5. data/MIT-LICENSE +20 -0
  6. data/README.rdoc +117 -0
  7. data/Rakefile +46 -0
  8. data/SPECDOC +23 -0
  9. data/TODO +0 -0
  10. data/VERSION +1 -0
  11. data/doc/classes/ActiveRecord/Acts/EavModel.html +213 -0
  12. data/doc/classes/ActiveRecord/Acts/EavModel/ClassMethods.html +343 -0
  13. data/doc/classes/ActiveRecord/Acts/EavModel/InstanceMethods.html +474 -0
  14. data/doc/classes/ActiveRecord/Acts/EavModel/InstanceMethods/ClassMethods.html +192 -0
  15. data/doc/classes/ActiveRecord/Base.html +170 -0
  16. data/doc/created.rid +1 -0
  17. data/doc/files/CHANGELOG.html +113 -0
  18. data/doc/files/MIT-LICENSE.html +129 -0
  19. data/doc/files/README_rdoc.html +248 -0
  20. data/doc/files/SPECDOC.html +170 -0
  21. data/doc/files/lib/acts_as_eav_model_rb.html +101 -0
  22. data/doc/fr_class_index.html +31 -0
  23. data/doc/fr_file_index.html +31 -0
  24. data/doc/fr_method_index.html +40 -0
  25. data/doc/index.html +24 -0
  26. data/doc/rdoc-style.css +208 -0
  27. data/init.rb +1 -0
  28. data/install.rb +1 -0
  29. data/lib/acts_as_eav_model.rb +542 -0
  30. data/spec/dummy/Rakefile +7 -0
  31. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  32. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  33. data/spec/dummy/app/models/document.rb +7 -0
  34. data/spec/dummy/app/models/person.rb +13 -0
  35. data/spec/dummy/app/models/person_contact_info.rb +2 -0
  36. data/spec/dummy/app/models/post.rb +4 -0
  37. data/spec/dummy/app/models/post_attribute.rb +2 -0
  38. data/spec/dummy/app/models/preference.rb +5 -0
  39. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  40. data/spec/dummy/config.ru +4 -0
  41. data/spec/dummy/config/application.rb +45 -0
  42. data/spec/dummy/config/boot.rb +10 -0
  43. data/spec/dummy/config/database.yml +22 -0
  44. data/spec/dummy/config/environment.rb +5 -0
  45. data/spec/dummy/config/environments/development.rb +26 -0
  46. data/spec/dummy/config/environments/production.rb +49 -0
  47. data/spec/dummy/config/environments/test.rb +35 -0
  48. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  49. data/spec/dummy/config/initializers/inflections.rb +10 -0
  50. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  51. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  52. data/spec/dummy/config/initializers/session_store.rb +8 -0
  53. data/spec/dummy/config/locales/en.yml +5 -0
  54. data/spec/dummy/config/routes.rb +58 -0
  55. data/spec/dummy/db/development.sqlite3 +0 -0
  56. data/spec/dummy/db/schema.rb +51 -0
  57. data/spec/dummy/public/404.html +26 -0
  58. data/spec/dummy/public/422.html +26 -0
  59. data/spec/dummy/public/500.html +26 -0
  60. data/spec/dummy/public/favicon.ico +0 -0
  61. data/spec/dummy/public/javascripts/application.js +2 -0
  62. data/spec/dummy/public/javascripts/controls.js +965 -0
  63. data/spec/dummy/public/javascripts/dragdrop.js +974 -0
  64. data/spec/dummy/public/javascripts/effects.js +1123 -0
  65. data/spec/dummy/public/javascripts/prototype.js +6001 -0
  66. data/spec/dummy/public/javascripts/rails.js +175 -0
  67. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  68. data/spec/dummy/script/rails +6 -0
  69. data/spec/fixtures/people.yml +4 -0
  70. data/spec/fixtures/person_contact_infos.yml +10 -0
  71. data/spec/fixtures/post_attributes.yml +15 -0
  72. data/spec/fixtures/posts.yml +9 -0
  73. data/spec/fixtures/preferences.yml +10 -0
  74. data/spec/models/eav_model_with_no_arguments_spec.rb +82 -0
  75. data/spec/models/eav_model_with_options_spec.rb +37 -0
  76. data/spec/models/eav_validation_spec.rb +11 -0
  77. data/spec/schema.rb +50 -0
  78. data/spec/spec_helper.rb +38 -0
  79. data/uninstall.rb +1 -0
  80. metadata +213 -0
@@ -0,0 +1 @@
1
+ # Uninstall hook code here
metadata ADDED
@@ -0,0 +1,213 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: acts_as_eav_model
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 0
9
+ version: 0.0.0
10
+ platform: ruby
11
+ authors:
12
+ - Marcus Wyatt
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-11-14 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rails
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - "="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 3
29
+ - 0
30
+ - 1
31
+ version: 3.0.1
32
+ type: :runtime
33
+ prerelease: false
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: sqlite3-ruby
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: jeweler
50
+ requirement: &id003 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ version: "0"
58
+ type: :runtime
59
+ prerelease: false
60
+ version_requirements: *id003
61
+ description: |-
62
+ Entity-attribute-value model (EAV) is a data model that is used in circumstances
63
+ where the number of attributes (properties, parameters) that can be used to describe
64
+ a thing (an "entity" or "object") is potentially very vast, but the number that will
65
+ actually apply to a given entity is relatively modest.
66
+ email: ""
67
+ executables: []
68
+
69
+ extensions: []
70
+
71
+ extra_rdoc_files:
72
+ - README.rdoc
73
+ - TODO
74
+ files:
75
+ - .rvmrc
76
+ - CHANGELOG
77
+ - Gemfile
78
+ - Gemfile.lock
79
+ - MIT-LICENSE
80
+ - README.rdoc
81
+ - Rakefile
82
+ - SPECDOC
83
+ - TODO
84
+ - VERSION
85
+ - doc/classes/ActiveRecord/Acts/EavModel.html
86
+ - doc/classes/ActiveRecord/Acts/EavModel/ClassMethods.html
87
+ - doc/classes/ActiveRecord/Acts/EavModel/InstanceMethods.html
88
+ - doc/classes/ActiveRecord/Acts/EavModel/InstanceMethods/ClassMethods.html
89
+ - doc/classes/ActiveRecord/Base.html
90
+ - doc/created.rid
91
+ - doc/files/CHANGELOG.html
92
+ - doc/files/MIT-LICENSE.html
93
+ - doc/files/README_rdoc.html
94
+ - doc/files/SPECDOC.html
95
+ - doc/files/lib/acts_as_eav_model_rb.html
96
+ - doc/fr_class_index.html
97
+ - doc/fr_file_index.html
98
+ - doc/fr_method_index.html
99
+ - doc/index.html
100
+ - doc/rdoc-style.css
101
+ - init.rb
102
+ - install.rb
103
+ - lib/acts_as_eav_model.rb
104
+ - spec/dummy/Rakefile
105
+ - spec/dummy/app/controllers/application_controller.rb
106
+ - spec/dummy/app/helpers/application_helper.rb
107
+ - spec/dummy/app/models/document.rb
108
+ - spec/dummy/app/models/person.rb
109
+ - spec/dummy/app/models/person_contact_info.rb
110
+ - spec/dummy/app/models/post.rb
111
+ - spec/dummy/app/models/post_attribute.rb
112
+ - spec/dummy/app/models/preference.rb
113
+ - spec/dummy/app/views/layouts/application.html.erb
114
+ - spec/dummy/config.ru
115
+ - spec/dummy/config/application.rb
116
+ - spec/dummy/config/boot.rb
117
+ - spec/dummy/config/database.yml
118
+ - spec/dummy/config/environment.rb
119
+ - spec/dummy/config/environments/development.rb
120
+ - spec/dummy/config/environments/production.rb
121
+ - spec/dummy/config/environments/test.rb
122
+ - spec/dummy/config/initializers/backtrace_silencers.rb
123
+ - spec/dummy/config/initializers/inflections.rb
124
+ - spec/dummy/config/initializers/mime_types.rb
125
+ - spec/dummy/config/initializers/secret_token.rb
126
+ - spec/dummy/config/initializers/session_store.rb
127
+ - spec/dummy/config/locales/en.yml
128
+ - spec/dummy/config/routes.rb
129
+ - spec/dummy/db/development.sqlite3
130
+ - spec/dummy/db/schema.rb
131
+ - spec/dummy/public/404.html
132
+ - spec/dummy/public/422.html
133
+ - spec/dummy/public/500.html
134
+ - spec/dummy/public/favicon.ico
135
+ - spec/dummy/public/javascripts/application.js
136
+ - spec/dummy/public/javascripts/controls.js
137
+ - spec/dummy/public/javascripts/dragdrop.js
138
+ - spec/dummy/public/javascripts/effects.js
139
+ - spec/dummy/public/javascripts/prototype.js
140
+ - spec/dummy/public/javascripts/rails.js
141
+ - spec/dummy/public/stylesheets/.gitkeep
142
+ - spec/dummy/script/rails
143
+ - spec/fixtures/people.yml
144
+ - spec/fixtures/person_contact_infos.yml
145
+ - spec/fixtures/post_attributes.yml
146
+ - spec/fixtures/posts.yml
147
+ - spec/fixtures/preferences.yml
148
+ - spec/models/eav_model_with_no_arguments_spec.rb
149
+ - spec/models/eav_model_with_options_spec.rb
150
+ - spec/models/eav_validation_spec.rb
151
+ - spec/schema.rb
152
+ - spec/spec_helper.rb
153
+ - uninstall.rb
154
+ has_rdoc: true
155
+ homepage: http://github.com/g5search/acts_as_eav_model
156
+ licenses: []
157
+
158
+ post_install_message:
159
+ rdoc_options: []
160
+
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ hash: 400579503223505123
169
+ segments:
170
+ - 0
171
+ version: "0"
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ none: false
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ segments:
178
+ - 0
179
+ version: "0"
180
+ requirements: []
181
+
182
+ rubyforge_project:
183
+ rubygems_version: 1.3.7
184
+ signing_key:
185
+ specification_version: 3
186
+ summary: Entity Attribute Value Implementation for inclusion in ActiveRecord models.
187
+ test_files:
188
+ - spec/dummy/app/controllers/application_controller.rb
189
+ - spec/dummy/app/helpers/application_helper.rb
190
+ - spec/dummy/app/models/document.rb
191
+ - spec/dummy/app/models/person.rb
192
+ - spec/dummy/app/models/person_contact_info.rb
193
+ - spec/dummy/app/models/post.rb
194
+ - spec/dummy/app/models/post_attribute.rb
195
+ - spec/dummy/app/models/preference.rb
196
+ - spec/dummy/config/application.rb
197
+ - spec/dummy/config/boot.rb
198
+ - spec/dummy/config/environment.rb
199
+ - spec/dummy/config/environments/development.rb
200
+ - spec/dummy/config/environments/production.rb
201
+ - spec/dummy/config/environments/test.rb
202
+ - spec/dummy/config/initializers/backtrace_silencers.rb
203
+ - spec/dummy/config/initializers/inflections.rb
204
+ - spec/dummy/config/initializers/mime_types.rb
205
+ - spec/dummy/config/initializers/secret_token.rb
206
+ - spec/dummy/config/initializers/session_store.rb
207
+ - spec/dummy/config/routes.rb
208
+ - spec/dummy/db/schema.rb
209
+ - spec/models/eav_model_with_no_arguments_spec.rb
210
+ - spec/models/eav_model_with_options_spec.rb
211
+ - spec/models/eav_validation_spec.rb
212
+ - spec/schema.rb
213
+ - spec/spec_helper.rb