available_time 0.1.0 → 0.1.1

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: b86fa41258f101afafecd002ba8d47c174c9a166
4
- data.tar.gz: d730c4b24d5aa56bbf4ca64f241f536e91c6f56a
3
+ metadata.gz: 674daff190464c3ea1249cbb8a1b92560fbd56f4
4
+ data.tar.gz: 18a8740ebf9e6bc687f055d1796f5a1e05e63d58
5
5
  SHA512:
6
- metadata.gz: 40532a55fc036b5c79dfd770f6e0798d598cb09682188bee74cb86ce308d5f22fc9c4543f4f12454fa3d2154f62a0b164a1d4bc1c0c5e8ce14aa811ac51d92d4
7
- data.tar.gz: c575732069bcd9a2aa502d16cfc9f729076a86abd56e423b86c6a0d0c63eaf85c36715b6491366df64fa8e2b0d89c2ba8bfe1a8ea34133383e11246d0ed0d3dd
6
+ metadata.gz: 40e56b1043c80ac85223d484b89d700fc3cf60da90f6968b52998b0de22aaf6de6090c100577786aae62540bdf723f98117c0a8300bdba8530560aeaa90a3634
7
+ data.tar.gz: 2354105c7bf4eae203993597f9e66ff49318586d61c7e210bbfb59ed99bb428085380e960df27f224a9313772028755e98ba100a1e721d010c70124e3d65e8b0
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at kingston.s@accionlabs.com. All
58
+ reported by contacting the project team at jenorish@gmail.com. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/README.md CHANGED
@@ -32,7 +32,19 @@ Or install it yourself as:
32
32
  ## Supporting multile time format
33
33
 
34
34
  appointments = [["09:00","9:30"],["10:01","11:30"],["14:00","16:30"],["1:01pm","1:30 Pm"],["12:30PM", "01:00PM"]]
35
- appointments = [["09:00","9:30"],["10:01","11:30"],["14:00","16:30"],["1:01pm","1:30 Pm"],["12:30 PM", "01:00 PM"]]
35
+ appointments = [["09:00","9:30"],["10:01","11:30"],["14:00","16:30"],["1:01pm","1:30 Pm"],["12:30 PM", "01:00 PM"]]
36
+ ## Interval
37
+ Defalut interval is 30 minutes, We can change it by passing
38
+
39
+ t = TimeSlot.new(8.30,"5.30pm",:interval => 5.minutes)
40
+
41
+ ## Rest
42
+ We can pass rest time as well
43
+ Ex.
44
+ t = TimeSlot.new(8.30,"5.30pm",:rest => 5.minutes)
45
+ So result will generate like 5 mins rest time
46
+
47
+ [["08:30 AM", "09:00 AM"], ["09:05 AM", "09:35 AM"], ["09:40 AM", "10:10 AM"], ["10:15 AM", "10:45 AM"], ["11:35 AM", "12:05 PM"], ["12:10 PM", "12:40 PM"], ["12:45 PM", "01:15 PM"], ["01:20 PM", "01:50 PM"], ["01:55 PM", "02:25 PM"], ["02:30 PM", "03:00 PM"], ["03:35 PM", "04:05 PM"], ["04:10 PM", "04:40 PM"], ["04:45 PM", "05:15 PM"]]
36
48
 
37
49
  ## Contributing
38
50
 
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "available_time"
8
8
  spec.version = AvailableTime::VERSION
9
9
  spec.authors = ["kingston"]
10
- spec.email = ["kingston.s@accionlabs.com"]
10
+ spec.email = ["jenorish@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Gem to find available time in a day}
13
13
  spec.description = %q{Gem to find available time in a day}
@@ -1,3 +1,3 @@
1
1
  module AvailableTime
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: available_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kingston
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '3.0'
55
55
  description: Gem to find available time in a day
56
56
  email:
57
- - kingston.s@accionlabs.com
57
+ - jenorish@gmail.com
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []