Socket
Book a DemoInstallSign in
Socket

knut_tools

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knut_tools

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Handling stdout and stderr ------------------------------

knut_tools/catch_output.rb ------------------------------

Defines a function to catch outputs on stdout and stderr.

knut_tools/rake/testtask.rb ------------------------------

Extends rake/testtask to run test in selected directory. This may be necessary, if you have to test, if files are created correct. Rake::TestTask to allow tests in different directories.

Example:
Rake::TestTask.new(:test_ok) do |t| t.dir = $testdir t.test_files = $testfile t.verbose = true end

$testfile must be located relative to $testdir.

knut_tools/rake/gempacker.rb ------------------------------

Defines some task for gem administration.

  • gem
  • install
  • test
  • push
  • ...

knut_tools/yaml.rb ------------------------------

Add yaml-related feature:

  • sorted to_yaml for Hash with :SortKeys => true
  • YAML.load_with_warning warns you about double Hash-keys.

knut_tools/file_winlink.rb ------------------------------

provides method to create Winlinks:
mk_link( target, linkname )

FAQs

Package last updated on 14 Sep 2010

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.