Tag: github

  • Viaggiatreno Ruby gem: version 1.0.5

    On the background of all my activities, I continued the developing of viaggiatreno, a Ruby gem to parse Italian railway real-time system information of the status of the various trains: location, delay, expected and real arrival time. Yesterday I released the version 1.0.5 of this gem, which improves the overall code quality of this gem (0 rubocops violations!):

    viaggiatreno gem source code is hosted on GitHub.

    Simple usage of this gem has been included in the README.

    Another interesting fact that I dealt while writing continuous integration test (with Travis) in the development of this gem: as it fetches and parses information from Internet URLs, one way of writing RSpec tests is to “mock” the remote web part.

    Using vcr gem, I mocked the response of the remote web server in order to write static test-cases (since the informations on train change over time, subsequent web requests did not fetch the same results).

  • Gli showcases di GitHub: un link da bookmarkare!

    Oggi ho trovato un link molto interessante su GitHub: gli showcases.

    Github showcasesSi tratta di una pagina ospitata dal famoso sito di social coding che permette di conoscere ed esplorare alcuni progetti software opensource e – perché no – prendere spunti di organizzazione e metodologie di un progetto.
    I progetti sono catalogati per topic per una più facile consultazione, ed è molto ben fatto ed organizzato.

    Ad esempio, grazie a questa pagina ho scoperto Rubocop, un linter per Ruby che si è rivelato molto utile in più di una occasione.
    Ho inserito il link nel mio toolbox per lo sviluppo software, sicuramente sarà utile in futuro per trovare qualche progetto/tool che mi aiuterà nello sviluppo software.

  • Impariamo git con un semplice tutorial

    GitHub, il social hoster di codice open source più famoso degli ultimi anni, ha messo a disposizione un semplice tutorial per imparare le basi di git, il SCM ideato da Linus Torvalds e lo standard de facto dei progetti open source.

    Il tutorial si trova su Code School – Try Git.