aquarium 0.5.1 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +240 -215
  3. data/README +61 -44
  4. data/RELEASE-PLAN +21 -23
  5. data/Rakefile +64 -94
  6. data/UPGRADE +45 -35
  7. data/aquarium.gemspec +50 -0
  8. data/examples/README.txt +6 -0
  9. data/examples/aspect_design_example_spec.rb +2 -2
  10. data/examples/design_by_contract_example_spec.rb +3 -3
  11. data/examples/exception_wrapping_example_spec.rb +2 -2
  12. data/examples/introductions_example_spec.rb +1 -1
  13. data/examples/method_tracing_example_spec.rb +17 -16
  14. data/examples/reusable_aspect_hack_example_spec.rb +5 -5
  15. data/jruby/Rakefile +61 -0
  16. data/jruby/java/example/Worker.java +9 -0
  17. data/jruby/java/example/sorter/StringListSorter.java +22 -0
  18. data/jruby/java/example/sorter/converter/StringListCaseConverterAndSorter.java +42 -0
  19. data/jruby/java/example/visibility/Visibility.java +13 -0
  20. data/jruby/spec/java_class_aspects_spec.rb +434 -0
  21. data/jruby/spec/java_visibility_spec.rb +122 -0
  22. data/jruby/spec/spec_helper.rb +5 -0
  23. data/lib/aquarium/aspects/aspect.rb +8 -4
  24. data/lib/aquarium/utils/type_utils.rb +4 -1
  25. data/lib/aquarium/version.rb +29 -28
  26. data/previous_failures.txt +0 -0
  27. data/rspec.watchr +60 -0
  28. data/spec/aquarium/aspects/advice_spec.rb +10 -10
  29. data/spec/aquarium/aspects/aspect_invocation_spec.rb +79 -79
  30. data/spec/aquarium/aspects/aspect_spec.rb +73 -73
  31. data/spec/aquarium/aspects/aspect_with_nested_types_spec.rb +5 -5
  32. data/spec/aquarium/aspects/concurrent_aspects_spec.rb +1 -1
  33. data/spec/aquarium/aspects/default_objects_handler_spec.rb +5 -5
  34. data/spec/aquarium/aspects/join_point_spec.rb +40 -40
  35. data/spec/aquarium/aspects/pointcut_and_composition_spec.rb +8 -8
  36. data/spec/aquarium/aspects/pointcut_spec.rb +25 -25
  37. data/spec/aquarium/extensions/regex_spec.rb +6 -6
  38. data/spec/aquarium/extras/design_by_contract_spec.rb +6 -6
  39. data/spec/aquarium/finders/finder_result_spec.rb +2 -2
  40. data/spec/aquarium/finders/method_finder_spec.rb +24 -24
  41. data/spec/aquarium/finders/pointcut_finder_spec.rb +10 -10
  42. data/spec/aquarium/finders/pointcut_finder_spec_test_classes.rb +4 -4
  43. data/spec/aquarium/finders/type_finder_spec.rb +5 -5
  44. data/spec/aquarium/finders/type_finder_with_descendents_and_ancestors_spec.rb +6 -5
  45. data/spec/aquarium/finders/type_finder_with_nested_types_spec.rb +2 -2
  46. data/spec/aquarium/utils/logic_error_spec.rb +1 -1
  47. data/spec/aquarium/utils/method_utils_spec.rb +38 -38
  48. data/spec/aquarium/utils/nil_object_spec.rb +11 -11
  49. data/spec/aquarium/utils/options_utils_spec.rb +8 -8
  50. data/spec/aquarium/utils/type_utils_spec.rb +3 -3
  51. metadata +238 -57
@@ -47,10 +47,10 @@ module Aquarium
47
47
  def self.sort_pc_array pc_array
48
48
  pc_array.sort{|x,y| x.object_id <=> y.object_id}
49
49
  end
50
- def self.found_pointcuts_should_match found_result_set, expected_found_pc_array, expected_not_found_type_array = []
51
- found_result_set.matched.size.should == expected_found_pc_array.size
52
- found_result_set.not_matched.size.should == expected_not_found_type_array.size
53
- self.sort_pc_array(found_result_set.found_pointcuts).should == expected_found_pc_array
50
+ def self.found_pointcuts_should_match found_result_set, lambdaed_found_pc_array, lambdaed_not_found_type_array = []
51
+ found_result_set.matched.size.should == lambdaed_found_pc_array.size
52
+ found_result_set.not_matched.size.should == lambdaed_not_found_type_array.size
53
+ self.sort_pc_array(found_result_set.found_pointcuts).should == lambdaed_found_pc_array
54
54
  end
55
55
 
56
56
  def self.all_pointcut_classes
@@ -12,11 +12,11 @@ class SubOutside < Outside; end
12
12
  describe Aquarium::Finders::TypeFinder, "#find invocation parameters" do
13
13
 
14
14
  it "should raise if an uknown option is specified." do
15
- lambda { Aquarium::Finders::TypeFinder.new.find :foo => 'bar', :baz => ''}.should raise_error(Aquarium::Utils::InvalidOptions)
15
+ expect { Aquarium::Finders::TypeFinder.new.find :foo => 'bar', :baz => ''}.to raise_error(Aquarium::Utils::InvalidOptions)
16
16
  end
17
17
 
18
18
  it "should raise if the input parameters do not form a hash." do
19
- lambda { Aquarium::Finders::TypeFinder.new.find "foo" }.should raise_error(Aquarium::Utils::InvalidOptions)
19
+ expect { Aquarium::Finders::TypeFinder.new.find "foo" }.to raise_error(Aquarium::Utils::InvalidOptions)
20
20
  end
21
21
 
22
22
  it "should return no matched types and no unmatched type expressions by default (i.e., the input is empty)." do
@@ -208,7 +208,7 @@ describe Aquarium::Finders::TypeFinder, "#find with :types_and_descendents" do
208
208
 
209
209
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["types_and_descendents"].reject{|key| key.eql?("types_and_descendents")}.each do |key|
210
210
  it "should accept :#{key} as a synonym for :types_and_descendents." do
211
- lambda {actual = Aquarium::Finders::TypeFinder.new.find key.intern => Outside, :noop => true}.should_not raise_error
211
+ expect {actual = Aquarium::Finders::TypeFinder.new.find key.intern => Outside, :noop => true}.not_to raise_error
212
212
  end
213
213
  end
214
214
  end
@@ -224,7 +224,7 @@ describe Aquarium::Finders::TypeFinder, "#find with :types_and_ancestors" do
224
224
 
225
225
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["types_and_ancestors"].reject{|key| key.eql?("types_and_ancestors")}.each do |key|
226
226
  it "should accept :#{key} as a synonym for :types_and_ancestors." do
227
- lambda {actual = Aquarium::Finders::TypeFinder.new.find key.intern => SubOutside, :noop => true}.should_not raise_error
227
+ expect {actual = Aquarium::Finders::TypeFinder.new.find key.intern => SubOutside, :noop => true}.not_to raise_error
228
228
  end
229
229
  end
230
230
  end
@@ -250,7 +250,7 @@ end
250
250
  # This is a spec for a protected method. It's primarily to keep the code coverage 100%, because there is rarely-invoked error handling code...
251
251
  describe Aquarium::Finders::TypeFinder, "#get_type_from_parent should" do
252
252
  it "should raise if a type doesn't exist that matches the constant" do
253
- lambda {Aquarium::Finders::TypeFinder.new.send(:get_type_from_parent, Aquarium::Finders, "Nonexistent", /Non/)}.should raise_error(NameError)
253
+ expect {Aquarium::Finders::TypeFinder.new.send(:get_type_from_parent, Aquarium::Finders, "Nonexistent", /Non/)}.to raise_error(NameError)
254
254
  end
255
255
  end
256
256
 
@@ -10,7 +10,8 @@ def purge_actuals actuals
10
10
  t2.name.include?("Spec::") or
11
11
  t2.name =~ /Aquarium::(Utils|Extras|Examples|Aspects|PointcutFinderTestClasses)/ or
12
12
  t2.name =~ /^PP/ or
13
- t2.name =~ /InstanceExecHelper/
13
+ t2.name =~ /InstanceExecHelper/ or
14
+ t2.name =~ /JSON/ # JSON::Ext::Generator::GeneratorMethods::Object is included somewhere
14
15
  end
15
16
  end
16
17
 
@@ -26,7 +27,7 @@ describe Aquarium::Finders::TypeFinder, "#find types and their descendents, usin
26
27
 
27
28
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["types_and_descendents"].each do |synonym|
28
29
  it "should accept :#{synonym} as a synonym for :types_and_descendents" do
29
- lambda {Aquarium::Finders::TypeFinder.new.find synonym.intern => TypeUtils.sample_types, :noop => true}.should_not raise_error(InvalidOptions)
30
+ expect {Aquarium::Finders::TypeFinder.new.find synonym.intern => TypeUtils.sample_types, :noop => true}.not_to raise_error
30
31
  end
31
32
  end
32
33
  end
@@ -44,7 +45,7 @@ describe Aquarium::Finders::TypeFinder, "#find types subtracting out excluded ty
44
45
 
45
46
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["exclude_types_and_descendents"].each do |synonym|
46
47
  it "should accept :#{synonym} as a synonym for :exclude_types_and_descendents" do
47
- lambda {Aquarium::Finders::TypeFinder.new.find :types_and_descendents => ModuleForDescendents, synonym.intern => D1ForDescendents, :noop => true}.should_not raise_error(InvalidOptions)
48
+ expect {Aquarium::Finders::TypeFinder.new.find :types_and_descendents => ModuleForDescendents, synonym.intern => D1ForDescendents, :noop => true}.not_to raise_error
48
49
  end
49
50
  end
50
51
  end
@@ -62,7 +63,7 @@ describe Aquarium::Finders::TypeFinder, "#find types and their ancestors, using
62
63
 
63
64
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["types_and_ancestors"].each do |synonym|
64
65
  it "should accept :#{synonym} as a synonym for :types_and_ancestors" do
65
- lambda {Aquarium::Finders::TypeFinder.new.find synonym.intern => TypeUtils.sample_types, :noop => true}.should_not raise_error(InvalidOptions)
66
+ expect {Aquarium::Finders::TypeFinder.new.find synonym.intern => TypeUtils.sample_types, :noop => true}.not_to raise_error
66
67
  end
67
68
  end
68
69
  end
@@ -81,7 +82,7 @@ describe Aquarium::Finders::TypeFinder, "#find types subtracting out excluded ty
81
82
 
82
83
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["exclude_types_and_ancestors"].each do |synonym|
83
84
  it "should accept :#{synonym} as a synonym for :exclude_types_and_ancestors" do
84
- lambda {Aquarium::Finders::TypeFinder.new.find :types_and_ancestors => D1ForDescendents, synonym.intern => ModuleForDescendents, :noop => true}.should_not raise_error(InvalidOptions)
85
+ expect {Aquarium::Finders::TypeFinder.new.find :types_and_ancestors => D1ForDescendents, synonym.intern => ModuleForDescendents, :noop => true}.not_to raise_error
85
86
  end
86
87
  end
87
88
  end
@@ -24,7 +24,7 @@ describe TypeUtils, "#find types and their nested types, using :types_and_nested
24
24
 
25
25
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["types_and_nested_types"].each do |synonym|
26
26
  it "should accept :#{synonym} as a synonym for :types_and_nested_types" do
27
- lambda {Aquarium::Finders::TypeFinder.new.find synonym.intern => TypeUtils.sample_types, :noop => true}.should_not raise_error(InvalidOptions)
27
+ expect {Aquarium::Finders::TypeFinder.new.find synonym.intern => TypeUtils.sample_types, :noop => true}.not_to raise_error
28
28
  end
29
29
  end
30
30
  end
@@ -41,7 +41,7 @@ describe TypeUtils, "#find nested types subtracting out excluded types and desce
41
41
 
42
42
  Aquarium::Finders::TypeFinder::CANONICAL_OPTIONS["exclude_types_and_nested_types"].each do |synonym|
43
43
  it "should accept :#{synonym} as a synonym for :exclude_types_and_nested_types" do
44
- lambda {Aquarium::Finders::TypeFinder.new.find :exclude_types_and_nested_types => ModuleForDescendents, synonym.intern => D1ForDescendents, :noop => true}.should_not raise_error(InvalidOptions)
44
+ expect {Aquarium::Finders::TypeFinder.new.find :exclude_types_and_nested_types => ModuleForDescendents, synonym.intern => D1ForDescendents, :noop => true}.not_to raise_error
45
45
  end
46
46
  end
47
47
  end
@@ -5,6 +5,6 @@ require 'aquarium/utils/logic_error'
5
5
  # This doesn't do much..., except make rcov happy, since this exception is essentially for catching bugs.
6
6
  describe Aquarium::Utils::LogicError, ".new" do
7
7
  it "should return an exception object" do
8
- Aquarium::Utils::LogicError.new.kind_of?(Exception).should be_true
8
+ Aquarium::Utils::LogicError.new.kind_of?(Exception).should be_truthy
9
9
  end
10
10
  end
@@ -141,10 +141,10 @@ describe Aquarium::Utils::MethodUtils, ".visibility" do
141
141
  end
142
142
 
143
143
  it "should return :private for private class methods on a class" do
144
- Aquarium::Utils::MethodUtils.visibility(MethodUtilsSpecProtectionExample, :private_class_m).should == :private #expected_private
144
+ Aquarium::Utils::MethodUtils.visibility(MethodUtilsSpecProtectionExample, :private_class_m).should == :private #lambdaed_private
145
145
  end
146
146
  it "should return :private for private class methods on a class when only class methods are specified" do
147
- Aquarium::Utils::MethodUtils.visibility(MethodUtilsSpecProtectionExample, :private_class_m, :class_method_only).should == :private #expected_private
147
+ Aquarium::Utils::MethodUtils.visibility(MethodUtilsSpecProtectionExample, :private_class_m, :class_method_only).should == :private #lambdaed_private
148
148
  end
149
149
  it "should return nil for private class methods on a class when only instance methods are specified" do
150
150
  Aquarium::Utils::MethodUtils.visibility(MethodUtilsSpecProtectionExample, :private_class_m, :instance_method_only).should be_nil
@@ -216,103 +216,103 @@ end
216
216
 
217
217
  describe Aquarium::Utils::MethodUtils, ".has_method" do
218
218
  it "should return true for public class methods on a class" do
219
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_class_m).should be_true
219
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_class_m).should be_truthy
220
220
  end
221
221
  it "should return true for public class methods on a class when only class methods are specified" do
