citier4 0.0.1
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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +32 -0
- data/lib/citier4/acts_as_citier4.rb +95 -0
- data/lib/citier4/child_instance_methods.rb +111 -0
- data/lib/citier4/core_ext.rb +118 -0
- data/lib/citier4/instance_methods.rb +41 -0
- data/lib/citier4/relation_methods.rb +139 -0
- data/lib/citier4/root_class_methods.rb +36 -0
- data/lib/citier4/root_instance_methods.rb +47 -0
- data/lib/citier4/version.rb +3 -0
- data/lib/citier4.rb +34 -0
- data/lib/tasks/citier4_tasks.rake +4 -0
- data/test/acts_as_citier4_test.rb +10 -0
- data/test/child_instance_methods_test.rb +70 -0
- data/test/citier4_test.rb +7 -0
- data/test/core_ext_test.rb +7 -0
- data/test/deleting_methods_test.rb +101 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/animal.rb +16 -0
- data/test/dummy/app/models/bidule.rb +2 -0
- data/test/dummy/app/models/book.rb +7 -0
- data/test/dummy/app/models/dictionary.rb +3 -0
- data/test/dummy/app/models/fiction.rb +3 -0
- data/test/dummy/app/models/product.rb +8 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20141228200436_create_products.rb +10 -0
- data/test/dummy/db/migrate/20141228200756_create_books.rb +17 -0
- data/test/dummy/db/migrate/20150101181703_create_dictionaries.rb +16 -0
- data/test/dummy/db/migrate/20150101181916_create_fictions.rb +14 -0
- data/test/dummy/db/migrate/20150102200342_create_bidules.rb +9 -0
- data/test/dummy/db/migrate/20150102200786_create_animals.rb +10 -0
- data/test/dummy/db/schema.rb +81 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +2695 -0
- data/test/dummy/log/test.log +152338 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/fixtures/bidules.yml +7 -0
- data/test/dummy/test/fixtures/books.yml +9 -0
- data/test/dummy/test/fixtures/dictionaries.yml +7 -0
- data/test/dummy/test/fixtures/fictions.yml +7 -0
- data/test/dummy/test/fixtures/products.yml +7 -0
- data/test/dummy/test/models/bidule_test.rb +7 -0
- data/test/dummy/test/models/book_test.rb +7 -0
- data/test/dummy/test/models/dictionary_test.rb +7 -0
- data/test/dummy/test/models/fiction_test.rb +7 -0
- data/test/dummy/test/models/product_test.rb +7 -0
- data/test/model_test.rb +34 -0
- data/test/retrieving_methods_test.rb +153 -0
- data/test/root_instance_methods_test.rb +27 -0
- data/test/test_helper.rb +60 -0
- metadata +227 -0
metadata
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: citier4
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Laurent Buffat, Orignally From Peter Hamilton and others, Originally from Laurent
|
|
8
|
+
Buffat, Pierre-Emmanuel Jouve
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rails
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
requirements:
|
|
18
|
+
- - "~>"
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: 4.2.0.rc3
|
|
21
|
+
type: :runtime
|
|
22
|
+
prerelease: false
|
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - "~>"
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: 4.2.0.rc3
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: sqlite3
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - ">="
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '0'
|
|
35
|
+
type: :development
|
|
36
|
+
prerelease: false
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: '0'
|
|
42
|
+
description: |-
|
|
43
|
+
CITIER4 is CITIER for rails 4. CITIER (Class Inheritance & Table Inheritance Embeddings for Rails) is a solution for single and multiple class table inheritance.
|
|
44
|
+
For full information: https://github.com/petehamilton/citier/
|
|
45
|
+
For the original version by ALTRABio see www.github.com/altrabio/
|
|
46
|
+
email:
|
|
47
|
+
- laurent.buffat@altrabio.com
|
|
48
|
+
executables: []
|
|
49
|
+
extensions: []
|
|
50
|
+
extra_rdoc_files: []
|
|
51
|
+
files:
|
|
52
|
+
- MIT-LICENSE
|
|
53
|
+
- README.rdoc
|
|
54
|
+
- Rakefile
|
|
55
|
+
- lib/citier4.rb
|
|
56
|
+
- lib/citier4/acts_as_citier4.rb
|
|
57
|
+
- lib/citier4/child_instance_methods.rb
|
|
58
|
+
- lib/citier4/core_ext.rb
|
|
59
|
+
- lib/citier4/instance_methods.rb
|
|
60
|
+
- lib/citier4/relation_methods.rb
|
|
61
|
+
- lib/citier4/root_class_methods.rb
|
|
62
|
+
- lib/citier4/root_instance_methods.rb
|
|
63
|
+
- lib/citier4/version.rb
|
|
64
|
+
- lib/tasks/citier4_tasks.rake
|
|
65
|
+
- test/acts_as_citier4_test.rb
|
|
66
|
+
- test/child_instance_methods_test.rb
|
|
67
|
+
- test/citier4_test.rb
|
|
68
|
+
- test/core_ext_test.rb
|
|
69
|
+
- test/deleting_methods_test.rb
|
|
70
|
+
- test/dummy/README.rdoc
|
|
71
|
+
- test/dummy/Rakefile
|
|
72
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
73
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
74
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
75
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
76
|
+
- test/dummy/app/models/animal.rb
|
|
77
|
+
- test/dummy/app/models/bidule.rb
|
|
78
|
+
- test/dummy/app/models/book.rb
|
|
79
|
+
- test/dummy/app/models/dictionary.rb
|
|
80
|
+
- test/dummy/app/models/fiction.rb
|
|
81
|
+
- test/dummy/app/models/product.rb
|
|
82
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
83
|
+
- test/dummy/bin/bundle
|
|
84
|
+
- test/dummy/bin/rails
|
|
85
|
+
- test/dummy/bin/rake
|
|
86
|
+
- test/dummy/config.ru
|
|
87
|
+
- test/dummy/config/application.rb
|
|
88
|
+
- test/dummy/config/boot.rb
|
|
89
|
+
- test/dummy/config/database.yml
|
|
90
|
+
- test/dummy/config/environment.rb
|
|
91
|
+
- test/dummy/config/environments/development.rb
|
|
92
|
+
- test/dummy/config/environments/production.rb
|
|
93
|
+
- test/dummy/config/environments/test.rb
|
|
94
|
+
- test/dummy/config/initializers/assets.rb
|
|
95
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
96
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
97
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
98
|
+
- test/dummy/config/initializers/inflections.rb
|
|
99
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
100
|
+
- test/dummy/config/initializers/session_store.rb
|
|
101
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
102
|
+
- test/dummy/config/locales/en.yml
|
|
103
|
+
- test/dummy/config/routes.rb
|
|
104
|
+
- test/dummy/config/secrets.yml
|
|
105
|
+
- test/dummy/db/development.sqlite3
|
|
106
|
+
- test/dummy/db/migrate/20141228200436_create_products.rb
|
|
107
|
+
- test/dummy/db/migrate/20141228200756_create_books.rb
|
|
108
|
+
- test/dummy/db/migrate/20150101181703_create_dictionaries.rb
|
|
109
|
+
- test/dummy/db/migrate/20150101181916_create_fictions.rb
|
|
110
|
+
- test/dummy/db/migrate/20150102200342_create_bidules.rb
|
|
111
|
+
- test/dummy/db/migrate/20150102200786_create_animals.rb
|
|
112
|
+
- test/dummy/db/schema.rb
|
|
113
|
+
- test/dummy/db/test.sqlite3
|
|
114
|
+
- test/dummy/log/development.log
|
|
115
|
+
- test/dummy/log/test.log
|
|
116
|
+
- test/dummy/public/404.html
|
|
117
|
+
- test/dummy/public/422.html
|
|
118
|
+
- test/dummy/public/500.html
|
|
119
|
+
- test/dummy/public/favicon.ico
|
|
120
|
+
- test/dummy/test/fixtures/bidules.yml
|
|
121
|
+
- test/dummy/test/fixtures/books.yml
|
|
122
|
+
- test/dummy/test/fixtures/dictionaries.yml
|
|
123
|
+
- test/dummy/test/fixtures/fictions.yml
|
|
124
|
+
- test/dummy/test/fixtures/products.yml
|
|
125
|
+
- test/dummy/test/models/bidule_test.rb
|
|
126
|
+
- test/dummy/test/models/book_test.rb
|
|
127
|
+
- test/dummy/test/models/dictionary_test.rb
|
|
128
|
+
- test/dummy/test/models/fiction_test.rb
|
|
129
|
+
- test/dummy/test/models/product_test.rb
|
|
130
|
+
- test/model_test.rb
|
|
131
|
+
- test/retrieving_methods_test.rb
|
|
132
|
+
- test/root_instance_methods_test.rb
|
|
133
|
+
- test/test_helper.rb
|
|
134
|
+
homepage: https://github.com/petehamilton/citier
|
|
135
|
+
licenses:
|
|
136
|
+
- MIT
|
|
137
|
+
metadata: {}
|
|
138
|
+
post_install_message:
|
|
139
|
+
rdoc_options: []
|
|
140
|
+
require_paths:
|
|
141
|
+
- lib
|
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
- - ">="
|
|
145
|
+
- !ruby/object:Gem::Version
|
|
146
|
+
version: '0'
|
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - ">="
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '0'
|
|
152
|
+
requirements: []
|
|
153
|
+
rubyforge_project:
|
|
154
|
+
rubygems_version: 2.4.4
|
|
155
|
+
signing_key:
|
|
156
|
+
specification_version: 4
|
|
157
|
+
summary: 'Citier4 : Citier for Rails 4'
|
|
158
|
+
test_files:
|
|
159
|
+
- test/acts_as_citier4_test.rb
|
|
160
|
+
- test/child_instance_methods_test.rb
|
|
161
|
+
- test/citier4_test.rb
|
|
162
|
+
- test/core_ext_test.rb
|
|
163
|
+
- test/deleting_methods_test.rb
|
|
164
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
165
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
166
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
167
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
168
|
+
- test/dummy/app/models/animal.rb
|
|
169
|
+
- test/dummy/app/models/bidule.rb
|
|
170
|
+
- test/dummy/app/models/book.rb
|
|
171
|
+
- test/dummy/app/models/dictionary.rb
|
|
172
|
+
- test/dummy/app/models/fiction.rb
|
|
173
|
+
- test/dummy/app/models/product.rb
|
|
174
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
175
|
+
- test/dummy/bin/bundle
|
|
176
|
+
- test/dummy/bin/rails
|
|
177
|
+
- test/dummy/bin/rake
|
|
178
|
+
- test/dummy/config/application.rb
|
|
179
|
+
- test/dummy/config/boot.rb
|
|
180
|
+
- test/dummy/config/database.yml
|
|
181
|
+
- test/dummy/config/environment.rb
|
|
182
|
+
- test/dummy/config/environments/development.rb
|
|
183
|
+
- test/dummy/config/environments/production.rb
|
|
184
|
+
- test/dummy/config/environments/test.rb
|
|
185
|
+
- test/dummy/config/initializers/assets.rb
|
|
186
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
187
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
188
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
189
|
+
- test/dummy/config/initializers/inflections.rb
|
|
190
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
191
|
+
- test/dummy/config/initializers/session_store.rb
|
|
192
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
193
|
+
- test/dummy/config/locales/en.yml
|
|
194
|
+
- test/dummy/config/routes.rb
|
|
195
|
+
- test/dummy/config/secrets.yml
|
|
196
|
+
- test/dummy/config.ru
|
|
197
|
+
- test/dummy/db/development.sqlite3
|
|
198
|
+
- test/dummy/db/migrate/20141228200436_create_products.rb
|
|
199
|
+
- test/dummy/db/migrate/20141228200756_create_books.rb
|
|
200
|
+
- test/dummy/db/migrate/20150101181703_create_dictionaries.rb
|
|
201
|
+
- test/dummy/db/migrate/20150101181916_create_fictions.rb
|
|
202
|
+
- test/dummy/db/migrate/20150102200342_create_bidules.rb
|
|
203
|
+
- test/dummy/db/migrate/20150102200786_create_animals.rb
|
|
204
|
+
- test/dummy/db/schema.rb
|
|
205
|
+
- test/dummy/db/test.sqlite3
|
|
206
|
+
- test/dummy/log/development.log
|
|
207
|
+
- test/dummy/log/test.log
|
|
208
|
+
- test/dummy/public/404.html
|
|
209
|
+
- test/dummy/public/422.html
|
|
210
|
+
- test/dummy/public/500.html
|
|
211
|
+
- test/dummy/public/favicon.ico
|
|
212
|
+
- test/dummy/Rakefile
|
|
213
|
+
- test/dummy/README.rdoc
|
|
214
|
+
- test/dummy/test/fixtures/bidules.yml
|
|
215
|
+
- test/dummy/test/fixtures/books.yml
|
|
216
|
+
- test/dummy/test/fixtures/dictionaries.yml
|
|
217
|
+
- test/dummy/test/fixtures/fictions.yml
|
|
218
|
+
- test/dummy/test/fixtures/products.yml
|
|
219
|
+
- test/dummy/test/models/bidule_test.rb
|
|
220
|
+
- test/dummy/test/models/book_test.rb
|
|
221
|
+
- test/dummy/test/models/dictionary_test.rb
|
|
222
|
+
- test/dummy/test/models/fiction_test.rb
|
|
223
|
+
- test/dummy/test/models/product_test.rb
|
|
224
|
+
- test/model_test.rb
|
|
225
|
+
- test/retrieving_methods_test.rb
|
|
226
|
+
- test/root_instance_methods_test.rb
|
|
227
|
+
- test/test_helper.rb
|