module-cluster 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/README.md +4 -4
  2. data/README.rdoc +4 -4
  3. data/lib/module-cluster.rb +19 -10
  4. data/lib/module-cluster/ModuleCluster.rb +1 -1
  5. data/lib/module-cluster/ModuleCluster/Define/Block/Class.rb +3 -3
  6. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrInstance.rb +4 -4
  7. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModule.rb +4 -4
  8. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrInstance.rb +4 -4
  9. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrSubclass.rb +29 -0
  10. data/lib/module-cluster/ModuleCluster/Define/Block/ClassOrSubclass.rb +22 -0
  11. data/lib/module-cluster/ModuleCluster/Define/Block/Instance.rb +3 -3
  12. data/lib/module-cluster/ModuleCluster/Define/Block/Module.rb +3 -3
  13. data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrInstance.rb +4 -4
  14. data/lib/module-cluster/ModuleCluster/Define/Block/ModuleOrSubclass.rb +22 -0
  15. data/lib/module-cluster/ModuleCluster/Define/Block/Subclass.rb +32 -5
  16. data/lib/module-cluster/ModuleCluster/Define/ClassCluster.rb +3 -3
  17. data/lib/module-cluster/ModuleCluster/Define/ClassOrInstanceCluster.rb +3 -3
  18. data/lib/module-cluster/ModuleCluster/Define/Cluster.rb +3 -3
  19. data/lib/module-cluster/ModuleCluster/Define/ClusterCascades.rb +3 -3
  20. data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToClass.rb +3 -3
  21. data/lib/module-cluster/ModuleCluster/Define/ClusterCascadesToModule.rb +3 -3
  22. data/lib/module-cluster/ModuleCluster/Define/InstanceCluster.rb +3 -3
  23. data/lib/module-cluster/ModuleCluster/Define/ModuleCluster.rb +3 -3
  24. data/lib/module-cluster/ModuleCluster/Define/ModuleOrClassCluster.rb +3 -3
  25. data/lib/module-cluster/ModuleCluster/Define/ModuleOrInstanceCluster.rb +3 -3
  26. data/lib/module-cluster/ModuleCluster/Define/Status.rb +4 -4
  27. data/lib/module-cluster/ModuleCluster/Suspend/WithoutHooks.rb +1 -1
  28. data/lib/module-cluster/_private_/ModuleCluster/CascadeFeatures.rb +1 -1
  29. data/lib/module-cluster/_private_/ModuleCluster/ExtendForCascade.rb +1 -1
  30. data/lib/module-cluster/_private_/ModuleCluster/ExtendForCascade/Subclass.rb +55 -8
  31. data/spec/ModuleCluster/Define/Block/ClassOrInstance_spec.rb +36 -36
  32. data/spec/ModuleCluster/Define/Block/ClassOrModuleOrInstance_spec.rb +36 -36
  33. data/spec/ModuleCluster/Define/Block/ClassOrModuleOrSubclass_spec.rb +55 -0
  34. data/spec/ModuleCluster/Define/Block/ClassOrModule_spec.rb +36 -36
  35. data/spec/ModuleCluster/Define/Block/ClassOrSubclass_spec.rb +54 -0
  36. data/spec/ModuleCluster/Define/Block/Class_spec.rb +36 -36
  37. data/spec/ModuleCluster/Define/Block/Instance_spec.rb +12 -12
  38. data/spec/ModuleCluster/Define/Block/ModuleOrSubclass_spec.rb +53 -0
  39. data/spec/ModuleCluster/Define/Block/Module_spec.rb +36 -36
  40. data/spec/ModuleCluster/Define/Block/Subclass_spec.rb +39 -9
  41. data/spec/ModuleCluster/Define/ClassCluster_spec.rb +71 -71
  42. data/spec/ModuleCluster/Define/ClassOrInstanceCluster_spec.rb +60 -60
  43. data/spec/ModuleCluster/Define/ClusterCascadesToClass_spec.rb +72 -72
  44. data/spec/ModuleCluster/Define/ClusterCascadesToModule_spec.rb +72 -72
  45. data/spec/ModuleCluster/Define/ClusterCascades_spec.rb +68 -68
  46. data/spec/ModuleCluster/Define/Cluster_spec.rb +71 -71
  47. data/spec/ModuleCluster/Define/InstanceCluster_spec.rb +8 -8
  48. data/spec/ModuleCluster/Define/ModuleCluster_spec.rb +71 -71
  49. data/spec/ModuleCluster/Define/ModuleOrClassCluster_spec.rb +71 -71
  50. data/spec/ModuleCluster/Define/ModuleOrInstanceCluster_spec.rb +60 -60
  51. data/spec/ModuleCluster/Suspend/Hooks_spec.rb +14 -14
  52. data/spec/ModuleCluster/Suspend/WithoutHooks_spec.rb +14 -14
  53. data/spec/_private_/ModuleCluster/CascadeFeatures/PerformCascades_spec.rb +6 -6
  54. data/spec/_private_/ModuleCluster/ClusterStack/Suspend_spec.rb +8 -8
  55. metadata +33 -29
@@ -11,9 +11,9 @@ describe ModuleCluster::Suspend::Hooks do
11
11
 
12
12
  it 'can suspend and resume all hooks at once or all hooks matching a description' do
13
13
  module ModuleCluster::Suspend::Hooks::Mock01
14
- extend ModuleCluster::Suspend::Hooks
14
+ extend ::ModuleCluster::Suspend::Hooks
15
15
  # required to provide #cluster_stack
16
- extend ModuleCluster::CascadeFeatures::ClusterStack
16
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
17
17
  module Module1
18
18
  end
19
19
  module Module2
@@ -92,9 +92,9 @@ describe ModuleCluster::Suspend::Hooks do
92
92
 
93
93
  it 'can suspend and resume all include or prepending include hooks at once or any include or prepending include hooks matching a description' do
94
94
  module ModuleCluster::Suspend::Hooks::Mock02
95
- extend ModuleCluster::Suspend::Hooks
95
+ extend ::ModuleCluster::Suspend::Hooks
96
96
  # required to provide #cluster_stack
97
- extend ModuleCluster::CascadeFeatures::ClusterStack
97
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
98
98
  module Module1
99
99
  end
100
100
  module Module2
@@ -173,9 +173,9 @@ describe ModuleCluster::Suspend::Hooks do
173
173
 
174
174
  it 'can suspend and resume all extend or prepending extend hooks at once or any extend or prepending extend hooks matching a description' do
175
175
  module ModuleCluster::Suspend::Hooks::Mock03
176
- extend ModuleCluster::Suspend::Hooks
176
+ extend ::ModuleCluster::Suspend::Hooks
177
177
  # required to provide #cluster_stack
178
- extend ModuleCluster::CascadeFeatures::ClusterStack
178
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
179
179
  module Module1
180
180
  end
181
181
  module Module2
@@ -254,9 +254,9 @@ describe ModuleCluster::Suspend::Hooks do
254
254
 
255
255
  it 'can suspend and resume all include hooks at once or any include hooks matching a description' do
256
256
  module ModuleCluster::Suspend::Hooks::Mock04
257
- extend ModuleCluster::Suspend::Hooks
257
+ extend ::ModuleCluster::Suspend::Hooks
258
258
  # required to provide #cluster_stack
259
- extend ModuleCluster::CascadeFeatures::ClusterStack
259
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
260
260
  module Module1
261
261
  end
262
262
  module Module2
@@ -335,9 +335,9 @@ describe ModuleCluster::Suspend::Hooks do
335
335
 
336
336
  it 'can suspend and resume all extend hooks at once or any extend hooks matching a description' do
337
337
  module ModuleCluster::Suspend::Hooks::Mock05
338
- extend ModuleCluster::Suspend::Hooks
338
+ extend ::ModuleCluster::Suspend::Hooks
339
339
  # required to provide #cluster_stack
340
- extend ModuleCluster::CascadeFeatures::ClusterStack
340
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
341
341
  module Module1
342
342
  end
343
343
  module Module2
@@ -416,9 +416,9 @@ describe ModuleCluster::Suspend::Hooks do
416
416
 
417
417
  it 'can suspend and resume all prepending include hooks at once or any prepending include hooks matching a description' do
418
418
  module ModuleCluster::Suspend::Hooks::Mock06
419
- extend ModuleCluster::Suspend::Hooks
419
+ extend ::ModuleCluster::Suspend::Hooks
420
420
  # required to provide #cluster_stack
421
- extend ModuleCluster::CascadeFeatures::ClusterStack
421
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
422
422
  module Module1
423
423
  end
424
424
  module Module2
@@ -497,9 +497,9 @@ describe ModuleCluster::Suspend::Hooks do
497
497
 
498
498
  it 'can suspend and resume all prepending extend hooks at once or any prepending extend hooks matching a description' do
