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 CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  == Installation
11
11
 
12
- Gallifrey is distributed as a gem via gemcutter (http://gemcutter.org/gems/gallifrey) or as source via GitHub (http://github.com/harukizaemon/gallifrey).
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,11 @@
1
+ module Gallifrey
2
+
3
+ module Cipher
4
+
5
+ autoload :Base64, 'gallifrey/cipher/base64'
6
+ autoload :Null, 'gallifrey/cipher/null'
7
+ autoload :SHA256, 'gallifrey/cipher/sha256'
8
+
9
+ end
10
+
11
+ 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
@@ -1,5 +1,5 @@
1
1
  module Gallifrey
2
2
 
3
- VERSION = "0.1.0.beta1".freeze
3
+ VERSION = "0.1.0.beta2".freeze
4
4
 
5
5
  end
@@ -0,0 +1,10 @@
1
+ module Gallifrey
2
+
3
+ module View
4
+
5
+ autoload :Composite, 'gallifrey/view/composite'
6
+ autoload :Null, 'gallifrey/view/null'
7
+
8
+ end
9
+
10
+ end
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.beta1
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
@@ -1,12 +0,0 @@
1
- module Repository
2
-
3
- module Default
4
-
5
- def self.new(created_by)
6
- event_store = EventStore::Default.new(created_by)
7
- Gallifrey::Repository.new(event_store)
8
- end
9
-
10
- end
11
-
12
- end