222
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_class_m, :class_method_only).should be_true
222
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_class_m, :class_method_only).should be_truthy
223
223
  end
224
224
  it "should return false for public class methods on a class when only instance methods are specified" do
225
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_class_m, :instance_method_only).should be_false
225
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_class_m, :instance_method_only).should be_falsey
226
226
  end
227
227
 
228
228
  it "should return true for public instance methods on a class" do
229
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_instance_m).should be_true
229
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_instance_m).should be_truthy
230
230
  end
231
231
  it "should return false for public instance methods on a class when only class methods are specified" do
232
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_instance_m, :class_method_only).should be_false
232
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_instance_m, :class_method_only).should be_falsey
233
233
  end
234
234
  it "should return true for public instance methods on a class when only instance methods are specified" do
235
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_instance_m, :instance_method_only).should be_true
235
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :public_instance_m, :instance_method_only).should be_truthy
236
236
  end
237
237
 
238
238
  it "should return false for public class methods on an instance of a class" do
239
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_class_m).should be_false
239
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_class_m).should be_falsey
240
240
  end
241
241
  it "should return false for public class methods on an instance of a class when only class methods are specified" do
242
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_class_m, :class_method_only).should be_false
242
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_class_m, :class_method_only).should be_falsey
243
243
  end
244
244
  it "should return false for public class methods on an instance of a class when only instance methods are specified" do
245
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_class_m, :instance_method_only).should be_false
245
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_class_m, :instance_method_only).should be_falsey
246
246
  end
247
247
 
248
248
  it "should return true for public instance methods on an instance of a class" do
249
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_instance_m).should be_true
249
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_instance_m).should be_truthy
250
250
  end
251
251
  it "should return false for public instance methods on an instance of a class when only class methods are specified" do
252
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_instance_m, :class_method_only).should be_false
252
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_instance_m, :class_method_only).should be_falsey
253
253
  end
254
254
  it "should return true for public instance methods on an instance of a class when only instance methods are specified" do
255
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_instance_m, :instance_method_only).should be_true
255
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :public_instance_m, :instance_method_only).should be_truthy
256
256
  end
257
257
 
258
258
  it "should return true for protected instance methods on a class" do
259
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :protected_instance_m).should be_true
259
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :protected_instance_m).should be_truthy
260
260
  end
261
261
  it "should return false for protected instance methods on a class when only class methods are specified" do
262
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :protected_instance_m, :class_method_only).should be_false
262
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :protected_instance_m, :class_method_only).should be_falsey
263
263
  end
264
264
  it "should return true for protected instance methods on a class when only instance methods are specified" do
265
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :protected_instance_m, :instance_method_only).should be_true
265
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :protected_instance_m, :instance_method_only).should be_truthy
266
266
  end
267
267
 
268
268
  it "should return true for protected instance methods on an instance of a class" do
269
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :protected_instance_m).should be_true
269
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :protected_instance_m).should be_truthy
270
270
  end
271
271
  it "should return false for protected instance methods on an instance of a class when only class methods are specified" do
272
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :protected_instance_m, :class_method_only).should be_false
272
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :protected_instance_m, :class_method_only).should be_falsey
273
273
  end
274
274
  it "should return true for protected instance methods on an instance of a class when only instance methods are specified" do
275
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :protected_instance_m, :instance_method_only).should be_true
275
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :protected_instance_m, :instance_method_only).should be_truthy
276
276
  end
277
277
 
278
278
  it "should return true for private class methods on a class" do
279
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_class_m).should be_true #expected_private
279
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_class_m).should be_truthy #lambdaed_private
280
280
  end
281
281
  it "should return true for private class methods on a class when only class methods are specified" do
282
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_class_m, :class_method_only).should be_true
282
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_class_m, :class_method_only).should be_truthy
283
283
  end
284
284
  it "should return false for private class methods on a class when only instance methods are specified" do
285
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_class_m, :instance_method_only).should be_false
285
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_class_m, :instance_method_only).should be_falsey
286
286
  end
287
287
 
288
288
  it "should return true for private instance methods on a class" do
289
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_instance_m).should be_true
289
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_instance_m).should be_truthy
290
290
  end
291
291
  it "should return false for private instance methods on a class when only class methods are specified" do
292
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_instance_m, :class_method_only).should be_false
292
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_instance_m, :class_method_only).should be_falsey
293
293
  end
294
294
  it "should return true for private instance methods on a class when only instance methods are specified" do
295
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_instance_m, :instance_method_only).should be_true
295
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample, :private_instance_m, :instance_method_only).should be_truthy
296
296
  end
297
297
 
298
298
  it "should return false for private class methods on an instance of a class" do
299
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_class_m).should be_false
299
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_class_m).should be_falsey
300
300
  end
301
301
  it "should return false for private class methods on an instance of a class when only class methods are specified" do
302
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_class_m, :class_method_only).should be_false
302
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_class_m, :class_method_only).should be_falsey
303
303
  end
304
304
  it "should return false for private class methods on an instance of a class when only instance methods are specified" do
