mushin 0.0.0.pre24 → 0.0.0.pre25

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mushin/base.rb +4 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8b34937ccc4a540ac43c2203a791db98ccdf2fa
4
- data.tar.gz: 1be3904e9310c0e0ea1ff49af9cb59a5a5aa70bd
3
+ metadata.gz: 53b97eecb286bf7d23ee4663e219e8901a3730c3
4
+ data.tar.gz: ded593abaefcaf5872377fbb9e48622bb8df30e0
5
5
  SHA512:
6
- metadata.gz: b2d15fd76c897d0ee8dd8984aa924d8d3abf6c776b9fe801d254d7232a80e7454fe342ded3684a98d9094b2a69592f0b287fa2144d580f922f3993b32f54db6b
7
- data.tar.gz: 85396bd890a9b7868975caeaee9754aecb5dc5c75d387ab07da0507584912baa97fdc770b155f148369919d511583e149e0cd473b21aeec2b6a531d47171a409
6
+ metadata.gz: 848beb63c903faea486796002563d5d439577d6ba6aca08675908c49906d348112b0049cc295914116fe77869727320ecb8fb7cae1fb4c0995994df8f5388b81
7
+ data.tar.gz: e79d455ab57db8ba8e20116b909f702b510304fc57fad24c933f5a738d1725a3d001dbc16c2b2b618c146c6efc71cdfa184a2aeb5d361e44f52c4e27ca79027f
data/lib/mushin/base.rb CHANGED
@@ -97,7 +97,7 @@ module Mushin
97
97
  #instance_eval &block
98
98
  end
99
99
 
100
- def Env.run id, &block
100
+ def Env.set id, &block
101
101
  @id = id
102
102
  def self.on domain_context, &block
103
103
  @@domain_context = domain_context
@@ -110,6 +110,9 @@ module Mushin
110
110
  end
111
111
  #instance_eval(&block)
112
112
  class_eval(&block)
113
+ end
114
+
115
+ def Env.live
113
116
  Mushin::Engine.setup [Object.const_get(@@ds)]
114
117
  @@activities.each do |activity|
115
118
  Mushin::Engine.run @@domain_context, activity
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.0.0.pre24
4
+ version: 0.0.0.pre25
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-20 00:00:00.000000000 Z
11
+ date: 2014-05-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: In the beginner’s mind there are many possibilities, in the expert’s
14
14
  mind there are few!