499
499
  module ModuleCluster::Suspend::Hooks::Mock07
500
- extend ModuleCluster::Suspend::Hooks
500
+ extend ::ModuleCluster::Suspend::Hooks
501
501
  # required to provide #cluster_stack
502
- extend ModuleCluster::CascadeFeatures::ClusterStack
502
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
503
503
  module Module1
504
504
  end
505
505
  module Module2
@@ -9,9 +9,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
9
9
 
10
10
  it 'can suspend and resume all hooks at once or all hooks matching a description' do
11
11
  module ModuleCluster::Suspend::WithoutHooks::Mock01
12
- extend ModuleCluster::Suspend::WithoutHooks
12
+ extend ::ModuleCluster::Suspend::WithoutHooks
13
13
  # required to provide #cluster_stack
14
- extend ModuleCluster::CascadeFeatures::ClusterStack
14
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
15
15
  module Module1
16
16
  end
17
17
  module Module2
@@ -88,9 +88,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
88
88
 
89
89
  it 'can suspend and resume all include or prepending include hooks at once or any include or prepending include hooks matching a description' do
90
90
  module ModuleCluster::Suspend::WithoutHooks::Mock02
91
- extend ModuleCluster::Suspend::WithoutHooks
91
+ extend ::ModuleCluster::Suspend::WithoutHooks
92
92
  # required to provide #cluster_stack
93
- extend ModuleCluster::CascadeFeatures::ClusterStack
93
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
94
94
  module Module1
95
95
  end
96
96
  module Module2
@@ -167,9 +167,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
167
167
 
168
168
  it 'can suspend and resume all extend or prepending extend hooks at once or any extend or prepending extend hooks matching a description' do
169
169
  module ModuleCluster::Suspend::WithoutHooks::Mock03
170
- extend ModuleCluster::Suspend::WithoutHooks
170
+ extend ::ModuleCluster::Suspend::WithoutHooks
171
171
  # required to provide #cluster_stack
172
- extend ModuleCluster::CascadeFeatures::ClusterStack
172
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
173
173
  module Module1
174
174
  end
175
175
  module Module2
@@ -246,9 +246,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
246
246
 
247
247
  it 'can suspend and resume all include hooks at once or any include hooks matching a description' do
248
248
  module ModuleCluster::Suspend::WithoutHooks::Mock04
249
- extend ModuleCluster::Suspend::WithoutHooks
249
+ extend ::ModuleCluster::Suspend::WithoutHooks
250
250
  # required to provide #cluster_stack
251
- extend ModuleCluster::CascadeFeatures::ClusterStack
251
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
252
252
  module Module1
253
253
  end
254
254
  module Module2
@@ -325,9 +325,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
325
325
 
326
326
  it 'can suspend and resume all extend hooks at once or any extend hooks matching a description' do
327
327
  module ModuleCluster::Suspend::WithoutHooks::Mock05
328
- extend ModuleCluster::Suspend::WithoutHooks
328
+ extend ::ModuleCluster::Suspend::WithoutHooks
329
329
  # required to provide #cluster_stack
330
- extend ModuleCluster::CascadeFeatures::ClusterStack
330
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
331
331
  module Module1
332
332
  end
333
333
  module Module2
@@ -404,9 +404,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
404
404
 
405
405
  it 'can suspend and resume all prepending include hooks at once or any prepending include hooks matching a description' do
406
406
  module ModuleCluster::Suspend::WithoutHooks::Mock06
407
- extend ModuleCluster::Suspend::WithoutHooks
407
+ extend ::ModuleCluster::Suspend::WithoutHooks
408
408
  # required to provide #cluster_stack
409
- extend ModuleCluster::CascadeFeatures::ClusterStack
409
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
410
410
  module Module1
411
411
  end
412
412
  module Module2
@@ -483,9 +483,9 @@ describe ModuleCluster::Suspend::WithoutHooks do
483
483
 
484
484
  it 'can suspend and resume all prepending extend hooks at once or any prepending extend hooks matching a description' do
485
485
  module ModuleCluster::Suspend::WithoutHooks::Mock07
486
- extend ModuleCluster::Suspend::WithoutHooks
486
+ extend ::ModuleCluster::Suspend::WithoutHooks
487
487
  # required to provide #cluster_stack
488
- extend ModuleCluster::CascadeFeatures::ClusterStack
488
+ extend ::ModuleCluster::CascadeFeatures::ClusterStack
489
489
  module Module1
