
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
#Jeanny
Библиотека для сокращения имён css классов.
##Пример использования
#!/usr/bin/env ruby
require 'rubygems'
require 'jeanny'
include Jeanny::Sugar
analyze('serp/css/_*.css', :compare_with => 'classes.saved') and save
group :html, :title => 'replacing in template files' do
replace :in => 'serp/static/*.html'
end
group :css, :title => 'replacing in stylesheets' do
replace :include => ['serp/css/_*.css', 'serp/block/*/*.css']
end
group :js, :title => 'replacing in scripts' do
replace :in => 'serp/js/_serp.js'
end
##Ещё один пример #!/usr/bin/env ruby
require 'rubygems'
require 'jeanny'
j = Jeanny::Engine.new
j.analyze '.l-head { ... } .l-head__l, .l-head__r { ... } .z-colors { ololo } .z-colors__text { blah-blah-blah... }'
data = '<div class = "l-head"><div class = "l-head__l">Left</div><div class = "l-head__r">Right</div></div><div class = "z-colors"><div class = "z-colors__text">Colors Wizard</div></div>'
puts j.replace data, :html
# На выходе будет:
# => <div class="a"><div class="d">Left</div><div class="e">Right</div></div><div class="b"><div class="f">Colors Wizard</div></div>
##Установка sudo gem sources -a http://gemcutter.org && sudo gem install jeanny
FAQs
Unknown package
We found that jeanny demonstrated a not healthy version release cadence and project activity because the last version was released 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.