epl_cli_gem 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +65 -2
- data/epl_cli_gem-0.1.1.gem +0 -0
- data/epl_cli_gem-0.1.2.gem +0 -0
- data/lib/epl_cli_gem/cli.rb +1 -0
- data/lib/epl_cli_gem/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b27f80bd1eb0f6385376c466929f14117348085
|
4
|
+
data.tar.gz: 0b33e51de4b0b679ec7f71e73afe4d2b7ac14755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5335b1d517e296373c094c9a4afc577bc211aa02826922096a29b12a0954296900a10deea0509c0157f9e882a2616a644158f63940be0226946c37fc325c8f94
|
7
|
+
data.tar.gz: 6b08995f88265e2bab5b85271fd061cf23dfa4e98e3f1a5ce756e59dd1fa4d752618bba8c0875f643512388f8aa6c0b609ec78bd9f4778fdb166451b4f875443
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# EplCliGem
|
1
|
+
# EplCliGem [![Gem Version](https://badge.fury.io/rb/epl_cli_gem.svg)](https://badge.fury.io/rb/epl_cli_gem)
|
2
2
|
|
3
3
|
This Ruby Gem provides a CLI to view the current English Premier League table as well as some basic information for each club.
|
4
4
|
|
@@ -22,7 +22,70 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
Type the following and follow the on screen prompts.
|
24
24
|
|
25
|
-
$
|
25
|
+
$ epl
|
26
|
+
|
27
|
+
|
28
|
+
## Example CLI Output
|
29
|
+
|
30
|
+
+------+----------------------+----+-----+-----+
|
31
|
+
| Current League Table |
|
32
|
+
+------+----------------------+----+-----+-----+
|
33
|
+
| POSN | Team | PL | GD | Pts |
|
34
|
+
+------+----------------------+----+-----+-----+
|
35
|
+
| 1 | Chelsea | 22 | +32 | 55 |
|
36
|
+
| 2 | Arsenal | 22 | +27 | 47 |
|
37
|
+
| 3 | Tottenham Hotspur | 22 | +29 | 46 |
|
38
|
+
| 4 | Liverpool | 22 | +24 | 45 |
|
39
|
+
| 5 | Manchester City | 22 | +15 | 43 |
|
40
|
+
| 6 | Manchester United | 22 | +12 | 41 |
|
41
|
+
| 7 | Everton | 22 | +10 | 36 |
|
42
|
+
| 8 | West Bromwich Albion | 22 | +2 | 32 |
|
43
|
+
| 9 | Stoke City | 22 | -6 | 28 |
|
44
|
+
| 10 | West Ham United | 22 | -7 | 28 |
|
45
|
+
| 11 | Southampton | 22 | -4 | 27 |
|
46
|
+
| 12 | Bournemouth | 22 | -7 | 26 |
|
47
|
+
| 13 | Burnley | 22 | -9 | 26 |
|
48
|
+
| 14 | Watford | 22 | -13 | 24 |
|
49
|
+
| 15 | Leicester City | 22 | -13 | 21 |
|
50
|
+
| 16 | Middlesbrough | 22 | -7 | 20 |
|
51
|
+
| 17 | Swansea City | 22 | -25 | 18 |
|
52
|
+
| 18 | Crystal Palace | 22 | -11 | 16 |
|
53
|
+
| 19 | Hull City | 22 | -27 | 16 |
|
54
|
+
| 20 | Sunderland | 22 | -22 | 15 |
|
55
|
+
+------+----------------------+----+-----+-----+
|
56
|
+
|
57
|
+
After input is given:
|
58
|
+
|
59
|
+
+-----------------+-----+
|
60
|
+
| Manchester City |
|
61
|
+
+-----------------+-----+
|
62
|
+
| Position | 5 |
|
63
|
+
| Points | 43 |
|
64
|
+
| Games Played | 22 |
|
65
|
+
| Won | 13 |
|
66
|
+
| Drawn | 4 |
|
67
|
+
| Lost | 5 |
|
68
|
+
| Goal Difference | +15 |
|
69
|
+
+-----------------+-----+
|
70
|
+
+------+-----+-----+
|
71
|
+
| Next Match |
|
72
|
+
| To Be Determined |
|
73
|
+
+------+-----+-----+
|
74
|
+
|
75
|
+
+------+-----+-----+
|
76
|
+
+--------------------------------------------------+
|
77
|
+
| Latest Club News |
|
78
|
+
| Read more at www.mancity.com |
|
79
|
+
+--------------------------------------------------+
|
80
|
+
| Caballero aiming to relive Wembley dream |
|
81
|
+
+--------------------------------------------------+
|
82
|
+
| De Bruyne identifies Palace threat |
|
83
|
+
+--------------------------------------------------+
|
84
|
+
| Gabriel Jesus backed by Brazil stars |
|
85
|
+
+--------------------------------------------------+
|
86
|
+
| Things We Love: Clichy's comparison and City ink |
|
87
|
+
+--------------------------------------------------+
|
88
|
+
+--------------------------------------------------+
|
26
89
|
|
27
90
|
## Development
|
28
91
|
|
Binary file
|
Binary file
|
data/lib/epl_cli_gem/cli.rb
CHANGED
data/lib/epl_cli_gem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epl_cli_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J Ilustrisimo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -128,6 +128,8 @@ files:
|
|
128
128
|
- bin/epl
|
129
129
|
- bin/setup
|
130
130
|
- epl_cli_gem-0.1.0.gem
|
131
|
+
- epl_cli_gem-0.1.1.gem
|
132
|
+
- epl_cli_gem-0.1.2.gem
|
131
133
|
- epl_cli_gem.gemspec
|
132
134
|
- lib/epl_cli_gem.rb
|
133
135
|
- lib/epl_cli_gem/cli.rb
|