aquarium 0.3.0 → 0.3.1
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.
- data/Aquarium.ipr +253 -0
- data/Aquarium.iws +629 -0
- data/CHANGES +43 -0
- data/UPGRADE +13 -7
- data/examples/method_tracing_example_spec.rb +4 -1
- data/lib/aquarium/aspects/aspect.rb +28 -11
- data/lib/aquarium/aspects/exclusion_handler.rb +1 -1
- data/lib/aquarium/aspects/join_point.rb +58 -14
- data/lib/aquarium/aspects/pointcut.rb +5 -6
- data/lib/aquarium/extras/design_by_contract.rb +1 -1
- data/lib/aquarium/finders/method_finder.rb +1 -4
- data/lib/aquarium/finders/type_finder.rb +8 -1
- data/lib/aquarium/utils.rb +1 -0
- data/lib/aquarium/utils/default_logger.rb +20 -0
- data/lib/aquarium/utils/options_utils.rb +74 -12
- data/lib/aquarium/utils/type_utils.rb +1 -7
- data/lib/aquarium/version.rb +1 -1
- data/spec/aquarium/aspects/advice_chain_node_spec.rb +1 -1
- data/spec/aquarium/aspects/advice_spec.rb +1 -1
- data/spec/aquarium/aspects/aspect_invocation_spec.rb +1531 -1465
- data/spec/aquarium/aspects/aspect_spec.rb +22 -27
- data/spec/aquarium/aspects/aspect_with_nested_types_spec.rb +1 -1
- data/spec/aquarium/aspects/aspect_with_subtypes_spec.rb +1 -1
- data/spec/aquarium/aspects/concurrent_aspects_spec.rb +1 -1
- data/spec/aquarium/aspects/concurrent_aspects_with_objects_and_types_spec.rb +1 -1
- data/spec/aquarium/aspects/dsl/aspect_dsl_spec.rb +434 -424
- data/spec/aquarium/aspects/join_point_spec.rb +27 -4
- data/spec/aquarium/aspects/pointcut_and_composition_spec.rb +98 -102
- data/spec/aquarium/aspects/pointcut_or_composition_spec.rb +95 -107
- data/spec/aquarium/aspects/pointcut_spec.rb +1365 -1382
- data/spec/aquarium/extensions/hash_spec.rb +1 -1
- data/spec/aquarium/extensions/set_spec.rb +1 -1
- data/spec/aquarium/finders/finder_result_spec.rb +1 -1
- data/spec/aquarium/finders/method_finder_spec.rb +1 -1
- data/spec/aquarium/finders/type_finder_with_descendents_and_ancestors_spec.rb +63 -145
- data/spec/aquarium/{spec_example_classes.rb → spec_example_types.rb} +35 -0
- data/spec/aquarium/utils/default_logger_spec.rb +28 -0
- data/spec/aquarium/utils/hash_utils_spec.rb +1 -1
- data/spec/aquarium/utils/logic_error_spec.rb +1 -1
- data/spec/aquarium/utils/name_utils_spec.rb +1 -1
- data/spec/aquarium/utils/nil_object_spec.rb +1 -1
- data/spec/aquarium/utils/options_utils_spec.rb +122 -0
- data/spec/aquarium/utils/set_utils_spec.rb +1 -1
- metadata +9 -4
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aquarium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aquarium Development Team
|
@@ -9,7 +9,7 @@ autorequire: aquarium
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-01-
|
12
|
+
date: 2008-01-29 00:00:00 -06:00
|
13
13
|
default_executable: ""
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -25,6 +25,8 @@ extra_rdoc_files:
|
|
25
25
|
- MIT-LICENSE
|
26
26
|
- UPGRADE
|
27
27
|
files:
|
28
|
+
- Aquarium.ipr
|
29
|
+
- Aquarium.iws
|
28
30
|
- CHANGES
|
29
31
|
- EXAMPLES.rd
|
30
32
|
- MIT-LICENSE
|
@@ -56,6 +58,7 @@ files:
|
|
56
58
|
- lib/aquarium/finders/type_finder.rb
|
57
59
|
- lib/aquarium/finders.rb
|
58
60
|
- lib/aquarium/utils/array_utils.rb
|
61
|
+
- lib/aquarium/utils/default_logger.rb
|
59
62
|
- lib/aquarium/utils/hash_utils.rb
|
60
63
|
- lib/aquarium/utils/html_escaper.rb
|
61
64
|
- lib/aquarium/utils/invalid_options.rb
|
@@ -94,15 +97,17 @@ files:
|
|
94
97
|
- spec/aquarium/finders/method_finder_spec.rb
|
95
98
|
- spec/aquarium/finders/type_finder_spec.rb
|
96
99
|
- spec/aquarium/finders/type_finder_with_descendents_and_ancestors_spec.rb
|
97
|
-
- spec/aquarium/
|
100
|
+
- spec/aquarium/spec_example_types.rb
|
98
101
|
- spec/aquarium/spec_helper.rb
|
99
102
|
- spec/aquarium/utils/array_utils_spec.rb
|
103
|
+
- spec/aquarium/utils/default_logger_spec.rb
|
100
104
|
- spec/aquarium/utils/hash_utils_spec.rb
|
101
105
|
- spec/aquarium/utils/html_escaper_spec.rb
|
102
106
|
- spec/aquarium/utils/logic_error_spec.rb
|
103
107
|
- spec/aquarium/utils/method_utils_spec.rb
|
104
108
|
- spec/aquarium/utils/name_utils_spec.rb
|
105
109
|
- spec/aquarium/utils/nil_object_spec.rb
|
110
|
+
- spec/aquarium/utils/options_utils_spec.rb
|
106
111
|
- spec/aquarium/utils/set_utils_spec.rb
|
107
112
|
- spec/aquarium/utils/type_utils_sample_classes.rb
|
108
113
|
- spec/aquarium/utils/type_utils_spec.rb
|
@@ -148,6 +153,6 @@ rubyforge_project: aquarium
|
|
148
153
|
rubygems_version: 1.0.1
|
149
154
|
signing_key:
|
150
155
|
specification_version: 2
|
151
|
-
summary: Aquarium-0.3.
|
156
|
+
summary: Aquarium-0.3.1 (r7) - Aspect-Oriented Programming toolkit for Ruby http://aquarium.rubyforge.org
|
152
157
|
test_files: []
|
153
158
|
|