lib/rom/changeset/update.rb in rom-changeset-1.0.0.beta2 vs lib/rom/changeset/update.rb in rom-changeset-1.0.0.beta3
- old
+ new
@@ -1,7 +1,5 @@
-require 'rom/changeset/restricted'
-
module ROM
class Changeset
# Changeset specialization for update commands
#
# Update changesets will only execute their commands when
@@ -13,11 +11,9 @@
#
# @see Changeset::Stateful
#
# @api public
class Update < Stateful
- include Restricted
-
command_type :update
# Commit update changeset if there's a diff
#
# This returns original tuple if there's no diff