Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
A Ruby client for firstdraft Grades
Add this line to your application's Gemfile:
gem "grade_runner", github: "firstdraft/grade_runner"
And then execute:
$ bundle
After installed, run rails grade
to run specs.
In order to load and run the Rake task, you need to load it.
This is usually done by making a runnable file1, typically called bin/rails
, with contents that look like this:
#!/usr/bin/env ruby
require "rubygems"
require "bundler/setup"
require "rake"
dir = Gem::Specification.find_by_name("grade_runner").gem_dir
load "#{dir}/lib/tasks/grade.rake"
task_name = ARGV[0]
Rake::Task[task_name].invoke
Then you can run bin/rails grade
like before. You can even add this file to the PATH
so you can run rails grade
like with Rails apps.
echo 'export PATH="$PATH:/path/to/project/bin/rails"' >> ~/.bashrc
source ~/.bashrc
Copyright (c) 2018 Raghu Betina. See LICENSE.txt for further details.
If you get file permissions errors when running bin/rails grade
try updating the permissions with chmod 755 bin/rails
first. ↩
FAQs
Unknown package
We found that grade_runner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.