workhours 0.4.0 → 0.5.0

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
- SHA1:
3
- metadata.gz: 192f093a0a53487e7cf5844048d9ede531eef6e4
4
- data.tar.gz: d8cd4eb1b8f48c4996fbb370b749a1fb95fec804
2
+ SHA256:
3
+ metadata.gz: bd2f9f31356e237d4369e1accb289764a2d8bde6a5d359f9911559845a8adcc3
4
+ data.tar.gz: 7556638dea5992cdeec91d0eff429dc31fc3856fb29699d0bf5e37b37937d384
5
5
  SHA512:
6
- metadata.gz: 10c1d291802b346afe6baca24a1899378b2fc3385bda84e1bde769d374642fd526825cd5bef6be4ed6f81389ae3f6df724e7fe0ff2215d0872ab077084d41fe7
7
- data.tar.gz: 7c64c0a8c7eeb4cf37c8fbda1228e5761ae8d69c35b28b7640b98497e300d6f4e899387b1ba8e07faf1b0060a73a03d10d967121cf72f8ce67708e93d3e23b6b
6
+ metadata.gz: fc924816ce1d519012a4be217bdfa8767e13160e00e12e3e0561db9005b6c44d69bb05391a9707ebe380a82dac97f201c8d994e24ccc533a019440764e0873bb
7
+ data.tar.gz: 9b957726a1934ec80bde0bb91932d09c9aef5d47038c5fac902f01a8c4b2fff53c4e727332d3c3a81b24ef314412904ed4d10e4b4fe2ec4640fddbf95fee3894
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in buisness_hours.gemspec
3
+ # Specify your gem's dependencies in business_hours.gemspec
4
4
  gemspec
@@ -1,36 +1,36 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- workhours (0.4.0)
4
+ workhours (0.5.0)
5
5
  tod (~> 2.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  diff-lcs (1.3)
11
- docile (1.1.5)
12
- json (2.0.3)
13
- rake (12.0.0)
14
- rspec (3.5.0)
15
- rspec-core (~> 3.5.0)
16
- rspec-expectations (~> 3.5.0)
17
- rspec-mocks (~> 3.5.0)
18
- rspec-core (3.5.4)
19
- rspec-support (~> 3.5.0)
20
- rspec-expectations (3.5.0)
11
+ docile (1.3.2)
12
+ json (2.2.0)
13
+ rake (13.0.0)
14
+ rspec (3.8.0)
15
+ rspec-core (~> 3.8.0)
16
+ rspec-expectations (~> 3.8.0)
17
+ rspec-mocks (~> 3.8.0)
18
+ rspec-core (3.8.2)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-expectations (3.8.4)
21
21
  diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.5.0)
23
- rspec-mocks (3.5.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-mocks (3.8.1)
24
24
  diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.5.0)
26
- rspec-support (3.5.0)
27
- simplecov (0.14.1)
28
- docile (~> 1.1.0)
25
+ rspec-support (~> 3.8.0)
26
+ rspec-support (3.8.2)
27
+ simplecov (0.17.1)
28
+ docile (~> 1.1)
29
29
  json (>= 1.8, < 3)
30
30
  simplecov-html (~> 0.10.0)
31
- simplecov-html (0.10.0)
32
- timecop (0.8.1)
33
- tod (2.1.0)
31
+ simplecov-html (0.10.2)
32
+ timecop (0.9.1)
33
+ tod (2.2.0)
34
34
 
35
35
  PLATFORMS
36
36
  ruby
@@ -44,4 +44,4 @@ DEPENDENCIES
44
44
  workhours!
45
45
 
46
46
  BUNDLED WITH
47
- 1.14.6
47
+ 1.17.3
data/README.md CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  # Workhours
9
9
 
10
- Gem to calculate *buisness hours*, things like .is_open?, .is_closed?, .opens_at, .closes_at
10
+ Gem to calculate *business hours*, things like .is_open?, .is_closed?, .opens_at, .closes_at
11
11
 
12
- Some code based on [buisness_time](https://github.com/bokmann/business_time) gem which unfortuanately handles all
12
+ Some code based on [business_time](https://github.com/bokmann/business_time) gem which unfortuanately handles all
13
13
  configs globally and is buggy.
14
14
 
15
15
  Uses ```tod``` gem to properly handle parsing and math with TimeOfDay (time without date).
@@ -1,3 +1,3 @@
1
1
  module Workhours
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Workhours::VERSION
9
9
  spec.authors = ["glebtv"]
10
10
  spec.email = ["glebtv@gmail.com"]
11
- spec.summary = %q{Gem to calculate buisness hours}
11
+ spec.summary = %q{Gem to calculate business hours}
12
12
  spec.description = %q{}
13
13
  spec.homepage = "https://github.com/rs-pro/workhours"
14
14
  spec.license = "MIT"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workhours
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2019-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tod
@@ -138,11 +138,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubyforge_project:
142
- rubygems_version: 2.6.10
141
+ rubygems_version: 3.0.6
143
142
  signing_key:
144
143
  specification_version: 4
145
- summary: Gem to calculate buisness hours
144
+ summary: Gem to calculate business hours
146
145
  test_files:
147
146
  - spec/spec_helper.rb
148
147
  - spec/workhours_spec.rb