rddd 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rddd (0.1.2)
4
+ rddd (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,8 +1,10 @@
1
1
  module Rddd
2
2
  module AggregateRootFinders
3
- def finder(name)
4
- define_singleton_method name do |*args|
5
- repository.send(name, *args)
3
+ def finder(name, &block)
4
+ (class << self; self; end).instance_eval do
5
+ define_method name do |*args|
6
+ repository.send(name, *args)
7
+ end
6
8
  end
7
9
  end
8
10
 
data/lib/rddd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rddd
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,23 +1,33 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rddd
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 3713544621248369165
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 4
10
+ version: 0.1.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Petr Janda
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-11-03 00:00:00.000000000 Z
17
+
18
+ date: 2012-11-17 00:00:00 Z
13
19
  dependencies: []
20
+
14
21
  description: Ruby DDD framework
15
- email:
22
+ email:
16
23
  - petrjanda@me.com
17
24
  executables: []
25
+
18
26
  extensions: []
27
+
19
28
  extra_rdoc_files: []
20
- files:
29
+
30
+ files:
21
31
  - .gitignore
22
32
  - .rspec
23
33
  - .rvmrc
@@ -50,31 +60,38 @@ files:
50
60
  - spec/spec_helper.rb
51
61
  homepage: http://blog.ngneers.com
52
62
  licenses: []
63
+
53
64
  post_install_message:
54
65
  rdoc_options: []
55
- require_paths:
66
+
67
+ require_paths:
56
68
  - lib
57
- required_ruby_version: !ruby/object:Gem::Requirement
69
+ required_ruby_version: !ruby/object:Gem::Requirement
58
70
  none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 2002549777813010636
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
79
  none: false
65
- requirements:
66
- - - ! '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ hash: 2002549777813010636
84
+ segments:
85
+ - 0
86
+ version: "0"
69
87
  requirements: []
88
+
70
89
  rubyforge_project:
71
90
  rubygems_version: 1.8.24
72
91
  signing_key:
73
92
  specification_version: 3
74
- summary: Intention of rddd is to provide basic skeleton for DDD ruby application.
75
- Its framework agnostic, although some framework specific extensions might come later
76
- to make it easier to start.
77
- test_files:
93
+ summary: Intention of rddd is to provide basic skeleton for DDD ruby application. Its framework agnostic, although some framework specific extensions might come later to make it easier to start.
94
+ test_files:
78
95
  - spec/integration_spec.rb
79
96
  - spec/lib/aggregate_root_spec.rb
80
97
  - spec/lib/entity_spec.rb