lunch 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +0 -0
- data/LICENSE.txt +0 -0
- data/README.rdoc +0 -0
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/lib/lunch.rb +3 -2
- data/lunch.gemspec +8 -9
- data/test/helper.rb +0 -0
- data/test/test_lunch.rb +0 -0
- metadata +18 -20
data/.document
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.rdoc
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/lib/lunch.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
require 'rubygems'
|
2
|
+
require 'rails'
|
2
3
|
|
3
4
|
def lunch
|
4
5
|
puts case Date.today.wday
|
5
6
|
when 0 then 'pub'
|
6
|
-
when 1 then '
|
7
|
+
when 1 then 'pub'
|
7
8
|
when 2 then 'pub'
|
8
9
|
when 3 then 'pub'
|
9
10
|
when 4 then 'Subway'
|
10
|
-
when 5 then '
|
11
|
+
when 5 then 'pub'
|
11
12
|
when 6 then 'pub'
|
12
13
|
else 'pub'
|
13
14
|
end
|
data/lunch.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "lunch"
|
8
|
+
s.version = "0.4.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"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-04-27"
|
13
|
+
s.description = "Decide what to have for lunch today, based on a number of inputs"
|
14
|
+
s.email = "doctoryule@aol.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -30,18 +30,17 @@ Gem::Specification.new do |s|
|
|
30
30
|
"test/helper.rb",
|
31
31
|
"test/test_lunch.rb"
|
32
32
|
]
|
33
|
-
s.homepage =
|
33
|
+
s.homepage = "http://github.com/yule/lunch"
|
34
34
|
s.licenses = ["MIT"]
|
35
35
|
s.require_paths = ["lib"]
|
36
|
-
s.rubygems_version =
|
37
|
-
s.summary =
|
36
|
+
s.rubygems_version = "1.8.10"
|
37
|
+
s.summary = "What to eat for lunch today"
|
38
38
|
s.test_files = [
|
39
39
|
"test/helper.rb",
|
40
40
|
"test/test_lunch.rb"
|
41
41
|
]
|
42
42
|
|
43
43
|
if s.respond_to? :specification_version then
|
44
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
45
44
|
s.specification_version = 3
|
46
45
|
|
47
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/test/helper.rb
CHANGED
File without changes
|
data/test/test_lunch.rb
CHANGED
File without changes
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 15
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 4
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Yule
|
@@ -15,11 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
18
|
+
date: 2012-04-27 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
@@ -28,12 +28,12 @@ dependencies:
|
|
28
28
|
segments:
|
29
29
|
- 0
|
30
30
|
version: "0"
|
31
|
+
requirement: *id001
|
31
32
|
type: :development
|
32
|
-
prerelease: false
|
33
33
|
name: shoulda
|
34
|
-
version_requirements: *id001
|
35
34
|
- !ruby/object:Gem::Dependency
|
36
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
37
|
none: false
|
38
38
|
requirements:
|
39
39
|
- - ~>
|
@@ -44,12 +44,12 @@ dependencies:
|
|
44
44
|
- 0
|
45
45
|
- 0
|
46
46
|
version: 1.0.0
|
47
|
+
requirement: *id002
|
47
48
|
type: :development
|
48
|
-
prerelease: false
|
49
49
|
name: bundler
|
50
|
-
version_requirements: *id002
|
51
50
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
@@ -60,12 +60,12 @@ dependencies:
|
|
60
60
|
- 5
|
61
61
|
- 2
|
62
62
|
version: 1.5.2
|
63
|
+
requirement: *id003
|
63
64
|
type: :development
|
64
|
-
prerelease: false
|
65
65
|
name: jeweler
|
66
|
-
version_requirements: *id003
|
67
66
|
- !ruby/object:Gem::Dependency
|
68
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
69
|
none: false
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
@@ -74,10 +74,9 @@ dependencies:
|
|
74
74
|
segments:
|
75
75
|
- 0
|
76
76
|
version: "0"
|
77
|
+
requirement: *id004
|
77
78
|
type: :development
|
78
|
-
prerelease: false
|
79
79
|
name: rcov
|
80
|
-
version_requirements: *id004
|
81
80
|
description: Decide what to have for lunch today, based on a number of inputs
|
82
81
|
email: doctoryule@aol.com
|
83
82
|
executables: []
|
@@ -100,7 +99,6 @@ files:
|
|
100
99
|
- lunch.gemspec
|
101
100
|
- test/helper.rb
|
102
101
|
- test/test_lunch.rb
|
103
|
-
has_rdoc: true
|
104
102
|
homepage: http://github.com/yule/lunch
|
105
103
|
licenses:
|
106
104
|
- MIT
|
@@ -130,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
128
|
requirements: []
|
131
129
|
|
132
130
|
rubyforge_project:
|
133
|
-
rubygems_version: 1.
|
131
|
+
rubygems_version: 1.8.10
|
134
132
|
signing_key:
|
135
133
|
specification_version: 3
|
136
134
|
summary: What to eat for lunch today
|