precise_distance_of_time_in_words 0.0.1 → 0.0.2

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: 2a433cb6fe79977619515a58dae077bbefcfd981
4
- data.tar.gz: 66bde3d2277039d2f2236b522964d46cf09fec36
3
+ metadata.gz: 99dd828ec9a6f3f8f69ea60589d4b4953fafa992
4
+ data.tar.gz: ae89385c82b3ca4f3187781f0ad46b6c795b9b1a
5
5
  SHA512:
6
- metadata.gz: 22c1d2c37cad83b34ddd576f286dd62c41b9ef19bc1275623b6db4f33f013e512c4f42d5aca4057410845d3b3639d013bc2fd338296bd00e6ac6a0583daa92d8
7
- data.tar.gz: 4d9e10f8ba334673f9a72ad3334e7cab113a01e7b033de901d2b3cecb824ae219d0ebb62a3be0917313b8a20dd50550cf8602a6eba434ddd9c77297f1c1f7009
6
+ metadata.gz: c5b2cae2c84abfd3f546d21958613095efbbcee2cf3827fef7b66892777188f63fd7655df30302e1441927e1c5614433f3e9fab0422fcc6794ce26835448bc3a
7
+ data.tar.gz: ddb4af9acac237e2148748d56fdecfb3c6bf0e56b51aa90d6a41e120417c475495053cce5865611fca63495433d64b7c8b4a863f4dfcaf0884501d8a39a2a420
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PreciseDistanceOfTimeInWords
2
2
 
3
- TODO: Write a gem description
3
+ This gem offers a more precise "distance_of_time_in_words"
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,11 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ This gem offers to you a method called "precise_distance_of_time_in_words(from, to)"
22
+ To you user it just puts that method in where you want (console, view, model) with the times.
23
+ For exemple:
24
+ precise_distance_of_time_in_words(0, 1) #return '1 second'
25
+ precise_distance_of_time_in_words(Time.now, Time.now + 1.hour + 1.minute) #return '1 hour and 1 minute'
22
26
 
23
27
  ## Contributing
24
28
 
@@ -1,3 +1,3 @@
1
1
  module PreciseDistanceOfTimeInWords
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: precise_distance_of_time_in_words
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
  - Pedro Henrique Passalini