aquarium 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/Aquarium.ipr +253 -0
  2. data/Aquarium.iws +629 -0
  3. data/CHANGES +43 -0
  4. data/UPGRADE +13 -7
  5. data/examples/method_tracing_example_spec.rb +4 -1
  6. data/lib/aquarium/aspects/aspect.rb +28 -11
  7. data/lib/aquarium/aspects/exclusion_handler.rb +1 -1
  8. data/lib/aquarium/aspects/join_point.rb +58 -14
  9. data/lib/aquarium/aspects/pointcut.rb +5 -6
  10. data/lib/aquarium/extras/design_by_contract.rb +1 -1
  11. data/lib/aquarium/finders/method_finder.rb +1 -4
  12. data/lib/aquarium/finders/type_finder.rb +8 -1
  13. data/lib/aquarium/utils.rb +1 -0
  14. data/lib/aquarium/utils/default_logger.rb +20 -0
  15. data/lib/aquarium/utils/options_utils.rb +74 -12
  16. data/lib/aquarium/utils/type_utils.rb +1 -7
  17. data/lib/aquarium/version.rb +1 -1
  18. data/spec/aquarium/aspects/advice_chain_node_spec.rb +1 -1
  19. data/spec/aquarium/aspects/advice_spec.rb +1 -1
  20. data/spec/aquarium/aspects/aspect_invocation_spec.rb +1531 -1465
  21. data/spec/aquarium/aspects/aspect_spec.rb +22 -27
  22. data/spec/aquarium/aspects/aspect_with_nested_types_spec.rb +1 -1
  23. data/spec/aquarium/aspects/aspect_with_subtypes_spec.rb +1 -1
  24. data/spec/aquarium/aspects/concurrent_aspects_spec.rb +1 -1
  25. data/spec/aquarium/aspects/concurrent_aspects_with_objects_and_types_spec.rb +1 -1
  26. data/spec/aquarium/aspects/dsl/aspect_dsl_spec.rb +434 -424
  27. data/spec/aquarium/aspects/join_point_spec.rb +27 -4
  28. data/spec/aquarium/aspects/pointcut_and_composition_spec.rb +98 -102
  29. data/spec/aquarium/aspects/pointcut_or_composition_spec.rb +95 -107
  30. data/spec/aquarium/aspects/pointcut_spec.rb +1365 -1382
  31. data/spec/aquarium/extensions/hash_spec.rb +1 -1
  32. data/spec/aquarium/extensions/set_spec.rb +1 -1
  33. data/spec/aquarium/finders/finder_result_spec.rb +1 -1
  34. data/spec/aquarium/finders/method_finder_spec.rb +1 -1
  35. data/spec/aquarium/finders/type_finder_with_descendents_and_ancestors_spec.rb +63 -145
  36. data/spec/aquarium/{spec_example_classes.rb → spec_example_types.rb} +35 -0
  37. data/spec/aquarium/utils/default_logger_spec.rb +28 -0
  38. data/spec/aquarium/utils/hash_utils_spec.rb +1 -1
  39. data/spec/aquarium/utils/logic_error_spec.rb +1 -1
  40. data/spec/aquarium/utils/name_utils_spec.rb +1 -1
  41. data/spec/aquarium/utils/nil_object_spec.rb +1 -1
  42. data/spec/aquarium/utils/options_utils_spec.rb +122 -0
  43. data/spec/aquarium/utils/set_utils_spec.rb +1 -1
  44. metadata +9 -4
@@ -1,5 +1,5 @@
1
1
  require File.dirname(__FILE__) + '/../spec_helper'
2
- require File.dirname(__FILE__) + '/../spec_example_classes'
2
+ require File.dirname(__FILE__) + '/../spec_example_types'
3
3
  require 'aquarium/utils/set_utils'
4
4
 
5
5
  describe Aquarium::Utils::SetUtils, "make_set" do
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.0
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-21 00:00:00 -06:00
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/spec_example_classes.rb
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.0 (r7) - Aspect-Oriented Programming toolkit for Ruby http://aquarium.rubyforge.org
156
+ summary: Aquarium-0.3.1 (r7) - Aspect-Oriented Programming toolkit for Ruby http://aquarium.rubyforge.org
152
157
  test_files: []
153
158