From 6a3a5fc78cee61663a0fa14e332cb28671d0d3d2 Mon Sep 17 00:00:00 2001 From: Sathish Date: Tue, 11 Apr 2023 20:22:38 +0530 Subject: [PATCH] update readme and homepage Signed-off-by: Sathish --- README.md | 9 +++++++-- yaml-safe_load_stream3.gemspec | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2755e7..5dbc393 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ # YAMLSafeLoadStream provided by `yaml-safe_load_stream3` [![Gem Version](https://badge.fury.io/rb/yaml-safe_load_stream3.svg)](https://badge.fury.io/rb/yaml-safe_load_stream3) -[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/github/tsutsu/yaml-safe_load_stream3/master) +[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/github/inspec/yaml-safe_load_stream3/master) ### Before you begin... +The `yaml-safe_load_stream3` project is a fork of [tsutsu/yaml-safe_load_stream2](https://github.com/tsutsu/yaml-safe_load_stream2). +We made `::YAML.parse_stream` accept parametrized args and raise `Psych::DisallowedClass` as per ruby 3.1 new way of +passing args. The library was renamed in order to publish it to +Rubygems without conflicting with `yaml-safe_load_stream` and `yaml-safe_load_stream2`. + The `yaml-safe_load_stream3` project is a fork of [kontena/k8s-client](https://github.com/kontena/yaml-safe_load_stream). @@ -95,4 +100,4 @@ Or install it yourself as: ## Contributing -Bug reports and pull requests are welcome on GitHub at https://github.com/tsutsu/yaml-safe_load_stream3 +Bug reports and pull requests are welcome on GitHub at https://github.com/inspec/yaml-safe_load_stream3 diff --git a/yaml-safe_load_stream3.gemspec b/yaml-safe_load_stream3.gemspec index ef3ee7f..5ef5876 100644 --- a/yaml-safe_load_stream3.gemspec +++ b/yaml-safe_load_stream3.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Adds YAML.safe_load_stream for safely parsing multi-document YAML streams} spec.description = %q{The Ruby standard library defines YAML.safe_load and YAML.load_stream but there's no way to safely load a multi document stream. This Gem adds YAML.safe_load_stream.} - spec.homepage = "https://github.com/sathish-progress/yaml-safe_load_stream3" + spec.homepage = "https://github.com/inspec/yaml-safe_load_stream3" spec.files = Dir[*%w(lib/yaml/safe_load_stream.rb lib/yaml/safe_load_stream/core-ext.rb LICENSE README.md)] spec.require_paths = ["lib"]