gameon 0.0.0.pre118 → 0.0.0.pre119
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 +4 -4
- data/lib/gameon/base.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30c26138d7a0725066d3bac274e5e786c41f78c9
|
4
|
+
data.tar.gz: 7fbe75d4ea5f81c1e5fe6f995ecd11e122dfad8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885e3283f8c71042533b9ad7fb1c42a6fc99923fe9fb6ad37211d01e7bafad5a1c4c2e3171a1c0dce66191d07dfd4eaf66d769837cf92202d589ae136d8cf598
|
7
|
+
data.tar.gz: ca874e4faa4e304512d5af2f387cf8625eb4d8aca37f762c933a2688f59db7873136f9f0d51362b9f95a39a3ad105e3d9b2af842e72e14a89cb88cb376c4f133
|
data/lib/gameon/base.rb
CHANGED
@@ -9,7 +9,6 @@ module GameOn
|
|
9
9
|
|
10
10
|
def self.find current_context_title, current_activity_title
|
11
11
|
|
12
|
-
|
13
12
|
Mushin::DSL.contexts.each do |context|
|
14
13
|
if context.title == current_context_title
|
15
14
|
context.activities.each do |activity|
|
@@ -42,6 +41,7 @@ module GameOn
|
|
42
41
|
end
|
43
42
|
|
44
43
|
end
|
44
|
+
Dir["./gameon/*"].each {|file| load file }
|
45
45
|
#return Mushin::DSL.middlewares
|
46
46
|
#Mushin::DSL.middlewares = []
|
47
47
|
end
|
@@ -78,7 +78,6 @@ module GameOn
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def set id, &block
|
81
|
-
Dir["./gameon/*"].each {|file| load file }
|
82
81
|
@id = id.to_s + 'gameon'
|
83
82
|
def context current_context_title, &block
|
84
83
|
@current_context_title = current_context_title
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gameon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.
|
4
|
+
version: 0.0.0.pre119
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- theotherstupidguy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: a gamification framework based on mushin
|
14
14
|
email:
|