Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
amber_extension_generator
Advanced tools
This library serves as a generator of amber_component component packs or extensions.
$ gem install amber_extension_generator
You can generate a new component pack like so
$ amber_extension_generator my_library_name
This will create a new gem in my_library_name
named my_library_name
.
It has all the information on how to use it and develop it in its README.md
.
It is generated with a dummy Rails app configured to hot-reload the gem. This makes it possible to incredibly easy test your components in practice.
There is a custom test suite which makes it extremely easy to unit test components by querying the generated HTML with special assertions.
More details can be found at amber_component.
To setup this gem for development you should run the setup script. This should install all dependencies and make the gem ready.
$ bin/setup
To make development and experimenting easier there is a script that lets you access an IRB with this entire gem preloaded.
$ bin/console
You can run all tests like this.
$ bundle exec rake test
To release a new version, update the version number in version.rb
, and then run
$ bundle exec rake release
This will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
To install this gem onto your local machine, run
$ bundle exec rake install
Bug reports and pull requests are welcome on GitHub at https://github.com/amber-ruby/amber_extension_generator.
The gem is available as open source under the terms of the MIT License.
This component pack generator is powered by amber_component.
FAQs
Unknown package
We found that amber_extension_generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.