490
490
  end
491
491
  module Module2
@@ -19,7 +19,7 @@ describe ModuleCluster::CascadeFeatures::PerformCascades do
19
19
  end
20
20
  # we need a mock instance to use our methods
21
21
  module ModuleCluster::CascadeFeatures::PerformCascades::Mock01
22
- extend ModuleCluster::CascadeFeatures::PerformCascades
22
+ extend ::ModuleCluster::CascadeFeatures::PerformCascades
23
23
  end
24
24
  module_self = ModuleCluster::CascadeFeatures::PerformCascades::MockCascadeModule01
25
25
  hooked_instance = ModuleCluster::CascadeFeatures::PerformCascades::MockModuleIncludingMockCascadeModule01
@@ -39,7 +39,7 @@ describe ModuleCluster::CascadeFeatures::PerformCascades do
39
39
 
40
40
  it 'can report whether an instance should be included or extended based on a descriptor symbol' do
41
41
  module ModuleCluster::CascadeFeatures::PerformCascades::Mock02
42
- extend ModuleCluster::CascadeFeatures::PerformCascades
42
+ extend ::ModuleCluster::CascadeFeatures::PerformCascades
43
43
  end
44
44
  module ModuleCluster::CascadeFeatures::PerformCascades::MockModuleInstance02
45
45
  end
@@ -180,7 +180,7 @@ describe ModuleCluster::CascadeFeatures::PerformCascades do
180
180
  end
181
181
  # we need a mock instance to use our methods
182
182
  module ModuleCluster::CascadeFeatures::PerformCascades::Mock03
183
- extend ModuleCluster::CascadeFeatures::PerformCascades
183
+ extend ::ModuleCluster::CascadeFeatures::PerformCascades
184
184
  end
185
185
  module_self = ModuleCluster::CascadeFeatures::PerformCascades::MockCascadeModule03
186
186
  set = ModuleCluster::ClusterStack::Set.new( module_self, :declaration_method, :all, :include, [ ModuleCluster::CascadeFeatures::PerformCascades::MockHookedIncludeModule03 ] )
@@ -239,7 +239,7 @@ describe ModuleCluster::CascadeFeatures::PerformCascades do
239
239
  end
240
240
  # we need a mock instance to use our methods
241
241
  module ModuleCluster::CascadeFeatures::PerformCascades::Mock04
242
- extend ModuleCluster::CascadeFeatures::PerformCascades
242
+ extend ::ModuleCluster::CascadeFeatures::PerformCascades
243
243
  end
244
244
  module_self = ModuleCluster::CascadeFeatures::PerformCascades::MockCascadeModule04
245
245
  hooked_instance = ModuleCluster::CascadeFeatures::PerformCascades::MockModuleIncludingMockCascadeModule04
@@ -273,7 +273,7 @@ describe ModuleCluster::CascadeFeatures::PerformCascades do
273
273
  end
274
274
  # we need a mock instance to use our methods
275
275
  module ModuleCluster::CascadeFeatures::PerformCascades::Mock05
276
- extend ModuleCluster::CascadeFeatures::PerformCascades
276
+ extend ::ModuleCluster::CascadeFeatures::PerformCascades
277
277
  end
278
278
  module_self = ModuleCluster::CascadeFeatures::PerformCascades::MockCascadeModule05
279
279
 
@@ -349,7 +349,7 @@ describe ModuleCluster::CascadeFeatures::PerformCascades do
349
349
  end
350
350
  # we need a mock instance to use our methods
351
351
  module ModuleCluster::CascadeFeatures::PerformCascades::Mock06
352
- extend ModuleCluster::CascadeFeatures::PerformCascades
352
+ extend ::ModuleCluster::CascadeFeatures::PerformCascades
353
353
  end
354
354
  module_self = ModuleCluster::CascadeFeatures::PerformCascades::MockCascadeModule06
355
355
  hooked_instance = ModuleCluster::CascadeFeatures::PerformCascades::MockModuleIncludingMockCascadeModule06
@@ -11,7 +11,7 @@ describe ModuleCluster::ClusterStack::Suspend do
11
11
 
12
12
  it 'can suspend all hooks at once' do
13
13
  class ModuleCluster::ClusterStack::Suspend::Mock01
14
- include ModuleCluster::ClusterStack::Suspend
14
+ include ::ModuleCluster::ClusterStack::Suspend
15
15
  end
