tkh_toolbox 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +7 -7
- data/app/views/shared/_flash_messages.html.erb +1 -1
- data/lib/tkh_toolbox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77cdf0a8ce84080745b850efca6eaa22caaba3d2
|
4
|
+
data.tar.gz: f21aad51bc745c3f198cf24b1301278dabc19bec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2765794ed3367eda1350850f9930c6ff1cfae7eda1fce69be16a4ed14ed62a622bed92b6aaf980142652eb878b18a79f393319c6761d03dd104addb9e73af73e
|
7
|
+
data.tar.gz: 2223ad47b1d60c90727055a7bcfcc7161be0f671fb41aa718074db1c147f1534126f0b3ac780c5256ad69278262266c109f978df15c7b01a754dd1184b9e14b3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -29,13 +29,13 @@ A flash view partial can be called at app/views/shared/_flash_messages.html.erb
|
|
29
29
|
|
30
30
|
A human_date_and_time(datetime_object) application extension gives the following date outputs depending when they happened in relation to today. Examples:
|
31
31
|
|
32
|
-
when less than 15 seconds then "just now"
|
33
|
-
when less than 5 minutes then "a few minutes ago"
|
34
|
-
when today then "at 02:18 pm"
|
35
|
-
when yesterday then "yesterday at 02:03 pm"
|
36
|
-
when this week then "Wednesday at 11:48 am"
|
37
|
-
when this year then "Jul. 23 at 02:12 pm"
|
38
|
-
when last year and earlier then "Aug. 23, 2013"
|
32
|
+
* when less than 15 seconds then "just now"
|
33
|
+
* when less than 5 minutes then "a few minutes ago"
|
34
|
+
* when today then "at 02:18 pm"
|
35
|
+
* when yesterday then "yesterday at 02:03 pm"
|
36
|
+
* when this week then "Wednesday at 11:48 am"
|
37
|
+
* when this year then "Jul. 23 at 02:12 pm"
|
38
|
+
* when last year and earlier then "Aug. 23, 2013"
|
39
39
|
|
40
40
|
|
41
41
|
## Contributing
|
data/lib/tkh_toolbox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tkh_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swami Atma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|