Sha256: 2304b7a56ce608d7d0ee1fdb43d4946fde2412aeeda330e58a9d3d3996552b06

Contents?: true

Size: 808 Bytes

Versions: 5

Compression:

Stored size: 808 Bytes

Contents

module ActiveShepherd ; end

require 'active_shepherd/active_record_shim'
require 'active_shepherd/aggregate'
require 'active_shepherd/aggregate_root'
require 'active_shepherd/changes_validator'
require 'active_shepherd/deep_reverse_changes'
require 'active_shepherd/method'
require 'active_shepherd/methods/apply_changes'
require 'active_shepherd/methods/apply_state'
require 'active_shepherd/methods/query_changes'
require 'active_shepherd/methods/query_state'
require 'active_shepherd/traversal'
require 'active_shepherd/version'

module ActiveShepherd
  AggregateMismatchError = Class.new(StandardError)
  BadChangeError         = Class.new(StandardError)
  InvalidChangesError    = Class.new(StandardError)

  def self.deep_reverse_changes(changes)
    DeepReverseChanges.new(changes).reverse
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeshepherd-0.8.4 lib/active_shepherd.rb
activeshepherd-0.8.3 lib/active_shepherd.rb
activeshepherd-0.8.2 lib/active_shepherd.rb
activeshepherd-0.8.1 lib/active_shepherd.rb
activeshepherd-0.8.0 lib/active_shepherd.rb