Sha256: 5caa0e269b3c42d4b0ad2cc31b8e8b7e99d55d2bd3305b4ea9455efcc3b9e55d

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

# FcrepoWrapper

Wrap any task with a Solr instance:

```ruby
FcrepoWrapper.wrap do |solr|
  # Something that requires Solr
end
```

Or with Solr and a solr collection:

```ruby
  subject.wrap do |solr|
    solr.with_collection(dir: File.join(FIXTURES_DIR, "basic_configs")) do |collection_name|
    end
  end
```

## Basic Options

```ruby
FcrepoWrapper.wrap port: 8983, verbose: true, managed: true 
```

```ruby
solr.with_collection(name: 'collection_name', dir: 'path_to_solr_confiigs')
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_wrapper-0.0.1 README.md