in_business 0.0.1 → 0.0.2
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/README.md +2 -2
- data/in_business.gemspec +1 -1
- data/lib/in_business/version.rb +1 -1
- metadata +6 -6
data/README.md
CHANGED
|
@@ -10,8 +10,8 @@ you whether a particular time is open or closed concretely. As fun as crazy
|
|
|
10
10
|
time calculations are!
|
|
11
11
|
|
|
12
12
|
I've been doing quite a lot of work recently building [Twilio](http://www.twilio.com)
|
|
13
|
-
apps such as my startup employer [GoCardless](https://gocardless.com)'s
|
|
14
|
-
[Nodephone](https://gocardless.com/blog/data-driven-support/) where you need
|
|
13
|
+
apps (such as my startup employer [GoCardless](https://gocardless.com)'s
|
|
14
|
+
[Nodephone](https://gocardless.com/blog/data-driven-support/), amongst others) where you need
|
|
15
15
|
to work out if an incoming call is during office hours or not.
|
|
16
16
|
|
|
17
17
|
This gem allows you to do that kind of thing with simple `.open?` and `.closed?`
|
data/in_business.gemspec
CHANGED
data/lib/in_business/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: in_business
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
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-07-
|
|
12
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
@@ -64,17 +64,17 @@ dependencies:
|
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
|
65
65
|
none: false
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - ! '>='
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
69
|
+
version: '0'
|
|
70
70
|
type: :runtime
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
73
|
none: false
|
|
74
74
|
requirements:
|
|
75
|
-
- -
|
|
75
|
+
- - ! '>='
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
|
-
version:
|
|
77
|
+
version: '0'
|
|
78
78
|
description: A gem for checking whether a given DateTime, Date or Time is within a
|
|
79
79
|
predefined set of opening hours
|
|
80
80
|
email:
|