dagnabit 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.autotest +5 -0
  2. data/.document +5 -0
  3. data/.gitignore +6 -0
  4. data/LICENSE +20 -0
  5. data/README.rdoc +186 -0
  6. data/Rakefile +69 -0
  7. data/VERSION.yml +5 -0
  8. data/bin/dagnabit-test +53 -0
  9. data/dagnabit.gemspec +124 -0
  10. data/init.rb +1 -0
  11. data/lib/dagnabit.rb +17 -0
  12. data/lib/dagnabit/activation.rb +60 -0
  13. data/lib/dagnabit/link/associations.rb +18 -0
  14. data/lib/dagnabit/link/class_methods.rb +43 -0
  15. data/lib/dagnabit/link/configuration.rb +40 -0
  16. data/lib/dagnabit/link/cycle_prevention.rb +31 -0
  17. data/lib/dagnabit/link/named_scopes.rb +65 -0
  18. data/lib/dagnabit/link/transitive_closure_link_model.rb +86 -0
  19. data/lib/dagnabit/link/transitive_closure_recalculation.rb +17 -0
  20. data/lib/dagnabit/link/transitive_closure_recalculation/on_create.rb +104 -0
  21. data/lib/dagnabit/link/transitive_closure_recalculation/on_destroy.rb +125 -0
  22. data/lib/dagnabit/link/transitive_closure_recalculation/on_update.rb +13 -0
  23. data/lib/dagnabit/link/transitive_closure_recalculation/utilities.rb +56 -0
  24. data/lib/dagnabit/link/validations.rb +26 -0
  25. data/lib/dagnabit/node/associations.rb +84 -0
  26. data/lib/dagnabit/node/class_methods.rb +74 -0
  27. data/lib/dagnabit/node/configuration.rb +26 -0
  28. data/lib/dagnabit/node/neighbors.rb +73 -0
  29. data/test/connections/native_postgresql/connection.rb +17 -0
  30. data/test/connections/native_sqlite3/connection.rb +24 -0
  31. data/test/dagnabit/link/test_associations.rb +61 -0
  32. data/test/dagnabit/link/test_class_methods.rb +102 -0
  33. data/test/dagnabit/link/test_configuration.rb +38 -0
  34. data/test/dagnabit/link/test_cycle_prevention.rb +64 -0
  35. data/test/dagnabit/link/test_named_scopes.rb +32 -0
  36. data/test/dagnabit/link/test_transitive_closure_link_model.rb +69 -0
  37. data/test/dagnabit/link/test_transitive_closure_recalculation.rb +139 -0
  38. data/test/dagnabit/link/test_validations.rb +39 -0
  39. data/test/dagnabit/node/test_associations.rb +147 -0
  40. data/test/dagnabit/node/test_class_methods.rb +49 -0
  41. data/test/dagnabit/node/test_configuration.rb +29 -0
  42. data/test/dagnabit/node/test_neighbors.rb +91 -0
  43. data/test/helper.rb +27 -0
  44. data/test/models/beta_node.rb +3 -0
  45. data/test/models/custom_data_link.rb +4 -0
  46. data/test/models/customized_link.rb +7 -0
  47. data/test/models/customized_link_node.rb +4 -0
  48. data/test/models/link.rb +4 -0
  49. data/test/models/node.rb +3 -0
  50. data/test/schema/schema.rb +51 -0
  51. metadata +165 -0
metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dagnabit
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.2.1
5
+ platform: ruby
6
+ authors:
7
+ - David Yip
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-12-07 00:00:00 -06:00
13
+ default_executable: dagnabit-test
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activerecord
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.1.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: activesupport
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.3.2
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: mocha
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.9.8
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: shoulda
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "="
52
+ - !ruby/object:Gem::Version
53
+ version: 2.10.2
54
+ version:
55
+ description:
56
+ email: yipdw@northwestern.edu
57
+ executables:
58
+ - dagnabit-test
59
+ extensions: []
60
+
61
+ extra_rdoc_files:
62
+ - LICENSE
63
+ - README.rdoc
64
+ files:
65
+ - .autotest
66
+ - .document
67
+ - .gitignore
68
+ - LICENSE
69
+ - README.rdoc
70
+ - Rakefile
71
+ - VERSION.yml
72
+ - bin/dagnabit-test
73
+ - dagnabit.gemspec
74
+ - init.rb
75
+ - lib/dagnabit.rb
76
+ - lib/dagnabit/activation.rb
77
+ - lib/dagnabit/link/associations.rb
78
+ - lib/dagnabit/link/class_methods.rb
79
+ - lib/dagnabit/link/configuration.rb
80
+ - lib/dagnabit/link/cycle_prevention.rb
81
+ - lib/dagnabit/link/named_scopes.rb
82
+ - lib/dagnabit/link/transitive_closure_link_model.rb
83
+ - lib/dagnabit/link/transitive_closure_recalculation.rb
84
+ - lib/dagnabit/link/transitive_closure_recalculation/on_create.rb
85
+ - lib/dagnabit/link/transitive_closure_recalculation/on_destroy.rb
86
+ - lib/dagnabit/link/transitive_closure_recalculation/on_update.rb
87
+ - lib/dagnabit/link/transitive_closure_recalculation/utilities.rb
88
+ - lib/dagnabit/link/validations.rb
89
+ - lib/dagnabit/node/associations.rb
90
+ - lib/dagnabit/node/class_methods.rb
91
+ - lib/dagnabit/node/configuration.rb
92
+ - lib/dagnabit/node/neighbors.rb
93
+ - test/connections/native_postgresql/connection.rb
94
+ - test/connections/native_sqlite3/connection.rb
95
+ - test/dagnabit/link/test_associations.rb
96
+ - test/dagnabit/link/test_class_methods.rb
97
+ - test/dagnabit/link/test_configuration.rb
98
+ - test/dagnabit/link/test_cycle_prevention.rb
99
+ - test/dagnabit/link/test_named_scopes.rb
100
+ - test/dagnabit/link/test_transitive_closure_link_model.rb
101
+ - test/dagnabit/link/test_transitive_closure_recalculation.rb
102
+ - test/dagnabit/link/test_validations.rb
103
+ - test/dagnabit/node/test_associations.rb
104
+ - test/dagnabit/node/test_class_methods.rb
105
+ - test/dagnabit/node/test_configuration.rb
106
+ - test/dagnabit/node/test_neighbors.rb
107
+ - test/helper.rb
108
+ - test/models/beta_node.rb
109
+ - test/models/custom_data_link.rb
110
+ - test/models/customized_link.rb
111
+ - test/models/customized_link_node.rb
112
+ - test/models/link.rb
113
+ - test/models/node.rb
114
+ - test/schema/schema.rb
115
+ has_rdoc: true
116
+ homepage: http://gitorious.org/dagnabit/dagnabit
117
+ licenses: []
118
+
119
+ post_install_message:
120
+ rdoc_options:
121
+ - --charset=UTF-8
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: "0"
129
+ version:
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: "0"
135
+ version:
136
+ requirements: []
137
+
138
+ rubyforge_project:
139
+ rubygems_version: 1.3.5
140
+ signing_key:
141
+ specification_version: 3
142
+ summary: Directed acyclic graph plugin for ActiveRecord
143
+ test_files:
144
+ - test/connections/native_postgresql/connection.rb
145
+ - test/connections/native_sqlite3/connection.rb
146
+ - test/dagnabit/link/test_associations.rb
147
+ - test/dagnabit/link/test_class_methods.rb
148
+ - test/dagnabit/link/test_configuration.rb
149
+ - test/dagnabit/link/test_cycle_prevention.rb
150
+ - test/dagnabit/link/test_named_scopes.rb
151
+ - test/dagnabit/link/test_transitive_closure_link_model.rb
152
+ - test/dagnabit/link/test_transitive_closure_recalculation.rb
153
+ - test/dagnabit/link/test_validations.rb
154
+ - test/dagnabit/node/test_associations.rb
155
+ - test/dagnabit/node/test_class_methods.rb
156
+ - test/dagnabit/node/test_configuration.rb
157
+ - test/dagnabit/node/test_neighbors.rb
158
+ - test/helper.rb
159
+ - test/models/beta_node.rb
160
+ - test/models/custom_data_link.rb
161
+ - test/models/customized_link.rb
162
+ - test/models/customized_link_node.rb
163
+ - test/models/link.rb
164
+ - test/models/node.rb
165
+ - test/schema/schema.rb