eper 0.0.30 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -2
  3. data/lib/eper/version.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '088daabde5a2c421a021a76318768f977a05b47dae647a3ef55a4ee6b7256311'
4
- data.tar.gz: 0a8e52270a968f35c1ffe32c751bb24ed45fa6437e9549033b01ed2b16003dd8
3
+ metadata.gz: 5b2e753192c7f76d7f6d087b6c7990e9aa81b8ef288bca075d5ed390565a07c7
4
+ data.tar.gz: 28d4647c28c0857b59a1d3f79a71fe16b88b70b9767054a68d3e65c2188a73e5
5
5
  SHA512:
6
- metadata.gz: 92f72ebcb85931a8cc5e14af6135f4196d5b8eabebd4092ad6234da75d6e3d18482107f920110fbf96a9d5cb2ab81d1008ba19c010019d9af17a95987b02d04f
7
- data.tar.gz: 10523e02415c9551f267289fe959492c937fe5ac4785a7c0be266a085b29e1292b34cd84c94a572cab58b53b65036552adb6f76bc07abf66b78ec00b02098aa6
6
+ metadata.gz: 9803c17b4c2f599fd2562d29a6446e5f1497d7a18284ed1a770f3479a4a44a3a3053b384664e9ca8ead15bfc8b951b268bfcb436aa2ef5cee34c41ea0cc604d2
7
+ data.tar.gz: 5c152ceef36504f217f6fa54f0007d4a24bf18aaa0a6cf8ed7c9f2a0aa0301293ffbd62a2ade8f74eee2c272535198d8128bb4d4827a918c5f124a58d462866a
data/README.md CHANGED
@@ -20,12 +20,19 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- 1. $ export football_data_api_key=YourAPIkeywillcomehere1234567890
24
- 2. use 'Eper.connect(id)' where id is league id, check football-data.org API documentation.
23
+ 1. add your api_key as environment variable:
24
+ ``` ruby
25
+ $ export football_data_api_key=YourAPIkeywillcomehere1234567890
26
+ ```
27
+ 2.
28
+ Eper.connect(id)
29
+
30
+ where id is league id, check football-data.org API documentation.
25
31
 
26
32
  ## TODO
27
33
  - optimize code
28
34
  - add more options(e.g. teams, players, matches)
35
+ - write tests
29
36
 
30
37
 
31
38
  ## Contributing
data/lib/eper/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Eper
2
- VERSION = "0.0.30"
3
- API_ENDPOINT = "http://api.football-data.org/"
2
+ VERSION = "0.0.31"
3
+ API_ENDPOINT = "https://api.football-data.org/"
4
4
  API_VERSION ="v2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Szabolcs Toth
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-14 00:00:00.000000000 Z
11
+ date: 2019-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler