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

rubysync

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubysync

  • 0.2.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

rubysync by Ritchie Young http://rubysync.org

== DESCRIPTION:

RubySync is a tool for synchronizing part or all of your directory, database or application data with anything else. It's event driven so it will happily sit there monitoring changes and passing them on. Alternatively, you can run it in one-shot mode and simply sync A with B.

You can configure RubySync to perform transformations on the data as it syncs. RubySync is designed both as a handy utility to pack into your directory management toolkit or as a fully-fledged provisioning system for your organization.

== FEATURES/PROBLEMS:

  • Event-driven synchronization (if connector supports it) with fall-back to polling
  • Ruby DSL for "configuration" style event processing
  • Clean separation of connector details from data transformation
  • Connectors available for CSV files, XML, LDAP and RDBMS (via ActiveRecord)
  • Easy API for writing your own connectors

== SYNOPSIS:

This sets up the skeleton of a configuration for importing comma delimited text files into a database. Note, if the application happens to be a Rails app then it can also export changes.

$ rubysync create db_demo
$ cd db_demo
$ rubysync connector my_csv -t csv_file
$ rubysync connector my_db -t active_record

You would then edit the files:

connectors/my_csv_connector.rb   ;where to get CSV files, field names, etc
connectors/my_db_connector.rb    ;how to connect to your DB or Rails app.

And enter: $ rubysync pipeline my -C my_csv -V my_db

You would then edit the file pipelines/my_pipeline.rb to configure the policy for synchronizing between the two connectors.

You may then execute the pipeline in one-shot mode:

$ rubysync once my

== REQUIREMENTS:

  • An RDBMS system if you want to sync one
  • An LDAP server if you want to sync one

== INSTALL:

  • sudo gem install rubysync -y

== LICENSE:

RubySync is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

RubySync is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with RubySync; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

FAQs

Package last updated on 25 Jul 2009

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