has_many_polymorphs 2.2 → 2.9

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.
Files changed (156) hide show
  1. data/CHANGELOG +0 -9
  2. data/README +6 -52
  3. data/TODO +1 -0
  4. data/generators/tagging/tagging_generator.rb +1 -14
  5. data/generators/tagging/templates/tag_test.rb +3 -8
  6. data/generators/tagging/templates/tagging.rb +2 -2
  7. data/generators/tagging/templates/tagging_extensions.rb +13 -106
  8. data/generators/tagging/templates/tagging_test.rb +14 -41
  9. data/generators/tagging/templates/taggings.yml +3 -5
  10. data/generators/tagging/templates/tags.yml +2 -2
  11. data/has_many_polymorphs.gemspec +36 -29
  12. data/lib/has_many_polymorphs.rb +5 -6
  13. data/lib/has_many_polymorphs/association.rb +8 -9
  14. data/lib/has_many_polymorphs/autoload.rb +16 -52
  15. data/lib/has_many_polymorphs/base.rb +3 -13
  16. data/lib/has_many_polymorphs/class_methods.rb +102 -181
  17. data/lib/has_many_polymorphs/debugging_tools.rb +0 -2
  18. data/lib/has_many_polymorphs/dependencies.rb +36 -0
  19. data/lib/has_many_polymorphs/rake_task_redefine_task.rb +1 -9
  20. data/lib/has_many_polymorphs/reflection.rb +6 -7
  21. data/lib/has_many_polymorphs/support_methods.rb +4 -10
  22. data/test/fixtures/{fish.yml → aquatic/fish.yml} +0 -0
  23. data/test/fixtures/{little_whale_pupils.yml → aquatic/little_whale_pupils.yml} +0 -0
  24. data/test/fixtures/{whales.yml → aquatic/whales.yml} +0 -0
  25. data/test/models/aquatic/fish.rb +1 -2
  26. data/test/models/aquatic/whale.rb +0 -2
  27. data/test/models/eaters_foodstuff.rb +3 -1
  28. data/test/models/petfood.rb +1 -2
  29. data/test/schema.rb +0 -15
  30. data/test/test_helper.rb +18 -39
  31. data/test/unit/{has_many_polymorphs_test.rb → polymorph_test.rb} +109 -181
  32. metadata +92 -265
  33. data.tar.gz.sig +0 -1
  34. data/Manifest +0 -173
  35. data/Rakefile +0 -28
  36. data/examples/hmph.rb +0 -69
  37. data/lib/has_many_polymorphs/configuration.rb +0 -19
  38. data/test/fixtures/people.yml +0 -7
  39. data/test/generator/tagging_generator_test.rb +0 -42
  40. data/test/integration/app/README +0 -182
  41. data/test/integration/app/Rakefile +0 -19
  42. data/test/integration/app/app/controllers/application.rb +0 -7
  43. data/test/integration/app/app/controllers/bones_controller.rb +0 -5
  44. data/test/integration/app/app/helpers/addresses_helper.rb +0 -2
  45. data/test/integration/app/app/helpers/application_helper.rb +0 -3
  46. data/test/integration/app/app/helpers/bones_helper.rb +0 -2
  47. data/test/integration/app/app/helpers/sellers_helper.rb +0 -28
  48. data/test/integration/app/app/helpers/states_helper.rb +0 -2
  49. data/test/integration/app/app/helpers/users_helper.rb +0 -2
  50. data/test/integration/app/app/models/bone.rb +0 -2
  51. data/test/integration/app/app/models/double_sti_parent.rb +0 -2
  52. data/test/integration/app/app/models/double_sti_parent_relationship.rb +0 -2
  53. data/test/integration/app/app/models/organic_substance.rb +0 -2
  54. data/test/integration/app/app/models/single_sti_parent.rb +0 -4
  55. data/test/integration/app/app/models/single_sti_parent_relationship.rb +0 -4
  56. data/test/integration/app/app/models/stick.rb +0 -2
  57. data/test/integration/app/app/models/stone.rb +0 -2
  58. data/test/integration/app/app/views/addresses/edit.html.erb +0 -12
  59. data/test/integration/app/app/views/addresses/index.html.erb +0 -18
  60. data/test/integration/app/app/views/addresses/new.html.erb +0 -11
  61. data/test/integration/app/app/views/addresses/show.html.erb +0 -3
  62. data/test/integration/app/app/views/bones/index.rhtml +0 -5
  63. data/test/integration/app/app/views/layouts/addresses.html.erb +0 -17
  64. data/test/integration/app/app/views/layouts/sellers.html.erb +0 -17
  65. data/test/integration/app/app/views/layouts/states.html.erb +0 -17
  66. data/test/integration/app/app/views/layouts/users.html.erb +0 -17
  67. data/test/integration/app/app/views/sellers/edit.html.erb +0 -12
  68. data/test/integration/app/app/views/sellers/index.html.erb +0 -20
  69. data/test/integration/app/app/views/sellers/new.html.erb +0 -11
  70. data/test/integration/app/app/views/sellers/show.html.erb +0 -3
  71. data/test/integration/app/app/views/states/edit.html.erb +0 -12
  72. data/test/integration/app/app/views/states/index.html.erb +0 -19
  73. data/test/integration/app/app/views/states/new.html.erb +0 -11
  74. data/test/integration/app/app/views/states/show.html.erb +0 -3
  75. data/test/integration/app/app/views/users/edit.html.erb +0 -12
  76. data/test/integration/app/app/views/users/index.html.erb +0 -22
  77. data/test/integration/app/app/views/users/new.html.erb +0 -11
  78. data/test/integration/app/app/views/users/show.html.erb +0 -3
  79. data/test/integration/app/config/boot.rb +0 -110
  80. data/test/integration/app/config/database.yml +0 -17
  81. data/test/integration/app/config/environment.rb +0 -19
  82. data/test/integration/app/config/environment.rb.canonical +0 -19
  83. data/test/integration/app/config/environments/development.rb +0 -9
  84. data/test/integration/app/config/environments/production.rb +0 -18
  85. data/test/integration/app/config/environments/test.rb +0 -19
  86. data/test/integration/app/config/locomotive.yml +0 -6
  87. data/test/integration/app/config/routes.rb +0 -33
  88. data/test/integration/app/config/ultrasphinx/default.base +0 -56
  89. data/test/integration/app/config/ultrasphinx/development.conf.canonical +0 -155
  90. data/test/integration/app/db/migrate/001_create_sticks.rb +0 -11
  91. data/test/integration/app/db/migrate/002_create_stones.rb +0 -11
  92. data/test/integration/app/db/migrate/003_create_organic_substances.rb +0 -11
  93. data/test/integration/app/db/migrate/004_create_bones.rb +0 -8
  94. data/test/integration/app/db/migrate/005_create_single_sti_parents.rb +0 -11
  95. data/test/integration/app/db/migrate/006_create_double_sti_parents.rb +0 -11
  96. data/test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb +0 -13
  97. data/test/integration/app/db/migrate/008_create_double_sti_parent_relationships.rb +0 -14
  98. data/test/integration/app/db/migrate/009_create_library_model.rb +0 -11
  99. data/test/integration/app/doc/README_FOR_APP +0 -2
  100. data/test/integration/app/generators/commenting_generator_test.rb +0 -83
  101. data/test/integration/app/lib/library_model.rb +0 -2
  102. data/test/integration/app/public/404.html +0 -30
  103. data/test/integration/app/public/500.html +0 -30
  104. data/test/integration/app/public/dispatch.cgi +0 -10
  105. data/test/integration/app/public/dispatch.fcgi +0 -24
  106. data/test/integration/app/public/dispatch.rb +0 -10
  107. data/test/integration/app/public/favicon.ico +0 -0
  108. data/test/integration/app/public/images/rails.png +0 -0
  109. data/test/integration/app/public/index.html +0 -277
  110. data/test/integration/app/public/javascripts/application.js +0 -2
  111. data/test/integration/app/public/javascripts/controls.js +0 -833
  112. data/test/integration/app/public/javascripts/dragdrop.js +0 -942
  113. data/test/integration/app/public/javascripts/effects.js +0 -1088
  114. data/test/integration/app/public/javascripts/prototype.js +0 -2515
  115. data/test/integration/app/public/robots.txt +0 -1
  116. data/test/integration/app/public/stylesheets/scaffold.css +0 -74
  117. data/test/integration/app/script/about +0 -3
  118. data/test/integration/app/script/breakpointer +0 -3
  119. data/test/integration/app/script/console +0 -3
  120. data/test/integration/app/script/destroy +0 -3
  121. data/test/integration/app/script/generate +0 -3
  122. data/test/integration/app/script/performance/benchmarker +0 -3
  123. data/test/integration/app/script/performance/profiler +0 -3
  124. data/test/integration/app/script/plugin +0 -3
  125. data/test/integration/app/script/process/inspector +0 -3
  126. data/test/integration/app/script/process/reaper +0 -3
  127. data/test/integration/app/script/process/spawner +0 -3
  128. data/test/integration/app/script/runner +0 -3
  129. data/test/integration/app/script/server +0 -3
  130. data/test/integration/app/test/fixtures/double_sti_parent_relationships.yml +0 -7
  131. data/test/integration/app/test/fixtures/double_sti_parents.yml +0 -7
  132. data/test/integration/app/test/fixtures/organic_substances.yml +0 -5
  133. data/test/integration/app/test/fixtures/single_sti_parent_relationships.yml +0 -7
  134. data/test/integration/app/test/fixtures/single_sti_parents.yml +0 -7
  135. data/test/integration/app/test/fixtures/sticks.yml +0 -7
  136. data/test/integration/app/test/fixtures/stones.yml +0 -7
  137. data/test/integration/app/test/functional/addresses_controller_test.rb +0 -57
  138. data/test/integration/app/test/functional/bones_controller_test.rb +0 -8
  139. data/test/integration/app/test/functional/sellers_controller_test.rb +0 -57
  140. data/test/integration/app/test/functional/states_controller_test.rb +0 -57
  141. data/test/integration/app/test/functional/users_controller_test.rb +0 -57
  142. data/test/integration/app/test/test_helper.rb +0 -8
  143. data/test/integration/app/test/unit/bone_test.rb +0 -8
  144. data/test/integration/app/test/unit/double_sti_parent_relationship_test.rb +0 -8
  145. data/test/integration/app/test/unit/double_sti_parent_test.rb +0 -8
  146. data/test/integration/app/test/unit/organic_substance_test.rb +0 -8
  147. data/test/integration/app/test/unit/single_sti_parent_relationship_test.rb +0 -8
  148. data/test/integration/app/test/unit/single_sti_parent_test.rb +0 -8
  149. data/test/integration/app/test/unit/stick_test.rb +0 -8
  150. data/test/integration/app/test/unit/stone_test.rb +0 -8
  151. data/test/integration/server_test.rb +0 -43
  152. data/test/models/parentship.rb +0 -4
  153. data/test/models/person.rb +0 -9
  154. data/test/patches/symlinked_plugins_1.2.6.diff +0 -46
  155. data/test/setup.rb +0 -14
  156. metadata.gz.sig +0 -0
