gman 7.0.4 → 7.0.6

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: d669efd7ce495249c33d645e83d5273423121befebf7c3c23312dfbf52741005
4
- data.tar.gz: 9e745c1a131e60140633a4b711ee96cb611971277beae7263b69e0f6a00d450d
3
+ metadata.gz: fc57dd46a54d019ca356131e6f915b8ce1105fcce38cff2bbfa00bfc14736395
4
+ data.tar.gz: d39f45690057d362e1a119b2c6f57ecdf2ff99c37a68ca880315ffe5711ca18b
5
5
  SHA512:
6
- metadata.gz: ca93a3c3b2ec4f08e99f62800a275c071a40ee519a42ae478875aa5342a65f66c885b2f43f6e8087257ee2309a2558a387239852f1fe16173fe16132c2e99a37
7
- data.tar.gz: 7a7ee379f1b6e37ab929648020b962090bbd22f2ff61e2c3b7b10559c78c18548fe5c3eae8703ca7e18010b100c30f26698c17dae203b906e79cbde20b3b0524
6
+ metadata.gz: 81c4a0bc8b40fdfea16ece37bbe0068cebb8a9c79ec1a970f7da1918470c845b75f2efeaeb88e98c013987fdfded32fb42f9d0795d065e6150b2b4a512418c9d
7
+ data.tar.gz: 304d191c1178d976cde998741b2b5c11ea9d331a8c8db2c1ce816d009b9e139014d63b3d3060d333cfd5fa7d4b0a0597d1fbd2f2c4e5c88b34d4f7b7de336295
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "bundler"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ - package-ecosystem: "github-actions"
8
+ directory: "/"
9
+ schedule:
10
+ interval: "weekly"
@@ -0,0 +1,23 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Set up Ruby
16
+
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 3.0
20
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
21
+
22
+ - name: Run tests
23
+ run: script/cibuild
@@ -0,0 +1,31 @@
1
+ name: Clean domain list
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+
7
+ jobs:
8
+ clean:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set up Ruby
14
+
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 3.0
18
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
19
+
20
+ - name: Alphabetize
21
+ run: bundle exec script/alphabetize
22
+
23
+ - name: Dedupe
24
+ run: bundle exec script/dedupe
25
+
26
+ - name: Create Pull Request
27
+ uses: peter-evans/create-pull-request@v4
28
+ with:
29
+ commit-message: Clean domain list
30
+ title: Clean domain list
31
+ add-paths: config/*
@@ -0,0 +1,70 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '38 17 * * 5'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Learn more about CodeQL language support at https://git.io/codeql-language-support
38
+
39
+ steps:
40
+ - name: Checkout repository
41
+ uses: actions/checkout@v2
42
+
43
+ # Initializes the CodeQL tools for scanning.
44
+ - name: Initialize CodeQL
45
+ uses: github/codeql-action/init@v2
46
+ with:
47
+ languages: ${{ matrix.language }}
48
+ # If you wish to specify custom queries, you can do so here or in a config file.
49
+ # By default, queries listed here will override any specified in a config file.
50
+ # Prefix the list here with "+" to use these queries and those in the config file.
51
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
52
+
53
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
+ # If this step fails, then you should remove it and run the build manually (see below)
55
+ - name: Autobuild
56
+ uses: github/codeql-action/autobuild@v2
57
+
58
+ # ℹ️ Command-line programs to run using the OS shell.
59
+ # 📚 https://git.io/JvXDl
60
+
61
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62
+ # and modify them (or add more) to build your code if your project
63
+ # uses a compiled language
64
+
65
+ #- run: |
66
+ # make bootstrap
67
+ # make release
68
+
69
+ - name: Perform CodeQL Analysis
70
+ uses: github/codeql-action/analyze@v2
@@ -0,0 +1,30 @@
1
+ name: "Validate Domain List"
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 0 15 * *'
6
+ workflow_dispatch: {}
7
+
8
+ jobs:
9
+ validate:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Ruby
15
+
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: 3.0
19
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20
+
21
+ - name: Validate domains
22
+ run: bundle exec script/validate-domains
23
+
24
+ - name: Create Pull Request
25
+ uses: peter-evans/create-pull-request@v4
26
+ if: always()
27
+ with:
28
+ commit-message: Remove invalid domains
29
+ title: Remove invalid domains
30
+ add-paths: config/*
@@ -0,0 +1,29 @@
1
+ name: "Vendor Domain List"
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 0 1 * * '
6
+ workflow_dispatch: {}
7
+
8
+ jobs:
9
+ vendor:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Ruby
15
+
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: 3.0
19
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20
+
21
+ - name: Vendor
22
+ run: script/vendor
23
+
24
+ - name: Create Pull Request
25
+ uses: peter-evans/create-pull-request@v4
26
+ with:
27
+ commit-message: Vendor domain list
28
+ title: Vendor domain list
29
+ add-paths: config/*
data/.rubocop.yml CHANGED
@@ -5,6 +5,7 @@ require:
5
5
  - rubocop-rspec
6
6
 
7
7
  AllCops:
8
+ NewCops: enable
8
9
  TargetRubyVersion: 2.5
9
10
  Exclude:
10
11
  - config/**/*
@@ -17,11 +18,6 @@ Metrics/AbcSize:
17
18
  Exclude:
18
19
  - lib/gman/importer.rb
19
20
 
20
- Metrics/ClassLength:
21
- Exclude:
22
- - lib/gman/importer.rb
23
- - test/**/*
24
-
25
21
  Metrics/ClassLength:
26
22
  Enabled: false
27
23