football__data 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/football +1 -1
- data/config/config.yml.example +11 -0
- data/lib/football__data/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e363a9e0579530d48aca487359d854b358e0069
|
4
|
+
data.tar.gz: a6a1a0b51d6b511acaea572ee5ba57edebb6e42e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bc866164d14252175918ea149571bdb43ae76507a4ac8ae8ade304d6c662da4dfc16c2aee888fbb123d3a16488ece660ffb46cef809ccd3f265feac83d9036b
|
7
|
+
data.tar.gz: 68ad7b17e2561490142bd40e673daa5b56ed6003254d0afe1a51885256d6bd3e47ad17dc530431a52fff18525daf37d36e860869a3224b92d9c7bc642231986d
|
data/bin/football
CHANGED
@@ -13,7 +13,7 @@ CLI = $PROGRAM_NAME
|
|
13
13
|
HOME = ENV["HOME"]
|
14
14
|
EDITOR = ENV["EDITOR"] || "vim"
|
15
15
|
CONFIG_FILE = "#{HOME}/.config/football-data/config.yml"
|
16
|
-
CONFIG_FILE_EXAMPLE = "
|
16
|
+
CONFIG_FILE_EXAMPLE = "config/config.yml.example"
|
17
17
|
|
18
18
|
|
19
19
|
# check config file
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# football__data config file example, yaml format
|
2
|
+
|
3
|
+
# api info
|
4
|
+
api_key: YOUR_API_KEY # must
|
5
|
+
api_version: alpha|v1 # optional, default to alpha
|
6
|
+
|
7
|
+
# favorite setting
|
8
|
+
# run `football list league` to get league id
|
9
|
+
# run `football list team --league=ID` to get team id in league ID
|
10
|
+
fav_league_id: YOUR_FAVORITE_LEAGUE_ID # favorite league id
|
11
|
+
fav_team_id: YOUR_FAVORITE_TEAM_ID # favorite team id
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: football__data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- delta
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- bin/console
|
70
70
|
- bin/football
|
71
71
|
- bin/setup
|
72
|
+
- config/config.yml.example
|
72
73
|
- football__data.gemspec
|
73
74
|
- lib/football__data.rb
|
74
75
|
- lib/football__data/configuration.rb
|