shiftly 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/shiftly/core_ext/time.rb +1 -1
- data/lib/shiftly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e56584d5f1b4d16d90a33240e01a66b60bd73b
|
4
|
+
data.tar.gz: c10e7f51b2a5e2142424c4345759d92eb88106a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3125dc00c6771175e3a8e5b8699465ba11c9d22df8e4d506861135ee03110bf6304018e4d7d32df267f12a422f5f88158353f5e00cef48c9ad123810e6ec4207
|
7
|
+
data.tar.gz: 050f7942d0d13b589ee50dd43a02a37aaffd2901531a7fbbc997f96a3c0621b89be6d19c69cd55d45828e4580e7118978284267050bc3462672fff7f9359602d
|
data/README.md
CHANGED
@@ -20,6 +20,6 @@ class Time
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def to_factory_date
|
23
|
-
self.hour < Shiftly::Config.day_start_hour ? 1.business_day.before(self.to_date) : self.to_date
|
23
|
+
self.hour < Shiftly::Config.day_start_hour ? 1.business_day.before(self.to_date).to_date : self.to_date
|
24
24
|
end
|
25
25
|
end
|
data/lib/shiftly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shiftly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alek Niemczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: business_time
|