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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9b9c13fbe9c0dcefa9de355618f882ed58fc031
4
- data.tar.gz: ad73ee25acafda5d3f34d72693d18f4fd53d1e9a
3
+ metadata.gz: d1e56584d5f1b4d16d90a33240e01a66b60bd73b
4
+ data.tar.gz: c10e7f51b2a5e2142424c4345759d92eb88106a5
5
5
  SHA512:
6
- metadata.gz: 6ebadc9f3980f67a2346c87d0f62acd297eded6f416ebc97abc92e297007569f243cd1466504c727a1ca3a68281647cfd3a0db7b143e1abf35551664ee14612c
7
- data.tar.gz: 65562a1a0ff2d51f12c465fc92107beaddd18d2ebb85982468b5f226a5ff4db00a478d075d3775d853a570ef6329bbe2fa76728db69aa0e0e195cfb7ca7c4080
6
+ metadata.gz: 3125dc00c6771175e3a8e5b8699465ba11c9d22df8e4d506861135ee03110bf6304018e4d7d32df267f12a422f5f88158353f5e00cef48c9ad123810e6ec4207
7
+ data.tar.gz: 050f7942d0d13b589ee50dd43a02a37aaffd2901531a7fbbc997f96a3c0621b89be6d19c69cd55d45828e4580e7118978284267050bc3462672fff7f9359602d
data/README.md CHANGED
@@ -48,4 +48,7 @@ Time.now.shift_end
48
48
 
49
49
  1.prev_shift
50
50
  # returns previous shift for 1, 2 or 3
51
- ```
51
+ ```
52
+
53
+ ## License
54
+ Copyright © 2012 - 2014 Ruby Logic, released under the MIT license
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Shiftly
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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: 2014-12-28 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: business_time