= lyber_core Require the following: require 'lyber_core' Constants that need to be defined with sample values: If using WorkflowService: Dor::WF_URI = 'http://lyberservices-dev.stanford.edu/workflow' Dor::CREATE_WORKFLOW = true If using SuriService: Dor::MINT_SURI_IDS = true Dor::SURI_URL = 'http://some.suri.host:8080' Dor::ID_NAMESPACE = 'druid' Dor::SURI_USER = 'suriuser' Dor::SURI_PASSWORD = 'suripword' If connecting to https servers: LyberCore::CERT_FILE = File.dirname(__FILE__) + '/../certs/dummy.crt' LyberCore::KEY_FILE = File.dirname(__FILE__) + '/../certs/dummy.key' LyberCore::KEY_PASS = 'dummy' == lyber_core/utils If using Utilities, require the following: require 'lyber_core/utils' This will give you: LyberCore::Utils::BagitBag LyberCore::Utils::ChecksumValidate LyberCore::Utils::FileUtilities If you do not want all 3, you can require the individual classes. I.E. if you only want the bagit utils, then require: require 'lyber_core/utils/bagit_bat' The BagitBag class requires the bagit gem http://github.com/flazz/bagit == Build and release procedure Run: 'rake dlss_release' to tag, build, and publish the lyber-core gem See the Rakefile and the LyberCore::DlssRelease task in lib/lyber_core/rake/dlss_release.rb for more details == Releases - 0.9.6 DorService.get_objects_for_workstep can handle one or two completed steps. Trimmed-down gem dependencies now defined in lyber-core.gemspec. 'rake dlss_release' will tag, build and publish gem - 0.9.5.5 Robots now log to ROBOT_ROOT/log/robot_name.log unless specified in constructor - 0.9.5.4 Custom exception classes, more checking of error conditions - 0.9.5.3 More robust testing, minor bug fixes, compatible with active_fedora 1.2.6 - 0.9.5 Significantly refactored to provide central logging and many more debugging statements. - 0.9.4 First version that requires Ruby 1.8.7. Built with bundler and rvm - 0.9.3.9 Last version compatible with Ruby 1.8.6. Stored in source control as the 'facets-282' branch. - 0.9.3 Compatibility with bagit 1.0.0. Bump to active-fedora 1.1.13 - 0.9.2 Workflow bug fixes. Last version that supports active-fedora 1.0.7 - We recommend that you DO NOT USE any version older than these == Copyright Copyright (c) 2010 Stanford University Library. See LICENSE for details.