305
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_class_m, :instance_method_only).should be_false
305
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_class_m, :instance_method_only).should be_falsey
306
306
  end
307
307
 
308
308
  it "should return true for private instance methods on an instance of a class" do
309
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_instance_m).should be_true
309
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_instance_m).should be_truthy
310
310
  end
311
311
  it "should return false for private instance methods on an instance of a class when only class methods are specified" do
312
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_instance_m, :class_method_only).should be_false
312
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_instance_m, :class_method_only).should be_falsey
313
313
  end
314
314
  it "should return true for private instance methods on an instance of a class when only instance methods are specified" do
315
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_instance_m, :instance_method_only).should be_true
315
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :private_instance_m, :instance_method_only).should be_truthy
316
316
  end
317
317
 
318
318
  not_string, true_or_false, ruby_name = Object.const_defined?('JRUBY_VERSION') ? ['NOT ', false, 'JRuby'] : ['', true, 'MRI']
@@ -322,23 +322,23 @@ describe Aquarium::Utils::MethodUtils, ".has_method" do
322
322
  end
323
323
 
324
324
  it "should return false for public instance methods on a subclass when the exclude_ancestors flag is false" do
325
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample2, :public_instance_m, :instance_method_only, false).should be_false
325
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample2, :public_instance_m, :instance_method_only, false).should be_falsey
326
326
  end
327
327
  it "should return false for protected instance methods on a subclass when the exclude_ancestors flag is false" do
328
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample2, :protected_instance_m, :instance_method_only, false).should be_false
328
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample2, :protected_instance_m, :instance_method_only, false).should be_falsey
329
329
  end
330
330
  it "should return false for private instance methods on a subclass when the exclude_ancestors flag is false" do
331
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample2, :private_instance_m, :instance_method_only, false).should be_false
331
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample2, :private_instance_m, :instance_method_only, false).should be_falsey
332
332
  end
333
333
 
334
334
  it "should return false for an unknown method" do
335
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :nonexistent_method).should be_false
335
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :nonexistent_method).should be_falsey
336
336
  end
337
337
  it "should return false for an unknown method when only class methods are specified" do
338
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :nonexistent_method, :class_method_only).should be_false
338
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :nonexistent_method, :class_method_only).should be_falsey
339
339
  end
340
340
  it "should return false for an unknown method when only instance methods are specified" do
341
- Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :nonexistent_method, :instance_method_only).should be_false
341
+ Aquarium::Utils::MethodUtils.has_method(MethodUtilsSpecProtectionExample.new, :nonexistent_method, :instance_method_only).should be_falsey
342
342
  end
343
343
  end
344
344
 
@@ -6,20 +6,20 @@ describe Aquarium::Utils::NilObject, "#eql?" do
6
6
  it "should return true when called with any other NilObject" do
7
7
  nil_object1 = Aquarium::Utils::NilObject.new
8
8
  nil_object2 = Aquarium::Utils::NilObject.new
9
- nil_object1.should eql(nil_object1)
10
- nil_object1.should eql(nil_object2)
11
- nil_object2.should eql(nil_object1)
12
- nil_object1.eql?(nil_object1).should be_true
13
- nil_object1.eql?(nil_object2).should be_true
14
- nil_object2.eql?(nil_object1).should be_true
9
+ nil_object1.should eql(nil_object1)
10
+ nil_object1.should eql(nil_object2)
11
+ nil_object2.should eql(nil_object1)
12
+ nil_object1.eql?(nil_object1).should be_truthy
13
+ nil_object1.eql?(nil_object2).should be_truthy
14
+ nil_object2.eql?(nil_object1).should be_truthy
15
15
  end
16
16
 
17
17
  it "should return false when called with any other object" do
18
18
  nil_object = Aquarium::Utils::NilObject.new
19
- nil_object.should_not eql(nil)
20
- nil_object.should_not eql("nil_object")
21
- nil_object.eql?(nil).should be_false
22
- nil_object.eql?("nil_object").should be_false
19
+ nil_object.not_to eql(nil)
20
+ nil_object.not_to eql("nil_object")
21
+ nil_object.eql?(nil).should be_falsey
22
+ nil_object.eql?("nil_object").should be_falsey
23
23
  end
24
24
  end
25
25
 
@@ -34,7 +34,7 @@ describe Aquarium::Utils::NilObject, " (when a message is sent to it)" do
34
34
  it "should invoke Object's methods, when defined" do
35
35
  nil_object = Aquarium::Utils::NilObject.new
36
36
  %w[to_s inspect].each do |method_name|
37
- nil_object.send(method_name.to_sym).include?("Aquarium::Utils::NilObject").should be_true
37
+ nil_object.send(method_name.to_sym).include?("Aquarium::Utils::NilObject").should be_truthy
38
38
  end
39
39
  end
40
40
  end
@@ -22,7 +22,7 @@ describe OptionsUtils, "with no 'universal' options specified" do
22
22
 
23
23
  it "should set noop to false." do
24
24
  object = Aquarium::OptionsUtilsUser.new
25
- object.noop.should be_false
25
+ object.noop.should be_falsey
26
26
  end
27
27
  end
28
28
 
@@ -102,12 +102,12 @@ end
102
102
  describe OptionsUtils, "#noop" do
103
103
  it "should return false if :noop was not specified." do
104
104
  object = Aquarium::OptionsUtilsUser.new
105
- object.noop.should be_false
105
+ object.noop.should be_falsey
106
106
  end
107
107
 
108
108
  it "should return the value specified with :noop." do
109
109
  object = Aquarium::OptionsUtilsUser.new :noop => true
110
- object.noop.should be_true
110
+ object.noop.should be_truthy
111
111
  end
112
112
  end
113
113
 
@@ -115,7 +115,7 @@ describe OptionsUtils, "#noop=" do
115
115
  it "should set the noop value." do
116
116
  object = Aquarium::OptionsUtilsUser.new :noop => true
117
117
  object.noop = false
118
- object.noop.should be_false
118
+ object.noop.should be_falsey
119
119
  end
120
120
  end
121
121
 
@@ -205,15 +205,15 @@ end
205
205
 
206
206
  describe OptionsUtils, "and options handling" do
207
207
  it "should raise if an unknown option is specified" do
208
- lambda {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :unknown => true}.should raise_error(Aquarium::Utils::InvalidOptions)
208
+ expect {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :unknown => true}.to raise_error(Aquarium::Utils::InvalidOptions)
209
209
  end
210
210
  it "should not raise if a known canonical option is specified" do
211
- lambda {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :foos => true}.should_not raise_error(Aquarium::Utils::InvalidOptions)
211
+ expect {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :foos => true}.not_to raise_error
212
212
  end
213
213
  it "should not raise if a known canonical option synonym is specified" do
214
- lambda {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :foo1 => true}.should_not raise_error(Aquarium::Utils::InvalidOptions)
214
+ expect {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :foo1 => true}.not_to raise_error
215
215
  end
216
216
  it "should not raise if an known additional allowed option is specified" do
217
- lambda {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :baz => true}.should_not raise_error(Aquarium::Utils::InvalidOptions)
217
+ expect {Aquarium::OptionsUtilsExampleWithAdditionalAllowedOptions.new :baz => true}.not_to raise_error
218
218
  end
219
219
  end
@@ -7,15 +7,15 @@ include Aquarium::Utils
7
7
 
8
8
  describe TypeUtils, ".is_type?" do
9
9
  it "should be true for a class" do
10
- TypeUtils.is_type?(String).should be_true
10
+ TypeUtils.is_type?(String).should be_truthy
11
11
  end
12
12
 
13
13
  it "should be true for a Module" do
14
- TypeUtils.is_type?(Kernel).should be_true
14
+ TypeUtils.is_type?(Kernel).should be_truthy
15
15
  end
16
16
 
17
17
  it "should be false for an Object" do
18
- TypeUtils.is_type?("Object").should be_false
18
+ TypeUtils.is_type?("Object").should be_falsey
19
19
  end
20
20
  end
21
21
 
metadata CHANGED
@@ -1,35 +1,196 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aquarium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
5
- prerelease:
4
+ version: 0.7.1
6
5
  platform: ruby
7
6
  authors:
8
- - Aquarium Development Team
7
+ - Dean Wampler and other contributors
9
8
  autorequire: aquarium
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-31 00:00:00.000000000 Z
13
- dependencies: []
14
- description: ! " Aquarium is a full-featured Aspect-Oriented Programming (AOP)
15
- framework for Ruby that is \n designed to provide an intuitive syntax and support
16
- for large-scale, dynamic aspects.\n"
17
- email: aquarium-devel@rubyforge.org
11
+ date: 2019-04-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.1
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: coderay
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.2
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.1.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: meta_project
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.4.15
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.4.15
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 12.3.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 12.3.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: rdoc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 6.1.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 6.1.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: RedCloth
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 4.3.2
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 4.3.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.14.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 2.14.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-core
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 3.8.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 3.8.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec-expectations
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 3.8.3
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 3.8.3
139
+ - !ruby/object:Gem::Dependency
140
+ name: webgen
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: 1.5.2
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 1.5.2
153
+ description: |2
154
+ Aquarium is a full-featured Aspect-Oriented Programming (AOP) framework for Ruby that is
155
+ designed to provide an intuitive syntax and support for large-scale, dynamic aspects.
156
+ email: deanwampler@gmail.com
18
157
  executables: []
19
158
  extensions: []
20
- extra_rdoc_files:
21
- - README
22
- - CHANGES
23
- - MIT_LICENSE
24
- - UPGRADE
159
+ extra_rdoc_files: []
25
160
  files:
26
161
  - CHANGES
27
162
  - EXAMPLES.rd
28
163
  - MIT_LICENSE
29
- - Rakefile
30
164
  - README
31
165
  - RELEASE-PLAN