metadata CHANGED
@@ -1,279 +1,106 @@
1
1
  --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
2
4
  name: has_many_polymorphs
3
5
  version: !ruby/object:Gem::Version
4
- version: "2.2"
5
- platform: ruby
6
- authors:
7
- - ""
6
+ version: "2.9"
7
+ date: 2007-08-13 00:00:00 -04:00
8
+ summary: An ActiveRecord plugin for self-referential and double-sided polymorphic associations.
9
+ require_paths:
10
+ - lib
11
+ email: ""
12
+ homepage: http://blog.evanweaver.com/pages/code#polymorphs
13
+ rubyforge_project: fauna
14
+ description: An ActiveRecord plugin for self-referential and double-sided polymorphic associations.
8
15
  autorequire:
16
+ default_executable:
9
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:
10
27
  cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDLjCCAhagAwIBAgIBADANBgkqhkiG9w0BAQUFADA9MQ0wCwYDVQQDDARldmFu
14
- MRgwFgYKCZImiZPyLGQBGRYIY2xvdWRidXIxEjAQBgoJkiaJk/IsZAEZFgJzdDAe
15
- Fw0wNzA5MTYxMDMzMDBaFw0wODA5MTUxMDMzMDBaMD0xDTALBgNVBAMMBGV2YW4x
16
- GDAWBgoJkiaJk/IsZAEZFghjbG91ZGJ1cjESMBAGCgmSJomT8ixkARkWAnN0MIIB
17
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5C0Io89nyApnr+PvbNFge9Vs
18
- yRWAlGBUEMahpXp28VrrfXZT0rAW7JBo4PlCE3jl4nE4dzE6gAdItSycjTosrw7A
19
- Ir5+xoyl4Vb35adv56TIQQXvNz+BzlqnkAY5JN0CSBRTQb6mxS3hFyD/h4qgDosj
20
- R2RFVzHqSxCS8xq4Ny8uzOwOi+Xyu4w67fI5JvnPvMxqrlR1eaIQHmxnf76RzC46
21
- QO5QhufjAYGGXd960XzbQsQyTDUYJzrvT7AdOfiyZzKQykKt8dEpDn+QPjFTnGnT
22
- QmgJBX5WJN0lHF2l1sbv3gh4Kn1tZu+kTUqeXY6ShAoDTyvZRiFqQdwh8w2lTQID
23
- AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU+WqJz3xQ
24
- XSea1hRvvHWcIMgeeC4wDQYJKoZIhvcNAQEFBQADggEBAGLZ75jfOEW8Nsl26CTt
25
- JFrWxQTcQT/UljeefVE3xYr7lc9oQjbqO3FOyued3qW7TaNEtZfSHoYeUSMYbpw1
26
- XAwocIPuSRFDGM4B+hgQGVDx8PMGiJKom4qLXjO40UZsR7QyN/u869Vj45LURm6h
27
- MBcPeqCASI+WNprj9+uZa2kmHiitrFqqfMBNlm5IFbn9XeYSta9AHVvs5QQqV2m5
28
- hIPfLqCyxsn/YgOGvo6iwyQTWyTswamaAC3HRWZxIS1sfn/Ssqa7E7oQMkv5FAXr
29
- x5rKePfXINf8XTJczkl9OBEYdE9aNdJsJpXD0asLgGVwBICS5Bjohp6mizJcDC1+
30
- yZ0=
31
- -----END CERTIFICATE-----
28
+ post_install_message:
29
+ authors:
30
+ - ""
31
+ files:
32
+ - test/unit/polymorph_test.rb
33
+ - test/test_helper.rb
34
+ - test/schema.rb
35
+ - test/modules/other_extension_module.rb
36
+ - test/modules/extension_module.rb
37
+ - test/models/wild_boar.rb
38
+ - test/models/tabby.rb
39
+ - test/models/petfood.rb
40
+ - test/models/kitten.rb
41
+ - test/models/frog.rb
42
+ - test/models/eaters_foodstuff.rb
43
+ - test/models/dog.rb
44
+ - test/models/cat.rb
45
+ - test/models/canine.rb
46
+ - test/models/beautiful_fight_relationship.rb
47
+ - test/models/aquatic/whale.rb
48
+ - test/models/aquatic/pupils_whale.rb
49
+ - test/models/aquatic/fish.rb
50
+ - test/fixtures/wild_boars.yml
51
+ - test/fixtures/petfoods.yml
52
+ - test/fixtures/keep_your_enemies_close.yml
53
+ - test/fixtures/frogs.yml
54
+ - test/fixtures/eaters_foodstuffs.yml
55
+ - test/fixtures/cats.yml
56
+ - test/fixtures/bow_wows.yml
57
+ - test/fixtures/aquatic/whales.yml
58
+ - test/fixtures/aquatic/little_whale_pupils.yml
59
+ - test/fixtures/aquatic/fish.yml
60
+ - lib/has_many_polymorphs.rb
61
+ - lib/has_many_polymorphs/support_methods.rb
62
+ - lib/has_many_polymorphs/reflection.rb
63
+ - lib/has_many_polymorphs/rake_task_redefine_task.rb
64
+ - lib/has_many_polymorphs/dependencies.rb
65
+ - lib/has_many_polymorphs/debugging_tools.rb
66
+ - lib/has_many_polymorphs/class_methods.rb
67
+ - lib/has_many_polymorphs/base.rb
68
+ - lib/has_many_polymorphs/autoload.rb
69
+ - lib/has_many_polymorphs/association.rb
70
+ - init.rb
71
+ - generators/tagging/templates/tags.yml
72
+ - generators/tagging/templates/taggings.yml
73
+ - generators/tagging/templates/tagging_test.rb
74
+ - generators/tagging/templates/tagging_extensions.rb
75
+ - generators/tagging/templates/tagging.rb
76
+ - generators/tagging/templates/tag_test.rb
77
+ - generators/tagging/templates/tag.rb
78
+ - generators/tagging/templates/migration.rb
79
+ - generators/tagging/tagging_generator.rb
80
+ - TODO
81
+ - README
82
+ - LICENSE
83
+ - CHANGELOG
84
+ - has_many_polymorphs.gemspec
85
+ test_files:
86
+ - test/test_helper.rb
87
+ rdoc_options: []
88
+
89
+ extra_rdoc_files: []
90
+
91
+ executables: []
92
+
93
+ extensions: []
94
+
95
+ requirements: []
32
96
 
