Name: languages
Owner: Libraries.io
Description: :ideograph_advantage: Just the language names and colors from github-lingust
Created: 2015-02-20 02:01:54.0
Updated: 2018-04-10 10:06:45.0
Pushed: 2018-03-29 09:38:20.0
Homepage: http://libraries.io/rubygems/languages
Size: 173
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Just the language names and colors extracted from github-lingust, avoiding the heavy dependencies like charlock_holmes
which doesn't install well on heroku.
Add this line to your application's Gemfile:
'languages'
And then execute:
$ bundle
Or install it yourself as:
$ gem install languages
uages::Language['ruby'] #=> <Languages::Language name=Ruby color=#701516>
uages::Language.all #=> [#<Languages::Language name=ActionScript color=#e3491a>, ..]
uages::Language.by_extension('.rb') #=> <Languages::Language name=Ruby color=#701516>
Run the tests with:
$ bundle exec rake
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)