github_favorite_language 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 437ba989c8bc8ebb3526acbfcdad3fec0ff07cf3
4
- data.tar.gz: 0fcd07bd693590b670bbf73e63a457e4452fd902
3
+ metadata.gz: 74a131e05a09567688a7c2af7cdd403e28cb5b4b
4
+ data.tar.gz: 5c77b55ff5cbdc5b40cb62e568634d5aa788db60
5
5
  SHA512:
6
- metadata.gz: e0bdb00281020b4b85ed6334bffb0d3b996acffdbaa3fa8909c607c1d91cc06406c213dd230292dc4b629c26c7e2697a8b7e0ae14dfa837750d71ff7a09df4de
7
- data.tar.gz: 44594fbfdf4262baf8276eea1d9357bed08e4130c48ce3aefad70cf9397bc18f8ce91af2d862f15fb0dac436d2b01e0abf08fdb994d76eabb2da1650247a3920
6
+ metadata.gz: 9eaa953d0a94b49e2899ab9754f30f0acaddabd84cf777e566fd0584ce7267b85c4f7001b33ee8cd840877fe70912f87d7b170b049ce0aae496bfb10caf47a84
7
+ data.tar.gz: 8a3c095a64a86b15f1f0bc06334a89ac27b286b3f0bac2d9872236bb5e6a5f2bc3676a38b8e5928e9e8812c1486000a980819c53576b230fcb26ec4b4e824c79
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Github Favorite Language
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/github_favorite_language.svg)](http://badge.fury.io/rb/github_favorite_language)
3
4
  [![Build Status](https://travis-ci.org/vfonic/github_favorite_language.svg)](https://travis-ci.org/vfonic/github_favorite_language)
4
5
  [![Dependency Status](https://gemnasium.com/vfonic/github_favorite_language.svg)](https://gemnasium.com/vfonic/github_favorite_language)
5
6
  [![Coverage Status](https://coveralls.io/repos/vfonic/github_favorite_language/badge.svg)](https://coveralls.io/r/vfonic/github_favorite_language)
@@ -34,7 +35,7 @@ The gem comes with the command line tool, but can be also called inside the ruby
34
35
 
35
36
  Example:
36
37
 
37
- Bash:
38
+ Bash or Windows Command prompt:
38
39
 
39
40
  ```bash
40
41
  $ github_favorite_language vfonic
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.files += ['USAGE']
17
18
  spec.bindir = "exe"
18
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
20
  spec.require_paths = ["lib"]
@@ -35,7 +35,17 @@ class GithubFavoriteLanguage
35
35
  end
36
36
 
37
37
  def self.print_usage
38
- puts File.read('USAGE')
38
+ puts %Q(
39
+ Description:
40
+ Find out any GitHub user's favorite programming language
41
+
42
+ Usage:
43
+ github_favorite_language vfonic
44
+
45
+ This will fetch vfonic user repos and return the name of the language
46
+ with most bytes of code written.
47
+ For GitHub documentation refer to: https://developer.github.com/v3/
48
+ )
39
49
  end
40
50
 
41
51
  private
@@ -1,3 +1,3 @@
1
1
  class GithubFavoriteLanguage
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_favorite_language
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Viktor Fonic