prepcook 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/prepcook.rb CHANGED
@@ -4,9 +4,9 @@ require "shell-spinner"
4
4
 
5
5
  module Prepcook
6
6
 
7
- def self.work(cook_task = "chopping", task_length = 3)
7
+ def self.work(cook_task = "chopping", task_length = 3, item)
8
8
  self.wait_patiently(task_length)
9
- return "Finished #{cook_task}"
9
+ print "Finished #{cook_task} #{item}\n"
10
10
  end
11
11
 
12
12
  def self.wait_patiently(task_length = 0)
@@ -1,3 +1,3 @@
1
1
  module Prepcook
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prepcook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-08 00:00:00.000000000 Z
12
+ date: 2013-02-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! '''Show a brief animation on the screen'''
15
15
  email: