blacklight 7.5.1 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_todo.yml +23 -34
  3. data/.travis.yml +3 -3
  4. data/VERSION +1 -1
  5. data/app/helpers/blacklight/blacklight_helper_behavior.rb +4 -2
  6. data/app/helpers/blacklight/catalog_helper_behavior.rb +0 -2
  7. data/app/presenters/blacklight/document_presenter.rb +27 -36
  8. data/app/presenters/blacklight/field_presenter.rb +31 -6
  9. data/app/presenters/blacklight/index_presenter.rb +2 -2
  10. data/app/presenters/blacklight/show_presenter.rb +3 -3
  11. data/app/views/catalog/_constraints.html.erb +1 -1
  12. data/app/views/catalog/_facet_pagination.html.erb +2 -2
  13. data/app/views/catalog/_field.json.jbuilder +2 -2
  14. data/app/views/catalog/_index.html.erb +3 -3
  15. data/app/views/catalog/_search_form.html.erb +1 -1
  16. data/app/views/catalog/_show.html.erb +3 -3
  17. data/app/views/catalog/_sort_and_per_page.html.erb +1 -1
  18. data/app/views/catalog/_start_over.html.erb +1 -0
  19. data/app/views/catalog/_thumbnail.html.erb +1 -1
  20. data/app/views/catalog/index.json.jbuilder +2 -1
  21. data/app/views/catalog/show.html.erb +1 -1
  22. data/app/views/catalog/show.json.jbuilder +2 -1
  23. data/app/views/layouts/blacklight/base.html.erb +2 -2
  24. data/config/locales/blacklight.ar.yml +2 -0
  25. data/config/locales/blacklight.de.yml +2 -0
  26. data/config/locales/blacklight.en.yml +2 -0
  27. data/config/locales/blacklight.es.yml +2 -0
  28. data/config/locales/blacklight.fr.yml +2 -0
  29. data/config/locales/blacklight.hu.yml +2 -0
  30. data/config/locales/blacklight.it.yml +2 -0
  31. data/config/locales/blacklight.nl.yml +2 -0
  32. data/config/locales/blacklight.pt-BR.yml +2 -0
  33. data/config/locales/blacklight.sq.yml +2 -0
  34. data/config/locales/blacklight.zh.yml +2 -0
  35. data/lib/blacklight/configuration/field.rb +5 -4
  36. data/spec/helpers/blacklight_helper_spec.rb +17 -0
  37. data/spec/helpers/catalog_helper_spec.rb +0 -7
  38. data/spec/presenters/blacklight/document_presenter_spec.rb +22 -62
  39. data/spec/presenters/blacklight/field_presenter_spec.rb +268 -0
  40. data/spec/presenters/blacklight/index_presenter_spec.rb +0 -142
  41. data/spec/presenters/blacklight/show_presenter_spec.rb +0 -177
  42. metadata +6 -3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.5.1
4
+ version: 7.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: exe
19
19
  cert_chain: []
20
- date: 2020-01-30 00:00:00.000000000 Z
20
+ date: 2020-02-14 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rails
@@ -459,6 +459,7 @@ files:
459
459
  - app/views/catalog/_sms_form.html.erb
460
460
  - app/views/catalog/_sort_and_per_page.html.erb
461
461
  - app/views/catalog/_sort_widget.html.erb
462
+ - app/views/catalog/_start_over.html.erb
462
463
  - app/views/catalog/_thumbnail.html.erb
463
464
  - app/views/catalog/_view_type_group.html.erb
464
465
  - app/views/catalog/_zero_results.html.erb
@@ -671,6 +672,7 @@ files:
671
672
  - spec/models/search_spec.rb
672
673
  - spec/models/solr_document_spec.rb
673
674
  - spec/presenters/blacklight/document_presenter_spec.rb
675
+ - spec/presenters/blacklight/field_presenter_spec.rb
674
676
  - spec/presenters/blacklight/index_presenter_spec.rb
675
677
  - spec/presenters/blacklight/json_presenter_spec.rb
676
678
  - spec/presenters/blacklight/link_alternate_presenter_spec.rb
@@ -737,7 +739,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
737
739
  - !ruby/object:Gem::Version
738
740
  version: '0'
739
741
  requirements: []
740
- rubygems_version: 3.1.1
742
+ rubygems_version: 3.0.3
741
743
  signing_key:
742
744
  specification_version: 4
743
745
  summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
@@ -820,6 +822,7 @@ test_files:
820
822
  - spec/models/search_spec.rb
821
823
  - spec/models/solr_document_spec.rb
822
824
  - spec/presenters/blacklight/document_presenter_spec.rb
825
+ - spec/presenters/blacklight/field_presenter_spec.rb
823
826
  - spec/presenters/blacklight/index_presenter_spec.rb
824
827
  - spec/presenters/blacklight/json_presenter_spec.rb
825
828
  - spec/presenters/blacklight/link_alternate_presenter_spec.rb