lib/rom/repository/changeset/update.rb in rom-repository-1.0.0.rc1 vs lib/rom/repository/changeset/update.rb in rom-repository-1.0.0.rc2
- old
+ new
@@ -7,10 +7,12 @@
# is fetched from changeset's relation using `by_pk` relation view.
# This means the underlying adapter must provide this view, or you
# you need to implement it yourself in your relations if you want to
# use Update changesets.
#
+ # @see Changeset::Stateful
+ #
# @api public
class Update < Stateful
command_type :update
# Commit update changeset if there's a diff
@@ -63,10 +65,10 @@
diff.empty?
end
# Calculate the diff between the original and changeset data
#
- # @return [Hash, Array]
+ # @return [Hash]
#
# @api public
def diff
@diff ||=
begin