football_cli 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.MD +4 -2
- data/lib/football_cli/mapper.rb +6 -2
- data/lib/football_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e99fb1569e4b053d97a0fe5e784735f7044ed7f
|
4
|
+
data.tar.gz: 150f09e3f3dd0cdd84d58f2c2572bf6329c2a57b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ebc108a1e1ec1d00201579c2730a005b15900136ca62feb6d06c33e15d535f3bca4f519cf94be5bf0e0c37ada48a60110105f87d72e5189d616a52a5b5f2988
|
7
|
+
data.tar.gz: adf18ade14634c1594f793a69598b7772add0ff303aed2e3f7d0e427c493fef02cf446009f52ed32977f30bb72eb65c7581c504e20a7cb1d0fac21013789e904
|
data/Gemfile.lock
CHANGED
data/README.MD
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
1
|
+
<p align="center">
|
2
|
+
<img src="http://i.imgur.com/FLITgqs.jpg">
|
3
|
+
</p>
|
2
4
|
|
3
5
|
# Fottball CLI
|
4
6
|
|
5
|
-
A command line interface for all the football data feeds in Ruby
|
7
|
+
A command line interface for all the football data feeds in Ruby
|
6
8
|
|
7
9
|
## Installation
|
8
10
|
|
data/lib/football_cli/mapper.rb
CHANGED
@@ -29,11 +29,15 @@ module FootballCli
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def leagues_path
|
32
|
-
File.join 'config', 'leagues.json'
|
32
|
+
File.join root, 'config', 'leagues.json'
|
33
33
|
end
|
34
34
|
|
35
35
|
def teams_path
|
36
|
-
File.join 'config', 'teams.json'
|
36
|
+
File.join root, 'config', 'teams.json'
|
37
|
+
end
|
38
|
+
|
39
|
+
def root
|
40
|
+
File.expand_path '../../../', __FILE__
|
37
41
|
end
|
38
42
|
end
|
39
43
|
end
|
data/lib/football_cli/version.rb
CHANGED