gallifrey 0.1.0.beta1 → 0.1.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -1
- data/lib/gallifrey.rb +18 -0
- data/lib/gallifrey/cipher.rb +11 -0
- data/lib/gallifrey/event_store.rb +12 -0
- data/lib/gallifrey/version.rb +1 -1
- data/lib/gallifrey/view.rb +10 -0
- metadata +5 -2
- data/lib/gallifrey/repository/default.rb +0 -12
data/README.rdoc
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
== Installation
|
11
11
|
|
12
|
-
Gallifrey is distributed as a gem via
|
12
|
+
Gallifrey is distributed as a gem via rubygems (http://rubygems.org/gems/gallifrey) or as source via GitHub (http://github.com/harukizaemon/gallifrey).
|
13
13
|
|
14
14
|
Installation via the gem is easy:
|
15
15
|
|
@@ -18,3 +18,7 @@ Installation via the gem is easy:
|
|
18
18
|
Once installed, all that remains is to make the classes available in your code:
|
19
19
|
|
20
20
|
require 'gallifrey'
|
21
|
+
|
22
|
+
Installation via bundler is even easier:
|
23
|
+
|
24
|
+
gem "gallifrey"
|
data/lib/gallifrey.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
module Gallifrey
|
2
|
+
|
3
|
+
autoload :Aggregate, 'gallifrey/aggregate'
|
4
|
+
autoload :AggregateNotFound, 'gallifrey/aggregate_not_found'
|
5
|
+
autoload :Cipher, 'gallifrey/cipher'
|
6
|
+
autoload :Conflict, 'gallifrey/conflict'
|
7
|
+
autoload :Entity, 'gallifrey/entity'
|
8
|
+
autoload :EntityNotFound, 'gallifrey/entity_not_found'
|
9
|
+
autoload :Event, 'gallifrey/event'
|
10
|
+
autoload :EventApplication, 'gallifrey/event_application'
|
11
|
+
autoload :EventProcessing, 'gallifrey/event_processing'
|
12
|
+
autoload :EventStore, 'gallifrey/event_store'
|
13
|
+
autoload :GUID, 'gallifrey/guid'
|
14
|
+
autoload :Repository, 'gallifrey/repository'
|
15
|
+
autoload :Version, 'gallifrey/version'
|
16
|
+
autoload :View, 'gallifrey/view'
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Gallifrey
|
2
|
+
|
3
|
+
module EventStore
|
4
|
+
|
5
|
+
autoload :Auditing, 'gallifrey/event_store/auditing'
|
6
|
+
autoload :Null, 'gallifrey/event_store/null'
|
7
|
+
autoload :Publishing, 'gallifrey/event_store/publishing'
|
8
|
+
autoload :Sequel, 'gallifrey/event_store/sequel'
|
9
|
+
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
data/lib/gallifrey/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gallifrey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 0.1.0.
|
5
|
+
version: 0.1.0.beta2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Simon Harris
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- lib/gallifrey/cipher/base64.rb
|
106
106
|
- lib/gallifrey/cipher/null.rb
|
107
107
|
- lib/gallifrey/cipher/sha256.rb
|
108
|
+
- lib/gallifrey/cipher.rb
|
108
109
|
- lib/gallifrey/conflict.rb
|
109
110
|
- lib/gallifrey/entity.rb
|
110
111
|
- lib/gallifrey/entity_not_found.rb
|
@@ -115,12 +116,14 @@ files:
|
|
115
116
|
- lib/gallifrey/event_store/null.rb
|
116
117
|
- lib/gallifrey/event_store/publishing.rb
|
117
118
|
- lib/gallifrey/event_store/sequel.rb
|
119
|
+
- lib/gallifrey/event_store.rb
|
118
120
|
- lib/gallifrey/guid.rb
|
119
|
-
- lib/gallifrey/repository/default.rb
|
120
121
|
- lib/gallifrey/repository.rb
|
121
122
|
- lib/gallifrey/version.rb
|
122
123
|
- lib/gallifrey/view/composite.rb
|
123
124
|
- lib/gallifrey/view/null.rb
|
125
|
+
- lib/gallifrey/view.rb
|
126
|
+
- lib/gallifrey.rb
|
124
127
|
- spec/gallifrey/aggregate/apply_event_spec.rb
|
125
128
|
- spec/gallifrey/aggregate/coverage/assets/0.4.4/app.js
|
126
129
|
- spec/gallifrey/aggregate/coverage/assets/0.4.4/fancybox/blank.gif
|