lunch 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.redcar/tags +4 -0
  2. data/VERSION +1 -1
  3. data/lib/lunch.rb +10 -1
  4. data/lunch.gemspec +2 -1
  5. metadata +4 -3
data/.redcar/tags ADDED
@@ -0,0 +1,4 @@
1
+ 1298394124
2
+ TestCase C:/Users/paul.brennan/workspace/lunch/test/helper.rb class Test::Unit::TestCase
3
+ TestLunch C:/Users/paul.brennan/workspace/lunch/test/test_lunch.rb class TestLunch
4
+ lunch C:/Users/paul.brennan/workspace/lunch/lib/lunch.rb def lunch
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
data/lib/lunch.rb CHANGED
@@ -1,4 +1,13 @@
1
1
  def lunch
2
- puts 'pub'
2
+ puts case Date.today.wday
3
+ when 0 then 'pub'
4
+ when 1 then 'McDonalds'
5
+ when 2 then 'pub'
6
+ when 3 then 'pub'
7
+ when 4 then 'Subway'
8
+ when 5 then 'Fish and Chips'
9
+ when 6 then 'pub'
10
+ else 'pub'
11
+ end
3
12
  end
4
13
 
data/lunch.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lunch}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yule"]
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".redcar/tags",
21
22
  "Gemfile",
22
23
  "Gemfile.lock",
23
24
  "LICENSE.txt",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lunch
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yule
@@ -89,6 +89,7 @@ extra_rdoc_files:
89
89
  - README.rdoc
90
90
  files:
91
91
  - .document
92
+ - .redcar/tags
92
93
  - Gemfile
93
94
  - Gemfile.lock
94
95
  - LICENSE.txt