ActiveSecurity
Compatibility
- ⚙️ Ruby >= 2.7, plus JRuby and Truffleruby, but only non-EOL Rubies are officially supported
- ⚙️ Rails >= 7.0 (actually, it only requires
activerecord)
| Project | bundle add active_security | |
|---|---|---|
| 1️⃣ | name, license, docs, standards | |
| 2️⃣ | version & activity | |
| 3️⃣ | maintenance & linting | |
| 4️⃣ | testing | |
| 5️⃣ | coverage & security | |
| 6️⃣ | resources | |
| 7️⃣ | ... 💖 |
Installation
Install the gem and add to the application's Gemfile by executing:
$ bundle add active_security
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install active_security
Documentation
All documentation is in the source for now, but there is a lot of it. If you'd like to help add documentation to this readme, please submit a pull request.
Running Specs
The basic compatibility matrix:
appraisal install
appraisal rake test
Sometimes also:
BUNDLE_GEMFILE=gemfiles/vanilla.gemfile appraisal update
NOTE: This results in bad paths to the gemspec.
gemspec path: "../../" needs to be replaced with gemspec path: "../" in each Appraisal gemfile.
Code Coverage
🪇 Code of Conduct
Everyone interacting in this project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
📌 Versioning
This Library adheres to Semantic Versioning 2.0.0. Violations of this scheme should be reported as bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be immediately released that restores compatibility. Breaking changes to the public API will only be introduced with new major versions.
To get a better understanding of how SemVer is intended to work over a project's lifetime, read this article from the creator of SemVer:
As a result of this policy, you can (and should) specify a dependency on these libraries using the Pessimistic Version Constraint with two digits of precision.
For example:
spec.add_dependency("active_security", "~> 1.0")
[comment]: <> ( 📌 VERSIONING LINKS )
📄 License
The gem is available as open source under the terms of
the MIT License .
See LICENSE.txt for the official Copyright Notice.
[comment]: <> ( 📄 LEGAL LINKS )
© Copyright
- Copyright (c) 2024 Peter H. Boling of Rails Bling