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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 112e0a434bb5e4833bfe78866a14090fb3d21bda
4
- data.tar.gz: beb0eb3a09e419d536b7c83f402b561596920d0b
3
+ metadata.gz: 7b27f80bd1eb0f6385376c466929f14117348085
4
+ data.tar.gz: 0b33e51de4b0b679ec7f71e73afe4d2b7ac14755
5
5
  SHA512:
6
- metadata.gz: 374d7eb8091f0a6f7832ba5b97b2fd0cd65364415c78ed3562524969ceb402f98031e6d6aedf00e7a022bd74f95bba5a2a6c4be45f870af354c317f53028d74c
7
- data.tar.gz: 1baaf03909def92175ffa91d1fdcce1dd0114f551e2f8e620e9b3732245ff908b27d629a1815136a5763a6a120885fc5c00addf91c9d54d87bd4b967120bad83
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
- $ ./bin/epl
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
@@ -96,6 +96,7 @@ class EplCliGem::CLI
96
96
  for_clu = "For Clu".colorize(:red).on_blue
97
97
  b_and_C = "b and C".colorize(:light_white).on_blue
98
98
  ountry = "ountry".colorize(:red).on_blue
99
+ puts ""
99
100
  puts "#{for_clu}#{b_and_C}#{ountry}"
100
101
  puts ""
101
102
  sleep 1
@@ -1,3 +1,3 @@
1
1
  module EplCliGem
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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-29 00:00:00.000000000 Z
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