gitrob 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/gitrob/cli.rb +3 -3
- data/lib/gitrob/github/client_manager.rb +1 -1
- data/lib/gitrob/github/data_manager.rb +9 -3
- data/lib/gitrob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0171119bcd3912ad9ee1967af3c23ac9d5b901e5
|
4
|
+
data.tar.gz: 5626794c851de7b3ab38489bebf25338faa8d215
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb217ad1504c7abc823684cb49cc001812e61b415e4a1a33a4c1bf74e922aa411fc568b6962e3f360f32102acfec33dcb688b79ae6e88a3f951b690915ae53a
|
7
|
+
data.tar.gz: 27d602e2e9df9bcfb7960faab9ac4ee1f0adac237d9d70302df5ba08a665d59c3ca82c52473b3a5ef682c6358eb948e14e0d99dcb0288cd7da23a09bb5dfeed2
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
|
+
|
7
|
+
## [1.0.1]
|
8
|
+
### Fixed
|
9
|
+
- The `--verify-ssl` command option did not properly set SSL configuration
|
10
|
+
on GitHub API clients.
|
11
|
+
- Setting GitHub access tokens with `--access-tokens` command option resulted
|
12
|
+
in an error.
|
13
|
+
- Analyze command did not collect private repositories from organizations.
|
14
|
+
|
15
|
+
## [1.0.0]
|
6
16
|
### Added
|
7
17
|
- Complete rewrite of Gitrob
|
8
18
|
- Analyze arbitrary amount of organizations and users
|
data/lib/gitrob/cli.rb
CHANGED
@@ -25,10 +25,10 @@ module Gitrob
|
|
25
25
|
:default => 9393,
|
26
26
|
:desc => "Port to run web server on"
|
27
27
|
class_option :access_tokens,
|
28
|
-
:type => :
|
28
|
+
:type => :string,
|
29
29
|
:banner => "TOKENS",
|
30
|
-
:desc => "GitHub API tokens to
|
31
|
-
"instead of what has been configured"
|
30
|
+
:desc => "Comma-separated list of GitHub API tokens to " \
|
31
|
+
"use instead of what has been configured"
|
32
32
|
class_option :color,
|
33
33
|
:type => :boolean,
|
34
34
|
:default => true,
|
@@ -82,9 +82,15 @@ module Gitrob
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def get_repositories(owner)
|
85
|
-
|
86
|
-
client
|
87
|
-
:
|
85
|
+
if owner["type"] == "Organization"
|
86
|
+
github_client do |client|
|
87
|
+
client.repos.list(:org => owner["login"], :type => "sources")
|
88
|
+
end
|
89
|
+
else
|
90
|
+
github_client do |client|
|
91
|
+
client.repos.list(
|
92
|
+
:user => owner["login"]).reject { |r| r["fork"] }
|
93
|
+
end
|
88
94
|
end
|
89
95
|
end
|
90
96
|
|
data/lib/gitrob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitrob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Henriksen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|