Description

RubyFedora and ActiveFedora provide a set of Ruby gems for creating and managing objects in the Fedora Repository Architecture (http://fedora-commons.org).

Getting Help

  • http://yourmediashelf.com/activefedora
  • Project Homepage: <http://yourmediashelf.com/activefedora>
  • Further documentation is available at <http://projects.mediashelf.us/show/active-fedora>
  • Community Discussions & Mailing List are located at <http://groups.google.com/group/active-fedora>

Installation

The gem is hosted on gemcutter.

gem install active-fedora

Getting Started

The ActiveFedora Console Tour gives you a brief tour through ActiveFedora’s features on the command line.

Testing

In order to run the RSpec tests, you need to have a copy of hydra-jetty running. To do this, download a working copy of hydra-jetty, cd into its root and run

java -jar start.jar

Then open a new terminal and import fedora’s demo objects.


export FEDORA_HOME=/path/to/hydra/jetty/fedora/default
$FEDORA_HOME/client/bin/fedora-ingest-demos.sh localhost 8983 fedoraAdmin fedoraAdmin http
<pre>
  
You must ingest one fixture using the import_fixture rake task provided by the hydra project:
<pre>
  rake hydra:import_fixture pid=hydrangea:fixture_mods_article1

Now you’re ready to run


cd /wherever/active_fedora/is
rake spec

Acknowledgements

Creator: Matt Zumwalt (MediaShelf)

Developers: McClain Looney & Eddie Shin (MediaShelf), Rick Johnson (Notre Dame)

LICENSE:

Copyright © 2009-2010 Matt Zumwalt & MediaShelf, LLC

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

This program 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 Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/> or see <http://www.gnu.org/licenses/lgpl.html>.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.