github_trending 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cfb880f57d2cef8f2b1cf2268fae84609315e5b
4
- data.tar.gz: eb5e8d02abacd1aa0082d34cf9bc00dfa6a7e9a5
3
+ metadata.gz: ee31d15391b735b8e31d64f8d08d8c5a2a16e582
4
+ data.tar.gz: 978ee32f68c2e7a5176ada0f720e53518e982143
5
5
  SHA512:
6
- metadata.gz: cda7c2ad4dc012bea7c216b539c1e74b447ac6dce74860102631bb600483b512df53c9fd07947b5e2ce0477c052fc1ca71cea8035d316d249e5aa6e011911921
7
- data.tar.gz: 221a61264f43be99246686516fbc788554a17b0a05a7dd041b5a7c9e61ace440f667eb94fec35750b76510378fc9063464cf5715dd92e889e2252e17f3ae0feb
6
+ metadata.gz: 31813adcc84fd07652e9ec10e18cfd1088044451c4d02ee3aeb6af988d18c915b23be1e970f10cd416de40dca59762fbce90c8c8617f04aa9cd5d77a91cdac17
7
+ data.tar.gz: f23123482b0132f60c4bcdf4a8cdda3ba68e896ef0fe204cb42d8631e6c4f23362555160511426c107eee1776ec3dc679c55d19f77c0d12ce380fd1bb7d82b25
data/README.md CHANGED
@@ -1,24 +1,23 @@
1
1
  # GithubTrending
2
2
 
3
- TODO: Write a gem description
3
+ This all started with my interest on trending repos on github. Enthusiasts want to have all the repos but cloning all the repos one by one is not a good solution!
4
4
 
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'github_trending'
10
-
11
- And then execute:
5
+ So here comes a handy library for cloning all the trening repos automatically. This uses mechanize and nokogiri
12
6
 
13
- $ bundle
7
+ ## Installation
14
8
 
15
- Or install it yourself as:
9
+ Install the gem by:
16
10
 
17
11
  $ gem install github_trending
18
12
 
19
13
  ## Usage
20
14
 
21
- TODO: Write usage instructions here
15
+ Open irb
16
+
17
+ $ require 'github_trending'
18
+ $ GithubTrending.list_repos # For listing all the trending repositories
19
+ $ GithubTrending.download_repos # For cloning all the trending repositories
20
+
22
21
 
23
22
  ## Contributing
24
23
 
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Sri Harsha Kappala"]
10
10
  spec.email = ["sriharsha.kappala@hotmail.com"]
11
11
  spec.summary = %q{Get trending repositories of Github}
12
- spec.description = %q{Get trending repositories of Github}
13
- spec.homepage = ""
12
+ spec.description = %q{List and download github trending repositories}
13
+ spec.homepage = "https://github.com/sriharshakappala/github_trending"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -19,5 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.6"
22
- spec.add_development_dependency "rake"
22
+ spec.add_development_dependency "rake", "~>0"
23
+ spec.add_runtime_dependency 'mechanize', '~> 2.7', '>= 2.7.3'
24
+ spec.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.5'
25
+
26
+
23
27
  end
@@ -1,3 +1,3 @@
1
1
  module GithubTrending
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_trending
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sri Harsha Kappala
@@ -28,17 +28,57 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: Get trending repositories of Github
41
+ - !ruby/object:Gem::Dependency
42
+ name: mechanize
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.7'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.7.3
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '2.7'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.7.3
61
+ - !ruby/object:Gem::Dependency
62
+ name: nokogiri
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.6'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 1.6.5
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '1.6'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.6.5
81
+ description: List and download github trending repositories
42
82
  email:
43
83
  - sriharsha.kappala@hotmail.com
44
84
  executables: []
@@ -53,7 +93,7 @@ files:
53
93
  - github_trending.gemspec
54
94
  - lib/github_trending.rb
55
95
  - lib/github_trending/version.rb
56
- homepage: ''
96
+ homepage: https://github.com/sriharshakappala/github_trending
57
97
  licenses:
58
98
  - MIT
59
99
  metadata: {}