16
16
  instance = ModuleCluster::ClusterStack::Suspend::Mock01.new
17
17
  instance.all_hooks_suspended?.should == false
@@ -35,7 +35,7 @@ describe ModuleCluster::ClusterStack::Suspend do
35
35
 
36
36
  it 'can suspend all include hooks at once' do
37
37
  class ModuleCluster::ClusterStack::Suspend::Mock02
38
- include ModuleCluster::ClusterStack::Suspend
38
+ include ::ModuleCluster::ClusterStack::Suspend
39
39
  end
40
40
  instance = ModuleCluster::ClusterStack::Suspend::Mock02.new
41
41
  instance.all_include_hooks_suspended?.should == false
@@ -57,7 +57,7 @@ describe ModuleCluster::ClusterStack::Suspend do
57
57
 
58
58
  it 'can suspend all extend hooks at once' do
59
59
  class ModuleCluster::ClusterStack::Suspend::Mock03
60
- include ModuleCluster::ClusterStack::Suspend
60
+ include ::ModuleCluster::ClusterStack::Suspend
61
61
  end
62
62
  instance = ModuleCluster::ClusterStack::Suspend::Mock03.new
63
63
  instance.all_extend_hooks_suspended?.should == false
@@ -79,7 +79,7 @@ describe ModuleCluster::ClusterStack::Suspend do
79
79
 
80
80
  it 'can suspend all include hooks' do
81
81
  class ModuleCluster::ClusterStack::Suspend::Mock04
82
- include ModuleCluster::ClusterStack::Suspend
82
+ include ::ModuleCluster::ClusterStack::Suspend
83
83
  end
84
84
  instance = ModuleCluster::ClusterStack::Suspend::Mock04.new
85
85
  instance.include_hooks_suspended?.should == false
@@ -103,7 +103,7 @@ describe ModuleCluster::ClusterStack::Suspend do
103
103
 
104
104
  it 'can suspend all extend hooks' do
105
105
  class ModuleCluster::ClusterStack::Suspend::Mock05
106
- include ModuleCluster::ClusterStack::Suspend
106
+ include ::ModuleCluster::ClusterStack::Suspend
107
107
  end
108
108
  instance = ModuleCluster::ClusterStack::Suspend::Mock05.new
109
109
  instance.extend_hooks_suspended?.should == false
@@ -127,7 +127,7 @@ describe ModuleCluster::ClusterStack::Suspend do
127
127
 
128
128
  it 'can suspend all prepend include hooks' do
129
129
  class ModuleCluster::ClusterStack::Suspend::Mock06
130
- include ModuleCluster::ClusterStack::Suspend
130
+ include ::ModuleCluster::ClusterStack::Suspend
131
131
  end
132
132
  instance = ModuleCluster::ClusterStack::Suspend::Mock06.new
133
133
  instance.prepend_include_hooks_suspended?.should == false
@@ -151,7 +151,7 @@ describe ModuleCluster::ClusterStack::Suspend do
151
151
 
152
152
  it 'can suspend all prepend extend hooks' do
153
153
  class ModuleCluster::ClusterStack::Suspend::Mock07
154
- include ModuleCluster::ClusterStack::Suspend
154
+ include ::ModuleCluster::ClusterStack::Suspend
155
155
  end
156
156
  instance = ModuleCluster::ClusterStack::Suspend::Mock07.new
157
157
  instance.prepend_extend_hooks_suspended?.should == false
@@ -173,7 +173,7 @@ describe ModuleCluster::ClusterStack::Suspend do
173
173
 
174
174
  it 'can report whether hooks are extended for all of current action' do
175
175
  class ModuleCluster::ClusterStack::Suspend::Mock08
176
- include ModuleCluster::ClusterStack::Suspend
176
+ include ::ModuleCluster::ClusterStack::Suspend
177
177
  end
178
178
  instance = ModuleCluster::ClusterStack::Suspend::Mock08.new
179
179
  instance.hooks_suspended?( :prepend_include ).should == false
metadata CHANGED
@@ -1,27 +1,28 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: module-cluster
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.4
4
5
  prerelease:
5
- version: 1.4.3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Asher
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-01-11 00:00:00 Z
12
+ date: 2012-03-10 00:00:00.000000000 Z
14
13
  dependencies: []
