graph_mediator 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +4 -0
- data/.gitignore +26 -0
- data/LICENSE +20 -0
- data/README.rdoc +136 -0
- data/Rakefile +32 -0
- data/graph_mediator.gemspec +31 -0
- data/lib/graph_mediator.rb +509 -0
- data/lib/graph_mediator/locking.rb +50 -0
- data/lib/graph_mediator/mediator.rb +260 -0
- data/lib/graph_mediator/version.rb +3 -0
- data/spec/database.rb +12 -0
- data/spec/examples/course_example_spec.rb +91 -0
- data/spec/examples/dingo_pen_example_spec.rb +288 -0
- data/spec/graph_mediator_spec.rb +500 -0
- data/spec/integration/changes_spec.rb +159 -0
- data/spec/integration/locking_tests_spec.rb +214 -0
- data/spec/integration/nesting_spec.rb +113 -0
- data/spec/integration/threads_spec.rb +59 -0
- data/spec/integration/validation_spec.rb +19 -0
- data/spec/investigation/alias_method_chain_spec.rb +170 -0
- data/spec/investigation/insert_subclass_spec.rb +122 -0
- data/spec/investigation/insert_superclass_spec.rb +131 -0
- data/spec/investigation/module_super_spec.rb +88 -0
- data/spec/investigation/self_decorating.rb +55 -0
- data/spec/mediator_spec.rb +201 -0
- data/spec/reservations/lodging.rb +4 -0
- data/spec/reservations/party.rb +4 -0
- data/spec/reservations/party_lodging.rb +4 -0
- data/spec/reservations/reservation.rb +18 -0
- data/spec/reservations/schema.rb +33 -0
- data/spec/spec.opts +3 -0
- data/spec/spec_helper.rb +65 -0
- metadata +173 -0
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: graph_mediator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Josh Partlow
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-11-29 00:00:00 -08:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 2
|
30
|
+
- 9
|
31
|
+
version: 1.2.9
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: activerecord
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 3
|
44
|
+
- 5
|
45
|
+
version: 2.3.5
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: activesupport
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 2
|
57
|
+
- 3
|
58
|
+
- 5
|
59
|
+
version: 2.3.5
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: aasm
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 2
|
71
|
+
- 2
|
72
|
+
- 0
|
73
|
+
version: 2.2.0
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
76
|
+
description: Mediates state changes between a set of interdependent ActiveRecord objects.
|
77
|
+
email: jpartlow@glatisant.org
|
78
|
+
executables: []
|
79
|
+
|
80
|
+
extensions: []
|
81
|
+
|
82
|
+
extra_rdoc_files:
|
83
|
+
- LICENSE
|
84
|
+
- README.rdoc
|
85
|
+
files:
|
86
|
+
- .document
|
87
|
+
- .gitignore
|
88
|
+
- LICENSE
|
89
|
+
- README.rdoc
|
90
|
+
- Rakefile
|
91
|
+
- graph_mediator.gemspec
|
92
|
+
- lib/graph_mediator.rb
|
93
|
+
- lib/graph_mediator/locking.rb
|
94
|
+
- lib/graph_mediator/mediator.rb
|
95
|
+
- lib/graph_mediator/version.rb
|
96
|
+
- spec/database.rb
|
97
|
+
- spec/examples/course_example_spec.rb
|
98
|
+
- spec/examples/dingo_pen_example_spec.rb
|
99
|
+
- spec/graph_mediator_spec.rb
|
100
|
+
- spec/integration/changes_spec.rb
|
101
|
+
- spec/integration/locking_tests_spec.rb
|
102
|
+
- spec/integration/nesting_spec.rb
|
103
|
+
- spec/integration/threads_spec.rb
|
104
|
+
- spec/integration/validation_spec.rb
|
105
|
+
- spec/investigation/alias_method_chain_spec.rb
|
106
|
+
- spec/investigation/insert_subclass_spec.rb
|
107
|
+
- spec/investigation/insert_superclass_spec.rb
|
108
|
+
- spec/investigation/module_super_spec.rb
|
109
|
+
- spec/investigation/self_decorating.rb
|
110
|
+
- spec/mediator_spec.rb
|
111
|
+
- spec/reservations/lodging.rb
|
112
|
+
- spec/reservations/party.rb
|
113
|
+
- spec/reservations/party_lodging.rb
|
114
|
+
- spec/reservations/reservation.rb
|
115
|
+
- spec/reservations/schema.rb
|
116
|
+
- spec/spec.opts
|
117
|
+
- spec/spec_helper.rb
|
118
|
+
has_rdoc: true
|
119
|
+
homepage: http://github.com/jpartlow/graph_mediator
|
120
|
+
licenses: []
|
121
|
+
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options:
|
124
|
+
- --main=README.rdoc
|
125
|
+
- --charset=UTF-8
|
126
|
+
require_paths:
|
127
|
+
- lib
|
128
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
version: "0"
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
segments:
|
140
|
+
- 1
|
141
|
+
- 3
|
142
|
+
- 6
|
143
|
+
version: 1.3.6
|
144
|
+
requirements: []
|
145
|
+
|
146
|
+
rubyforge_project:
|
147
|
+
rubygems_version: 1.3.6
|
148
|
+
signing_key:
|
149
|
+
specification_version: 3
|
150
|
+
summary: Mediates ActiveRecord state changes
|
151
|
+
test_files:
|
152
|
+
- spec/database.rb
|
153
|
+
- spec/examples/course_example_spec.rb
|
154
|
+
- spec/examples/dingo_pen_example_spec.rb
|
155
|
+
- spec/graph_mediator_spec.rb
|
156
|
+
- spec/integration/changes_spec.rb
|
157
|
+
- spec/integration/locking_tests_spec.rb
|
158
|
+
- spec/integration/nesting_spec.rb
|
159
|
+
- spec/integration/threads_spec.rb
|
160
|
+
- spec/integration/validation_spec.rb
|
161
|
+
- spec/investigation/alias_method_chain_spec.rb
|
162
|
+
- spec/investigation/insert_subclass_spec.rb
|
163
|
+
- spec/investigation/insert_superclass_spec.rb
|
164
|
+
- spec/investigation/module_super_spec.rb
|
165
|
+
- spec/investigation/self_decorating.rb
|
166
|
+
- spec/mediator_spec.rb
|
167
|
+
- spec/reservations/lodging.rb
|
168
|
+
- spec/reservations/party.rb
|
169
|
+
- spec/reservations/party_lodging.rb
|
170
|
+
- spec/reservations/reservation.rb
|
171
|
+
- spec/reservations/schema.rb
|
172
|
+
- spec/spec.opts
|
173
|
+
- spec/spec_helper.rb
|