== Upgrading to Aquarium-0.1.8
V0.1.7 did not successfully "register" at rubyforge. This releases fixes that problem and also adds
several feature enhancements and refactorings. There are no known upgrade issues.
== Upgrading to Aquarium-0.1.7
This is primarily a bug-fix release, so there should be no upgrading or incompatibility issues.
== Upgrading to Aquarium-0.1.6
As described in the CHANGES, the JoinPoint#type, JoinPoint#type=, JoinPoint#object, and JoinPoint#object=
are now deprecated. Client code that uses these methods will still work, but warning messages will be
written to STDOUT. See CHANGES for more details.
== Upgrading to Aquarium-0.1.5
This is mostly a bug-fix release, but it did have to introduce one API change, as described in the
CHANGES. In particular, the aspect "DSL" methods are no longer automatically to Object, as some of
their names overlap with methods added by Rails.
Now, if you want these methods added to Object, you must require the new
lib/aquarium/aspects/dsl/object_dsl.rb explicitly.
As an alternative, if you just want these methods added selectively in certain types, then do the
following:
require 'aquarium/aspects/dsl/aspect_dsl'
class MyClass # reopen "MyClass"
# Add the methods as _class_ methods
include Aquarium::Aspects::DSL::AspectDSL
end
or, use (class|module)_eval:
require 'aquarium/aspects/dsl/aspect_dsl'
MyClass.class_eval do
# Add the methods as _class_ methods
include Aquarium::Aspects::DSL::AspectDSL
end
To add the methods as _instance_ methods on individual objects:
object = MyClass.new
object.extend(Aquarium::Aspects::DSL::AspectDSL)
See the CHANGES for more details.
== Upgrading existing code to Aquarium-0.1.0
This is the first release of Aquarium.