-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
171 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
require: rubocop-rspec | ||
|
||
AllCops: | ||
RunRailsCops: true | ||
DisplayCopNames: true | ||
Include: | ||
- '**/Rakefile' | ||
- '**/config.ru' | ||
Exclude: | ||
- 'db/**/*' | ||
- 'script/**/*' | ||
- 'vendor/**/*' | ||
- 'bin/*' | ||
|
||
Lint/UnusedBlockArgument: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
Metrics/LineLength: | ||
Enabled: false | ||
|
||
Metrics/AbcSize: | ||
Enabled: false | ||
|
||
Metrics/ClassLength: | ||
Exclude: | ||
- 'app/controllers/catalog_controller.rb' | ||
|
||
Metrics/MethodLength: | ||
Enabled: false | ||
|
||
Style/BlockDelimiters: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
Style/SymbolProc: | ||
Exclude: | ||
- 'spec/factories/**/*' | ||
|
||
Style/BlockComments: | ||
Exclude: | ||
- 'spec/spec_helper.rb' | ||
|
||
Style/BlockEndNewline: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
Style/IndentHash: | ||
Exclude: | ||
- 'app/controllers/catalog_controller.rb' | ||
|
||
Style/LeadingCommentSpace: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
Style/MultilineBlockLayout: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
|
||
Style/IndentationConsistency: | ||
EnforcedStyle: rails | ||
|
||
Style/CollectionMethods: | ||
PreferredMethods: | ||
collect: 'map' | ||
collect!: 'map!' | ||
inject: 'reduce' | ||
detect: 'find' | ||
find_all: 'select' | ||
|
||
Style/WordArray: | ||
Enabled: false | ||
|
||
Style/RegexpLiteral: | ||
Enabled: false | ||
|
||
Style/StringLiterals: | ||
Enabled: false | ||
|
||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Style/SingleLineBlockParams: | ||
Enabled: false | ||
|
||
Style/SignalException: | ||
Enabled: false | ||
|
||
Rails/Date: | ||
Enabled: false | ||
|
||
Rails/TimeZone: | ||
Enabled: false | ||
|
||
RSpec/ExampleWording: | ||
CustomTransform: | ||
be: is | ||
have: has | ||
not: does not | ||
NOT: does NOT | ||
IgnoredWords: | ||
- only | ||
|
||
RSpec/FilePath: | ||
Enabled: false | ||
|
||
RSpec/InstanceVariable: | ||
Enabled: false | ||
|
||
RSpec/DescribeClass: | ||
Exclude: | ||
- 'spec/abilities/**/*' | ||
- 'spec/features/**/*' | ||
- 'spec/views/**/*' | ||
- 'spec/routing/**/*' | ||
- 'spec/inputs/**/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,22 @@ | ||
# -*- encoding : utf-8 -*- | ||
class SolrDocument | ||
|
||
class SolrDocument | ||
include Blacklight::Solr::Document | ||
include Blacklight::Gallery::OpenseadragonSolrDocument | ||
|
||
include Spotlight::SolrDocument | ||
|
||
include Spotlight::SolrDocument::AtomicUpdates | ||
|
||
|
||
# self.unique_key = 'id' | ||
|
||
# Email uses the semantic field mappings below to generate the body of an email. | ||
SolrDocument.use_extension( Blacklight::Document::Email ) | ||
SolrDocument.use_extension(Blacklight::Document::Email) | ||
|
||
# SMS uses the semantic field mappings below to generate the body of an SMS email. | ||
SolrDocument.use_extension( Blacklight::Document::Sms ) | ||
SolrDocument.use_extension(Blacklight::Document::Sms) | ||
|
||
# DublinCore uses the semantic field mappings below to assemble an OAI-compliant Dublin Core document | ||
# Semantic mappings of solr stored fields. Fields may be multi or | ||
# single valued. See Blacklight::Document::SemanticFields#field_semantics | ||
# and Blacklight::Document::SemanticFields#to_semantic_values | ||
# Recommendation: Use field names from Dublin Core | ||
use_extension( Blacklight::Document::DublinCore) | ||
|
||
use_extension(Blacklight::Document::DublinCore) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ dependencies: | |
- bin/jetty_wait | ||
test: | ||
pre: | ||
# - bundle exec rake rubocop | ||
- bundle exec rake rubocop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
require 'oembed' | ||
|
||
OEmbed::Providers.register_all | ||
OEmbed::Providers.register_all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.