jd-erreape / quiniela_3 Goto Github PK
View Code? Open in Web Editor NEWRuby gem that provides info regarding matches and results of Spanish Quiniela game.
License: MIT License
Ruby gem that provides info regarding matches and results of Spanish Quiniela game.
License: MIT License
Same way we've integrated the automatic CHANGELOG.md generation in #13 we would like to do the same whenever a new tag is created, in that case, we would also like to create a Github Release
We would like to implement a new method #matches
within our Quiniela::Parsers::Round
that will return a multidimensional array containing all the matches and where each of the elements is an array with the home and away team.
Quiniela::Parsers::Round#matches
that will provide a method #number with the current round numberWe would like to be able to fetch the current Quiniela's results page from https://www.loteriasyapuestas.es/es/resultados/quiniela We will use this content later to retrieve the results from a given round given all the rounds that are present on that page.
Tasks:
Our specs are failing when bypassing VCR (BYPASS_VCR=true
) just in the CI for some reason. If we are not able to fetch and parse the content in the CI we should omit the bypass process there.
We have a spec failing because it depends of Time.now
we will provide a fixed time for it so it doesn’t fail anymore
We would like to integrate a Github action that will automate the generation of our CHANGELOG.md file given the issues and merge requests added within the project.
An example of what we want to achieve can be found in https://renehernandez.io/essays/2020/09/23/automate-changelog-and-releases-creation-in-github/
We need to Update README file with current allowed operations and info about how to use the gem
We would need to install HTTParty as the way of making external HTTP requests.
Apart from that, we would like to be able to fetch the current Quiniela's round from https://juegos.loteriasyapuestas.es/jugar/la-quiniela/apuesta/?access=headercms&lang=es We will use this content later to retrieve the current round number and the matches / teams for the current round.
Tasks:
We would like to create Quiniela::Parsers::Results
class with a #round
method that will provide the ability to return the results for a given round provided as an integer.
The format of the results will be a multidimensional array with 15 elements where each of the elements will be an array with:
[HomeTeam, AwayTeam, HomeResult, AwayResult]
The order of the elements in the array will be the same order they appear on the current Quiniela.
In case we try to provide results for a round that doesn’t exist, we will raise a Quiniela::Parsers::Result::NotFound
error
We would need to create something like Quiniela::Retrievers::Round
that will be in charge of providing the infoof the current round the quiniela is on, for now we will just retrieve the number
but probably we would add later a method matches
that will return an array with the 15 matches of the current round
We need to:
Quiniela::Retrievers::Round
that will provide a method #number
with the current round numberOnce we finish with our README we will be able to publish our first version of the Gem to RubyGems so we can start using it in other projects.
We should automate the upload of the new version every time a new Tag is added via Github actions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.