15
-
16
- description: "Provides methods for clustering modules so that when the main module is included other modules are also included or extended, either before or after the main module. There are currently three variants: cluster, cascade, cascade to class. Cluster causes the next module to be affected. Cascade causes all subsequent modules to be affected. Cascade to class causes the first including/extending class to be affected, but not any modules prior to it (although the effects will cascade through those unaffected modules)."
14
+ description: ! 'Provides methods for clustering modules so that when the main module
15
+ is included other modules are also included or extended, either before or after
16
+ the main module. There are currently three variants: cluster, cascade, cascade to
17
+ class. Cluster causes the next module to be affected. Cascade causes all subsequent
18
+ modules to be affected. Cascade to class causes the first including/extending class
19
+ to be affected, but not any modules prior to it (although the effects will cascade
20
+ through those unaffected modules).'
17
21
  email: asher@ridiculouspower.com
18
22
  executables: []
19
-
20
23
  extensions: []
21
-
22
24
  extra_rdoc_files: []
23
-
24
- files:
25
+ files:
25
26
  - lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/ClusterStack.rb
26
27
  - lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/PerformCascades.rb
27
28
  - lib/module-cluster/_private_/ModuleCluster/CascadeFeatures/Subclass.rb
@@ -47,9 +48,12 @@ files:
47
48
  - lib/module-cluster/ModuleCluster/Define/Block/ClassOrInstance.rb
48
49
  - lib/module-cluster/ModuleCluster/Define/Block/ClassOrModule.rb
49
50
  - lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrInstance.rb
51
+ - lib/module-cluster/ModuleCluster/Define/Block/ClassOrModuleOrSubclass.rb
52
+ - lib/module-cluster/ModuleCluster/Define/Block/ClassOrSubclass.rb
50
53
  - lib/module-cluster/ModuleCluster/Define/Block/Instance.rb
51
54
  - lib/module-cluster/ModuleCluster/Define/Block/Module.rb
52
55
  - lib/module-cluster/ModuleCluster/Define/Block/ModuleOrInstance.rb
56
+ - lib/module-cluster/ModuleCluster/Define/Block/ModuleOrSubclass.rb
53
57
  - lib/module-cluster/ModuleCluster/Define/Block/Subclass.rb
54
58
  - lib/module-cluster/ModuleCluster/Define/Block.rb
55
59
  - lib/module-cluster/ModuleCluster/Define/ClassCluster.rb
@@ -77,9 +81,12 @@ files:
77
81
  - spec/ModuleCluster/Define/Block/ClassOrInstance_spec.rb
78
82
  - spec/ModuleCluster/Define/Block/ClassOrModule_spec.rb
79
83
  - spec/ModuleCluster/Define/Block/ClassOrModuleOrInstance_spec.rb
84
+ - spec/ModuleCluster/Define/Block/ClassOrModuleOrSubclass_spec.rb
85
+ - spec/ModuleCluster/Define/Block/ClassOrSubclass_spec.rb
80
86
  - spec/ModuleCluster/Define/Block/Instance_spec.rb
81
87
  - spec/ModuleCluster/Define/Block/Module_spec.rb
82
88
  - spec/ModuleCluster/Define/Block/ModuleOrInstance_spec.rb
89
+ - spec/ModuleCluster/Define/Block/ModuleOrSubclass_spec.rb
83
90
  - spec/ModuleCluster/Define/Block/Subclass_spec.rb
84
91
  - spec/ModuleCluster/Define/Block_spec.rb
85
92
  - spec/ModuleCluster/Define/ClassCluster_spec.rb
@@ -99,30 +106,27 @@ files:
99
106
  - README.rdoc
100
107
  homepage: http://rubygems.org/gems/module-cluster
101
108
  licenses: []
102
-
103
109
  post_install_message:
104
110
  rdoc_options: []
105
-
106
- require_paths:
111
+ require_paths:
107
112
  - lib
108
- required_ruby_version: !ruby/object:Gem::Requirement
113
+ required_ruby_version: !ruby/object:Gem::Requirement
109
114
  none: false
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- version: "0"
114
- required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
120
  none: false
116
- requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: "0"
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
120
125
  requirements: []
121
-
122
126
  rubyforge_project: module-cluster
123
- rubygems_version: 1.8.10
127
+ rubygems_version: 1.8.11
124
128
  signing_key:
125
129
  specification_version: 3
126
- summary: "Adds methods for defining module clusters using #included, #extended, #append_features, and #extend_object."
130
+ summary: ! 'Adds methods for defining module clusters using #included, #extended,
131
+ #append_features, and #extend_object.'
127
132
  test_files: []
128
-