ninny 0.1.20 → 0.1.21
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 +4 -4
- data/.github/workflows/build.yml +3 -3
- data/.github/workflows/scheduled.yml +1 -18
- data/.github/workflows/test.yml +6 -7
- data/.rubocop.yml +4 -1
- data/.ruby-version +1 -1
- data/Dockerfile +1 -1
- data/README.md +1 -1
- data/lib/ninny/version.rb +1 -1
- data/ninny.gemspec +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bb254fc2d80a03a8a2fe7cd6c9eef06eebcefd7d58df1e648ef30103c7fd34a
|
|
4
|
+
data.tar.gz: 9a7822d0ceddac325c321738b5e71774cd2d190e3e7a312601159a2fca322e72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e6e88099872539c132668e38994d5b4e4ddbb0533ff002cec676a8940f7763bb7f0586053364d00ba9337abc4807c2a21d6388f61baa825f47614dae21d6a54
|
|
7
|
+
data.tar.gz: ef3426925522993daaeef71280e80964177ca50280af4d27807b5cc7d96fb50d649513dd32a79880b3c2eddcdf287dc41d82c9be70ce67811f06ef83e37b96d2
|
data/.github/workflows/build.yml
CHANGED
|
@@ -16,16 +16,16 @@ jobs:
|
|
|
16
16
|
packages: write
|
|
17
17
|
steps:
|
|
18
18
|
- uses: actions/checkout@v2
|
|
19
|
-
- uses: docker/login-action@v1
|
|
19
|
+
- uses: docker/login-action@v1
|
|
20
20
|
with:
|
|
21
21
|
registry: ${{ env.REGISTRY }}
|
|
22
22
|
username: ${{ github.actor }}
|
|
23
23
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
24
|
-
- uses: docker/metadata-action@v3
|
|
24
|
+
- uses: docker/metadata-action@v3
|
|
25
25
|
id: meta
|
|
26
26
|
with:
|
|
27
27
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
28
|
-
- uses: docker/build-push-action@v2
|
|
28
|
+
- uses: docker/build-push-action@v2
|
|
29
29
|
with:
|
|
30
30
|
context: .
|
|
31
31
|
push: true
|
|
@@ -12,19 +12,11 @@ jobs:
|
|
|
12
12
|
fetch-depth: 0
|
|
13
13
|
- uses: ruby/setup-ruby@v1
|
|
14
14
|
with:
|
|
15
|
-
ruby-version: 3.0
|
|
16
15
|
bundler-cache: true
|
|
17
16
|
- run: |
|
|
18
17
|
gem install bundler-audit
|
|
19
18
|
bundler-audit update
|
|
20
19
|
bundler-audit
|
|
21
|
-
|
|
22
|
-
if [ $? -eq 0 ]; then
|
|
23
|
-
echo "No gem vulnerabilities found."
|
|
24
|
-
else
|
|
25
|
-
echo "Gem vulnerabilities found!"
|
|
26
|
-
exit 1
|
|
27
|
-
fi
|
|
28
20
|
bundle-outdated:
|
|
29
21
|
runs-on: ubuntu-latest
|
|
30
22
|
steps:
|
|
@@ -33,14 +25,5 @@ jobs:
|
|
|
33
25
|
fetch-depth: 0
|
|
34
26
|
- uses: ruby/setup-ruby@v1
|
|
35
27
|
with:
|
|
36
|
-
ruby-version: 3.0
|
|
37
28
|
bundler-cache: true
|
|
38
|
-
- run:
|
|
39
|
-
bundle outdated --strict
|
|
40
|
-
|
|
41
|
-
if [ $? -eq 0 ]; then
|
|
42
|
-
echo "No outdated gems found."
|
|
43
|
-
else
|
|
44
|
-
echo "Outdated gems found!"
|
|
45
|
-
exit 1
|
|
46
|
-
fi
|
|
29
|
+
- run: bundle outdated --strict
|
data/.github/workflows/test.yml
CHANGED
|
@@ -6,7 +6,7 @@ on:
|
|
|
6
6
|
branches: [ main ]
|
|
7
7
|
|
|
8
8
|
env:
|
|
9
|
-
|
|
9
|
+
GITLEAKS_VERSION: v8.2.7
|
|
10
10
|
|
|
11
11
|
jobs:
|
|
12
12
|
test:
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
strategy:
|
|
15
15
|
fail-fast: false
|
|
16
16
|
matrix:
|
|
17
|
-
ruby: [2.6, 2.7, 3.0]
|
|
17
|
+
ruby: [2.6, 2.7, 3.0, 3.1]
|
|
18
18
|
steps:
|
|
19
19
|
- uses: actions/checkout@v2
|
|
20
20
|
with:
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
- uses: actions/checkout@v2
|
|
32
32
|
with:
|
|
33
33
|
fetch-depth: 0
|
|
34
|
-
- uses: HeRoMo/pronto-action@v1.
|
|
34
|
+
- uses: HeRoMo/pronto-action@v1.28.0
|
|
35
35
|
with:
|
|
36
36
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
37
37
|
gitleaks:
|
|
@@ -43,7 +43,7 @@ jobs:
|
|
|
43
43
|
fetch-depth: 0
|
|
44
44
|
- run: |
|
|
45
45
|
curl -H "Accept: application/vnd.github.v3.raw" \
|
|
46
|
-
-L "https://api.github.com/repos/zricethezav/gitleaks/contents/config/gitleaks.toml?ref=${{ env.
|
|
46
|
+
-L "https://api.github.com/repos/zricethezav/gitleaks/contents/config/gitleaks.toml?ref=${{ env.GITLEAKS_VERSION }}" \
|
|
47
47
|
>> ${{ github.WORKSPACE }}/.github/workflows/original.toml
|
|
48
48
|
sed "/\[allowlist\]/,/^$/d" ${{ github.WORKSPACE }}/.github/workflows/original.toml >> ${{ github.WORKSPACE }}/.github/workflows/official.toml
|
|
49
49
|
cat .github/workflows/gitleaks.toml >> .github/workflows/official.toml
|
|
@@ -53,10 +53,9 @@ jobs:
|
|
|
53
53
|
CURRENT_COMMIT="${{ github.EVENT.PULL_REQUEST.HEAD.SHA }}"
|
|
54
54
|
fi
|
|
55
55
|
echo "LOG_OPTS='^origin/main $CURRENT_COMMIT'" >> $GITHUB_ENV
|
|
56
|
-
-
|
|
57
|
-
uses: addnab/docker-run-action@v3
|
|
56
|
+
- uses: addnab/docker-run-action@v3
|
|
58
57
|
with:
|
|
59
|
-
image: zricethezav/gitleaks
|
|
58
|
+
image: zricethezav/gitleaks:${{ env.GITLEAKS_VERSION }}
|
|
60
59
|
options: -v ${{ github.WORKSPACE }}:/app
|
|
61
60
|
run: |
|
|
62
61
|
cd /app
|
data/.rubocop.yml
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
AllCops:
|
|
2
2
|
NewCops: enable
|
|
3
3
|
SuggestExtensions: false
|
|
4
|
-
TargetRubyVersion: 3.
|
|
4
|
+
TargetRubyVersion: 3.1
|
|
5
5
|
Exclude:
|
|
6
6
|
- vendor/**/*
|
|
7
7
|
|
|
8
8
|
Gemspec/RequiredRubyVersion:
|
|
9
9
|
Enabled: false
|
|
10
10
|
|
|
11
|
+
Gemspec/RequireMFA:
|
|
12
|
+
Enabled: false
|
|
13
|
+
|
|
11
14
|
Style/Documentation:
|
|
12
15
|
Enabled: false
|
|
13
16
|
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.1.1
|
data/Dockerfile
CHANGED
data/README.md
CHANGED
|
@@ -103,7 +103,7 @@ To set up your local machine to push to RubyGems via the API, see the [RubyGems
|
|
|
103
103
|
|
|
104
104
|
## Contributing
|
|
105
105
|
|
|
106
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
106
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dispatchitinc/ninny. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
107
107
|
|
|
108
108
|
## Code of Conduct
|
|
109
109
|
|
data/lib/ninny/version.rb
CHANGED
data/ninny.gemspec
CHANGED
|
@@ -13,7 +13,8 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
|
|
14
14
|
spec.summary = 'ninny (n): an foolish person, see: git'
|
|
15
15
|
spec.description = 'Ninny is a command line workflow for git with GitLab'
|
|
16
|
-
spec.homepage = 'https://github.com/
|
|
16
|
+
spec.homepage = 'https://github.com/dispatchitinc/ninny'
|
|
17
|
+
spec.metadata = { 'rubygems_mfa_required' => 'false' }
|
|
17
18
|
|
|
18
19
|
# Specify which files should be added to the gem when it is released.
|
|
19
20
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ninny
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dispatch Engineers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: git
|
|
@@ -310,10 +310,11 @@ files:
|
|
|
310
310
|
- lib/ninny/user_config.rb
|
|
311
311
|
- lib/ninny/version.rb
|
|
312
312
|
- ninny.gemspec
|
|
313
|
-
homepage: https://github.com/
|
|
313
|
+
homepage: https://github.com/dispatchitinc/ninny
|
|
314
314
|
licenses:
|
|
315
315
|
- MIT
|
|
316
|
-
metadata:
|
|
316
|
+
metadata:
|
|
317
|
+
rubygems_mfa_required: 'false'
|
|
317
318
|
post_install_message:
|
|
318
319
|
rdoc_options: []
|
|
319
320
|
require_paths:
|
|
@@ -329,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
329
330
|
- !ruby/object:Gem::Version
|
|
330
331
|
version: '0'
|
|
331
332
|
requirements: []
|
|
332
|
-
rubygems_version: 3.
|
|
333
|
+
rubygems_version: 3.3.7
|
|
333
334
|
signing_key:
|
|
334
335
|
specification_version: 4
|
|
335
336
|
summary: 'ninny (n): an foolish person, see: git'
|