mushin 0.59.0 → 0.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/generator.rb +4 -6
- data/lib/mushin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 744507b5b13cddaff8075b946b8d45b195c76a7f
|
4
|
+
data.tar.gz: b33437ecd11fa8ec2e0ac54c0a0afe35e5844ebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eabcafe599005af0ee0b892d2a5de0dc2d2cfb3cef893e384b880e78f7649849df48ea8dba5476c5581dbee1f5408554ac6d5b66705033463ed689246ac5c2c9
|
7
|
+
data.tar.gz: 6adc2c1284cfec44284ddb91fad811eedd5487555aa5d6df915b9c243d9675100d10d523055276d2dd687f13ae26003246cac93b7116f05a5a02d93237aa13a5
|
data/exe/generator.rb
CHANGED
@@ -58,12 +58,12 @@ module Mushin
|
|
58
58
|
def call env
|
59
59
|
env ||= Hash.new
|
60
60
|
|
61
|
-
case @opts[:
|
62
|
-
when
|
61
|
+
case @opts[:cqrs]
|
62
|
+
when :cqrs_query
|
63
63
|
#inbound code
|
64
64
|
@app.call(env)
|
65
65
|
#outbound code
|
66
|
-
when
|
66
|
+
when :cqrs_command
|
67
67
|
#inbound code
|
68
68
|
@app.call(env)
|
69
69
|
#outbound code
|
@@ -82,9 +82,7 @@ before do
|
|
82
82
|
@env = {}
|
83
83
|
end
|
84
84
|
it "ext" do
|
85
|
-
|
86
|
-
opts[:cqrs_query] = false
|
87
|
-
|
85
|
+
#NOTE must specifiy the opts_query true or false while testing the extensions, but if the extenstion is called via a DSF, DSF automatically carry it out
|
88
86
|
opts = {:cqrs => :cqrs_command}
|
89
87
|
params = {:username => @secrets["github"]["login"], :password => @secrets["github"]["password"]}
|
90
88
|
@ext = Github::Ext.new(Proc.new {}, opts, params)
|
data/lib/mushin/version.rb
CHANGED