isitopencoffeetomorrow 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/isitopencoffeetomorrow.gemspec +2 -2
- data/lib/isitopencoffeetomorrow.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "isitopencoffeetomorrow"
|
|
8
|
-
s.version = "0.
|
|
8
|
+
s.version = "0.3.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Eoin Coffey"]
|
|
12
|
-
s.date = "2012-12-
|
|
12
|
+
s.date = "2012-12-25"
|
|
13
13
|
s.description = "Embedded sinatra app for answering the is it tomorrow question"
|
|
14
14
|
s.email = "ecoffey@gmail.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -41,7 +41,7 @@ module IsItOpenCoffeeTomorrow
|
|
|
41
41
|
|
|
42
42
|
@last_occ = last_occ.to_formatted_s(:long_ordinal)
|
|
43
43
|
@next_occ = next_occ.to_formatted_s(:long_ordinal)
|
|
44
|
-
@is_occ_tomorrow =
|
|
44
|
+
@is_occ_tomorrow = now.advance(:days => 1) == next_occ ? "yes" : "no"
|
|
45
45
|
|
|
46
46
|
erb :index
|
|
47
47
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isitopencoffeetomorrow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
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: 2012-12-
|
|
12
|
+
date: 2012-12-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: tzinfo
|
|
@@ -225,7 +225,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
225
225
|
version: '0'
|
|
226
226
|
segments:
|
|
227
227
|
- 0
|
|
228
|
-
hash: -
|
|
228
|
+
hash: -3037400237894931962
|
|
229
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
none: false
|
|
231
231
|
requirements:
|