hubba 0.4.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{HISTORY.md → CHANGELOG.md} +0 -0
- data/Manifest.txt +4 -5
- data/README.md +20 -20
- data/Rakefile +4 -4
- data/lib/hubba.rb +30 -12
- data/lib/hubba/client.rb +47 -21
- data/lib/hubba/config.rb +51 -0
- data/lib/hubba/github.rb +60 -51
- data/lib/hubba/reports.rb +249 -0
- data/lib/hubba/reposet.rb +170 -0
- data/lib/hubba/stats.rb +104 -33
- data/lib/hubba/version.rb +2 -4
- data/test/helper.rb +0 -2
- data/test/stats/jekyll~minima.json +8 -4
- data/test/test_config.rb +10 -2
- data/test/test_stats.rb +44 -5
- data/test/test_stats_tmp.rb +8 -7
- metadata +22 -17
- data/lib/hubba/cache.rb +0 -62
- data/test/cache/users~geraldb~orgs.json +0 -46
- data/test/cache/users~geraldb~repos.json +0 -263
- data/test/test_cache.rb +0 -45
data/lib/hubba/version.rb
CHANGED
data/test/helper.rb
CHANGED
@@ -11,11 +11,15 @@
|
|
11
11
|
},
|
12
12
|
"commits": [
|
13
13
|
{
|
14
|
+
"author": {
|
15
|
+
"name": "ashmaroli",
|
16
|
+
"date": "2018-02-21T19:35:59Z"
|
17
|
+
},
|
14
18
|
"committer": {
|
15
|
-
"
|
16
|
-
"
|
19
|
+
"name": "Frank Taillandier",
|
20
|
+
"date": "2018-02-21T19:35:59Z"
|
17
21
|
},
|
18
|
-
"message": "
|
22
|
+
"message": "social icons should resolve baseurl properly (#201)"
|
19
23
|
}
|
20
24
|
]
|
21
|
-
}
|
25
|
+
}
|
data/test/test_config.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
###
|
4
2
|
# to run use
|
5
3
|
# ruby -I ./lib -I ./test test/test_config.rb
|
@@ -14,10 +12,20 @@ class TestConfig < MiniTest::Test
|
|
14
12
|
Hubba.configure do |config|
|
15
13
|
config.user = 'user1'
|
16
14
|
config.password = 'password1'
|
15
|
+
# -or-
|
16
|
+
config.token = 'token1'
|
17
17
|
end
|
18
18
|
|
19
19
|
assert_equal 'user1', Hubba.configuration.user
|
20
20
|
assert_equal 'password1', Hubba.configuration.password
|
21
|
+
assert_equal 'token1', Hubba.configuration.token
|
22
|
+
|
23
|
+
assert_equal 'user1', Hubba.config.user
|
24
|
+
assert_equal 'password1', Hubba.config.password
|
25
|
+
assert_equal 'token1', Hubba.config.token
|
26
|
+
|
27
|
+
assert_equal './data', Hubba.configuration.data_dir
|
28
|
+
assert_equal './data', Hubba.config.data_dir
|
21
29
|
end
|
22
30
|
|
23
31
|
end # class TestConfig
|
data/test/test_stats.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
###
|
4
2
|
# to run use
|
5
3
|
# ruby -I ./lib -I ./test test/test_stats.rb
|
@@ -10,6 +8,45 @@ require 'helper'
|
|
10
8
|
|
11
9
|
class TestStats < MiniTest::Test
|
12
10
|
|
11
|
+
|
12
|
+
def test_jekyll_minima
|
13
|
+
|
14
|
+
stats = Hubba::Stats.new( 'jekyll/minima' )
|
15
|
+
|
16
|
+
assert_equal 0, stats.size
|
17
|
+
assert_equal 0, stats.stars
|
18
|
+
assert_nil stats.history
|
19
|
+
|
20
|
+
Hubba.config.data_dir = "#{Hubba.root}/test/stats"
|
21
|
+
stats.read
|
22
|
+
|
23
|
+
assert_equal 321, stats.size
|
24
|
+
assert_equal 717, stats.stars
|
25
|
+
assert_equal 717, stats.history[0].stars
|
26
|
+
assert_equal 1, stats.history.size
|
27
|
+
|
28
|
+
assert_equal Date.new(2018, 2, 12 ), stats.history[0].date
|
29
|
+
|
30
|
+
assert_nil stats.history[0].diff_days
|
31
|
+
|
32
|
+
assert_equal Date.new(2018, 2, 21 ), stats.committed
|
33
|
+
assert_equal Date.new(2016, 5, 20 ), stats.created
|
34
|
+
assert_equal Date.new(2018, 2, 11 ), stats.updated
|
35
|
+
assert_equal Date.new(2018, 2, 7 ), stats.pushed
|
36
|
+
|
37
|
+
assert_equal DateTime.new(2018, 2, 21, 19, 35, 59 ), stats.committed_at
|
38
|
+
assert_equal DateTime.new(2016, 5, 20, 23, 7, 56 ), stats.created_at
|
39
|
+
assert_equal DateTime.new(2018, 2, 11, 16, 13, 33 ), stats.updated_at
|
40
|
+
assert_equal DateTime.new(2018, 2, 7, 22, 14, 11 ), stats.pushed_at
|
41
|
+
|
42
|
+
|
43
|
+
pp stats.last_commit
|
44
|
+
pp stats.last_commit_message
|
45
|
+
pp stats.history_str ## pp history pretty printed to string (buffer)
|
46
|
+
end
|
47
|
+
|
48
|
+
|
49
|
+
|
13
50
|
def test_awesome_blockchains
|
14
51
|
|
15
52
|
stats = Hubba::Stats.new( 'openblockchains/awesome-blockchains' )
|
@@ -18,7 +55,8 @@ class TestStats < MiniTest::Test
|
|
18
55
|
assert_equal 0, stats.stars
|
19
56
|
assert_nil stats.history
|
20
57
|
|
21
|
-
|
58
|
+
Hubba.config.data_dir = "#{Hubba.root}/test/stats"
|
59
|
+
stats.read
|
22
60
|
|
23
61
|
assert_equal 1620, stats.size
|
24
62
|
assert_equal 1526, stats.stars
|
@@ -55,7 +93,8 @@ class TestStats < MiniTest::Test
|
|
55
93
|
assert_equal 0, stats.stars
|
56
94
|
assert_nil stats.history
|
57
95
|
|
58
|
-
|
96
|
+
Hubba.config.data_dir = "#{Hubba.root}/test/stats"
|
97
|
+
stats.read
|
59
98
|
|
60
99
|
assert_equal 7355, stats.size
|
61
100
|
assert_equal 539, stats.stars
|
@@ -63,7 +102,7 @@ class TestStats < MiniTest::Test
|
|
63
102
|
assert_equal 536, stats.history[1].stars
|
64
103
|
assert_equal 533, stats.history[2].stars
|
65
104
|
assert_equal 457, stats.history[-1].stars
|
66
|
-
assert_equal 7,
|
105
|
+
assert_equal 7, stats.history.size
|
67
106
|
|
68
107
|
assert_equal Date.new(2018, 2, 8 ), stats.history[0].date
|
69
108
|
assert_equal Date.new(2018, 1, 28 ), stats.history[1].date
|
data/test/test_stats_tmp.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
###
|
4
2
|
# to run use
|
5
3
|
# ruby -I ./lib -I ./test test/test_stats_tmp.rb
|
@@ -11,30 +9,33 @@ require 'helper'
|
|
11
9
|
class TestStatsTmp < MiniTest::Test
|
12
10
|
|
13
11
|
def setup
|
14
|
-
@gh = Hubba::Github.new
|
12
|
+
@gh = Hubba::Github.new
|
15
13
|
end
|
16
14
|
|
17
15
|
def test_stats
|
18
16
|
repos = [
|
19
|
-
'henrythemes/jekyll-starter-theme',
|
20
17
|
'poole/hyde',
|
21
18
|
'jekyll/minima'
|
22
19
|
]
|
23
20
|
|
21
|
+
|
24
22
|
repos.each do |repo|
|
25
23
|
stats = Hubba::Stats.new( repo )
|
26
|
-
|
24
|
+
|
25
|
+
Hubba.config.data_dir = "#{Hubba.root}/test/stats"
|
26
|
+
stats.read()
|
27
27
|
|
28
28
|
puts "stars before fetch: #{stats.stars}"
|
29
29
|
puts "size before fetch: #{stats.size} kb"
|
30
30
|
|
31
31
|
## note/todo: enable for "live" online testing
|
32
|
-
##
|
32
|
+
## @gh.update( stats )
|
33
33
|
|
34
34
|
puts "stars after fetch: #{stats.stars}"
|
35
35
|
puts "size after fetch: #{stats.size} kb"
|
36
36
|
|
37
|
-
|
37
|
+
Hubba.config.data_dir = './tmp'
|
38
|
+
stats.write()
|
38
39
|
end
|
39
40
|
|
40
41
|
assert true # for now everything ok if we get here
|
metadata
CHANGED
@@ -1,88 +1,93 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: webclient
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.1.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '4.0'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '7'
|
34
37
|
type: :development
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '4.0'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '7'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: hoe
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
53
|
+
version: '3.22'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
60
|
+
version: '3.22'
|
55
61
|
description: hubba - (yet) another (lite) GitHub HTTP API client / library
|
56
62
|
email: ruby-talk@ruby-lang.org
|
57
63
|
executables: []
|
58
64
|
extensions: []
|
59
65
|
extra_rdoc_files:
|
60
|
-
-
|
66
|
+
- CHANGELOG.md
|
61
67
|
- Manifest.txt
|
62
68
|
- README.md
|
63
69
|
files:
|
64
|
-
-
|
70
|
+
- CHANGELOG.md
|
65
71
|
- Manifest.txt
|
66
72
|
- README.md
|
67
73
|
- Rakefile
|
68
74
|
- lib/hubba.rb
|
69
|
-
- lib/hubba/cache.rb
|
70
75
|
- lib/hubba/client.rb
|
76
|
+
- lib/hubba/config.rb
|
71
77
|
- lib/hubba/github.rb
|
78
|
+
- lib/hubba/reports.rb
|
79
|
+
- lib/hubba/reposet.rb
|
72
80
|
- lib/hubba/stats.rb
|
73
81
|
- lib/hubba/version.rb
|
74
|
-
- test/cache/users~geraldb~orgs.json
|
75
|
-
- test/cache/users~geraldb~repos.json
|
76
82
|
- test/helper.rb
|
77
83
|
- test/stats/jekyll~minima.json
|
78
84
|
- test/stats/openblockchains~awesome-blockchains.json
|
79
85
|
- test/stats/opendatajson~factbook.json.json
|
80
86
|
- test/stats/poole~hyde.json
|
81
|
-
- test/test_cache.rb
|
82
87
|
- test/test_config.rb
|
83
88
|
- test/test_stats.rb
|
84
89
|
- test/test_stats_tmp.rb
|
85
|
-
homepage: https://github.com/
|
90
|
+
homepage: https://github.com/rubycoco/git
|
86
91
|
licenses:
|
87
92
|
- Public Domain
|
88
93
|
metadata: {}
|
@@ -96,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
101
|
requirements:
|
97
102
|
- - ">="
|
98
103
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
104
|
+
version: 2.2.2
|
100
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
106
|
requirements:
|
102
107
|
- - ">="
|
data/lib/hubba/cache.rb
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module Hubba
|
4
|
-
|
5
|
-
class Cache ## lets you work with GitHub api "offline" using just a local cache of stored json
|
6
|
-
|
7
|
-
def initialize( dir )
|
8
|
-
@dir = dir
|
9
|
-
end
|
10
|
-
|
11
|
-
## fix/todo: cut of query string e.g. ?per_page=100 why? why not?
|
12
|
-
def get( request_uri )
|
13
|
-
## check if request_uri exists in local cache
|
14
|
-
basename = request_uri_to_basename( request_uri )
|
15
|
-
path = "#{@dir}/#{basename}.json"
|
16
|
-
if File.exist?( path )
|
17
|
-
text = File.read( path ) ## todo/fix: use File.read_utf8
|
18
|
-
json = JSON.parse( text )
|
19
|
-
json
|
20
|
-
else
|
21
|
-
nil ## todo/fix: raise exception - why? why not??
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
def put( request_uri, obj )
|
26
|
-
basename = request_uri_to_basename( request_uri )
|
27
|
-
path = "#{@dir}/#{basename}.json"
|
28
|
-
|
29
|
-
if obj.is_a?( Resource ) ## note: for convenience support Resource obj too
|
30
|
-
data = obj.data
|
31
|
-
else
|
32
|
-
data = obj # assume Hash or Array -- todo: add support for String - why? why not??
|
33
|
-
end
|
34
|
-
|
35
|
-
File.open( path, 'w' ) do |f|
|
36
|
-
f.write JSON.pretty_generate( data )
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
|
41
|
-
def request_uri_to_basename( request_uri )
|
42
|
-
## 1) cut off leading /
|
43
|
-
## 2) convert / to ~
|
44
|
-
## 3) remove (optional) query string (for now) - why? why not?
|
45
|
-
##
|
46
|
-
## e.g.
|
47
|
-
## '/users/geraldb' => 'users~geraldb',
|
48
|
-
## '/users/geraldb/repos' => 'users~geraldb~repos',
|
49
|
-
## '/users/geraldb/orgs' => 'users~geraldb~orgs',
|
50
|
-
## '/orgs/wikiscript/repos' => 'orgs~wikiscript~repos',
|
51
|
-
## '/orgs/planetjekyll/repos' => 'orgs~planetjekyll~repos',
|
52
|
-
## '/orgs/vienna-rb/repos' => 'orgs~vienna~rb.repos',
|
53
|
-
|
54
|
-
basename = request_uri[1..-1]
|
55
|
-
basename = basename.gsub( '/', '~')
|
56
|
-
basename = basename.sub( /\?.*\z/, '' ) ## note: must escape ? (use \z for $)
|
57
|
-
basename
|
58
|
-
end
|
59
|
-
|
60
|
-
end ## class Cache
|
61
|
-
|
62
|
-
end ## module Hubba
|
@@ -1,46 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"login": "vienna-rb",
|
4
|
-
"id": 3541331,
|
5
|
-
"url": "https://api.github.com/orgs/vienna-rb",
|
6
|
-
"repos_url": "https://api.github.com/orgs/vienna-rb/repos",
|
7
|
-
"events_url": "https://api.github.com/orgs/vienna-rb/events",
|
8
|
-
"members_url": "https://api.github.com/orgs/vienna-rb/members{/member}",
|
9
|
-
"public_members_url": "https://api.github.com/orgs/vienna-rb/public_members{/member}",
|
10
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/3541331?v=3",
|
11
|
-
"description": null
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"login": "openbeer",
|
15
|
-
"id": 4464191,
|
16
|
-
"url": "https://api.github.com/orgs/openbeer",
|
17
|
-
"repos_url": "https://api.github.com/orgs/openbeer/repos",
|
18
|
-
"events_url": "https://api.github.com/orgs/openbeer/events",
|
19
|
-
"members_url": "https://api.github.com/orgs/openbeer/members{/member}",
|
20
|
-
"public_members_url": "https://api.github.com/orgs/openbeer/public_members{/member}",
|
21
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/4464191?v=3",
|
22
|
-
"description": "Open Public Domain Beer, Brewery n Brewpub Data - Incl. The Free World Beer Book"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"login": "slideshow-s9",
|
26
|
-
"id": 4464373,
|
27
|
-
"url": "https://api.github.com/orgs/slideshow-s9",
|
28
|
-
"repos_url": "https://api.github.com/orgs/slideshow-s9/repos",
|
29
|
-
"events_url": "https://api.github.com/orgs/slideshow-s9/events",
|
30
|
-
"members_url": "https://api.github.com/orgs/slideshow-s9/members{/member}",
|
31
|
-
"public_members_url": "https://api.github.com/orgs/slideshow-s9/public_members{/member}",
|
32
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/4464373?v=3",
|
33
|
-
"description": "Free Web Alternative to PowerPoint and Keynote Using Easy-to-Write and Easy-to-Read Plain Text Wiki-Style Markup"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"login": "openfootball",
|
37
|
-
"id": 4477026,
|
38
|
-
"url": "https://api.github.com/orgs/openfootball",
|
39
|
-
"repos_url": "https://api.github.com/orgs/openfootball/repos",
|
40
|
-
"events_url": "https://api.github.com/orgs/openfootball/events",
|
41
|
-
"members_url": "https://api.github.com/orgs/openfootball/members{/member}",
|
42
|
-
"public_members_url": "https://api.github.com/orgs/openfootball/public_members{/member}",
|
43
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/4477026?v=3",
|
44
|
-
"description": "Open Public Domain Football Data - Incl. The Free World Football Almanac"
|
45
|
-
}
|
46
|
-
]
|
@@ -1,263 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 33192631,
|
4
|
-
"name": "austria",
|
5
|
-
"full_name": "geraldb/austria",
|
6
|
-
"owner": {
|
7
|
-
"login": "geraldb",
|
8
|
-
"id": 53281,
|
9
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/53281?v=3",
|
10
|
-
"gravatar_id": "",
|
11
|
-
"url": "https://api.github.com/users/geraldb",
|
12
|
-
"html_url": "https://github.com/geraldb",
|
13
|
-
"followers_url": "https://api.github.com/users/geraldb/followers",
|
14
|
-
"following_url": "https://api.github.com/users/geraldb/following{/other_user}",
|
15
|
-
"gists_url": "https://api.github.com/users/geraldb/gists{/gist_id}",
|
16
|
-
"starred_url": "https://api.github.com/users/geraldb/starred{/owner}{/repo}",
|
17
|
-
"subscriptions_url": "https://api.github.com/users/geraldb/subscriptions",
|
18
|
-
"organizations_url": "https://api.github.com/users/geraldb/orgs",
|
19
|
-
"repos_url": "https://api.github.com/users/geraldb/repos",
|
20
|
-
"events_url": "https://api.github.com/users/geraldb/events{/privacy}",
|
21
|
-
"received_events_url": "https://api.github.com/users/geraldb/received_events",
|
22
|
-
"type": "User",
|
23
|
-
"site_admin": false
|
24
|
-
},
|
25
|
-
"private": false,
|
26
|
-
"html_url": "https://github.com/geraldb/austria",
|
27
|
-
"description": "open data and scripts for austria (österreich)",
|
28
|
-
"fork": false,
|
29
|
-
"url": "https://api.github.com/repos/geraldb/austria",
|
30
|
-
"forks_url": "https://api.github.com/repos/geraldb/austria/forks",
|
31
|
-
"keys_url": "https://api.github.com/repos/geraldb/austria/keys{/key_id}",
|
32
|
-
"collaborators_url": "https://api.github.com/repos/geraldb/austria/collaborators{/collaborator}",
|
33
|
-
"teams_url": "https://api.github.com/repos/geraldb/austria/teams",
|
34
|
-
"hooks_url": "https://api.github.com/repos/geraldb/austria/hooks",
|
35
|
-
"issue_events_url": "https://api.github.com/repos/geraldb/austria/issues/events{/number}",
|
36
|
-
"events_url": "https://api.github.com/repos/geraldb/austria/events",
|
37
|
-
"assignees_url": "https://api.github.com/repos/geraldb/austria/assignees{/user}",
|
38
|
-
"branches_url": "https://api.github.com/repos/geraldb/austria/branches{/branch}",
|
39
|
-
"tags_url": "https://api.github.com/repos/geraldb/austria/tags",
|
40
|
-
"blobs_url": "https://api.github.com/repos/geraldb/austria/git/blobs{/sha}",
|
41
|
-
"git_tags_url": "https://api.github.com/repos/geraldb/austria/git/tags{/sha}",
|
42
|
-
"git_refs_url": "https://api.github.com/repos/geraldb/austria/git/refs{/sha}",
|
43
|
-
"trees_url": "https://api.github.com/repos/geraldb/austria/git/trees{/sha}",
|
44
|
-
"statuses_url": "https://api.github.com/repos/geraldb/austria/statuses/{sha}",
|
45
|
-
"languages_url": "https://api.github.com/repos/geraldb/austria/languages",
|
46
|
-
"stargazers_url": "https://api.github.com/repos/geraldb/austria/stargazers",
|
47
|
-
"contributors_url": "https://api.github.com/repos/geraldb/austria/contributors",
|
48
|
-
"subscribers_url": "https://api.github.com/repos/geraldb/austria/subscribers",
|
49
|
-
"subscription_url": "https://api.github.com/repos/geraldb/austria/subscription",
|
50
|
-
"commits_url": "https://api.github.com/repos/geraldb/austria/commits{/sha}",
|
51
|
-
"git_commits_url": "https://api.github.com/repos/geraldb/austria/git/commits{/sha}",
|
52
|
-
"comments_url": "https://api.github.com/repos/geraldb/austria/comments{/number}",
|
53
|
-
"issue_comment_url": "https://api.github.com/repos/geraldb/austria/issues/comments{/number}",
|
54
|
-
"contents_url": "https://api.github.com/repos/geraldb/austria/contents/{+path}",
|
55
|
-
"compare_url": "https://api.github.com/repos/geraldb/austria/compare/{base}...{head}",
|
56
|
-
"merges_url": "https://api.github.com/repos/geraldb/austria/merges",
|
57
|
-
"archive_url": "https://api.github.com/repos/geraldb/austria/{archive_format}{/ref}",
|
58
|
-
"downloads_url": "https://api.github.com/repos/geraldb/austria/downloads",
|
59
|
-
"issues_url": "https://api.github.com/repos/geraldb/austria/issues{/number}",
|
60
|
-
"pulls_url": "https://api.github.com/repos/geraldb/austria/pulls{/number}",
|
61
|
-
"milestones_url": "https://api.github.com/repos/geraldb/austria/milestones{/number}",
|
62
|
-
"notifications_url": "https://api.github.com/repos/geraldb/austria/notifications{?since,all,participating}",
|
63
|
-
"labels_url": "https://api.github.com/repos/geraldb/austria/labels{/name}",
|
64
|
-
"releases_url": "https://api.github.com/repos/geraldb/austria/releases{/id}",
|
65
|
-
"created_at": "2015-03-31T15:16:05Z",
|
66
|
-
"updated_at": "2015-03-31T21:03:02Z",
|
67
|
-
"pushed_at": "2015-03-31T21:03:02Z",
|
68
|
-
"git_url": "git://github.com/geraldb/austria.git",
|
69
|
-
"ssh_url": "git@github.com:geraldb/austria.git",
|
70
|
-
"clone_url": "https://github.com/geraldb/austria.git",
|
71
|
-
"svn_url": "https://github.com/geraldb/austria",
|
72
|
-
"homepage": null,
|
73
|
-
"size": 552,
|
74
|
-
"stargazers_count": 1,
|
75
|
-
"watchers_count": 1,
|
76
|
-
"language": "Ruby",
|
77
|
-
"has_issues": true,
|
78
|
-
"has_downloads": true,
|
79
|
-
"has_wiki": false,
|
80
|
-
"has_pages": false,
|
81
|
-
"forks_count": 0,
|
82
|
-
"mirror_url": null,
|
83
|
-
"open_issues_count": 0,
|
84
|
-
"forks": 0,
|
85
|
-
"open_issues": 0,
|
86
|
-
"watchers": 1,
|
87
|
-
"default_branch": "master"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"id": 31158327,
|
91
|
-
"name": "auto",
|
92
|
-
"full_name": "geraldb/auto",
|
93
|
-
"owner": {
|
94
|
-
"login": "geraldb",
|
95
|
-
"id": 53281,
|
96
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/53281?v=3",
|
97
|
-
"gravatar_id": "",
|
98
|
-
"url": "https://api.github.com/users/geraldb",
|
99
|
-
"html_url": "https://github.com/geraldb",
|
100
|
-
"followers_url": "https://api.github.com/users/geraldb/followers",
|
101
|
-
"following_url": "https://api.github.com/users/geraldb/following{/other_user}",
|
102
|
-
"gists_url": "https://api.github.com/users/geraldb/gists{/gist_id}",
|
103
|
-
"starred_url": "https://api.github.com/users/geraldb/starred{/owner}{/repo}",
|
104
|
-
"subscriptions_url": "https://api.github.com/users/geraldb/subscriptions",
|
105
|
-
"organizations_url": "https://api.github.com/users/geraldb/orgs",
|
106
|
-
"repos_url": "https://api.github.com/users/geraldb/repos",
|
107
|
-
"events_url": "https://api.github.com/users/geraldb/events{/privacy}",
|
108
|
-
"received_events_url": "https://api.github.com/users/geraldb/received_events",
|
109
|
-
"type": "User",
|
110
|
-
"site_admin": false
|
111
|
-
},
|
112
|
-
"private": false,
|
113
|
-
"html_url": "https://github.com/geraldb/auto",
|
114
|
-
"description": "auto - scripts to automate building databases, books, etc.",
|
115
|
-
"fork": false,
|
116
|
-
"url": "https://api.github.com/repos/geraldb/auto",
|
117
|
-
"forks_url": "https://api.github.com/repos/geraldb/auto/forks",
|
118
|
-
"keys_url": "https://api.github.com/repos/geraldb/auto/keys{/key_id}",
|
119
|
-
"collaborators_url": "https://api.github.com/repos/geraldb/auto/collaborators{/collaborator}",
|
120
|
-
"teams_url": "https://api.github.com/repos/geraldb/auto/teams",
|
121
|
-
"hooks_url": "https://api.github.com/repos/geraldb/auto/hooks",
|
122
|
-
"issue_events_url": "https://api.github.com/repos/geraldb/auto/issues/events{/number}",
|
123
|
-
"events_url": "https://api.github.com/repos/geraldb/auto/events",
|
124
|
-
"assignees_url": "https://api.github.com/repos/geraldb/auto/assignees{/user}",
|
125
|
-
"branches_url": "https://api.github.com/repos/geraldb/auto/branches{/branch}",
|
126
|
-
"tags_url": "https://api.github.com/repos/geraldb/auto/tags",
|
127
|
-
"blobs_url": "https://api.github.com/repos/geraldb/auto/git/blobs{/sha}",
|
128
|
-
"git_tags_url": "https://api.github.com/repos/geraldb/auto/git/tags{/sha}",
|
129
|
-
"git_refs_url": "https://api.github.com/repos/geraldb/auto/git/refs{/sha}",
|
130
|
-
"trees_url": "https://api.github.com/repos/geraldb/auto/git/trees{/sha}",
|
131
|
-
"statuses_url": "https://api.github.com/repos/geraldb/auto/statuses/{sha}",
|
132
|
-
"languages_url": "https://api.github.com/repos/geraldb/auto/languages",
|
133
|
-
"stargazers_url": "https://api.github.com/repos/geraldb/auto/stargazers",
|
134
|
-
"contributors_url": "https://api.github.com/repos/geraldb/auto/contributors",
|
135
|
-
"subscribers_url": "https://api.github.com/repos/geraldb/auto/subscribers",
|
136
|
-
"subscription_url": "https://api.github.com/repos/geraldb/auto/subscription",
|
137
|
-
"commits_url": "https://api.github.com/repos/geraldb/auto/commits{/sha}",
|
138
|
-
"git_commits_url": "https://api.github.com/repos/geraldb/auto/git/commits{/sha}",
|
139
|
-
"comments_url": "https://api.github.com/repos/geraldb/auto/comments{/number}",
|
140
|
-
"issue_comment_url": "https://api.github.com/repos/geraldb/auto/issues/comments{/number}",
|
141
|
-
"contents_url": "https://api.github.com/repos/geraldb/auto/contents/{+path}",
|
142
|
-
"compare_url": "https://api.github.com/repos/geraldb/auto/compare/{base}...{head}",
|
143
|
-
"merges_url": "https://api.github.com/repos/geraldb/auto/merges",
|
144
|
-
"archive_url": "https://api.github.com/repos/geraldb/auto/{archive_format}{/ref}",
|
145
|
-
"downloads_url": "https://api.github.com/repos/geraldb/auto/downloads",
|
146
|
-
"issues_url": "https://api.github.com/repos/geraldb/auto/issues{/number}",
|
147
|
-
"pulls_url": "https://api.github.com/repos/geraldb/auto/pulls{/number}",
|
148
|
-
"milestones_url": "https://api.github.com/repos/geraldb/auto/milestones{/number}",
|
149
|
-
"notifications_url": "https://api.github.com/repos/geraldb/auto/notifications{?since,all,participating}",
|
150
|
-
"labels_url": "https://api.github.com/repos/geraldb/auto/labels{/name}",
|
151
|
-
"releases_url": "https://api.github.com/repos/geraldb/auto/releases{/id}",
|
152
|
-
"created_at": "2015-02-22T09:27:17Z",
|
153
|
-
"updated_at": "2015-04-06T14:16:32Z",
|
154
|
-
"pushed_at": "2015-04-06T14:16:32Z",
|
155
|
-
"git_url": "git://github.com/geraldb/auto.git",
|
156
|
-
"ssh_url": "git@github.com:geraldb/auto.git",
|
157
|
-
"clone_url": "https://github.com/geraldb/auto.git",
|
158
|
-
"svn_url": "https://github.com/geraldb/auto",
|
159
|
-
"homepage": null,
|
160
|
-
"size": 288,
|
161
|
-
"stargazers_count": 1,
|
162
|
-
"watchers_count": 1,
|
163
|
-
"language": "Ruby",
|
164
|
-
"has_issues": true,
|
165
|
-
"has_downloads": true,
|
166
|
-
"has_wiki": false,
|
167
|
-
"has_pages": false,
|
168
|
-
"forks_count": 0,
|
169
|
-
"mirror_url": null,
|
170
|
-
"open_issues_count": 0,
|
171
|
-
"forks": 0,
|
172
|
-
"open_issues": 0,
|
173
|
-
"watchers": 1,
|
174
|
-
"default_branch": "master"
|
175
|
-
},
|
176
|
-
{
|
177
|
-
"id": 33404369,
|
178
|
-
"name": "backup",
|
179
|
-
"full_name": "geraldb/backup",
|
180
|
-
"owner": {
|
181
|
-
"login": "geraldb",
|
182
|
-
"id": 53281,
|
183
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/53281?v=3",
|
184
|
-
"gravatar_id": "",
|
185
|
-
"url": "https://api.github.com/users/geraldb",
|
186
|
-
"html_url": "https://github.com/geraldb",
|
187
|
-
"followers_url": "https://api.github.com/users/geraldb/followers",
|
188
|
-
"following_url": "https://api.github.com/users/geraldb/following{/other_user}",
|
189
|
-
"gists_url": "https://api.github.com/users/geraldb/gists{/gist_id}",
|
190
|
-
"starred_url": "https://api.github.com/users/geraldb/starred{/owner}{/repo}",
|
191
|
-
"subscriptions_url": "https://api.github.com/users/geraldb/subscriptions",
|
192
|
-
"organizations_url": "https://api.github.com/users/geraldb/orgs",
|
193
|
-
"repos_url": "https://api.github.com/users/geraldb/repos",
|
194
|
-
"events_url": "https://api.github.com/users/geraldb/events{/privacy}",
|
195
|
-
"received_events_url": "https://api.github.com/users/geraldb/received_events",
|
196
|
-
"type": "User",
|
197
|
-
"site_admin": false
|
198
|
-
},
|
199
|
-
"private": false,
|
200
|
-
"html_url": "https://github.com/geraldb/backup",
|
201
|
-
"description": "backup - scripts to backup repos, etc.",
|
202
|
-
"fork": false,
|
203
|
-
"url": "https://api.github.com/repos/geraldb/backup",
|
204
|
-
"forks_url": "https://api.github.com/repos/geraldb/backup/forks",
|
205
|
-
"keys_url": "https://api.github.com/repos/geraldb/backup/keys{/key_id}",
|
206
|
-
"collaborators_url": "https://api.github.com/repos/geraldb/backup/collaborators{/collaborator}",
|
207
|
-
"teams_url": "https://api.github.com/repos/geraldb/backup/teams",
|
208
|
-
"hooks_url": "https://api.github.com/repos/geraldb/backup/hooks",
|
209
|
-
"issue_events_url": "https://api.github.com/repos/geraldb/backup/issues/events{/number}",
|
210
|
-
"events_url": "https://api.github.com/repos/geraldb/backup/events",
|
211
|
-
"assignees_url": "https://api.github.com/repos/geraldb/backup/assignees{/user}",
|
212
|
-
"branches_url": "https://api.github.com/repos/geraldb/backup/branches{/branch}",
|
213
|
-
"tags_url": "https://api.github.com/repos/geraldb/backup/tags",
|
214
|
-
"blobs_url": "https://api.github.com/repos/geraldb/backup/git/blobs{/sha}",
|
215
|
-
"git_tags_url": "https://api.github.com/repos/geraldb/backup/git/tags{/sha}",
|
216
|
-
"git_refs_url": "https://api.github.com/repos/geraldb/backup/git/refs{/sha}",
|
217
|
-
"trees_url": "https://api.github.com/repos/geraldb/backup/git/trees{/sha}",
|
218
|
-
"statuses_url": "https://api.github.com/repos/geraldb/backup/statuses/{sha}",
|
219
|
-
"languages_url": "https://api.github.com/repos/geraldb/backup/languages",
|
220
|
-
"stargazers_url": "https://api.github.com/repos/geraldb/backup/stargazers",
|
221
|
-
"contributors_url": "https://api.github.com/repos/geraldb/backup/contributors",
|
222
|
-
"subscribers_url": "https://api.github.com/repos/geraldb/backup/subscribers",
|
223
|
-
"subscription_url": "https://api.github.com/repos/geraldb/backup/subscription",
|
224
|
-
"commits_url": "https://api.github.com/repos/geraldb/backup/commits{/sha}",
|
225
|
-
"git_commits_url": "https://api.github.com/repos/geraldb/backup/git/commits{/sha}",
|
226
|
-
"comments_url": "https://api.github.com/repos/geraldb/backup/comments{/number}",
|
227
|
-
"issue_comment_url": "https://api.github.com/repos/geraldb/backup/issues/comments{/number}",
|
228
|
-
"contents_url": "https://api.github.com/repos/geraldb/backup/contents/{+path}",
|
229
|
-
"compare_url": "https://api.github.com/repos/geraldb/backup/compare/{base}...{head}",
|
230
|
-
"merges_url": "https://api.github.com/repos/geraldb/backup/merges",
|
231
|
-
"archive_url": "https://api.github.com/repos/geraldb/backup/{archive_format}{/ref}",
|
232
|
-
"downloads_url": "https://api.github.com/repos/geraldb/backup/downloads",
|
233
|
-
"issues_url": "https://api.github.com/repos/geraldb/backup/issues{/number}",
|
234
|
-
"pulls_url": "https://api.github.com/repos/geraldb/backup/pulls{/number}",
|
235
|
-
"milestones_url": "https://api.github.com/repos/geraldb/backup/milestones{/number}",
|
236
|
-
"notifications_url": "https://api.github.com/repos/geraldb/backup/notifications{?since,all,participating}",
|
237
|
-
"labels_url": "https://api.github.com/repos/geraldb/backup/labels{/name}",
|
238
|
-
"releases_url": "https://api.github.com/repos/geraldb/backup/releases{/id}",
|
239
|
-
"created_at": "2015-04-04T12:14:24Z",
|
240
|
-
"updated_at": "2015-06-28T11:55:10Z",
|
241
|
-
"pushed_at": "2015-11-10T08:58:28Z",
|
242
|
-
"git_url": "git://github.com/geraldb/backup.git",
|
243
|
-
"ssh_url": "git@github.com:geraldb/backup.git",
|
244
|
-
"clone_url": "https://github.com/geraldb/backup.git",
|
245
|
-
"svn_url": "https://github.com/geraldb/backup",
|
246
|
-
"homepage": null,
|
247
|
-
"size": 184,
|
248
|
-
"stargazers_count": 1,
|
249
|
-
"watchers_count": 1,
|
250
|
-
"language": "Ruby",
|
251
|
-
"has_issues": true,
|
252
|
-
"has_downloads": true,
|
253
|
-
"has_wiki": true,
|
254
|
-
"has_pages": false,
|
255
|
-
"forks_count": 0,
|
256
|
-
"mirror_url": null,
|
257
|
-
"open_issues_count": 0,
|
258
|
-
"forks": 0,
|
259
|
-
"open_issues": 0,
|
260
|
-
"watchers": 1,
|
261
|
-
"default_branch": "master"
|
262
|
-
}
|
263
|
-
]
|