eper 0.0.29 → 0.0.30

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
  SHA256:
3
- metadata.gz: 6741cc0ae5e21bc5a52402fcc2a099e19820a31704b6357d22ac3508382295ee
4
- data.tar.gz: 540bbf070d785d004eab77902b069a61fb4208444ff767d4730e2fc8fece751b
3
+ metadata.gz: '088daabde5a2c421a021a76318768f977a05b47dae647a3ef55a4ee6b7256311'
4
+ data.tar.gz: 0a8e52270a968f35c1ffe32c751bb24ed45fa6437e9549033b01ed2b16003dd8
5
5
  SHA512:
6
- metadata.gz: a06bd81c6f334fe853ccfce15d4b7707f9b14c2180785a95b60401c3c0828c92e68ea27987db27cff6f8cecb68dd781ea0b9920be7718a0c23d52c1f7c0466f3
7
- data.tar.gz: 9a645bafcd658dfe47da59c5af509446f5224eae529015a90bf83093c43384290c1098f9dc1834fd07cb8cd09c8cd5ffc28638525237c8ee237dfaefaa9242e1
6
+ metadata.gz: 92f72ebcb85931a8cc5e14af6135f4196d5b8eabebd4092ad6234da75d6e3d18482107f920110fbf96a9d5cb2ab81d1008ba19c010019d9af17a95987b02d04f
7
+ data.tar.gz: 10523e02415c9551f267289fe959492c937fe5ac4785a7c0be266a085b29e1292b34cd84c94a572cab58b53b65036552adb6f76bc07abf66b78ec00b02098aa6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eper (0.0.28)
4
+ eper (0.0.29)
5
5
  faraday (~> 0.17.0)
6
6
  json (~> 2.2.0)
7
7
 
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Eper
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/eper`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ This is a simple ruby gem made for web applications. You need to resiter on football-data.org and use your own API key.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,17 +20,17 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
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.
28
25
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+ ## TODO
27
+ - optimize code
28
+ - add more options(e.g. teams, players, matches)
30
29
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
30
 
33
31
  ## Contributing
34
32
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/eper.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kicsipixel/eper.
36
34
 
37
35
 
38
36
  ## License
data/eper.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.email = ["tsz@purzelbaum.hu"]
9
9
 
10
10
  spec.summary = %q{API wrapper for football-data.org}
11
- # spec.description = %q{TODO: Write a longer description or delete this line.}
11
+ spec.description = %q{API wrapper for web applications, which is fed by football-data.org. You need your own API key.}
12
12
  spec.homepage = "https://github.com/kicsipixel/eper"
13
13
  spec.license = "MIT"
14
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
data/lib/eper/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Eper
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  API_ENDPOINT = "http://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.29
4
+ version: 0.0.30
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-13 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,7 +66,8 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.2.0
69
- description:
69
+ description: API wrapper for web applications, which is fed by football-data.org.
70
+ You need your own API key.
70
71
  email:
71
72
  - tsz@purzelbaum.hu
72
73
  executables: []
@@ -105,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  - !ruby/object:Gem::Version
106
107
  version: '0'
107
108
  requirements: []
108
- rubygems_version: 3.1.0.pre1
109
+ rubygems_version: 3.0.6
109
110
  signing_key:
110
111
  specification_version: 4
111
112
  summary: API wrapper for football-data.org