active-fedora 12.1.0 → 12.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +69 -0
- data/Gemfile +1 -0
- data/README.md +2 -2
- data/lib/active_fedora/version.rb +1 -1
- data/lib/generators/active_fedora/config/solr/templates/solr/config/schema.xml +1 -13
- data/spec/spec_helper.rb +1 -1
- metadata +5 -4
- data/.travis.yml +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39f4306f380a75205db4e89173c7640cef6f8c1cbc2206f9738f93d6d3cce02c
|
4
|
+
data.tar.gz: cc5a995014b8f08ab1ac7682f4000ac751329ece7170db4f114ab1017b3f6b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f292ba19b60b37d2fd884c94fb359a64f33b4fa02e9fb9e922671fdff00cf969bbefe1fc51e58f9b956c8320d7ba0b8063d47b7eaf61577c3b51ea20ecf081b8
|
7
|
+
data.tar.gz: 57024bf075eb041d99eb47ec20c05e1c9df7cb038d4a73b873429f286cd5a9089ca2d5af7c3fd43e2a42dcd7d783500f03a0ab33d195c422d60b4989915f7c13
|
@@ -0,0 +1,69 @@
|
|
1
|
+
version: 2.1
|
2
|
+
orbs:
|
3
|
+
samvera: samvera/circleci-orb@0
|
4
|
+
jobs:
|
5
|
+
bundle_lint_test:
|
6
|
+
parameters:
|
7
|
+
ruby_version:
|
8
|
+
type: string
|
9
|
+
default: 2.5.5
|
10
|
+
bundler_version:
|
11
|
+
type: string
|
12
|
+
default: '2.0.1'
|
13
|
+
rails_version:
|
14
|
+
type: string
|
15
|
+
default: '5.1.6.2'
|
16
|
+
solr_config_path:
|
17
|
+
type: string
|
18
|
+
executor:
|
19
|
+
name: 'samvera/ruby_fcrepo_solr'
|
20
|
+
ruby_version: << parameters.ruby_version >>
|
21
|
+
environment:
|
22
|
+
RAILS_VERSION: << parameters.rails_version >>
|
23
|
+
steps:
|
24
|
+
- samvera/cached_checkout
|
25
|
+
|
26
|
+
- samvera/bundle_for_gem:
|
27
|
+
ruby_version: << parameters.ruby_version >>
|
28
|
+
bundler_version: << parameters.bundler_version >>
|
29
|
+
project: 'active-fedora'
|
30
|
+
|
31
|
+
- samvera/install_solr_core:
|
32
|
+
solr_config_path: << parameters.solr_config_path >>
|
33
|
+
|
34
|
+
- samvera/rubocop
|
35
|
+
|
36
|
+
- samvera/parallel_rspec
|
37
|
+
|
38
|
+
workflows:
|
39
|
+
ci:
|
40
|
+
jobs:
|
41
|
+
- bundle_lint_test:
|
42
|
+
ruby_version: "2.3.8"
|
43
|
+
name: "ruby2-3-8"
|
44
|
+
bundler_version: '1.17.3'
|
45
|
+
rails_version: '4.2.11.1'
|
46
|
+
solr_config_path: 'lib/generators/active_fedora/config/solr/templates/solr/config'
|
47
|
+
- bundle_lint_test:
|
48
|
+
ruby_version: "2.5.5"
|
49
|
+
name: "ruby2-5-5"
|
50
|
+
solr_config_path: 'lib/generators/active_fedora/config/solr/templates/solr/config'
|
51
|
+
- bundle_lint_test:
|
52
|
+
ruby_version: "2.6.2"
|
53
|
+
name: "ruby2-6-2"
|
54
|
+
solr_config_path: 'lib/generators/active_fedora/config/solr/templates/solr/config'
|
55
|
+
- bundle_lint_test:
|
56
|
+
ruby_version: "2.4.5"
|
57
|
+
name: "ruby2-4-5_rails5.0"
|
58
|
+
rails_version: '5.0.7.2'
|
59
|
+
solr_config_path: 'lib/generators/active_fedora/config/solr/templates/solr/config'
|
60
|
+
- bundle_lint_test:
|
61
|
+
ruby_version: "2.4.5"
|
62
|
+
name: "ruby2-4-5_rails5.1"
|
63
|
+
rails_version: '5.1.6.2'
|
64
|
+
solr_config_path: 'lib/generators/active_fedora/config/solr/templates/solr/config'
|
65
|
+
- bundle_lint_test:
|
66
|
+
ruby_version: "2.4.5"
|
67
|
+
name: "ruby2-4-5_rails5.2"
|
68
|
+
rails_version: '5.2.2.1'
|
69
|
+
solr_config_path: 'lib/generators/active_fedora/config/solr/templates/solr/config'
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# ActiveFedora
|
2
2
|
|
3
3
|
Code: [![Version](https://badge.fury.io/rb/active-fedora.png)](http://badge.fury.io/rb/active-fedora)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://circleci.com/gh/samvera/active_fedora.svg?style=svg)](https://circleci.com/gh/samvera/active_fedora)
|
5
5
|
[![Coverage Status](https://coveralls.io/repos/github/samvera/active_fedora/badge.svg?branch=master)](https://coveralls.io/github/samvera/active_fedora?branch=master)
|
6
6
|
|
7
7
|
Docs: [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
|
@@ -106,4 +106,4 @@ rake spec
|
|
106
106
|
This software has been developed by and is brought to you by the Samvera community. Learn more at the
|
107
107
|
[Samvera website](http://samvera.org/).
|
108
108
|
|
109
|
-
![Samvera Logo](https://wiki.duraspace.org/download/thumbnails/87459292/samvera-fall-font2-200w.png?version=1&modificationDate=1498550535816&api=v2)
|
109
|
+
![Samvera Logo](https://wiki.duraspace.org/download/thumbnails/87459292/samvera-fall-font2-200w.png?version=1&modificationDate=1498550535816&api=v2)
|
@@ -99,10 +99,7 @@
|
|
99
99
|
-->
|
100
100
|
<fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
|
101
101
|
|
102
|
-
<!-- A
|
103
|
-
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
|
104
|
-
|
105
|
-
<!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
|
102
|
+
<!-- A geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
|
106
103
|
For more information about this and other Spatial fields new to Solr 4, see:
|
107
104
|
http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
|
108
105
|
-->
|
@@ -172,7 +169,6 @@
|
|
172
169
|
<fieldType class="solr.TextField" name="textSuggest" positionIncrementGap="100">
|
173
170
|
<analyzer>
|
174
171
|
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
175
|
-
<filter class="solr.StandardFilterFactory"/>
|
176
172
|
<filter class="solr.LowerCaseFilterFactory"/>
|
177
173
|
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
178
174
|
</analyzer>
|
@@ -326,14 +322,6 @@
|
|
326
322
|
<!-- Type used to index the lat and lon components for the "location" FieldType -->
|
327
323
|
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" />
|
328
324
|
|
329
|
-
<!-- location (_ll...) -->
|
330
|
-
<dynamicField name="*_lli" type="location" stored="false" indexed="true" multiValued="false"/>
|
331
|
-
<dynamicField name="*_llim" type="location" stored="false" indexed="true" multiValued="true"/>
|
332
|
-
<dynamicField name="*_lls" type="location" stored="true" indexed="false" multiValued="false"/>
|
333
|
-
<dynamicField name="*_llsm" type="location" stored="true" indexed="false" multiValued="true"/>
|
334
|
-
<dynamicField name="*_llsi" type="location" stored="true" indexed="true" multiValued="false"/>
|
335
|
-
<dynamicField name="*_llsim" type="location" stored="true" indexed="true" multiValued="true"/>
|
336
|
-
|
337
325
|
<dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" />
|
338
326
|
|
339
327
|
<!-- you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
|
data/spec/spec_helper.rb
CHANGED
@@ -20,7 +20,7 @@ require 'rspec'
|
|
20
20
|
require 'rspec/its'
|
21
21
|
require 'equivalent-xml/rspec_matchers'
|
22
22
|
require 'logger'
|
23
|
-
require 'pry' unless ENV['
|
23
|
+
require 'pry' unless ENV['CI']
|
24
24
|
|
25
25
|
ActiveFedora::Base.logger = Logger.new(STDERR)
|
26
26
|
ActiveFedora::Base.logger.level = Logger::WARN
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-fedora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.1.
|
4
|
+
version: 12.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rsolr
|
@@ -366,6 +366,7 @@ extra_rdoc_files:
|
|
366
366
|
- LICENSE
|
367
367
|
- README.md
|
368
368
|
files:
|
369
|
+
- ".circleci/config.yml"
|
369
370
|
- ".gitignore"
|
370
371
|
- ".gitmodules"
|
371
372
|
- ".mailmap"
|
@@ -373,7 +374,6 @@ files:
|
|
373
374
|
- ".rubocop.yml"
|
374
375
|
- ".rubocop_todo.yml"
|
375
376
|
- ".solr_wrapper"
|
376
|
-
- ".travis.yml"
|
377
377
|
- CODE_OF_CONDUCT.md
|
378
378
|
- CONTRIBUTING.md
|
379
379
|
- CONTRIBUTORS.md
|
@@ -752,7 +752,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
752
752
|
- !ruby/object:Gem::Version
|
753
753
|
version: '0'
|
754
754
|
requirements: []
|
755
|
-
|
755
|
+
rubyforge_project:
|
756
|
+
rubygems_version: 2.7.7
|
756
757
|
signing_key:
|
757
758
|
specification_version: 4
|
758
759
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|
data/.travis.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
cache: bundler
|
3
|
-
sudo: false
|
4
|
-
rvm: 2.4
|
5
|
-
matrix:
|
6
|
-
include:
|
7
|
-
- rvm: 2.3
|
8
|
-
env: RAILS_VERSION=4.2.10
|
9
|
-
BUNDLER_VERSION=1.17.3
|
10
|
-
- env: RAILS_VERSION=5.0.7
|
11
|
-
- env: RAILS_VERSION=5.1.6
|
12
|
-
- rvm: 2.5
|
13
|
-
- env: RAILS_VERSION=5.2.1
|
14
|
-
- rvm: 2.6
|
15
|
-
global_env:
|
16
|
-
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
17
|
-
before_install:
|
18
|
-
- gem update --system
|
19
|
-
- if [ ! -z $BUNDLER_VERSION ]; then gem install bundler -v $BUNDLER_VERSION; else gem install bundler; fi
|
20
|
-
before_script:
|
21
|
-
- jdk_switcher use oraclejdk8
|