166
+ - Rakefile
32
167
  - UPGRADE
168
+ - aquarium.gemspec
169
+ - examples/README.txt
170
+ - examples/aspect_design_example.rb
171
+ - examples/aspect_design_example_spec.rb
172
+ - examples/design_by_contract_example.rb
173
+ - examples/design_by_contract_example_spec.rb
174
+ - examples/exception_wrapping_example.rb
175
+ - examples/exception_wrapping_example_spec.rb
176
+ - examples/introductions_example.rb
177
+ - examples/introductions_example_spec.rb
178
+ - examples/method_missing_example.rb
179
+ - examples/method_missing_example_spec.rb
180
+ - examples/method_tracing_example.rb
181
+ - examples/method_tracing_example_spec.rb
182
+ - examples/reusable_aspect_hack_example.rb
183
+ - examples/reusable_aspect_hack_example_spec.rb
184
+ - jruby/Rakefile
185
+ - jruby/java/example/Worker.java
186
+ - jruby/java/example/sorter/StringListSorter.java
187
+ - jruby/java/example/sorter/converter/StringListCaseConverterAndSorter.java
188
+ - jruby/java/example/visibility/Visibility.java
189
+ - jruby/spec/java_class_aspects_spec.rb
190
+ - jruby/spec/java_visibility_spec.rb
191
+ - jruby/spec/spec_helper.rb
192
+ - lib/aquarium.rb
193
+ - lib/aquarium/aspects.rb
33
194
  - lib/aquarium/aspects/advice.rb
34
195
  - lib/aquarium/aspects/aspect.rb
35
196
  - lib/aquarium/aspects/default_objects_handler.rb
@@ -37,22 +198,22 @@ files:
37
198
  - lib/aquarium/aspects/join_point.rb
38
199
  - lib/aquarium/aspects/pointcut.rb
39
200
  - lib/aquarium/aspects/pointcut_composition.rb
40
- - lib/aquarium/aspects.rb
201
+ - lib/aquarium/dsl.rb
41
202
  - lib/aquarium/dsl/aspect_dsl.rb
42
203
  - lib/aquarium/dsl/object_dsl.rb
43
- - lib/aquarium/dsl.rb
204
+ - lib/aquarium/extensions.rb
44
205
  - lib/aquarium/extensions/hash.rb
45
206
  - lib/aquarium/extensions/regexp.rb
46
207
  - lib/aquarium/extensions/set.rb
47
208
  - lib/aquarium/extensions/string.rb
48
- - lib/aquarium/extensions.rb
49
- - lib/aquarium/extras/design_by_contract.rb
50
209
  - lib/aquarium/extras.rb
210
+ - lib/aquarium/extras/design_by_contract.rb
211
+ - lib/aquarium/finders.rb
51
212
  - lib/aquarium/finders/finder_result.rb
52
213
  - lib/aquarium/finders/method_finder.rb
53
214
  - lib/aquarium/finders/pointcut_finder.rb
54
215
  - lib/aquarium/finders/type_finder.rb
55
- - lib/aquarium/finders.rb
216
+ - lib/aquarium/utils.rb
56
217
  - lib/aquarium/utils/array_utils.rb
57
218
  - lib/aquarium/utils/default_logger.rb
58
219
  - lib/aquarium/utils/hash_utils.rb
@@ -65,9 +226,13 @@ files:
65
226
  - lib/aquarium/utils/options_utils.rb
66
227
  - lib/aquarium/utils/set_utils.rb
67
228
  - lib/aquarium/utils/type_utils.rb
68
- - lib/aquarium/utils.rb
69
229
  - lib/aquarium/version.rb
70
- - lib/aquarium.rb
230
+ - previous_failures.txt
231
+ - rake_tasks/examples.rake
232
+ - rake_tasks/examples_specdoc.rake
233
+ - rake_tasks/examples_with_rcov.rake
234
+ - rake_tasks/verify_rcov.rake
235
+ - rspec.watchr
71
236
  - spec/aquarium/aspects/advice_chain_node_spec.rb
72
237
  - spec/aquarium/aspects/advice_spec.rb
73
238
  - spec/aquarium/aspects/aspect_invocation_spec.rb
@@ -110,52 +275,68 @@ files:
110
275
  - spec/aquarium/utils/type_utils_sample_classes.rb
111
276
  - spec/aquarium/utils/type_utils_sample_nested_types.rb
112
277
  - spec/aquarium/utils/type_utils_spec.rb
113
- - examples/aspect_design_example.rb
114
- - examples/aspect_design_example_spec.rb
115
- - examples/design_by_contract_example.rb
116
- - examples/design_by_contract_example_spec.rb
117
- - examples/exception_wrapping_example.rb
118
- - examples/exception_wrapping_example_spec.rb
119
- - examples/introductions_example.rb
120
- - examples/introductions_example_spec.rb
121
- - examples/method_missing_example.rb
122
- - examples/method_missing_example_spec.rb
123
- - examples/method_tracing_example.rb
124
- - examples/method_tracing_example_spec.rb
125
- - examples/reusable_aspect_hack_example.rb
126
- - examples/reusable_aspect_hack_example_spec.rb
127
- - rake_tasks/examples.rake
128
- - rake_tasks/examples_specdoc.rake
129
- - rake_tasks/examples_with_rcov.rake
130
- - rake_tasks/verify_rcov.rake
131
- homepage: http://aquarium.rubyforge.org
278
+ homepage: https://deanwampler.github.io/open-source/aquarium/index.html
132
279
  licenses: []
