football__data 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e80953fbbd0b5eb6354ad2af427c6b913c1d96d9
4
- data.tar.gz: 4b813627d13ce965c4847df5fea7df2e151b4e7a
3
+ metadata.gz: 9e363a9e0579530d48aca487359d854b358e0069
4
+ data.tar.gz: a6a1a0b51d6b511acaea572ee5ba57edebb6e42e
5
5
  SHA512:
6
- metadata.gz: 4e4e3a68555129447f8390818291fd2fb80950770896cdc0920ade5c783728d1af8b303f48704052b566e9f83810bc9860e6784f6d240571b2614eeba36aef9a
7
- data.tar.gz: 900a23a8d19e24211a143a937cf47217a46dd4d56f8dbc7f4b9593230412c23bdb101b4b7cf607790e29aae86422db89cd4843ecd8b04e91299a98015e1bebe5
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 = "./config.yml.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
@@ -1,3 +1,3 @@
1
1
  module FootballData
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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