github-lister-core 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: be1e198375f2783e65381f8668c7bd4abc56d2e3cdc6a78b2929f19b4ccd9f4f
4
- data.tar.gz: 68a794988bbe92f704d94d350c7c21b2aff0a1c3a90aa9d530efe03cf49628b6
3
+ metadata.gz: f19f596b99e6b9fa7bc5510c186f0724807a4d956c97f5ddfff2782bc9a5fce2
4
+ data.tar.gz: 9d061f85db720b2047b8593f11c9a78e3f48b213e5592c238fb2c08877526ab0
5
5
  SHA512:
6
- metadata.gz: bb99c15f2c71b763e67bb84414f9d4ca1b8d206c00d39f283ea4c3a36a2ced6253cb40f8de57b52a27588ebeb382ebd40617478d7de27b22e584f831c4fadcb7
7
- data.tar.gz: 9b46b2fbfec39bc13880995eb1b8c432dd1d6df2b93a8756e8814f87c9b4fd6eb79246987ed475babbe47917ce12edb512aab78830fd14b83ec406c60e2fd9a9
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
- ### [Unreleased](https://github.com/DevelopersToolbox/github-lister-core/compare/v0.1.0...HEAD)
8
+ ### [v0.1.1](https://github.com/DevelopersToolbox/github-lister-core/compare/v0.1.0...v0.1.1)
9
9
 
10
- - Spell checking [`[head]`](https://github.com/DevelopersToolbox/github-lister-core/commit/)
10
+ > Released on March, 8th 2021
11
11
 
12
- - Final pre-release flight check [`[2788d33]`](https://github.com/DevelopersToolbox/github-lister-core/commit/2788d33540ad219e8ce1bcaad6d60f84d560e118)
12
+ - Fixing a couple of errors that slipped passed QA testing [`[head]`](https://github.com/DevelopersToolbox/github-lister-core/commit/)
13
13
 
14
- - Pre-release [`[bdc0937]`](https://github.com/DevelopersToolbox/github-lister-core/commit/bdc09379f4ecdc14a36698384400860308762854)
14
+ ### [v0.1.0](https://github.com/DevelopersToolbox/github-lister-core/releases/v0.1.0)
15
15
 
16
- - Pre-release [`[5f23931]`](https://github.com/DevelopersToolbox/github-lister-core/commit/5f2393147b2b149472cc0f9ca5a1b6407eef621d)
16
+ > Released on March, 8th 2021
17
17
 
18
- - Cleaning [`[dfdc9c9]`](https://github.com/DevelopersToolbox/github-lister-core/commit/dfdc9c9f689e3973eb417793807e5e69184dcaed)
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.0
1
+ 0.1.1
@@ -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, options, users)
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) + org_repos_for_user_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
 
@@ -1,3 +1,3 @@
1
1
  class GithubListerCore
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
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))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-lister-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf