github-lister-core 0.1.3 → 0.1.4

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: 69e0e8f5f349a698eb1b99c945f668a1a938f8a4c38ec64aff83b6dcdee8712c
4
- data.tar.gz: 69892b6cad7a41268d2623e38e7855cd98f27f8c32e21b8279b271066e5ab37b
3
+ metadata.gz: 71abd2312f87ca7bfcf5c5d13ee6b29198df72393843884bad5ad52392d8d330
4
+ data.tar.gz: c12ba53829f26d94e909d97ad549198c6bb7192c65a4a7959e06ead424efb516
5
5
  SHA512:
6
- metadata.gz: 8bba4f41728ddf17d22a1c12725b6174d268f1f59158920bf2d4ce6ef60bf4864a6d0063f627345b1ee574c41f65bf11dce2cf807ee66ff122211464b11cb1a6
7
- data.tar.gz: 177be0a23e51e378ae0a153c14c2047f1b167a833527b1449c5fe317b644d78da47919b4b0b4b20a2182640585caa70859e8300357f176cb2f0aaf7d9ff757e0
6
+ metadata.gz: f0f55d0fcc10d157679348cd9363a839144b7f290c4e5021a7a6129d1f86aea3d3eda99dbd8af172243b3f5782fe7bafc619f008392bdb226f61a1b250e767ae
7
+ data.tar.gz: e35bbc956f58abadbb1c7eef9ec7d29bc6583f257a15c1ca31aa16a835dae8047a0c5d8dab6e71fe5ceb303b10f6f1fbd4934ba1e195a2fdef602337f0c5e0d0
@@ -0,0 +1,22 @@
1
+ name: Ask a question
2
+ description: If you don't have a specific issue or bug to report you can still ask us questions and we will do our best to answer them
3
+ title: "[Question]: "
4
+ labels: [question, triage]
5
+ assignees:
6
+ - tgwolf
7
+ body:
8
+ - type: textarea
9
+ id: question
10
+ attributes:
11
+ label: What is your question?
12
+ description: Please give us time to review your question and formulate an answer.
13
+ validations:
14
+ required: true
15
+ - type: checkboxes
16
+ id: terms
17
+ attributes:
18
+ label: Code of Conduct
19
+ description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
20
+ options:
21
+ - label: I agree to follow this project's Code of Conduct
22
+ required: true
@@ -0,0 +1,58 @@
1
+ name: Report a bug
2
+ description: Found a bug? Let us knonw what the issue is and we will attempt to fix it
3
+ title: "[Bug]: "
4
+ labels: [bug, triage]
5
+ assignees:
6
+ - tgwolf
7
+ body:
8
+ - type: textarea
9
+ id: what-happened
10
+ attributes:
11
+ label: What happened?
12
+ description: A clear and concise description of what the bug is.
13
+ validations:
14
+ required: true
15
+ - type: textarea
16
+ id: expected-behavior
17
+ attributes:
18
+ label: Expected behavior
19
+ description: A clear and concise description of what you expected to happen.
20
+ validations:
21
+ required: true
22
+ - type: textarea
23
+ id: reproduce
24
+ attributes:
25
+ label: How do we reproduct the bug?
26
+ description: What are the steps we need to take to reproduce the behavior?
27
+ validations:
28
+ required: true
29
+ - type: textarea
30
+ id: logs
31
+ attributes:
32
+ label: Relevant log output
33
+ description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
34
+ render: shell
35
+ validations:
36
+ required: false
37
+ - type: textarea
38
+ id: screenshoots
39
+ attributes:
40
+ label: Screeenshots
41
+ description: Upload any screenshots that might help demonstrate the bug.
42
+ validations:
43
+ required: false
44
+ - type: textarea
45
+ id: additional-information
46
+ attributes:
47
+ label: Additional information
48
+ description: Please provide any additional information that you think will help us to resolve this bug.
49
+ validations:
50
+ required: false
51
+ - type: checkboxes
52
+ id: terms
53
+ attributes:
54
+ label: Code of Conduct
55
+ description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
56
+ options:
57
+ - label: I agree to follow this project's Code of Conduct
58
+ required: true
@@ -1 +1,8 @@
1
1
  blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Support us
4
+ url: https://ko-fi.com/wolfsoftware
5
+ about: Show your support
6
+ - name: Visit our website
7
+ url: https://wolfsoftware.com/
8
+ about: Visit the Wolf Software website and see what else we do and what services we offer
@@ -0,0 +1,43 @@
1
+ name: Request a new feature
2
+ description: Got an idea for a new feature? Let us know what you want and we will see if we can add it
3
+ title: "[Feature Request]: "
4
+ labels: [enhancement, triage]
5
+ assignees:
6
+ - tgwolf
7
+ body:
8
+ - type: textarea
9
+ id: releated-to
10
+ attributes:
11
+ label: Is your feature request related to a problem?
12
+ description: A clear and concise description of what the problem is. E.g. I'm always frustrated when ...
13
+ validations:
14
+ required: true
15
+ - type: textarea
16
+ id: suggested-solution
17
+ attributes:
18
+ label: Suggested Solution
19
+ description: A clear and concise description of what you want to see implemented.
20
+ validations:
21
+ required: true
22
+ - type: textarea
23
+ id: alternatives
24
+ attributes:
25
+ label: Describe alternatives you've considered
26
+ description: A clear and concise description of any alternative solutions or features you've considered.
27
+ validations:
28
+ required: true
29
+ - type: textarea
30
+ id: additional-information
31
+ attributes:
32
+ label: Additional information
33
+ description: Please provide any additional information that you think will help us to resolve this bug.
34
+ validations:
35
+ required: false
36
+ - type: checkboxes
37
+ id: terms
38
+ attributes:
39
+ label: Code of Conduct
40
+ description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
41
+ options:
42
+ - label: I agree to follow this project's Code of Conduct
43
+ required: true
@@ -0,0 +1,99 @@
1
+ name: pipeline
2
+ on: [push, pull_request]
3
+
4
+ jobs:
5
+ bundler:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ ruby: [ '2.6', '2.7', '3.0', 'head' ]
10
+ name: Bundler Test on Ruby ${{ matrix.ruby }}
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up Ruby ${{ matrix.ruby }}
14
+ uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: ${{ matrix.ruby }}
17
+ - name: Run Bundle Install
18
+ run: bundle install
19
+ - name: Run Bundle Exec rake
20
+ run: bundle exec rake
21
+ reek:
22
+ runs-on: ubuntu-latest
23
+ strategy:
24
+ matrix:
25
+ ruby: [ '2.6', '2.7', '3.0', 'head' ]
26
+ name: Reek Test on Ruby ${{ matrix.ruby }}
27
+ steps:
28
+ - uses: actions/checkout@v2
29
+ - name: Set up Ruby ${{ matrix.ruby }}
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: ${{ matrix.ruby }}
33
+ - name: Run Reek
34
+ run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/reek/master/pipeline.sh)
35
+ rubocop:
36
+ runs-on: ubuntu-latest
37
+ strategy:
38
+ matrix:
39
+ ruby: [ '2.6', '2.7', '3.0', 'head' ]
40
+ name: Rubocop Test on Ruby ${{ matrix.ruby }}
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+ - name: Set up Ruby ${{ matrix.ruby }}
44
+ uses: ruby/setup-ruby@v1
45
+ with:
46
+ ruby-version: ${{ matrix.ruby }}
47
+ - name: Run Rubocop
48
+ run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/rubocop/master/pipeline.sh)
49
+ awesomebot:
50
+ name: Awesomebot
51
+ runs-on: ubuntu-latest
52
+ steps:
53
+ - uses: actions/checkout@v2
54
+ - name: Set up Ruby 3.0
55
+ uses: ruby/setup-ruby@v1
56
+ with:
57
+ ruby-version: 3.0
58
+ - name: Run Awesomebot
59
+ env:
60
+ FLAGS: "default"
61
+ EXCLUDE_FILES: "CHANGELOG.md"
62
+ WHITELIST: "https://img.shields.io"
63
+ run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/awesomebot/master/pipeline.sh)
64
+ shellcheck:
65
+ name: ShellCheck
66
+ runs-on: ubuntu-latest
67
+ steps:
68
+ - uses: actions/checkout@v2
69
+ - name: Run Shellcheck
70
+ run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/shellcheck/master/pipeline.sh)
71
+ yaml-lint:
72
+ name: YAML Lint
73
+ runs-on: ubuntu-latest
74
+ steps:
75
+ - uses: actions/checkout@v2
76
+ - name: Set up Ruby 3.0
77
+ uses: ruby/setup-ruby@v1
78
+ with:
79
+ ruby-version: 3.0
80
+ - name: Run YAML-Lint
81
+ run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/yaml-lint/master/pipeline.sh)
82
+ slack-workflow-status:
83
+ if: always()
84
+ name: Slack Post Workflow Notification
85
+ needs:
86
+ - bundler
87
+ - reek
88
+ - rubocop
89
+ - awesomebot
90
+ - shellcheck
91
+ - yaml-lint
92
+ runs-on: ubuntu-latest
93
+ steps:
94
+ - name: Slack Post Workflow Notification
95
+ uses: Gamesight/slack-workflow-status@master
96
+ with:
97
+ include_jobs: true
98
+ repo_token: ${{secrets.GITHUB_TOKEN}}
99
+ slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
data/.gitignore CHANGED
@@ -1,17 +1,3 @@
1
1
  **/ab-results*
2
-
3
- /.bundle/
4
- /.yardoc
5
- /_yardoc/
6
- /coverage/
7
- /doc/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
11
-
12
- # rspec failure tracking
2
+ Gemfile.lock
13
3
  .rspec_status
14
-
15
- /Gemfile.lock
16
-
17
- *.gem
data/CHANGELOG.md CHANGED
@@ -5,11 +5,25 @@ 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
+ ### [v0.1.4](https://github.com/DevelopersToolbox/github-lister-core/compare/v0.1.3...v0.1.4)
9
+
10
+ > Released on May, 20th 2022
11
+
12
+ - Added SAML error handling and also capture genereic error and surface the message [`[head]`](https://github.com/DevelopersToolbox/github-lister-core/commit/)
13
+
14
+ - rebrand [`[c84ea27]`](https://github.com/DevelopersToolbox/github-lister-core/commit/c84ea270deed05ecdd3f483a7921e5260ef6b46d)
15
+
16
+ - Update travis slack integration due to new slack organisation [`[ebd64b8]`](https://github.com/DevelopersToolbox/github-lister-core/commit/ebd64b8ccffddc042c6daf1f708bec13f013d60d)
17
+
18
+ - Remove ruby 2.5 support [`[2d44d88]`](https://github.com/DevelopersToolbox/github-lister-core/commit/2d44d888ec5f532336b9e1c588177591124d6b68)
19
+
20
+ - Fix travis rvm versions and slack integration [`[80efe68]`](https://github.com/DevelopersToolbox/github-lister-core/commit/80efe68ddc3c547d15852dca62e7ba293ecab2d3)
21
+
8
22
  ### [v0.1.3](https://github.com/DevelopersToolbox/github-lister-core/compare/v0.1.2...v0.1.3)
9
23
 
10
24
  > Released on March, 12th 2021
11
25
 
12
- - Added a begin->rescue->end to handle incorrect or expired PAT codes when looking up a username [`[head]`](https://github.com/DevelopersToolbox/github-lister-core/commit/)
26
+ - Added a begin->rescue->end to handle incorrect or expired PAT codes when looking up a username [`[820d5af]`](https://github.com/DevelopersToolbox/github-lister-core/commit/820d5af0a75f96ddd20d9cf6cde0ab9c1fa404ba)
13
27
 
14
28
  ### [v0.1.2](https://github.com/DevelopersToolbox/github-lister-core/compare/v0.1.1...v0.1.2)
15
29
 
data/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  The MIT License (MIT)
2
2
  =====================
3
3
 
4
- Copyright © `2009-2021` `Wolf Software Limited`
4
+ Copyright © `2009-2021` `Wolf Software`
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person
7
7
  obtaining a copy of this software and associated documentation
data/README.md CHANGED
@@ -1,37 +1,34 @@
1
- <h1 align="center">
2
- <a href="https://github.com/WolfSoftware">
3
- <img src="https://raw.githubusercontent.com/WolfSoftware/branding/master/images/general/banners/64/black-and-white.png" alt="Wolf Software Logo" />
4
- </a>
5
- <br>
6
- Github Lister Core Library
7
- </h1>
8
-
9
1
  <p align="center">
10
- <a href="https://travis-ci.com/DevelopersToolbox/github-lister-core">
11
- <img src="https://img.shields.io/travis/com/DevelopersToolbox/github-lister-core/master?style=for-the-badge&logo=travis" alt="Build Status">
12
- </a>
13
- <a href="https://github.com/DevelopersToolbox/github-lister-core/releases/latest">
14
- <img src="https://img.shields.io/github/v/release/DevelopersToolbox/github-lister-core?color=blue&style=for-the-badge&logo=github&logoColor=white&label=Latest%20Release" alt="Release">
15
- </a>
16
- <a href="https://github.com/DevelopersToolbox/github-lister-core/releases/latest">
17
- <img src="https://img.shields.io/github/commits-since/DevelopersToolbox/github-lister-core/latest.svg?color=blue&style=for-the-badge&logo=github&logoColor=white" alt="Commits since release">
18
- </a>
19
- <a href="LICENSE.md">
20
- <img src="https://img.shields.io/badge/license-MIT-blue?style=for-the-badge&logo=read-the-docs&logoColor=white" alt="Software License">
21
- </a>
22
- <br>
23
- <a href=".github/CODE_OF_CONDUCT.md">
24
- <img src="https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge&logo=read-the-docs&logoColor=white" />
25
- </a>
26
- <a href=".github/CONTRIBUTING.md">
27
- <img src="https://img.shields.io/badge/Contributing-blue?style=for-the-badge&logo=read-the-docs&logoColor=white" />
28
- </a>
29
- <a href=".github/SECURITY.md">
30
- <img src="https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge&logo=read-the-docs&logoColor=white" />
31
- </a>
32
- <a href=".github/SUPPORT.md">
33
- <img src="https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge&logo=read-the-docs&logoColor=white" />
34
- </a>
2
+ <a href="https://github.com/DevelopersToolbox/">
3
+ <img src="https://cdn.wolfsoftware.com/assets/images/github/organisations/developerstoolbox/black-and-white-circle-256.png" alt="DevelopersToolbox logo" />
4
+ </a>
5
+ <br />
6
+ <a href="https://github.com/DevelopersToolbox/github-lister-core/actions/workflows/pipeline.yml">
7
+ <img src="https://img.shields.io/github/workflow/status/DevelopersToolbox/github-lister-core/pipeline/master?style=for-the-badge" alt="Github Build Status">
8
+ </a>
9
+ <a href="https://github.com/DevelopersToolbox/github-lister-core/releases/latest">
10
+ <img src="https://img.shields.io/github/v/release/DevelopersToolbox/github-lister-core?color=blue&label=Latest%20Release&style=for-the-badge" alt="Release">
11
+ </a>
12
+ <a href="https://github.com/DevelopersToolbox/github-lister-core/releases/latest">
13
+ <img src="https://img.shields.io/github/commits-since/DevelopersToolbox/github-lister-core/latest.svg?color=blue&style=for-the-badge" alt="Commits since release">
14
+ </a>
15
+ <br />
16
+ <a href=".github/CODE_OF_CONDUCT.md">
17
+ <img src="https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge" />
18
+ </a>
19
+ <a href=".github/CONTRIBUTING.md">
20
+ <img src="https://img.shields.io/badge/Contributing-blue?style=for-the-badge" />
21
+ </a>
22
+ <a href=".github/SECURITY.md">
23
+ <img src="https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge" />
24
+ </a>
25
+ <a href="https://github.com/DevelopersToolbox/github-lister-core/issues">
26
+ <img src="https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge" />
27
+ </a>
28
+ <br />
29
+ <a href="https://wolfsoftware.com/">
30
+ <img src="https://img.shields.io/badge/Created%20by%20Wolf%20Software-blue?style=for-the-badge" />
31
+ </a>
35
32
  </p>
36
33
 
37
34
  ## Overview
@@ -103,19 +100,3 @@ To install this gem onto your local machine, run `bundle exec rake install`.
103
100
  For local testing make sure that you run `bundle exec rspec spec` and then `rake install` to install the gem locally.
104
101
 
105
102
  For further information please refer to the [contributing](.github/CONTRIBUTING.md) documentation.
106
-
107
- ## Contributors
108
-
109
- <p>
110
- <a href="https://github.com/TGWolf">
111
- <img src="https://img.shields.io/badge/Wolf-black?style=for-the-badge" />
112
- </a>
113
- </p>
114
-
115
- ## Show Support
116
-
117
- <p>
118
- <a href="https://ko-fi.com/wolfsoftware">
119
- <img src="https://img.shields.io/badge/Ko%20Fi-blue?style=for-the-badge&logo=ko-fi&logoColor=white" />
120
- </a>
121
- </p>
data/VERSION.txt CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -6,8 +6,8 @@ class GithubListerCore
6
6
  # Catch all - something bad happened but we don't know what
7
7
  #
8
8
  class UnknownError < StandardError
9
- def initialize
10
- super('Something bad happen!')
9
+ def initialize(msg = 'Something bad happen!')
10
+ super
11
11
  end
12
12
  end
13
13
 
@@ -15,8 +15,8 @@ class GithubListerCore
15
15
  # User supplied an invalid token (instead of a missing token)
16
16
  #
17
17
  class InvalidTokenError < StandardError
18
- def initialize
19
- super('Invalid Token')
18
+ def initialize(msg = 'Invalid Token')
19
+ super
20
20
  end
21
21
  end
22
22
 
@@ -24,8 +24,17 @@ class GithubListerCore
24
24
  # User didn't supply a token but one was expected
25
25
  #
26
26
  class MissingTokenError < StandardError
27
- def initialize
28
- super('Missing Token - Please refer to https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token#creating-a-token')
27
+ def initialize(msg = 'Missing Token - Please refer to https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token#creating-a-token')
28
+ super
29
+ end
30
+ end
31
+
32
+ #
33
+ # Handle enterprise level tokens
34
+ #
35
+ class SAMLProtected < StandardError
36
+ def initialize(msg = 'Resource protected by organization SAML enforcement. You must grant your Personal Access token access to this organization.')
37
+ super
29
38
  end
30
39
  end
31
40
 
@@ -33,8 +42,8 @@ class GithubListerCore
33
42
  # Github rate limited us!
34
43
  #
35
44
  class TooManyRequests < StandardError
36
- def initialize
37
- super('Too Many Requests')
45
+ def initialize(msg = 'Too Many Requests')
46
+ super
38
47
  end
39
48
  end
40
49
 
@@ -42,8 +51,8 @@ class GithubListerCore
42
51
  # Generic 'not found' for users / orgs etc
43
52
  #
44
53
  class NotFoundError < StandardError
45
- def initialize
46
- super('Entity Not Found')
54
+ def initialize(msg = 'Entity Not Found')
55
+ super
47
56
  end
48
57
  end
49
58
 
@@ -51,8 +60,8 @@ class GithubListerCore
51
60
  # Docs to go here
52
61
  #
53
62
  class MissingOrganisationError < StandardError
54
- def initialize
55
- super('org_name MUST be passed as an option')
63
+ def initialize(msg = 'org_name MUST be passed as an option')
64
+ super
56
65
  end
57
66
  end
58
67
 
@@ -60,8 +69,8 @@ class GithubListerCore
60
69
  # Docs to go here
61
70
  #
62
71
  class InvalidOptionsHashError < StandardError
63
- def initialize
64
- super('Options must be passed as a hash')
72
+ def initialize(msg = 'Options must be passed as a hash')
73
+ super
65
74
  end
66
75
  end
67
76
 
@@ -69,8 +78,8 @@ class GithubListerCore
69
78
  # Must be string or array!
70
79
  #
71
80
  class InvalidParameterError < StandardError
72
- def initialize
73
- super('Value must be a string or an array')
81
+ def initialize(msg = 'Value must be a string or an array')
82
+ super
74
83
  end
75
84
  end
76
85
  end
@@ -1,3 +1,3 @@
1
1
  class GithubListerCore
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
@@ -18,12 +18,14 @@ class GithubListerCore
18
18
  raise InvalidTokenError.new if client.user_authenticated?
19
19
 
20
20
  raise MissingTokenError.new
21
+ rescue Octokit::SAMLProtected
22
+ raise SAMLProtected.new
21
23
  rescue Octokit::NotFound
22
24
  raise NotFoundError.new
23
25
  rescue Octokit::TooManyRequests
24
26
  raise TooManyRequests.new
25
- rescue StandardError
26
- raise UnknownError.new
27
+ rescue StandardError => exception
28
+ raise UnknownError.new(exception.to_s)
27
29
  end
28
30
  results || []
29
31
  end
data/testing/get-raw.rb CHANGED
@@ -10,9 +10,7 @@ $LOAD_PATH.unshift('./lib')
10
10
  require 'bundler/setup'
11
11
  require 'github-lister-core'
12
12
 
13
- # rubocop:disable Lint/UselessAssignment
14
13
  config = { :token => 'Add token here' }
15
- # rubocop:enable Lint/UselessAssignment
16
14
 
17
15
  def count_results(results)
18
16
  puts JSON.parse(results).size
@@ -22,8 +20,8 @@ def display_results(results)
22
20
  puts JSON.pretty_generate(JSON.parse(results))
23
21
  end
24
22
 
25
- # count_results(GithubListerCore.user_repos(config))
26
- # display_results(GithubListerCore.user_repos(config))
23
+ count_results(GithubListerCore.user_repos(config))
24
+ display_results(GithubListerCore.user_repos(config))
27
25
 
28
26
  # count_results(GithubListerCore.org_repos(config))
29
27
  # display_results(GithubListerCore.org_repos(config))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-lister-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-12 00:00:00.000000000 Z
11
+ date: 2022-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -149,18 +149,17 @@ files:
149
149
  - ".github/CODE_OF_CONDUCT.md"
150
150
  - ".github/CONTRIBUTING.md"
151
151
  - ".github/FUNDING.yml"
152
- - ".github/ISSUE_TEMPLATE/ask_question.md"
153
- - ".github/ISSUE_TEMPLATE/bug_report.md"
152
+ - ".github/ISSUE_TEMPLATE/ask_question.yml"
153
+ - ".github/ISSUE_TEMPLATE/bug_report.yml"
154
154
  - ".github/ISSUE_TEMPLATE/config.yml"
155
- - ".github/ISSUE_TEMPLATE/feature_request.md"
155
+ - ".github/ISSUE_TEMPLATE/feature_request.yml"
156
156
  - ".github/PULL_REQUEST_TEMPLATE.md"
157
157
  - ".github/SECURITY.md"
158
- - ".github/SUPPORT.md"
158
+ - ".github/workflows/pipeline.yml"
159
159
  - ".gitignore"
160
160
  - ".reek.yml"
161
161
  - ".rspec"
162
162
  - ".rubocop.yml"
163
- - ".travis.yml"
164
163
  - CHANGELOG.md
165
164
  - Gemfile
166
165
  - LICENSE.md
@@ -183,7 +182,6 @@ files:
183
182
  - lib/github-lister-core/utils.rb
184
183
  - lib/github-lister-core/version.rb
185
184
  - lib/github-lister-core/wrapper.rb
186
- - stale.yml
187
185
  - testing/get-raw.rb
188
186
  homepage: https://github.com/DevelopersToolbox/github-lister-core
189
187
  licenses:
@@ -207,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
205
  - !ruby/object:Gem::Version
208
206
  version: '0'
209
207
  requirements: []
210
- rubygems_version: 3.1.4
208
+ rubygems_version: 3.3.7
211
209
  signing_key:
212
210
  specification_version: 4
213
211
  summary: Provide a simple, fast and, clean way to extract repository information from
@@ -1,10 +0,0 @@
1
- ---
2
- name: Ask a question
3
- about: Feel free to ask us a question
4
- title: ''
5
- labels: 'question'
6
- assignees: 'TGWolf'
7
-
8
- ---
9
-
10
- **What would you like to know?**
@@ -1,30 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: 'bug'
6
- assignees: 'TGWolf'
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1.
16
- 2.
17
- 3.
18
- 4.
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Environment**
27
- Any relevant information about your environment, OS version, virtualised or not.
28
-
29
- **Additional context**
30
- Add any other context about the problem here.
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: 'enhancement'
6
- assignees: 'TGWolf'
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
data/.github/SUPPORT.md DELETED
@@ -1,8 +0,0 @@
1
- # Support
2
-
3
- If the documentation is not providing the information that you require then you have a couple of options:
4
-
5
- 1. [Start a discussion](https://github.com/DevelopersToolbox/github-lister-core/discussions).
6
- 1. [Open an issue](https://github.com/DevelopersToolbox/github-lister-core/issues), using the `Ask a question` option.
7
-
8
- > This project has a [code of conduct](CODE_OF_CONDUCT.md). By interacting with this repository, organization, or community you agree to abide by its terms.
data/.travis.yml DELETED
@@ -1,129 +0,0 @@
1
- matrix:
2
- include:
3
- - language: ruby
4
- name: Bundler (rvm 2.5)
5
- rvm: 2.5
6
- before_install:
7
- - gem install bundler
8
- - language: ruby
9
- name: Bundler (rvm 2.6)
10
- rvm: 2.6
11
- before_install:
12
- - gem install bundler
13
- - language: ruby
14
- name: Bundler (rvm 2.7)
15
- rvm: 2.7
16
- before_install:
17
- - gem install bundler
18
- - language: ruby
19
- name: Bundler (rvm 3.0)
20
- rvm: 3.0
21
- before_install:
22
- - gem install bundler
23
- - language: ruby
24
- name: Rubocop (rvm 2.5)
25
- rvm: 2.5
26
- before_install:
27
- - git clone https://github.com/TravisToolbox/rubocop.git
28
- install:
29
- - "./rubocop/install.sh"
30
- script:
31
- - "./rubocop/scan.sh"
32
- - language: ruby
33
- name: Rubocop (rvm 2.6)
34
- rvm: 2.6
35
- before_install:
36
- - git clone https://github.com/TravisToolbox/rubocop.git
37
- install:
38
- - "./rubocop/install.sh"
39
- script:
40
- - "./rubocop/scan.sh"
41
- - language: ruby
42
- name: Rubocop (rvm 2.7)
43
- rvm: 2.7
44
- before_install:
45
- - git clone https://github.com/TravisToolbox/rubocop.git
46
- install:
47
- - "./rubocop/install.sh"
48
- script:
49
- - "./rubocop/scan.sh"
50
- - language: ruby
51
- name: Rubocop (rvm 3.0)
52
- rvm: 3.0
53
- before_install:
54
- - git clone https://github.com/TravisToolbox/rubocop.git
55
- install:
56
- - "./rubocop/install.sh"
57
- script:
58
- - "./rubocop/scan.sh"
59
- - language: ruby
60
- name: Reek (rvm 2.5)
61
- rvm: 2.5
62
- before_install:
63
- - git clone https://github.com/TravisToolbox/reek.git
64
- install:
65
- - "./reek/install.sh"
66
- script:
67
- - "./reek/scan.sh"
68
- - language: ruby
69
- name: Reek (rvm 2.6)
70
- rvm: 2.6
71
- before_install:
72
- - git clone https://github.com/TravisToolbox/reek.git
73
- install:
74
- - "./reek/install.sh"
75
- script:
76
- - "./reek/scan.sh"
77
- - language: ruby
78
- name: Reek (rvm 2.7)
79
- rvm: 2.7
80
- before_install:
81
- - git clone https://github.com/TravisToolbox/reek.git
82
- install:
83
- - "./reek/install.sh"
84
- script:
85
- - "./reek/scan.sh"
86
- - language: ruby
87
- name: Reek (rvm 3.0)
88
- rvm: 3.0
89
- before_install:
90
- - git clone https://github.com/TravisToolbox/reek.git
91
- install:
92
- - "./reek/install.sh"
93
- script:
94
- - "./reek/scan.sh"
95
- - language: ruby
96
- name: YAML Linting (rvm 2.7)
97
- rvm: 2.7
98
- before_install:
99
- - git clone https://github.com/TravisToolbox/yaml-lint
100
- install:
101
- - "./yaml-lint/install.sh"
102
- script:
103
- - "./yaml-lint/scan.sh"
104
- - language: bash
105
- name: Shellcheck (Bash)
106
- os: linux
107
- arch: arm64-graviton2
108
- before_install:
109
- - git clone https://github.com/TravisToolbox/shellcheck
110
- install:
111
- - "./shellcheck/install.sh"
112
- script:
113
- - "./shellcheck/scan.sh"
114
- - language: ruby
115
- name: Link Checking (rvm 2.7)
116
- rvm: 2.7
117
- env:
118
- - WHITELIST="https://img.shields.io"
119
- - EXCLUDE_FILES="CHANGELOG.md,github-lister-core.gemspec"
120
- before_install:
121
- - git clone https://github.com/TravisToolbox/awesomebot
122
- install:
123
- - "./awesomebot/install.sh"
124
- script:
125
- - "./awesomebot/scan.sh"
126
- notifications:
127
- email: false
128
- slack:
129
- secure: OAh1PldyUAdO1CaXQhktRIqxWJc0O7D+3aHr1b6iiK4l2Kkzy2UcRYevw61UoBZj3/7PAnC1Pp0PttekcqAtrTx6ZVA9SP2md0BT9M0VzDrSePxT4T0gnj+ESb6vT4xYS0jz83hu4T+s0YoRrCZR4OOWyFHobEJzxxjRjf4nK9ldmwMaSFlncGst9tHIxjKgKApnnA0TttreVDM4y6Szq1CAUv0N6MUN+bIzwaQhKAhjdRqmZEYsufxeia6WUeN57z6Bt06y5pCSt5rwF3uQUxN8zcP7Sl5nCqBhlsh+LlXYUOlK7l8tVJ4r/yX0reHf8YXqA+IEKVatpjSNu4c9M6zyku/L547hWyRuVKe/Q4ADWgI45pipweE79dRCwPmclNNT8obhoQcaLGWj1wsV9udibOy8fGZYWXESTk6pUCcQWJmdIoyvrCgICvRFCs6QfzWqKcgerkv+8V1RwlPx7wAStRvgOAmoZ3RLjjbXbwymriHYTIim1grDTegQZJa4R3ITUuzy8R0Neod/HO5FO1M/XMiFJI2qIpjX1hT5gFRSb2JvzK0JrdAiuZ8xEk02r8Ix/hxJCF95TSe9VmIL5wKKp108OwXXOisF/bNzExgRK5gGKnNMoFW2aVmM3SAd9R8JPWdVwRTrS7PEdQE6NDKZsXaqITLy6KpPMGxcSrY=
data/stale.yml DELETED
@@ -1,17 +0,0 @@
1
- # Number of days of inactivity before an issue becomes stale
2
- daysUntilStale: 60
3
- # Number of days of inactivity before a stale issue is closed
4
- daysUntilClose: 7
5
- # Issues with these labels will never be considered stale
6
- exemptLabels:
7
- - pinned
8
- - security
9
- # Label to use when marking an issue as stale
10
- staleLabel: wontfix
11
- # Comment to post when marking an issue as stale. Set to `false` to disable
12
- markComment: >
13
- This issue has been automatically marked as stale because it has not had
14
- recent activity. It will be closed if no further activity occurs. Thank you
15
- for your contributions.
16
- # Comment to post when closing a stale issue. Set to `false` to disable
17
- closeComment: true