280
+ metadata: {}
133
281
  post_install_message:
134
- rdoc_options:
135
- - --title
136
- - Aquarium
137
- - --line-numbers
138
- - --inline-source
139
- - --main
140
- - README
282
+ rdoc_options: []
141
283
  require_paths:
142
284
  - lib
143
285
  required_ruby_version: !ruby/object:Gem::Requirement
144
- none: false
145
286
  requirements:
146
- - - ! '>='
287
+ - - ">="
147
288
  - !ruby/object:Gem::Version
148
289
  version: '0'
149
290
  required_rubygems_version: !ruby/object:Gem::Requirement
150
- none: false
151
291
  requirements:
152
- - - ! '>='
292
+ - - ">="
153
293
  - !ruby/object:Gem::Version
154
294
  version: '0'
155
295
  requirements: []
156
- rubyforge_project: aquarium
157
- rubygems_version: 1.8.11
296
+ rubygems_version: 3.0.3
158
297
  signing_key:
159
- specification_version: 3
160
- summary: Aquarium-0.5.1 (r7) - Aspect-Oriented Programming toolkit for Ruby http://aquarium.rubyforge.org
161
- test_files: []
298
+ specification_version: 4
299
+ summary: Aquarium-0.7.1 (r7) - Aspect-Oriented Programming toolkit for Ruby http://aquarium.rubyforge.org
300
+ test_files:
301
+ - spec/aquarium/aspects/advice_chain_node_spec.rb
302
+ - spec/aquarium/aspects/advice_spec.rb
303
+ - spec/aquarium/aspects/aspect_invocation_spec.rb
304
+ - spec/aquarium/aspects/aspect_spec.rb
305
+ - spec/aquarium/aspects/aspect_with_nested_types_spec.rb
306
+ - spec/aquarium/aspects/aspect_with_subtypes_spec.rb
307
+ - spec/aquarium/aspects/concurrent_aspects_spec.rb
308
+ - spec/aquarium/aspects/concurrent_aspects_with_objects_and_types_spec.rb
309
+ - spec/aquarium/aspects/concurrently_accessed.rb
310
+ - spec/aquarium/aspects/default_objects_handler_spec.rb
311
+ - spec/aquarium/aspects/join_point_spec.rb
312
+ - spec/aquarium/aspects/pointcut_and_composition_spec.rb
313
+ - spec/aquarium/aspects/pointcut_or_composition_spec.rb
314
+ - spec/aquarium/aspects/pointcut_spec.rb
315
+ - spec/aquarium/dsl/aspect_dsl_spec.rb
316
+ - spec/aquarium/extensions/hash_spec.rb
317
+ - spec/aquarium/extensions/regex_spec.rb
318
+ - spec/aquarium/extensions/set_spec.rb
319
+ - spec/aquarium/extensions/string_spec.rb
320
+ - spec/aquarium/extras/design_by_contract_spec.rb
321
+ - spec/aquarium/finders/finder_result_spec.rb
322
+ - spec/aquarium/finders/method_finder_spec.rb
323
+ - spec/aquarium/finders/pointcut_finder_spec.rb
324
+ - spec/aquarium/finders/pointcut_finder_spec_test_classes.rb
325
+ - spec/aquarium/finders/type_finder_spec.rb
326
+ - spec/aquarium/finders/type_finder_with_descendents_and_ancestors_spec.rb
327
+ - spec/aquarium/finders/type_finder_with_nested_types_spec.rb
328
+ - spec/aquarium/spec_example_types.rb
329
+ - spec/aquarium/spec_helper.rb
330
+ - spec/aquarium/utils/array_utils_spec.rb
331
+ - spec/aquarium/utils/default_logger_spec.rb
332
+ - spec/aquarium/utils/hash_utils_spec.rb
333
+ - spec/aquarium/utils/html_escaper_spec.rb
334
+ - spec/aquarium/utils/logic_error_spec.rb
335
+ - spec/aquarium/utils/method_utils_spec.rb
336
+ - spec/aquarium/utils/name_utils_spec.rb
337
+ - spec/aquarium/utils/nil_object_spec.rb
338
+ - spec/aquarium/utils/options_utils_spec.rb
339
+ - spec/aquarium/utils/set_utils_spec.rb
340
+ - spec/aquarium/utils/type_utils_sample_classes.rb
341
+ - spec/aquarium/utils/type_utils_sample_nested_types.rb
342
+ - spec/aquarium/utils/type_utils_spec.rb