mushin 0.54.0 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/exe/generator.rb +0 -0
- data/lib/mushin/domain.rb +2 -2
- data/lib/mushin/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1baa796351c6bf468614639a3f03845f7687c16d
|
4
|
+
data.tar.gz: 0315dea0e2bfc3747786aca877fe7d5e2cc25965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8151dfa5c217d107fa98ec42bc944812a74ac0370c37fd87910c122e3f8da997f2875e89063ff1b92afa811cbbbebb4335080949e5df4701a976067ddfe3e94e
|
7
|
+
data.tar.gz: eb2519c2d7f294a67de42847de65f13b8da1c883ba7b750e5452bd8b0f8fbe520d9a0e86ad4c8610d40c137917b09010116ece10cad1c291871fa921b4c869f4
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 mushin-rb
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/exe/generator.rb
CHANGED
File without changes
|
data/lib/mushin/domain.rb
CHANGED
@@ -36,14 +36,14 @@ module Mushin
|
|
36
36
|
#NOTE CQRS
|
37
37
|
@@dsl_tree.each do |klass_context_set|
|
38
38
|
klass_context_set.each do |klass_context_key, klass_context_value|
|
39
|
-
self.singleton_class.
|
39
|
+
self.singleton_class.__send__ :define_method, klass_context_key do |&context_block|
|
40
40
|
klass_context_value.each do |klass_construct_set|
|
41
41
|
$log.debug "the whole construct_set: #{klass_construct_set}"
|
42
42
|
klass_construct_set.each do |klass_construct_key, klass_construct_value|
|
43
43
|
$log.debug "klass_construct_key #{klass_construct_key} | klass_construct_value #{klass_construct_value}"
|
44
44
|
$log.debug "#{@@dsl_tree}"
|
45
45
|
#NOTE creates an instance method with the name of the klass_construct_key
|
46
|
-
self.singleton_class.
|
46
|
+
self.singleton_class.__send__ :define_method, klass_construct_key do |instance_hash = Hash.new|
|
47
47
|
@stack = Mushin::Stack.new
|
48
48
|
klass_construct_value.each do |klass_ext|
|
49
49
|
ext_hash = Hash.new
|
data/lib/mushin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mushin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zotherstupidguy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- ".travis.yml"
|
136
136
|
- CODE_OF_CONDUCT.md
|
137
137
|
- Gemfile
|
138
|
+
- LICENSE
|
138
139
|
- LICENSE.txt
|
139
140
|
- README.md
|
140
141
|
- Rakefile
|