
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
First, install it:
$ gem install tacky
Then, use it like this:
require 'tacky'
tackified = Tacky.new(obj)
That's it, all method calls will be cached. This means that only the first
call of any method will actually reach your object. All consecutive calls
will be intercepted by the Tacky
decorator, which will return
previously calculated values. The decorator keeps all values in its internal
Hash
.
If you want all methods of everything your methods return be cached too, you
need to use "deep" caching (it's true
by default):
obj = Tacky.new(obj, deep: true)
Keep in mind that Tacky
is thread-safe.
Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 2.3+ and Bundler installed. Then:
$ bundle update
$ bundle exec rake
If it's clean and you don't see any error messages, submit your pull request.
FAQs
Unknown package
We found that tacky demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.