rubygems
Nokogiri
rubygems | Nokogiri | |
---|---|---|
220 | 24 | |
3,720 | 6,162 | |
0.8% | 0.1% | |
9.9 | 9.6 | |
3 days ago | 5 days ago | |
Ruby | C | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rubygems
- Fix Gem:SafeMarshal buffer overrun with lengths larger than fit into a byte
-
New Release: turkish_id v1.7.0
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.
-
SSL verification error at depth 2 - Zscaler
gem install asciidoctor-pdf ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) ERROR: You must add /......../=Zscaler Root CA/[email protected] to your local trusted store ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) ERROR: You must add /......../=Zscaler Root CA/[email protected] to your local trusted store ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) ERROR: You must add /......../=Zscaler Root CA/[email protected] to your local trusted store ERROR: Could not find a valid gem 'asciidoctor-pdf' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 peeraddr=151.101.1.227:443 state=error: certificate verify failed (unable to get local issuer certificate) (https://rubygems.org/specs.4.8.gz) ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) ERROR: You must add /......../=Zscaler Root CA/[email protected] to your local trusted store ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20) ERROR: You must add /......../=Zscaler Root CA/[email protected] to your local trusted store
- Fundamentals of React Native App Development: Dependencies, Performance, Native Modules, and Publishing Guide
-
Ruby Debugging, VS Code, Gems, and Bundler!
source 'https://rubygems.org' gem 'fibonacci'
-
An Introduction to Nix for Ruby Developers
# From gemset.nix # actioncable = { dependencies = ["actionpack" "activesupport" "nio4r" "websocket-driver" "zeitwerk"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; sha256 = "0ifiz4nd6a34z2n8lpdgvlgwziy2g364b0xzghiqd3inji0cwqp1"; type = "gem"; }; version = "7.1.3.2"; }; ## From Gemfile.lock # actioncable (7.1.3.2) actionpack (= 7.1.3.2) activesupport (= 7.1.3.2) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6)
-
Effortless Code Conventions Review for Pull Request Changes
source 'https://rubygems.org' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") "https://github.com/#{repo_name}.git" end gem 'pronto' gem 'oj' gem 'pronto-rubocop', require: false gem 'pronto-scss', require: false gem 'pronto-eslint', require: false gem 'pronto-brakeman', require: false gem 'pronto-rails_best_practices', require: false
-
Puppet 8 readiness with Onceover
# Gemfile source "https://rubygems.org" gem 'puppet', '~> 8.4' gem 'onceover', '~> 3.22'
-
RVM Ruby 2.6.0 — built with custom openssl version on Ubuntu 22.04
Fetching source index from https://rubygems.org/ Could not verify the SSL certificate for https://rubygems.org/quick/Marshal.4.8/nokogiri-1.13.10-x86_64-linux.gemspec.rz. There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'
-
Building a Sinatra app in Ruby
# Gemfile source 'https://rubygems.org' gem 'dotenv' gem 'json' gem 'pry' gem 'rake' gem 'sassc' gem 'sinatra' gem 'sinatra-activerecord' gem 'sinatra-contrib' gem 'sinatra-static-assets' group :development do gem 'foreman' gem 'rubocop' gem 'sqlite3', '~> 1.3', '>= 1.3.11' end group :test do gem 'rack-test' gem 'rspec', require: 'spec' end group :production do gem 'pg' end
Nokogiri
-
Nokolexbor: Drop-in replacement for Nokogiri. 5.2x faster at parsing HTML
It seems to have an in-tree libxml 2.11 for XPath support, which was released in 2023-04. Almost every second libxml release comes with a CVE, so I'm curious if there's plans to upgrade the libxml version, since it doesn't use the system libxml (same as nokogiri).
One of the reasons I still use nokogiri is because it puts a lot of effort into keeping libxml updated: https://github.com/sparklemotion/nokogiri/releases
-
How we made a Ruby method 200x faster
(2.1) Compare tagName in the selector
Apparently Nokogiri implements CSS in a very inefficient way though by collecting ancestors and then converting the CSS into xpath and matching that:
https://github.com/sparklemotion/nokogiri/blob/e8d30a71d70b2...
https://github.com/sparklemotion/nokogiri/blob/e8d30a71d70b2...
I'd expect that to be an order of magnitude slower than what a browser does.
-
11 best open-source web crawlers and scrapers in 2024
Language: Ruby | GitHub: 6.1K+ stars | link
-
Lexbor – an open source HTML Renderer library
[2] https://github.com/sparklemotion/nokogiri/issues/2204
- Web Scraping in Python – The Complete Guide
-
Did you know Nokogiri now has opt-in HTML5 parsing?
release planning: v1.16.0 · Issue #2897 · sparklemotion/nokogiri
-
As a Go developer, I’m surprised Crystal isn’t more popular
What's holding me back from going all in with Crystal is I have a lot of pre-existing Ruby code, and porting Ruby code to Crystal can be tricky. For example, Crystal lacks an Enumerator class (aka generators) due to captured block semantics. I also wish the shards ecosystem was a little more mature; for example there's multiple HTML parsing libraries, but none have all of the features that Ruby's Nokogiri has. For new greenfield backend projects, I would totally use Crystal.
-
Two months into learning Ruby, it is the most beautiful language I ever learned
Welcome! Ruby isn't exactly "dying", but the hype/popularity is definitely fading. This is primarily because Ruby is no longer "new", most of Ruby's popularity came from Rails, and now Rails is no longer the "new hotness". However, Ruby still has lots of awesome features and lots of awesome other libraries and frameworks, such as the new fancy irb gem that uses reline, nokogiri, chunky_png, the async gems, Dragon Ruby, SciRuby, Ronin, and the new Hanami web framework.
- What should I be learning?
- Comparable maintained Kimurai alternative?
What are some alternatives?
dotenv - A Ruby gem to load environment variables from `.env`.
Oga - Oga is an XML/HTML parser written in Ruby.
verdaccio - A lightweight Node.js private proxy registry
Ox - Ruby Optimized XML Parser
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
HTML::Pipeline - HTML processing filters and utilities
rbenv - Manage your app's Ruby environment
Oj - Optimized JSON
chromebrew - Package manager for Chrome OS
ROXML - ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
HappyMapper - Object to XML mapping library, using Nokogiri (Fork from John Nunemaker's Happymapper)