Skip to content

Commit 21eb218

Browse files
authored
Add brakeman as a development dependency in playbook (#4121)
**What does this PR do?** Adds brakeman as a development dependency. This allows the scanner to work correctly, and developers to scan locally. It does not affect production code. **How to test?** Steps to confirm the desired behavior: This does not contain any functional changes. If you want to run brakeman locally, make sure you're inside of playbook/playbook and have bundled. Then run `brakeman scan .` #### Checklist: - [ ] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [ ] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [ ] **TESTS** I have added test coverage to my code.
1 parent fecb470 commit 21eb218

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: playbook/Gemfile.lock

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ GEM
8484
babel-transpiler (0.7.0)
8585
babel-source (>= 4.0, < 6)
8686
execjs (~> 2.0)
87+
brakeman (7.0.0)
88+
racc
8789
builder (3.2.4)
8890
byebug (11.1.3)
8991
concurrent-ruby (1.2.3)
@@ -296,6 +298,7 @@ PLATFORMS
296298
ruby
297299

298300
DEPENDENCIES
301+
brakeman (= 7.0.0)
299302
byebug (>= 11.0.0)
300303
github_changelog_generator (= 1.15.2)
301304
playbook_ui!

Diff for: playbook/playbook_ui.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Gem::Specification.new do |s|
4040
s.add_dependency "view_component", "2.83.0"
4141
s.add_dependency "webpacker-react", "~> 0.3.2"
4242

43+
s.add_development_dependency "brakeman", "7.0.0"
4344
s.add_development_dependency "byebug", ">= 11.0.0"
4445
s.add_development_dependency "github_changelog_generator", "1.15.2"
4546
s.add_development_dependency "rails", ">= 5.2.4.5"

0 commit comments

Comments
 (0)