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 +4 -4
- data/README.md +2 -1
- data/github_favorite_language.gemspec +1 -0
- data/lib/github_favorite_language.rb +11 -1
- data/lib/github_favorite_language/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74a131e05a09567688a7c2af7cdd403e28cb5b4b
|
4
|
+
data.tar.gz: 5c77b55ff5cbdc5b40cb62e568634d5aa788db60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|