Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

plist4r

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plist4r

  • 1.2.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= plist4r

Plist4r is a friendly rubygem / ruby lib for handling plist files.

  • Documentation at http://dreamcat4.github.com/plist4r

== Installation

gem install plist4r

== Quick Start

require 'plist4r'

Plist4r::Config.default_path = "/Library/LaunchDaemons" filename = "com.github.myservice.plist" p = Plist4r.open(filename)

p.plist_type

=> :launchd

p.file_format

=> :xml

p.edit do program_arguments ["/usr/local/bin/myservice"] watch_paths ["/var/db/myservice"] end

p.save

== Overview

  • For convenience we invoke {Plist4r.open} and {Plist4r.new} to initially create a plist object.

  • And use {Plist4r::Config} to set any global configuration defaults.

  • See {file:Backends} for the backends performance data.

Examples

  • See {file:InfoPlistExample}
  • See {file:LaunchdPlistExample}

Recommended reading

  • See {file:EditingPlistFiles}
  • See {file:PlistKeyNames}
  • Please see the inline source-code documentation on {Plist4r::Plist}

How to contribute

  • {file:DeveloperGuide}

== Copyright

Plist4r is Copyright (c) 2009 under MIT License. See {file:LICENSE} for details.

FAQs

Package last updated on 06 Oct 2011

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc