Sha256: b4169fbc2d7092d00b673819c6b9407dd9a8708d82bbb9582b75262522fe123c

Contents?: true

Size: 950 Bytes

Versions: 2

Compression:

Stored size: 950 Bytes

Contents

require 'active_support/concern'
require 'active_model'
require 'ostruct'
require 'set'

module Euston
  class << self
    attr_accessor :uuid, :logger
  end
end

if RUBY_PLATFORM.to_s == 'java'
  module Uuid
    def self.generate
      Java::JavaUtil::UUID.randomUUID().toString()
    end
  end
else
  require 'uuid'
  Uuid = UUID.new
end

Euston.uuid = Uuid

require 'euston/errors'
require 'euston/aggregate_command_map'
require 'euston/aggregate_root_private_method_names'
require 'euston/aggregate_root_dsl_methods'
require 'euston/command'
require 'euston/command_bus'
require 'euston/command_handler_private_method_names'
require 'euston/command_handler'
require 'euston/command_headers'
require 'euston/event'
require 'euston/event_handler_private_method_names'
require 'euston/event_handler'
require 'euston/event_headers'
require 'euston/idempotence'
require 'euston/null_logger'
require 'euston/aggregate_root'
require 'euston/repository'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
euston-1.2.0 lib/euston.rb
euston-1.2.0-java lib/euston.rb