mushin 0.59.0 → 0.60.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0969856d33bc20572e1cc78a3e3e738c0e553481'
4
- data.tar.gz: 5d4d3701ff920ec7c12c0bfaf1216b9289c88d4f
3
+ metadata.gz: 744507b5b13cddaff8075b946b8d45b195c76a7f
4
+ data.tar.gz: b33437ecd11fa8ec2e0ac54c0a0afe35e5844ebb
5
5
  SHA512:
6
- metadata.gz: 8be2931f701b356032949c73c095f1ffa68c08127b24891dd07a42c2ffee8d1cf4a28e844eddaee798e5790eb96e559452f3a14f056ad859f8b0077d74e6953d
7
- data.tar.gz: e83707696f1a6a4122560c9be0d6ad2665f412e47299640005797edaeebb0fb570c90067b76c1388f2f758cca30ae8f097cc055e146522d93e5875220c3cf07f
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[:cqrs_query]
62
- when true
61
+ case @opts[:cqrs]
62
+ when :cqrs_query
63
63
  #inbound code
64
64
  @app.call(env)
65
65
  #outbound code
66
- when false
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
- #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
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)
@@ -1,3 +1,3 @@
1
1
  module Mushin
2
- VERSION = "0.59.0"
2
+ VERSION = "0.60.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mushin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zotherstupidguy