witt 0.1.0 → 0.2.0
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 +4 -4
- data/README.md +13 -20
- data/bin/witt +2 -1
- data/lib/witt/iata.rb +9146 -0
- data/lib/witt/output.rb +22 -0
- data/lib/witt/version.rb +1 -1
- data/lib/witt/world_clock.rb +1 -4
- data/lib/witt.rb +19 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5ee5ade61c2a698b89abacf215cf835eb4a6435
|
4
|
+
data.tar.gz: 7bd2ae3c28fe2446c4efd91f3de1805becd87955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce4a3b564004212a530e0c4f135e96054e1c0b4bea288381ece6e2c873b80ec4ba0f330e66f2d856e523dc1e17e205346a1a0e93e013cda825aeb7e30f326aaf
|
7
|
+
data.tar.gz: 72ce29d9fa0f3e8748c313aaf77782a0c7abe166f50e9b3cae849cf916d57fe69454ec276594a6070b5145e848da3a1ba693080d6c9d5ebc97f2771bde9925d7
|
data/README.md
CHANGED
@@ -1,34 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# witt - What Is The Time
|
2
2
|
|
3
|
-
|
3
|
+
Quickly check current time in different timezones without leaving your beloved terminal.
|
4
4
|
|
5
|
-
|
5
|
+
This is basically a ruby port of [t](https://github.com/cv/t).
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
|
-
|
9
|
+
As easy as running:
|
10
10
|
|
11
|
-
```ruby
|
12
|
-
gem 'witt'
|
13
11
|
```
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install witt
|
12
|
+
$ gem install witt
|
13
|
+
```
|
22
14
|
|
23
15
|
## Usage
|
24
16
|
|
25
|
-
|
17
|
+
Call it passing as many airport codes as you want, and it will give you the time at each airport:
|
26
18
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
19
|
+
```
|
20
|
+
$ witt jfk lhr rus
|
21
|
+
JFK: ☀️ Oct 31, 14:23 (America/New_York)
|
22
|
+
LHR: ☀️ Oct 31, 18:23 (Europe/London)
|
23
|
+
RUS: 🌘 Nov 1, 05:23 (Pacific/Guadalcanal)
|
24
|
+
```
|
32
25
|
|
33
26
|
## Contributing
|
34
27
|
|
data/bin/witt
CHANGED