Sha256: 4816f6d4f0b2640f23fc31c7b5c0f12de61fd590ac76338c3c65712ab386fd7d

Contents?: true

Size: 801 Bytes

Versions: 3

Compression:

Stored size: 801 Bytes

Contents

# ddr-batch

A Rails engine providing batch processing functionality for the Duke Digital Repository.

## Installation

Add to your application's Gemfile:

    gem 'ddr-batch'

and

    bundle install

## Configuration

### User model

Include `Ddr::Batch::BatchUser` in `app/models/user.rb`.

```ruby
class User < ActiveRecord::Base

  # DO NOT REMOVE:
  # Blacklight::User
  # Ddr::Auth::User
  #
  include Ddr::Batch::BatchUser

end
```

### Ability class

Add `Ddr::Batch::BatchAbilityDefinitions` to the list of `ability_definitions`.

```ruby
class Ability < Ddr::Auth::Ability

  self.ability_definitions += [ Ddr::Batch::BatchAbilityDefinitions ]

end
```

### Migrations

Install the ddr-batch migrations:

`rake ddr_batch:install:migrations`

then

`rake db:migrate`

`rake db:test:prepare`

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddr-batch-1.7.2 README.md
ddr-batch-1.7.1 README.md
ddr-batch-1.7.0 README.md