Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Merge b667ef7 into 53497ff
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Dec 11, 2018
2 parents 53497ff + b667ef7 commit 6d19873
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Expand Up @@ -21,10 +21,6 @@ matrix:
- env:
- 'RAILS_VERSION="~> 5.2.0"'
rvm: 2.5.3
- env:
- 'AF_VERSION="~> 7.0"'
- 'RAILS_VERSION="~> 4.2"'
rvm: 2.5.3
- env:
- 'AF_VERSION="~> 8.0"'
- 'RAILS_VERSION="~> 4.2"'
Expand Down
2 changes: 1 addition & 1 deletion dor-services.gemspec
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = '>= 1.3.6'

# Runtime dependencies
s.add_dependency 'active-fedora', '>= 7.0', '< 9.a'
s.add_dependency 'active-fedora', '>= 8.7.0', '< 9'
s.add_dependency 'activesupport', '>= 4.2.10', '< 6.0.0'
s.add_dependency 'confstruct', '~> 0.2.7'
s.add_dependency 'deprecation', '~> 0'
Expand Down
8 changes: 1 addition & 7 deletions lib/dor/indexers/data_indexer.rb
Expand Up @@ -18,13 +18,7 @@ def to_solr(solr_doc = {}, opts = {})
end
end

# rubocop:disable Naming/PredicateName
def has_model
resource.class.inspect
end
# rubocop:enable Naming/PredicateName

delegate :create_date, :modified_date, :state, :pid, :inner_object,
:datastreams, :relationships, to: :resource
:datastreams, :relationships, :has_model, to: :resource
end
end

0 comments on commit 6d19873

Please sign in to comment.