33
- date: 2009-11-18 00:00:00 -08:00
34
- default_executable:
35
97
  dependencies:
36
98
  - !ruby/object:Gem::Dependency
37
99
  name: activerecord
38
- type: :runtime
39
100
  version_requirement:
40
- version_requirements: !ruby/object:Gem::Requirement
101
+ version_requirements: !ruby/object:Gem::Version::Requirement
41
102
  requirements:
42
- - - ">="
103
+ - - ">"
43
104
  - !ruby/object:Gem::Version
44
- version: "0"
105
+ version: 0.0.0
45
106
  version:
46
- description: An ActiveRecord plugin for self-referential and double-sided polymorphic associations.
47
- email: ""
48
- executables: []
49
-
50
- extensions: []
51
-
52
- extra_rdoc_files:
53
- - CHANGELOG
54
- - generators/tagging/templates/migration.rb
55
- - generators/tagging/templates/tag.rb
56
- - generators/tagging/templates/tagging.rb
57
- - generators/tagging/templates/tagging_extensions.rb
58
- - lib/has_many_polymorphs/association.rb
59
- - lib/has_many_polymorphs/autoload.rb
60
- - lib/has_many_polymorphs/class_methods.rb
61
- - lib/has_many_polymorphs/configuration.rb
62
- - lib/has_many_polymorphs/reflection.rb
63
- - LICENSE
64
- - README
65
- - test/integration/app/doc/README_FOR_APP
66
- - test/integration/app/README
67
- - TODO
68
- files:
69
- - CHANGELOG
70
- - examples/hmph.rb
71
- - generators/tagging/tagging_generator.rb
72
- - generators/tagging/templates/migration.rb
73
- - generators/tagging/templates/tag.rb
74
- - generators/tagging/templates/tag_test.rb
75
- - generators/tagging/templates/tagging.rb
76
- - generators/tagging/templates/tagging_extensions.rb
77
- - generators/tagging/templates/tagging_test.rb
78
- - generators/tagging/templates/taggings.yml
79
- - generators/tagging/templates/tags.yml
80
- - init.rb
81
- - lib/has_many_polymorphs/association.rb
82
- - lib/has_many_polymorphs/autoload.rb
83
- - lib/has_many_polymorphs/base.rb
84
- - lib/has_many_polymorphs/class_methods.rb
85
- - lib/has_many_polymorphs/configuration.rb
86
- - lib/has_many_polymorphs/debugging_tools.rb
87
- - lib/has_many_polymorphs/rake_task_redefine_task.rb
88
- - lib/has_many_polymorphs/reflection.rb
89
- - lib/has_many_polymorphs/support_methods.rb
90
- - lib/has_many_polymorphs.rb
91
- - LICENSE
92
- - Manifest
93
- - Rakefile
94
- - README
95
- - test/fixtures/bow_wows.yml
96
- - test/fixtures/cats.yml
97
- - test/fixtures/eaters_foodstuffs.yml
98
- - test/fixtures/fish.yml
99
- - test/fixtures/frogs.yml
100
- - test/fixtures/keep_your_enemies_close.yml
101
- - test/fixtures/little_whale_pupils.yml
102
- - test/fixtures/people.yml
103
- - test/fixtures/petfoods.yml
104
- - test/fixtures/whales.yml
105
- - test/fixtures/wild_boars.yml
106
- - test/generator/tagging_generator_test.rb
107
- - test/integration/app/app/controllers/application.rb
108
- - test/integration/app/app/controllers/bones_controller.rb
109
- - test/integration/app/app/helpers/addresses_helper.rb
110
- - test/integration/app/app/helpers/application_helper.rb
111
- - test/integration/app/app/helpers/bones_helper.rb
112
- - test/integration/app/app/helpers/sellers_helper.rb
113
- - test/integration/app/app/helpers/states_helper.rb
114
- - test/integration/app/app/helpers/users_helper.rb
115
- - test/integration/app/app/models/bone.rb
116
- - test/integration/app/app/models/double_sti_parent.rb
117
- - test/integration/app/app/models/double_sti_parent_relationship.rb
118
- - test/integration/app/app/models/organic_substance.rb
119
- - test/integration/app/app/models/single_sti_parent.rb
120
- - test/integration/app/app/models/single_sti_parent_relationship.rb
121
- - test/integration/app/app/models/stick.rb
122
- - test/integration/app/app/models/stone.rb
123
- - test/integration/app/app/views/addresses/edit.html.erb
124
- - test/integration/app/app/views/addresses/index.html.erb
125
- - test/integration/app/app/views/addresses/new.html.erb
126
- - test/integration/app/app/views/addresses/show.html.erb
127
- - test/integration/app/app/views/bones/index.rhtml
128
- - test/integration/app/app/views/layouts/addresses.html.erb
129
- - test/integration/app/app/views/layouts/sellers.html.erb
130
- - test/integration/app/app/views/layouts/states.html.erb
131
- - test/integration/app/app/views/layouts/users.html.erb
132
- - test/integration/app/app/views/sellers/edit.html.erb
133
- - test/integration/app/app/views/sellers/index.html.erb
134
- - test/integration/app/app/views/sellers/new.html.erb
135
- - test/integration/app/app/views/sellers/show.html.erb
136
- - test/integration/app/app/views/states/edit.html.erb
137
- - test/integration/app/app/views/states/index.html.erb
138
- - test/integration/app/app/views/states/new.html.erb
139
- - test/integration/app/app/views/states/show.html.erb
140
- - test/integration/app/app/views/users/edit.html.erb
141
- - test/integration/app/app/views/users/index.html.erb
142
- - test/integration/app/app/views/users/new.html.erb
143
- - test/integration/app/app/views/users/show.html.erb
144
- - test/integration/app/config/boot.rb
145
- - test/integration/app/config/database.yml
146
- - test/integration/app/config/environment.rb
147
- - test/integration/app/config/environment.rb.canonical
148
- - test/integration/app/config/environments/development.rb
149
- - test/integration/app/config/environments/production.rb
150
- - test/integration/app/config/environments/test.rb
151
- - test/integration/app/config/locomotive.yml
152
- - test/integration/app/config/routes.rb
153
- - test/integration/app/config/ultrasphinx/default.base
154
- - test/integration/app/config/ultrasphinx/development.conf.canonical
155
- - test/integration/app/db/migrate/001_create_sticks.rb
156
- - test/integration/app/db/migrate/002_create_stones.rb
157
- - test/integration/app/db/migrate/003_create_organic_substances.rb
158
- - test/integration/app/db/migrate/004_create_bones.rb
159
- - test/integration/app/db/migrate/005_create_single_sti_parents.rb
160
- - test/integration/app/db/migrate/006_create_double_sti_parents.rb
161
- - test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
162
- - test/integration/app/db/migrate/008_create_double_sti_parent_relationships.rb
163
- - test/integration/app/db/migrate/009_create_library_model.rb
164
- - test/integration/app/doc/README_FOR_APP
165
- - test/integration/app/generators/commenting_generator_test.rb
166
- - test/integration/app/lib/library_model.rb
167
- - test/integration/app/public/404.html
168
- - test/integration/app/public/500.html
169
- - test/integration/app/public/dispatch.cgi
170
- - test/integration/app/public/dispatch.fcgi
171
- - test/integration/app/public/dispatch.rb
172
- - test/integration/app/public/favicon.ico
173
- - test/integration/app/public/images/rails.png
174
- - test/integration/app/public/index.html
175
- - test/integration/app/public/javascripts/application.js
176
- - test/integration/app/public/javascripts/controls.js
177
- - test/integration/app/public/javascripts/dragdrop.js
178
- - test/integration/app/public/javascripts/effects.js
179
- - test/integration/app/public/javascripts/prototype.js
180
- - test/integration/app/public/robots.txt
181
- - test/integration/app/public/stylesheets/scaffold.css
182
- - test/integration/app/Rakefile
183
- - test/integration/app/README
184
- - test/integration/app/script/about
185
- - test/integration/app/script/breakpointer
186
- - test/integration/app/script/console
187
- - test/integration/app/script/destroy
188
- - test/integration/app/script/generate
189
- - test/integration/app/script/performance/benchmarker
190
- - test/integration/app/script/performance/profiler
191
- - test/integration/app/script/plugin
192
- - test/integration/app/script/process/inspector
193
- - test/integration/app/script/process/reaper
194
- - test/integration/app/script/process/spawner
195
- - test/integration/app/script/runner
196
- - test/integration/app/script/server
197
- - test/integration/app/test/fixtures/double_sti_parent_relationships.yml
198
- - test/integration/app/test/fixtures/double_sti_parents.yml
199
- - test/integration/app/test/fixtures/organic_substances.yml
200
- - test/integration/app/test/fixtures/single_sti_parent_relationships.yml
201
- - test/integration/app/test/fixtures/single_sti_parents.yml
202
- - test/integration/app/test/fixtures/sticks.yml
203
- - test/integration/app/test/fixtures/stones.yml
204
- - test/integration/app/test/functional/addresses_controller_test.rb
205
- - test/integration/app/test/functional/bones_controller_test.rb
206
- - test/integration/app/test/functional/sellers_controller_test.rb
207
- - test/integration/app/test/functional/states_controller_test.rb
208
- - test/integration/app/test/functional/users_controller_test.rb
209
- - test/integration/app/test/test_helper.rb
210
- - test/integration/app/test/unit/bone_test.rb
211
- - test/integration/app/test/unit/double_sti_parent_relationship_test.rb
212
- - test/integration/app/test/unit/double_sti_parent_test.rb
213
- - test/integration/app/test/unit/organic_substance_test.rb
214
- - test/integration/app/test/unit/single_sti_parent_relationship_test.rb
215
- - test/integration/app/test/unit/single_sti_parent_test.rb
216
- - test/integration/app/test/unit/stick_test.rb
217
- - test/integration/app/test/unit/stone_test.rb
218
- - test/integration/server_test.rb
219
- - test/models/aquatic/fish.rb
220
- - test/models/aquatic/pupils_whale.rb
221
- - test/models/aquatic/whale.rb
222
- - test/models/beautiful_fight_relationship.rb
223
- - test/models/canine.rb
224
- - test/models/cat.rb
225
- - test/models/dog.rb
226
- - test/models/eaters_foodstuff.rb
227
- - test/models/frog.rb
228
- - test/models/kitten.rb
229
- - test/models/parentship.rb
230
- - test/models/person.rb
231
- - test/models/petfood.rb
232
- - test/models/tabby.rb
233
- - test/models/wild_boar.rb
234
- - test/modules/extension_module.rb
235
- - test/modules/other_extension_module.rb
236
- - test/patches/symlinked_plugins_1.2.6.diff
237
- - test/schema.rb
238
- - test/setup.rb
239
- - test/test_helper.rb
240
- - test/unit/has_many_polymorphs_test.rb
241
- - TODO
242
- - has_many_polymorphs.gemspec
243
- has_rdoc: true
244
- homepage: http://blog.evanweaver.com/files/doc/fauna/has_many_polymorphs/
245
- licenses: []
246
-
247
- post_install_message:
248
- rdoc_options:
249
- - --line-numbers
250
- - --inline-source
251
- - --title
252
- - Has_many_polymorphs
253
- - --main
254
- - README
255
- require_paths:
256
- - lib
257
- required_ruby_version: !ruby/object:Gem::Requirement
258
- requirements:
259
- - - ">="
260
- - !ruby/object:Gem::Version
261
- version: "0"
262
- version:
263
- required_rubygems_version: !ruby/object:Gem::Requirement
264
- requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- version: "1.2"
268
- version:
269
- requirements: []
270
-
271
- rubyforge_project: fauna
272
- rubygems_version: 1.3.5
273
- signing_key:
274
- specification_version: 3
275
- summary: An ActiveRecord plugin for self-referential and double-sided polymorphic associations.
276
- test_files:
277
- - test/generator/tagging_generator_test.rb
278
- - test/integration/server_test.rb
279
- - test/unit/has_many_polymorphs_test.rb
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- �3X�
data/Manifest DELETED
@@ -1,173 +0,0 @@
1
- CHANGELOG
2
- examples/hmph.rb
3
- generators/tagging/tagging_generator.rb
4
- generators/tagging/templates/migration.rb
5
- generators/tagging/templates/tag.rb
6
- generators/tagging/templates/tag_test.rb
7
- generators/tagging/templates/tagging.rb
8
- generators/tagging/templates/tagging_extensions.rb
9
- generators/tagging/templates/tagging_test.rb
10
- generators/tagging/templates/taggings.yml
11
- generators/tagging/templates/tags.yml
12
- init.rb
13
- lib/has_many_polymorphs/association.rb
14
- lib/has_many_polymorphs/autoload.rb
15
- lib/has_many_polymorphs/base.rb
16
- lib/has_many_polymorphs/class_methods.rb
17
- lib/has_many_polymorphs/configuration.rb
18
- lib/has_many_polymorphs/debugging_tools.rb
19
- lib/has_many_polymorphs/rake_task_redefine_task.rb
20
- lib/has_many_polymorphs/reflection.rb
21
- lib/has_many_polymorphs/support_methods.rb
22
- lib/has_many_polymorphs.rb
23
- LICENSE
24
- Manifest
25
- Rakefile
26
- README
27
- test/fixtures/bow_wows.yml
28
- test/fixtures/cats.yml
29
- test/fixtures/eaters_foodstuffs.yml
30
- test/fixtures/fish.yml
31
- test/fixtures/frogs.yml
32
- test/fixtures/keep_your_enemies_close.yml
33
- test/fixtures/little_whale_pupils.yml
34
- test/fixtures/people.yml
35
- test/fixtures/petfoods.yml
36
- test/fixtures/whales.yml
37
- test/fixtures/wild_boars.yml
38
- test/generator/tagging_generator_test.rb
39
- test/integration/app/app/controllers/application.rb
40
- test/integration/app/app/controllers/bones_controller.rb
41
- test/integration/app/app/helpers/addresses_helper.rb
42
- test/integration/app/app/helpers/application_helper.rb
43
- test/integration/app/app/helpers/bones_helper.rb
44
- test/integration/app/app/helpers/sellers_helper.rb
45
- test/integration/app/app/helpers/states_helper.rb
46
- test/integration/app/app/helpers/users_helper.rb
47
- test/integration/app/app/models/bone.rb
48
- test/integration/app/app/models/double_sti_parent.rb
49
- test/integration/app/app/models/double_sti_parent_relationship.rb
50
- test/integration/app/app/models/organic_substance.rb
51
- test/integration/app/app/models/single_sti_parent.rb
52
- test/integration/app/app/models/single_sti_parent_relationship.rb
53
- test/integration/app/app/models/stick.rb
54
- test/integration/app/app/models/stone.rb
55
- test/integration/app/app/views/addresses/edit.html.erb
56
- test/integration/app/app/views/addresses/index.html.erb
57
- test/integration/app/app/views/addresses/new.html.erb
58
- test/integration/app/app/views/addresses/show.html.erb
59
- test/integration/app/app/views/bones/index.rhtml
60
- test/integration/app/app/views/layouts/addresses.html.erb
61
- test/integration/app/app/views/layouts/sellers.html.erb
62
- test/integration/app/app/views/layouts/states.html.erb
63
- test/integration/app/app/views/layouts/users.html.erb
64
- test/integration/app/app/views/sellers/edit.html.erb
65
- test/integration/app/app/views/sellers/index.html.erb
66
- test/integration/app/app/views/sellers/new.html.erb
67
- test/integration/app/app/views/sellers/show.html.erb
68
- test/integration/app/app/views/states/edit.html.erb
69
- test/integration/app/app/views/states/index.html.erb
70
- test/integration/app/app/views/states/new.html.erb
71
- test/integration/app/app/views/states/show.html.erb
72
- test/integration/app/app/views/users/edit.html.erb
73
- test/integration/app/app/views/users/index.html.erb
74
- test/integration/app/app/views/users/new.html.erb
75
- test/integration/app/app/views/users/show.html.erb
76
- test/integration/app/config/boot.rb
77
- test/integration/app/config/database.yml
78
- test/integration/app/config/environment.rb
79
- test/integration/app/config/environment.rb.canonical
80
- test/integration/app/config/environments/development.rb
81
- test/integration/app/config/environments/production.rb
82
- test/integration/app/config/environments/test.rb
83
- test/integration/app/config/locomotive.yml
84
- test/integration/app/config/routes.rb
85
- test/integration/app/config/ultrasphinx/default.base
86
- test/integration/app/config/ultrasphinx/development.conf.canonical
87
- test/integration/app/db/migrate/001_create_sticks.rb
88
- test/integration/app/db/migrate/002_create_stones.rb
89
- test/integration/app/db/migrate/003_create_organic_substances.rb
90
- test/integration/app/db/migrate/004_create_bones.rb
91
- test/integration/app/db/migrate/005_create_single_sti_parents.rb
92
- test/integration/app/db/migrate/006_create_double_sti_parents.rb
93
- test/integration/app/db/migrate/007_create_single_sti_parent_relationships.rb
94
- test/integration/app/db/migrate/008_create_double_sti_parent_relationships.rb
95
- test/integration/app/db/migrate/009_create_library_model.rb
96
- test/integration/app/doc/README_FOR_APP
97
- test/integration/app/generators/commenting_generator_test.rb
98
- test/integration/app/lib/library_model.rb
99
- test/integration/app/public/404.html
100
- test/integration/app/public/500.html
101
- test/integration/app/public/dispatch.cgi
102
- test/integration/app/public/dispatch.fcgi
103
- test/integration/app/public/dispatch.rb
104
- test/integration/app/public/favicon.ico
105
- test/integration/app/public/images/rails.png
106
- test/integration/app/public/index.html
107
- test/integration/app/public/javascripts/application.js
108
- test/integration/app/public/javascripts/controls.js
109
- test/integration/app/public/javascripts/dragdrop.js
110
- test/integration/app/public/javascripts/effects.js
111
- test/integration/app/public/javascripts/prototype.js
112
- test/integration/app/public/robots.txt
113
- test/integration/app/public/stylesheets/scaffold.css
114
- test/integration/app/Rakefile
115
- test/integration/app/README
116
- test/integration/app/script/about
117
- test/integration/app/script/breakpointer
118
- test/integration/app/script/console
119
- test/integration/app/script/destroy
120
- test/integration/app/script/generate
121
- test/integration/app/script/performance/benchmarker
122
- test/integration/app/script/performance/profiler
123
- test/integration/app/script/plugin
124
- test/integration/app/script/process/inspector
125
- test/integration/app/script/process/reaper
126
- test/integration/app/script/process/spawner
127
- test/integration/app/script/runner
128
- test/integration/app/script/server
129
- test/integration/app/test/fixtures/double_sti_parent_relationships.yml
130
- test/integration/app/test/fixtures/double_sti_parents.yml
131
- test/integration/app/test/fixtures/organic_substances.yml
132
- test/integration/app/test/fixtures/single_sti_parent_relationships.yml
133
- test/integration/app/test/fixtures/single_sti_parents.yml
134
- test/integration/app/test/fixtures/sticks.yml
135
- test/integration/app/test/fixtures/stones.yml
136
- test/integration/app/test/functional/addresses_controller_test.rb
137
- test/integration/app/test/functional/bones_controller_test.rb
138
- test/integration/app/test/functional/sellers_controller_test.rb
139
- test/integration/app/test/functional/states_controller_test.rb
140
- test/integration/app/test/functional/users_controller_test.rb
141
- test/integration/app/test/test_helper.rb
142
- test/integration/app/test/unit/bone_test.rb
143
- test/integration/app/test/unit/double_sti_parent_relationship_test.rb
144
- test/integration/app/test/unit/double_sti_parent_test.rb
145
- test/integration/app/test/unit/organic_substance_test.rb
146
- test/integration/app/test/unit/single_sti_parent_relationship_test.rb
147
- test/integration/app/test/unit/single_sti_parent_test.rb
148
- test/integration/app/test/unit/stick_test.rb
149
- test/integration/app/test/unit/stone_test.rb
150
- test/integration/server_test.rb
151
- test/models/aquatic/fish.rb
152
- test/models/aquatic/pupils_whale.rb
153
- test/models/aquatic/whale.rb
154
- test/models/beautiful_fight_relationship.rb
155
- test/models/canine.rb
156
- test/models/cat.rb
157
- test/models/dog.rb
158
- test/models/eaters_foodstuff.rb
159
- test/models/frog.rb
160
- test/models/kitten.rb
161
- test/models/parentship.rb
162
- test/models/person.rb
163
- test/models/petfood.rb
164
- test/models/tabby.rb
165
- test/models/wild_boar.rb
166
- test/modules/extension_module.rb
167
- test/modules/other_extension_module.rb
168
- test/patches/symlinked_plugins_1.2.6.diff
169
- test/schema.rb
170
- test/setup.rb
171
- test/test_helper.rb
172
- test/unit/has_many_polymorphs_test.rb
173
- TODO