joinfix 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +21 -0
- data/README +86 -0
- data/TEST_README +44 -0
- data/lib/joinfix/fixture.rb +29 -0
- data/lib/joinfix/fixtures.rb +271 -0
- data/lib/joinfix/fixtures_class.rb +102 -0
- data/lib/joinfix.rb +208 -0
- data/rails/README +182 -0
- data/rails/Rakefile +10 -0
- data/rails/app/controllers/application.rb +7 -0
- data/rails/app/helpers/application_helper.rb +3 -0
- data/rails/app/models/group.rb +4 -0
- data/rails/app/models/inner_child.rb +4 -0
- data/rails/app/models/nested_child.rb +4 -0
- data/rails/app/models/nested_parent.rb +4 -0
- data/rails/app/models/user.rb +4 -0
- data/rails/app/models/user_group.rb +5 -0
- data/rails/config/boot.rb +45 -0
- data/rails/config/database.yml +36 -0
- data/rails/config/environment.rb +60 -0
- data/rails/config/environments/development.rb +21 -0
- data/rails/config/environments/production.rb +18 -0
- data/rails/config/environments/test.rb +19 -0
- data/rails/config/routes.rb +23 -0
- data/rails/db/migrate/001_create_nested_parents.rb +12 -0
- data/rails/db/migrate/002_create_nested_children.rb +12 -0
- data/rails/db/migrate/003_create_inner_children.rb +12 -0
- data/rails/db/migrate/004_create_users.rb +11 -0
- data/rails/db/migrate/005_create_groups.rb +11 -0
- data/rails/db/migrate/006_create_user_groups.rb +12 -0
- data/rails/db/schema.rb +35 -0
- data/rails/doc/README_FOR_APP +2 -0
- data/rails/public/404.html +30 -0
- data/rails/public/500.html +30 -0
- data/rails/public/dispatch.cgi +10 -0
- data/rails/public/dispatch.fcgi +24 -0
- data/rails/public/dispatch.rb +10 -0
- data/rails/public/favicon.ico +0 -0
- data/rails/public/images/rails.png +0 -0
- data/rails/public/index.html +277 -0
- data/rails/public/javascripts/application.js +2 -0
- data/rails/public/javascripts/controls.js +833 -0
- data/rails/public/javascripts/dragdrop.js +942 -0
- data/rails/public/javascripts/effects.js +1088 -0
- data/rails/public/javascripts/prototype.js +2515 -0
- data/rails/public/robots.txt +1 -0
- data/rails/script/about +3 -0
- data/rails/script/breakpointer +3 -0
- data/rails/script/console +3 -0
- data/rails/script/destroy +3 -0
- data/rails/script/generate +3 -0
- data/rails/script/performance/benchmarker +3 -0
- data/rails/script/performance/profiler +3 -0
- data/rails/script/plugin +3 -0
- data/rails/script/process/inspector +3 -0
- data/rails/script/process/reaper +3 -0
- data/rails/script/process/spawner +3 -0
- data/rails/script/runner +3 -0
- data/rails/script/server +3 -0
- data/rails/test/fixtures/groups.yml +3 -0
- data/rails/test/fixtures/inner_children.yml +2 -0
- data/rails/test/fixtures/nested_children.yml +2 -0
- data/rails/test/fixtures/nested_parents.yml +33 -0
- data/rails/test/fixtures/user_groups.yml +0 -0
- data/rails/test/fixtures/users.yml +20 -0
- data/rails/test/test_helper.rb +29 -0
- data/rails/test/unit/group_test.rb +10 -0
- data/rails/test/unit/inner_child_test.rb +10 -0
- data/rails/test/unit/nested_child_test.rb +10 -0
- data/rails/test/unit/nested_parent_test.rb +24 -0
- data/rails/test/unit/user_group_test.rb +10 -0
- data/rails/test/unit/user_test.rb +12 -0
- data/test/belongs_to_test.rb +77 -0
- data/test/config.yml +5 -0
- data/test/fixtures/as_children.yml +0 -0
- data/test/fixtures/bt_children.yml +0 -0
- data/test/fixtures/bt_parents.yml +30 -0
- data/test/fixtures/habtm_children.yml +0 -0
- data/test/fixtures/habtm_children_habtm_parents.yml +0 -0
- data/test/fixtures/habtm_joins.yml +0 -0
- data/test/fixtures/habtm_parents.yml +18 -0
- data/test/fixtures/hm_children.yml +0 -0
- data/test/fixtures/hm_joins.yml +0 -0
- data/test/fixtures/hm_parents.yml +34 -0
- data/test/fixtures/ho_children.yml +0 -0
- data/test/fixtures/ho_parents.yml +14 -0
- data/test/fixtures/inner_children.yml +2 -0
- data/test/fixtures/nested_children.yml +0 -0
- data/test/fixtures/nested_parents.yml +33 -0
- data/test/fixtures/no_join_fixes.yml +4 -0
- data/test/fixtures/omap_no_join_fixes.yml +7 -0
- data/test/fixtures/polymorphic_children.yml +0 -0
- data/test/has_and_belongs_to_many_test.rb +72 -0
- data/test/has_many_test.rb +97 -0
- data/test/has_one_test.rb +56 -0
- data/test/joinfix_test.rb +287 -0
- data/test/joinfix_test_helper.rb +54 -0
- data/test/joinfix_test_suite.rb +10 -0
- data/test/nested_test.rb +70 -0
- metadata +189 -0
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.2
|
3
|
+
specification_version: 1
|
4
|
+
name: joinfix
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2007-05-11 00:00:00 -06:00
|
8
|
+
summary: A reflection-based solution to the fixture join problem.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: simon.chiang@uchsc.edu
|
12
|
+
homepage: http://rubyforge.org/projects/joinfix/
|
13
|
+
rubyforge_project:
|
14
|
+
description:
|
15
|
+
autorequire: joinfix
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- Simon Chiang
|
31
|
+
files:
|
32
|
+
- test/belongs_to_test.rb
|
33
|
+
- test/config.yml
|
34
|
+
- test/fixtures
|
35
|
+
- test/has_and_belongs_to_many_test.rb
|
36
|
+
- test/has_many_test.rb
|
37
|
+
- test/has_one_test.rb
|
38
|
+
- test/joinfix_test.rb
|
39
|
+
- test/joinfix_test_helper.rb
|
40
|
+
- test/joinfix_test_suite.rb
|
41
|
+
- test/nested_test.rb
|
42
|
+
- test/fixtures/as_children.yml
|
43
|
+
- test/fixtures/bt_children.yml
|
44
|
+
- test/fixtures/bt_parents.yml
|
45
|
+
- test/fixtures/habtm_children.yml
|
46
|
+
- test/fixtures/habtm_children_habtm_parents.yml
|
47
|
+
- test/fixtures/habtm_joins.yml
|
48
|
+
- test/fixtures/habtm_parents.yml
|
49
|
+
- test/fixtures/hm_children.yml
|
50
|
+
- test/fixtures/hm_joins.yml
|
51
|
+
- test/fixtures/hm_parents.yml
|
52
|
+
- test/fixtures/ho_children.yml
|
53
|
+
- test/fixtures/ho_parents.yml
|
54
|
+
- test/fixtures/inner_children.yml
|
55
|
+
- test/fixtures/nested_children.yml
|
56
|
+
- test/fixtures/nested_parents.yml
|
57
|
+
- test/fixtures/no_join_fixes.yml
|
58
|
+
- test/fixtures/omap_no_join_fixes.yml
|
59
|
+
- test/fixtures/polymorphic_children.yml
|
60
|
+
- lib/joinfix
|
61
|
+
- lib/joinfix.rb
|
62
|
+
- lib/joinfix/fixture.rb
|
63
|
+
- lib/joinfix/fixtures.rb
|
64
|
+
- lib/joinfix/fixtures_class.rb
|
65
|
+
- rails/app
|
66
|
+
- rails/components
|
67
|
+
- rails/config
|
68
|
+
- rails/db
|
69
|
+
- rails/doc
|
70
|
+
- rails/lib
|
71
|
+
- rails/log
|
72
|
+
- rails/public
|
73
|
+
- rails/Rakefile
|
74
|
+
- rails/README
|
75
|
+
- rails/script
|
76
|
+
- rails/test
|
77
|
+
- rails/tmp
|
78
|
+
- rails/vendor
|
79
|
+
- rails/app/controllers
|
80
|
+
- rails/app/helpers
|
81
|
+
- rails/app/models
|
82
|
+
- rails/app/views
|
83
|
+
- rails/app/controllers/application.rb
|
84
|
+
- rails/app/helpers/application_helper.rb
|
85
|
+
- rails/app/models/group.rb
|
86
|
+
- rails/app/models/inner_child.rb
|
87
|
+
- rails/app/models/nested_child.rb
|
88
|
+
- rails/app/models/nested_parent.rb
|
89
|
+
- rails/app/models/user.rb
|
90
|
+
- rails/app/models/user_group.rb
|
91
|
+
- rails/app/views/layouts
|
92
|
+
- rails/config/boot.rb
|
93
|
+
- rails/config/database.yml
|
94
|
+
- rails/config/environment.rb
|
95
|
+
- rails/config/environments
|
96
|
+
- rails/config/routes.rb
|
97
|
+
- rails/config/environments/development.rb
|
98
|
+
- rails/config/environments/production.rb
|
99
|
+
- rails/config/environments/test.rb
|
100
|
+
- rails/db/migrate
|
101
|
+
- rails/db/schema.rb
|
102
|
+
- rails/db/migrate/001_create_nested_parents.rb
|
103
|
+
- rails/db/migrate/002_create_nested_children.rb
|
104
|
+
- rails/db/migrate/003_create_inner_children.rb
|
105
|
+
- rails/db/migrate/004_create_users.rb
|
106
|
+
- rails/db/migrate/005_create_groups.rb
|
107
|
+
- rails/db/migrate/006_create_user_groups.rb
|
108
|
+
- rails/doc/README_FOR_APP
|
109
|
+
- rails/lib/tasks
|
110
|
+
- rails/public/404.html
|
111
|
+
- rails/public/500.html
|
112
|
+
- rails/public/dispatch.cgi
|
113
|
+
- rails/public/dispatch.fcgi
|
114
|
+
- rails/public/dispatch.rb
|
115
|
+
- rails/public/favicon.ico
|
116
|
+
- rails/public/images
|
117
|
+
- rails/public/index.html
|
118
|
+
- rails/public/javascripts
|
119
|
+
- rails/public/robots.txt
|
120
|
+
- rails/public/stylesheets
|
121
|
+
- rails/public/images/rails.png
|
122
|
+
- rails/public/javascripts/application.js
|
123
|
+
- rails/public/javascripts/controls.js
|
124
|
+
- rails/public/javascripts/dragdrop.js
|
125
|
+
- rails/public/javascripts/effects.js
|
126
|
+
- rails/public/javascripts/prototype.js
|
127
|
+
- rails/script/about
|
128
|
+
- rails/script/breakpointer
|
129
|
+
- rails/script/console
|
130
|
+
- rails/script/destroy
|
131
|
+
- rails/script/generate
|
132
|
+
- rails/script/performance
|
133
|
+
- rails/script/plugin
|
134
|
+
- rails/script/process
|
135
|
+
- rails/script/runner
|
136
|
+
- rails/script/server
|
137
|
+
- rails/script/performance/benchmarker
|
138
|
+
- rails/script/performance/profiler
|
139
|
+
- rails/script/process/inspector
|
140
|
+
- rails/script/process/reaper
|
141
|
+
- rails/script/process/spawner
|
142
|
+
- rails/test/fixtures
|
143
|
+
- rails/test/functional
|
144
|
+
- rails/test/integration
|
145
|
+
- rails/test/mocks
|
146
|
+
- rails/test/test_helper.rb
|
147
|
+
- rails/test/unit
|
148
|
+
- rails/test/fixtures/groups.yml
|
149
|
+
- rails/test/fixtures/inner_children.yml
|
150
|
+
- rails/test/fixtures/nested_children.yml
|
151
|
+
- rails/test/fixtures/nested_parents.yml
|
152
|
+
- rails/test/fixtures/users.yml
|
153
|
+
- rails/test/fixtures/user_groups.yml
|
154
|
+
- rails/test/mocks/development
|
155
|
+
- rails/test/mocks/test
|
156
|
+
- rails/test/unit/group_test.rb
|
157
|
+
- rails/test/unit/inner_child_test.rb
|
158
|
+
- rails/test/unit/nested_child_test.rb
|
159
|
+
- rails/test/unit/nested_parent_test.rb
|
160
|
+
- rails/test/unit/user_group_test.rb
|
161
|
+
- rails/test/unit/user_test.rb
|
162
|
+
- rails/vendor/plugins
|
163
|
+
- README
|
164
|
+
- MIT-LICENSE
|
165
|
+
- TEST_README
|
166
|
+
test_files:
|
167
|
+
- test/joinfix_test_suite.rb
|
168
|
+
rdoc_options: []
|
169
|
+
|
170
|
+
extra_rdoc_files:
|
171
|
+
- README
|
172
|
+
- MIT-LICENSE
|
173
|
+
- TEST_README
|
174
|
+
executables: []
|
175
|
+
|
176
|
+
extensions: []
|
177
|
+
|
178
|
+
requirements: []
|
179
|
+
|
180
|
+
dependencies:
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: activerecord
|
183
|
+
version_requirement:
|
184
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 1.15.1
|
189
|
+
version:
|