claws-scan 0.7.3 → 0.7.5

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: f15bd23a5e2ccdc04f377f54a4677eb06544c37eb1dd9f42e92f839e253c03a0
4
- data.tar.gz: 6e353d3efc9cd6df847ca00115e4825db51849e93dc67ef3bd9ebb929d87b8ac
3
+ metadata.gz: '088da1fb246e5843261993812e1b89125eba56e5892628516969d496048fef7e'
4
+ data.tar.gz: 82c7a7674fa590a5feda1511f4b3f43970401ec5b2c9898f7c7c859e0805d0df
5
5
  SHA512:
6
- metadata.gz: 74852855d340e5de4e3fe8ea435e53206483ff21b3b52a19ecb97855646e2d9012ab6b410a173be63b022da292506235b8e2f346dc2e1ce44436d8688317350a
7
- data.tar.gz: 1a88c82829b81082cef734cd46b101f1c207daeffebe5b4862322536127eebd67526f6a31fc7844587092e579b06fb175e62438c02b0fb072d4bfd6db0fe1f10
6
+ metadata.gz: 6385a23ac3b074ded87e7b761e4fdd25a7b19770b63b460ee1192664972b9da20dfabc8f6e80e94f327e3b2a6016bce5d996c02dcefae8831ae9bd43d4d10abd
7
+ data.tar.gz: 46adc628c3b02d052d601540d9421e01c70f343a41982593795c149b448ecffdde64c6fc704a6526a5c014237047b5518d72373cc0e05d5197e67d53b0682776
data/.policy.yml ADDED
@@ -0,0 +1,3 @@
1
+ remote: Betterment/policy-bot-config
2
+ path: security-policy.yml
3
+ ref: main
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,40 @@
1
+ # Contributing to Claws
2
+
3
+ Thank you for your interest in contributing to this project! We welcome contributions of all kinds: issues, bug reports, new rules, and pull requests. For just about everything, opening an issue is fine. Opening a pull request would be even better.
4
+
5
+ ## 🔮 Before You Start
6
+
7
+ Please [search existing issues](https://github.com/betterment/claws/issues) before opening a new one. This helps avoid duplicates and ensures discussions stay organized.
8
+
9
+ ## 🐛 Reporting Bugs
10
+
11
+ If you encounter a bug, please [open an issue](https://github.com/betterment/claws/issues) and include:
12
+
13
+ - A clear description of the problem
14
+ - Steps to reproduce the bug
15
+ - Your configuration file (if applicable)
16
+ - A **minimal reproducible example**
17
+
18
+ ## 💡 Suggesting or Adding a New Rule
19
+
20
+ Have an idea for a new rule? Great! You can:
21
+
22
+ - [Open an issue](https://github.com/betterment/claws/issues) to discuss it, or
23
+ - Jump straight in with a [pull request](https://github.com/betterment/claws/pulls)
24
+
25
+ Please explain the motivation behind the rule, its intended use cases, and provide examples if possible.
26
+
27
+ ## 🚀 Submitting Pull Requests
28
+
29
+ We love pull requests!! Before submitting:
30
+
31
+ 1. Ensure your code follows the existing style and passes all tests.
32
+ 2. Include tests for any new features or rules. Every rule requires a test.
33
+ 3. Update documentation if needed.
34
+ 4. Link the related issue in the PR description (if applicable).
35
+
36
+ Thank you for helping make this project better!
37
+
38
+ ## 🔐 Reporting Security Issues
39
+
40
+ If you discover a security vulnerability, **please do not open a public issue**. Instead, refer to our [responsible disclosure guidelines](https://www.betterment.com/legal/security#disclosure) for how to report it.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- claws-scan (0.7.3)
4
+ claws-scan (0.7.5)
5
5
  equation (~> 0.6)
6
6
  pry
7
7
  slop (~> 4.9)
data/README.md CHANGED
@@ -488,7 +488,7 @@ Tips:
488
488
  * eval a test expression: e 'expression'
489
489
  * ^D to exit
490
490
 
491
- From: /Users/omar/src/unbungle/lib/application.rb:194 Application#enter_debug:
491
+ From: /Users/omar/src/claws/lib/application.rb:194 Application#enter_debug:
492
492
 
493
493
  184: def enter_debug(result:, expression:, values:)
494
494
  185: @debug_values = values
@@ -553,5 +553,8 @@ Since this rule is functioning as desired, we don't need to dig any further. But
553
553
 
554
554
  ## Writing Tests
555
555
 
556
- Rules should have corresponding specs that contain sample Workflows that exercise all the different ways to trigger their expressions. See [specs](./specs/rules/) for more info. More docs on the topic TBD :~)
556
+ Rules should have corresponding specs that contain sample Workflows that exercise all the different ways to trigger their expressions. See [specs](./specs/rules/) for more info.
557
557
 
558
+ ## Contributing
559
+
560
+ Check [CONTRIBUTING.md](CONTRIBUTING.md)
@@ -12,7 +12,6 @@ module Claws
12
12
  $step.meta.action != null &&
13
13
  (
14
14
  $step.meta.action.version == null ||
15
- contains(["main", "master"], $step.meta.action.version) ||
16
15
  !($step.meta.action.version =~ "^[a-fA-F0-9]{40}$")
17
16
  ) &&
18
17
  !contains($data.trusted_authors, $step.meta.action.author) &&
@@ -21,8 +20,7 @@ module Claws
21
20
 
22
21
  def data
23
22
  {
24
- "trusted_authors": configuration.fetch("trusted_authors", []),
25
- "loose": configuration.fetch("loose_validation", false)
23
+ "trusted_authors": configuration.fetch("trusted_authors", [])
26
24
  }
27
25
  end
28
26
  end
data/lib/claws/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Claws
4
- VERSION = "0.7.3"
4
+ VERSION = "0.7.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claws-scan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Omar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-30 00:00:00.000000000 Z
11
+ date: 2025-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equation
@@ -74,9 +74,11 @@ executables:
74
74
  extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - ".policy.yml"
77
78
  - ".rspec"
78
79
  - ".rubocop.yml"
79
80
  - ".ruby-version"
81
+ - CONTRIBUTING.md
80
82
  - Gemfile
81
83
  - Gemfile.lock
82
84
  - README.md
@@ -144,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
146
  - !ruby/object:Gem::Version
145
147
  version: '0'
146
148
  requirements: []
147
- rubygems_version: 3.4.19
149
+ rubygems_version: 3.4.20
148
150
  signing_key:
149
151
  specification_version: 4
150
152
  summary: Analyzes your Github Actions