github-lister-core 0.1.0 → 0.1.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 +6 -16
- data/VERSION.txt +1 -1
- data/lib/github-lister-core.rb +2 -2
- data/lib/github-lister-core/repos.rb +1 -1
- data/lib/github-lister-core/version.rb +1 -1
- data/testing/get-raw.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f19f596b99e6b9fa7bc5510c186f0724807a4d956c97f5ddfff2782bc9a5fce2
|
4
|
+
data.tar.gz: 9d061f85db720b2047b8593f11c9a78e3f48b213e5592c238fb2c08877526ab0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e60957af84063a067e91b2db6683e623264b5b63a5fe453fd618ba5242b06add54a1a158da147a89a50fdc6988656b70858a2a89d68b08f98689d879ef4cd2
|
7
|
+
data.tar.gz: ef8b3515bcd49d54e086e7f30db8a1563f481d9c5df76d27c315b8fca22f54837d506beecdbb08e7169963868fc525b3bcf6b4229188bbc143e3dae69244c34d
|
data/CHANGELOG.md
CHANGED
@@ -5,25 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
|
6
6
|
This changelog was automatically generated using [Caretaker](https://github.com/DevelopersToolbox/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
|
7
7
|
|
8
|
-
### [
|
8
|
+
### [v0.1.1](https://github.com/DevelopersToolbox/github-lister-core/compare/v0.1.0...v0.1.1)
|
9
9
|
|
10
|
-
|
10
|
+
> Released on March, 8th 2021
|
11
11
|
|
12
|
-
-
|
12
|
+
- Fixing a couple of errors that slipped passed QA testing [`[head]`](https://github.com/DevelopersToolbox/github-lister-core/commit/)
|
13
13
|
|
14
|
-
|
14
|
+
### [v0.1.0](https://github.com/DevelopersToolbox/github-lister-core/releases/v0.1.0)
|
15
15
|
|
16
|
-
|
16
|
+
> Released on March, 8th 2021
|
17
17
|
|
18
|
-
-
|
19
|
-
|
20
|
-
- Lots of changes [`[4906d56]`](https://github.com/DevelopersToolbox/github-lister-core/commit/4906d565a2df9dbee91ab1055acbdb4bd5b3d194)
|
21
|
-
|
22
|
-
- Create publib / private functions [`[d0c9b7d]`](https://github.com/DevelopersToolbox/github-lister-core/commit/d0c9b7df4a5d25ade1dc53cb1c6832381421e55e)
|
23
|
-
|
24
|
-
- fix [`[99e9078]`](https://github.com/DevelopersToolbox/github-lister-core/commit/99e9078d97bab679ad8f2b0267ea7c72fbc0f423)
|
25
|
-
|
26
|
-
- Added some basic docs for developers, added WAY more tests [`[e388381]`](https://github.com/DevelopersToolbox/github-lister-core/commit/e3883819591e5918f6a1db834072bb364f14256b)
|
27
|
-
|
28
|
-
- First major push [`[af06a65]`](https://github.com/DevelopersToolbox/github-lister-core/commit/af06a658bb68ba204a790fa6758b4929090545ee)
|
18
|
+
- The initial commit [`[2f25c81]`](https://github.com/DevelopersToolbox/github-lister-core/commit/2f25c819acbb77e3dfd31351b4d891bd5f426587)
|
29
19
|
|
data/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/github-lister-core.rb
CHANGED
@@ -36,9 +36,9 @@ class GithubListerCore
|
|
36
36
|
users = get_user_list(client, options)
|
37
37
|
|
38
38
|
if flag_set?(options, :use_slugs)
|
39
|
-
user_repo_slugs_private(client,
|
39
|
+
user_repo_slugs_private(client, users).to_json
|
40
40
|
else
|
41
|
-
user_repos_private(client, options, users)
|
41
|
+
user_repos_private(client, options, users).to_json
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
@@ -76,7 +76,7 @@ class GithubListerCore
|
|
76
76
|
# Generate a slub list of repos for all organisations that a user is a member of
|
77
77
|
#
|
78
78
|
def all_repos_private(client, options, users)
|
79
|
-
repos = user_repos_private(client, options, users) +
|
79
|
+
repos = user_repos_private(client, options, users) + org_members_repos_private(client, options, users)
|
80
80
|
repos.flatten.sort_by { |repo| repo[:full_name].downcase }
|
81
81
|
end
|
82
82
|
|
data/testing/get-raw.rb
CHANGED
@@ -20,17 +20,17 @@ def display_results(results)
|
|
20
20
|
puts JSON.pretty_generate(JSON.parse(results))
|
21
21
|
end
|
22
22
|
|
23
|
-
count_results(GithubListerCore.user_repos(config))
|
23
|
+
# count_results(GithubListerCore.user_repos(config))
|
24
24
|
display_results(GithubListerCore.user_repos(config))
|
25
25
|
|
26
|
-
count_results(GithubListerCore.org_repos(config))
|
26
|
+
# count_results(GithubListerCore.org_repos(config))
|
27
27
|
display_results(GithubListerCore.org_repos(config))
|
28
28
|
|
29
|
-
count_results(GithubListerCore.org_members_repos(config))
|
29
|
+
# count_results(GithubListerCore.org_members_repos(config))
|
30
30
|
display_results(GithubListerCore.org_members_repos(config))
|
31
31
|
|
32
|
-
count_results(GithubListerCore.all_repos(config))
|
32
|
+
# count_results(GithubListerCore.all_repos(config))
|
33
33
|
display_results(GithubListerCore.all_repos(config))
|
34
34
|
|
35
|
-
count_results(GithubListerCore.org_membership(config))
|
35
|
+
# count_results(GithubListerCore.org_membership(config))
|
36
36
|
display_results(GithubListerCore.org_membership(config))
|