time_clock 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16d6a4d558f242cca80a3c248bcb66a3a47ab024
4
- data.tar.gz: 5c71d2e18dc9b22873b464eb823f4207a1053ea9
3
+ metadata.gz: 1ded90791cbcc02d14581f1afdfa801f3e98e75d
4
+ data.tar.gz: a2191cfca3a38027625759cddd9de7a2a2755658
5
5
  SHA512:
6
- metadata.gz: 14622660e5e94c0fe9dd90c3384ef646c8fdea527ea848259691bc7e0d4a2e4c64af0a0920feaa28ae0794288c5eff58daab6c262ae3e88af144977e4bd96759
7
- data.tar.gz: cf7839ecd504452949a56e8310d262982f6fd4a63a6407fd1ba5d3b5d648a8dfe754de1f0641a86dc7fb11d5ccef80049894d13d0204fdf66c83c2007f514456
6
+ metadata.gz: d8c7b904ac72cf3a36b75bac46b4887837788f7e3f0f44584a81412cc19629f1eeb00807c4cfc9db2964de89cec24d546c19c55e8152ee31ff3829a7a90491ab
7
+ data.tar.gz: d57345f61c2a7eb57c0a1c5de6c0442efd2a16603a44fb37407e2c8e940bbc30bf0e89474cf90eb9135e6b509f0e031e9f626b1a2bd971d627114cb01abd0f74
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # TimeClock
2
2
 
3
+ Calculate the amount of business time between two times based on any arbitrary work calendar.
4
+
3
5
  gem 'time_clock'
4
6
 
5
- Calculate the amount of business time between two times based on any arbitrary work calendar.
7
+ Once you've set a default calendar, any `Time` instance will have a few helpful methods.
6
8
 
7
9
  Time.now.business_seconds_until(Time.now + 1.day)
8
10
  => 43200
@@ -11,7 +13,9 @@ Calculate the amount of business time between two times based on any arbitrary w
11
13
  Time.now.business_hours_until(Time.now + 1.day)
12
14
  => 12
13
15
 
14
- Things you may like about this library:
16
+ You can also make custom calendars for each calculation (see Calendars section for details).
17
+
18
+ **Things you may like about this library:**
15
19
 
16
20
  - No dependencies.
17
21
  - Extremely simple codebase. Only 80 lines of code.
@@ -1,3 +1,3 @@
1
1
  module TimeClock
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_clock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - barelyknown