No commit activity in last 3 years
No release in over 3 years
Find out any GitHub user's favorite language!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0
~> 3.3.0
 Project Readme

Github Favorite Language

Gem Version Build Status Dependency Status Coverage Status Code Climate Inline docs security

Find out any GitHub user's favorite programming language!

Installation

Add this line to your application's Gemfile:

  gem 'github_favorite_language'

And then execute:

  $ bundle

Or install it yourself as:

  $ gem install github_favorite_language

Usage

The gem comes with the command line tool, but can be also called inside the ruby code.

Example:

Bash or Windows Command prompt:

    $ github_favorite_language vfonic

Ruby:

  require 'github_favorite_language'

  puts GithubFavoriteLanguage.new(username: 'vfonic').favorite_language

Or:

  require 'github_favorite_language'

  GithubFavoriteLanguage.new(username: 'vfonic').print_favorite_language

This will fetch vfonic repos and return the name of the main language of most repositories. For GitHub documentation refer to: https://developer.github.com/v3/

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake rspec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To fix an issue, update the version number in version.rb, and then create a pull request.

License

The gem is available as open source under the terms of the MIT License.