gameon 0.0.0.pre103 → 0.0.0.pre104

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gameon/base.rb +6 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5386eb8f1ba77320a1a5a18ca9b409d2dfee426e
4
- data.tar.gz: 1e9bb446b16f9e31b573141a0c8029864af3b945
3
+ metadata.gz: 0884b77f58cd84786452d4afea4251f6d3c377cf
4
+ data.tar.gz: ac1cf85a5605a2ef2ab6e6e763eb1db94c2e80e4
5
5
  SHA512:
6
- metadata.gz: ca9afeacccb071b7ad3ad0e910034c6d8571ba14530d58b4e16439212b5902cf900d71b0ad3c49d5a9a8cae5c662d4934a9988983e3748f80c24541512c8d97d
7
- data.tar.gz: a8cea821838c3e97f3ef46b9f2dcd50605c7a2c67f9a84cf93fc3d9ddca7ebf34e8d32fd438f446b7d8426300a8b98df07e9d472de983bdbf71e906d2ff3a259
6
+ metadata.gz: fda7816d1f1c318af02b5872ca7a1cdb9bae8e8f1ec28b600cda7371c117f9af81599724f9d0d1701d9ca5f92a4bfd8071dd4d8d992cffdee6870ea97069565f
7
+ data.tar.gz: 0e95d9a32e757bc7176c2e539e804701106e2eef8377c1d5792857b310b20fb3a24e1e8c6ad90728e065896f4f64ff5f5d712cf157e8a9b1a5a919144df45e72
data/lib/gameon/base.rb CHANGED
@@ -9,7 +9,8 @@ module GameOn
9
9
 
10
10
  def self.find current_context_title, current_activity_title
11
11
 
12
- Mushin::DSL.middlewares = [] #could be GameOn::DSL.middlewares
12
+ #Mushin::DSL.middlewares = [] #could be GameOn::DSL.middlewares
13
+ @middlewares = [] #could be GameOn::DSL.middlewares
13
14
 
14
15
  Mushin::DSL.contexts.each do |context|
15
16
  if context.title == current_context_title
@@ -26,7 +27,8 @@ module GameOn
26
27
  # p "this activation already exists nothing to do!!!"
27
28
  #else
28
29
  # p "adding new activation"
29
- Mushin::DSL.middlewares << middleware
30
+ #Mushin::DSL.middlewares << middleware
31
+ @middlewares << middleware
30
32
  p "$$$$$$$$$$$$$$$$$$$$$$$$$$$"
31
33
  p Mushin::DSL.middlewares
32
34
  #end
@@ -39,7 +41,8 @@ module GameOn
39
41
  end
40
42
 
41
43
  end
42
- return Mushin::DSL.middlewares
44
+ #return Mushin::DSL.middlewares
45
+ return @middlewares
43
46
  #Mushin::DSL.middlewares = []
44
47
  end
45
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gameon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre103
4
+ version: 0.0.0.pre104
5
5
  platform: ruby
6
6
  authors:
7
7
  - theotherstupidguy