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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e575a6aa905d32d0b5c3ba328dc2d6569433378ca4fc2b0b84b897fd6490236
4
- data.tar.gz: 8cdbb932273fecc20c69df8be81a4b331e10ea5dc2a8af30efedc871272b059e
3
+ metadata.gz: a17132f524628083f0f6b7f1885c8259e6ee15d6ce311db2cf825af9afe63c89
4
+ data.tar.gz: c22897c790b00a7e51c55f80186de2f339987e65077bbb4b1587e02d52f2ed45
5
5
  SHA512:
6
- metadata.gz: dbb0584d94555c0a26f6a8270e198af726562ff45b95b48536a7bbfebd0cd9dbeb992d9ccfaa36e74847daf382a131ab60624bb68850b5b60af74ba7c18ff5c5
7
- data.tar.gz: 325332a0d361e57487bd458c8c81b19e890efbac121731c14174d6f133caf31af5ccd733d311206cd7762f57538410a8d76e529a85b3aeede87466d79473994b
6
+ metadata.gz: 606b6de4ecc796ea20e778986c81c4af64d4388e1f3bc12ec4577c9f6250ee2360b40bd13a950158642d369779149852fa6de7d8744e9f5b896269659197fb54
7
+ data.tar.gz: e9011c76b553fda2f93d325e7996b95431ec34b73f135d910a9d6128ef5cf4e4ffd30b04068fe316f3f7f7c0629d0cf81952203dcb645ccbfeac8e27e32135a5
@@ -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
- while user.satisfied == false
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
 
@@ -2,7 +2,7 @@ module MotherDucker
2
2
 
3
3
  class User
4
4
  attr_accessor :satisfied
5
-
5
+
6
6
  def initialize
7
7
  # set our user attributes in here
8
8
  @satisified = false
@@ -2,7 +2,7 @@ Gem::Specification.new do |gem|
2
2
  gem.name = 'motherducker'
3
3
  gem.summary = "some random summary for now"
4
4
 
5
- gem.version = "0.0.2"
5
+ gem.version = "0.0.3"
6
6
  gem.files = `git ls-files`.split($\)
7
7
  gem.executables = ["motherducker"]
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motherducker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Korelsky