motherducker 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mother_ducker.rb +4 -1
- data/lib/mother_ducker/user.rb +1 -1
- data/mother_ducker.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a17132f524628083f0f6b7f1885c8259e6ee15d6ce311db2cf825af9afe63c89
|
4
|
+
data.tar.gz: c22897c790b00a7e51c55f80186de2f339987e65077bbb4b1587e02d52f2ed45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 606b6de4ecc796ea20e778986c81c4af64d4388e1f3bc12ec4577c9f6250ee2360b40bd13a950158642d369779149852fa6de7d8744e9f5b896269659197fb54
|
7
|
+
data.tar.gz: e9011c76b553fda2f93d325e7996b95431ec34b73f135d910a9d6128ef5cf4e4ffd30b04068fe316f3f7f7c0629d0cf81952203dcb645ccbfeac8e27e32135a5
|
data/lib/mother_ducker.rb
CHANGED
@@ -16,10 +16,13 @@ module MotherDucker
|
|
16
16
|
strategy_orchestrator = StrategyCoordinator.new(user)
|
17
17
|
|
18
18
|
# call Strategy.strategize while user.satisfied == false
|
19
|
-
|
19
|
+
until user.satisfied
|
20
20
|
# this method asks the user if he is happy currently ?
|
21
21
|
user.enquire_satisfaction
|
22
22
|
strategy_orchestrator.strategize
|
23
|
+
|
24
|
+
# fake
|
25
|
+
user.satisfied = true
|
23
26
|
end
|
24
27
|
# it will pick and execute a strategy from the set
|
25
28
|
|
data/lib/mother_ducker/user.rb
CHANGED
data/mother_ducker.gemspec
CHANGED