blacklight-gallery 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2aac28ddab2564fe87ed5bb9e6e8d54cc9d93cfa
4
- data.tar.gz: 146f2a0160e1dd50258fdc4cfcdd646dc10570b3
3
+ metadata.gz: 1c2c205886aca35d53c4e06dd36f1d311226e410
4
+ data.tar.gz: 509cc80f66c80e571c6f32c168efa6f4e6252ca3
5
5
  SHA512:
6
- metadata.gz: 182686d50e11db32d9edaf14bf2bdd77afac8f345d2d6fa7cdde58562ba9624ad548f50975ac59fab32380ddfffbb233d176350e0693e1d3d5b92da79ff8f365
7
- data.tar.gz: c87348a2e08710ed53513350afa00bfeb56026a24a3d9ae7d624b740c1c47e07c5d61a2a7ce0e5144933c255aa27d5ee4dad0e6927e4b5b8b28924ed1ad1c3ca
6
+ metadata.gz: 914981ffa5b71f4ef35b8cccd51c2961772550a52784f20c5a4bbd92c2deec821ab896b8180303030e7d50581f2b97448dc26f5e4b0474e296c043c1fcb5b478
7
+ data.tar.gz: 464be74bcbb66aa2e00c78919bdb40b785ad53cf568265d80ff11b0291bf5f7fe50dfc3b835386b16dbc6d003f8270974a2175dc87b47d7da987c2d460eb8b50
@@ -125,18 +125,20 @@ $gray-dark: darkgray !default;
125
125
  .thumbnail {
126
126
  border: 1px solid #999;
127
127
  border-radius: 0;
128
- min-width: $square-thumb-size;
129
128
  min-height: $square-thumb-size;
129
+ min-width: $square-thumb-size;
130
130
  overflow: hidden;
131
+ padding: 0px;
131
132
  position: relative;
132
133
  width: $square-thumb-size;
133
134
 
134
135
  a > img {
135
- position: absolute;
136
- max-width: none;
136
+ height: $square-thumb-size;
137
137
  max-height: none;
138
- left: -50%;
139
- top: -50%;
138
+ max-width: none;
139
+ object-fit: cover;
140
+ position: absolute;
141
+ width: $square-thumb-size;
140
142
  }
141
143
  }
142
144
  }
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Gallery
3
- VERSION = "0.9.0"
3
+ VERSION = "0.10.0"
4
4
  end
5
5
  end
data/solr/conf/schema.xml CHANGED
@@ -16,10 +16,10 @@
16
16
  limitations under the License.
17
17
  -->
18
18
 
19
- <!--
19
+ <!--
20
20
  This is the Solr schema file. This file should be named "schema.xml" and
21
21
  should be in the conf directory under the solr home
22
- (i.e. ./solr/conf/schema.xml by default)
22
+ (i.e. ./solr/conf/schema.xml by default)
23
23
  or located where the classloader for the Solr webapp can find it.
24
24
 
25
25
  This example schema is the recommended starting point for users.
@@ -51,7 +51,7 @@
51
51
  version="1.4" is Solr's version number for the schema syntax and semantics. It should
52
52
  not normally be changed by applications.
53
53
  1.0: multiValued attribute did not exist, all fields are multiValued by nature
54
- 1.1: multiValued attribute introduced, false by default
54
+ 1.1: multiValued attribute introduced, false by default
55
55
  1.2: omitTermFreqAndPositions attribute introduced, true by default except for text fields.
56
56
  1.3: removed optional field compress feature
57
57
  1.4: default auto-phrase (QueryParser feature) to off
@@ -88,7 +88,7 @@
88
88
  - If sortMissingLast="false" and sortMissingFirst="false" (the default),
89
89
  then default lucene sorting will be used which places docs without the
90
90
  field first in an ascending sort and last in a descending sort.
91
- -->
91
+ -->
92
92
 
93
93
  <!--
94
94
  Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
@@ -115,7 +115,7 @@
115
115
 
116
116
  <!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
117
117
  is a more restricted form of the canonical representation of dateTime
118
- http://www.w3.org/TR/xmlschema-2/#dateTime
118
+ http://www.w3.org/TR/xmlschema-2/#dateTime
119
119
  The trailing "Z" designates UTC time and is mandatory.
120
120
  Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
121
121
  All other components are mandatory.
@@ -130,7 +130,7 @@
130
130
  NOW/DAY+6MONTHS+3DAYS
131
131
  ... 6 months and 3 days in the future from the start of
132
132
  the current day
133
-
133
+
134
134
  Consult the DateField javadocs for more information.
135
135
 
136
136
  Note: For faster range queries, consider the tdate type
@@ -142,11 +142,11 @@
142
142
 
143
143
  <!-- The "RandomSortField" is not used to store or search any
144
144
  data. You can declare fields of this type it in your schema
145
- to generate pseudo-random orderings of your docs for sorting
146
- purposes. The ordering is generated based on the field name
145
+ to generate pseudo-random orderings of your docs for sorting
146
+ purposes. The ordering is generated based on the field name
147
147
  and the version of the index, As long as the index version
148
148
  remains unchanged, and the same field name is reused,
149
- the ordering of the docs will be consistent.
149
+ the ordering of the docs will be consistent.
150
150
  If you want different psuedo-random orderings of documents,
151
151
  for the same version of the index, use a dynamicField and
152
152
  change the name
@@ -351,13 +351,13 @@
351
351
  <filter class="solr.TrimFilterFactory" />
352
352
  <!-- The PatternReplaceFilter gives you the flexibility to use
353
353
  Java Regular expression to replace any sequence of characters
354
- matching a pattern with an arbitrary replacement string,
354
+ matching a pattern with an arbitrary replacement string,
355
355
  which may include back references to portions of the original
356
356
  string matched by the pattern.
357
-
357
+
358
358
  See the Java Regular Expression documentation for more
359
359
  information on pattern and replacement string syntax.
360
-
360
+
361
361
  http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/package-summary.html
362
362
  -->
363
363
  <filter class="solr.PatternReplaceFilterFactory"
@@ -365,7 +365,7 @@
365
365
  />
366
366
  </analyzer>
367
367
  </fieldType>
368
-
368
+
369
369
  <fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
370
370
  <analyzer>
371
371
  <tokenizer class="solr.StandardTokenizerFactory"/>
@@ -379,7 +379,7 @@
379
379
  <!--
380
380
  The DelimitedPayloadTokenFilter can put payloads on tokens... for example,
381
381
  a token of "foo|1.4" would be indexed as "foo" with a payload of 1.4f
382
- Attributes of the DelimitedPayloadTokenFilterFactory :
382
+ Attributes of the DelimitedPayloadTokenFilterFactory :
383
383
  "delimiter" - a one character delimiter. Default is | (pipe)
384
384
  "encoder" - how to encode the following value into a playload
385
385
  float -> org.apache.lucene.analysis.payloads.FloatEncoder,
@@ -406,12 +406,12 @@
406
406
  </fieldType>
407
407
 
408
408
  <!-- since fields of this type are by default not stored or indexed,
409
- any data added to them will be ignored outright. -->
409
+ any data added to them will be ignored outright. -->
410
410
  <fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
411
411
 
412
412
  <!-- This point type indexes the coordinates as separate fields (subFields)
413
413
  If subFieldType is defined, it references a type, and a dynamic field
414
- definition is created matching *___<typename>. Alternately, if
414
+ definition is created matching *___<typename>. Alternately, if
415
415
  subFieldSuffix is defined, that is used to create the subFields.
416
416
  Example: if subFieldType="double", then the coordinates would be
417
417
  indexed in fields myloc_0___double,myloc_1___double.
@@ -436,7 +436,7 @@
436
436
  <fields>
437
437
  <!-- Valid attributes for fields:
438
438
  name: mandatory - the name for the field
439
- type: mandatory - the name of a previously defined type from the
439
+ type: mandatory - the name of a previously defined type from the
440
440
  <types> section
441
441
  indexed: true if this field should be indexed (searchable or sortable)
442
442
  stored: true if this field should be retrievable
@@ -449,9 +449,9 @@
449
449
  given field.
450
450
  When using MoreLikeThis, fields used for similarity should be
451
451
  stored for best performance.
452
- termPositions: Store position information with the term vector.
452
+ termPositions: Store position information with the term vector.
453
453
  This will increase storage costs.
454
- termOffsets: Store offset information with the term vector. This
454
+ termOffsets: Store offset information with the term vector. This
455
455
  will increase storage costs.
456
456
  default: a value that should be used if no value is specified
457
457
  when adding a document.
@@ -463,7 +463,7 @@
463
463
  <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
464
464
  <!-- default, catch all search field -->
465
465
  <field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
466
-
466
+
467
467
  <!-- these display fields are NOT multi-valued -->
468
468
  <field name="marc_display" type="string" indexed="false" stored="true" multiValued="false"/>
469
469
  <field name="title_display" type="string" indexed="false" stored="true" multiValued="false"/>
@@ -472,7 +472,7 @@
472
472
  <field name="subtitle_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
473
473
  <field name="author_display" type="string" indexed="false" stored="true" multiValued="false"/>
474
474
  <field name="author_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
475
-
475
+
476
476
  <!-- these fields are also used for display, so they must be stored -->
477
477
  <field name="isbn_t" type="text" indexed="true" stored="true" multiValued="true"/>
478
478
  <field name="language_facet" type="string" indexed="true" stored="true" multiValued="true" />
@@ -484,11 +484,11 @@
484
484
  <!-- pub_date sort uses new trie-based int fields, which are recommended for any int and are displayable, sortable, and range-quer
485
485
  we use 'tint' for faster range-queries. -->
486
486
  <field name="pub_date_sort" type="tint" indexed="true" stored="true" multiValued="false"/>
487
-
487
+
488
488
  <!-- format is used for facet, display, and choosing which partial to use for the show view, so it must be stored and indexed -->
489
489
  <field name="format" type="string" indexed="true" stored="true"/>
490
490
 
491
-
491
+
492
492
 
493
493
  <!-- Dynamic field definitions. If a field name is not found, dynamicFields
494
494
  will be used if the name matches any of the patterns.
@@ -531,30 +531,24 @@
531
531
  <dynamicField name="*spell" type="textSpell" indexed="true" stored="false" multiValued="true" />
532
532
  <dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" />
533
533
 
534
- <!-- uncomment the following to ignore any fields that don't already match an existing
535
- field name or dynamic field, rather than reporting them as an error.
536
- alternately, change the type="ignored" to some other type e.g. "text" if you want
537
- unknown fields indexed and/or stored by default -->
534
+ <!-- uncomment the following to ignore any fields that don't already match an existing
535
+ field name or dynamic field, rather than reporting them as an error.
536
+ alternately, change the type="ignored" to some other type e.g. "text" if you want
537
+ unknown fields indexed and/or stored by default -->
538
538
  <!--dynamicField name="*" type="ignored" multiValued="true" /-->
539
-
539
+
540
540
  </fields>
541
541
 
542
- <!-- Field to use to determine and enforce document uniqueness.
542
+ <!-- Field to use to determine and enforce document uniqueness.
543
543
  Unless this field is marked with required="false", it will be a required field
544
544
  -->
545
545
  <uniqueKey>id</uniqueKey>
546
546
 
547
- <!-- field for the QueryParser to use when an explicit fieldname is absent -->
548
- <defaultSearchField>text</defaultSearchField>
549
-
550
- <!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
551
- <solrQueryParser defaultOperator="OR"/>
552
-
553
547
  <!-- copyField commands copy one field to another at the time a document
554
548
  is added to the index. It's used either to index the same field differently,
555
549
  or to add multiple fields to the same field for easier/faster searching. -->
556
550
  <!-- Copy Fields -->
557
-
551
+
558
552
  <!-- unstemmed fields -->
559
553
  <copyField source="title_t" dest="title_unstem_search"/>
560
554
  <copyField source="subtitle_t" dest="subtitle_unstem_search"/>
@@ -566,11 +560,11 @@
566
560
  <copyField source="subject_t" dest="subject_unstem_search"/>
567
561
  <copyField source="subject_addl_t" dest="subject_addl_unstem_search"/>
568
562
  <copyField source="subject_topic_facet" dest="subject_topic_unstem_search"/>
569
-
563
+
570
564
  <!-- sort fields -->
571
565
  <copyField source="pub_date" dest="pub_date_sort"/>
572
-
573
-
566
+
567
+
574
568
  <!-- spellcheck fields -->
575
569
  <!-- default spell check; should match fields for default request handler -->
576
570
  <!-- it won't work with a copy of a copy field -->
@@ -588,8 +582,8 @@
588
582
  <!-- subject spell check; should match fields for subject request handler -->
589
583
  <copyField source="subject_topic_facet" dest="subject_spell"/>
590
584
  <copyField source="subject_t" dest="subject_spell"/>
591
- <copyField source="subject_addl_t" dest="subject_spell"/>
592
-
585
+ <copyField source="subject_addl_t" dest="subject_spell"/>
586
+
593
587
  <!-- OpenSearch query field should match request handler search fields -->
594
588
  <copyField source="title_t" dest="opensearch_display"/>
595
589
  <copyField source="subtitle_t" dest="opensearch_display"/>
@@ -600,22 +594,22 @@
600
594
  <copyField source="author_addl_t" dest="opensearch_display"/>
601
595
  <copyField source="subject_topic_facet" dest="opensearch_display"/>
602
596
  <copyField source="subject_t" dest="opensearch_display"/>
603
- <copyField source="subject_addl_t" dest="opensearch_display"/>
597
+ <copyField source="subject_addl_t" dest="opensearch_display"/>
604
598
 
605
599
  <!-- for suggestions -->
606
600
  <copyField source="*_t" dest="suggest"/>
607
601
  <copyField source="*_facet" dest="suggest"/>
608
-
609
- <!-- Above, multiple source fields are copied to the [text] field.
610
- Another way to map multiple source fields to the same
611
- destination field is to use the dynamic field syntax.
602
+
603
+ <!-- Above, multiple source fields are copied to the [text] field.
604
+ Another way to map multiple source fields to the same
605
+ destination field is to use the dynamic field syntax.
612
606
  copyField also supports a maxChars to copy setting. -->
613
-
607
+
614
608
  <!-- <copyField source="*_t" dest="text" maxChars="3000"/> -->
615
609
 
616
610
  <!-- copy name to alphaNameSort, a field designed for sorting by name -->
617
611
  <!-- <copyField source="name" dest="alphaNameSort"/> -->
618
-
612
+
619
613
 
620
614
  <!-- Similarity is the scoring routine for each document vs. a query.
621
615
  A custom similarity may be specified here, but the default is fine
@@ -3,6 +3,7 @@ require 'spec_helper'
3
3
  describe "Slideshow", :js, :type => :feature do
4
4
 
5
5
  it "should open when one of the grid panes are clicked" do
6
+ pending 'flappy test'
6
7
  visit search_catalog_path( :q => 'medicine', :view => 'slideshow' )
7
8
  expect(page).to have_content "You searched for:"
8
9
  within ".view-type" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-28 00:00:00.000000000 Z
11
+ date: 2018-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  requirements: []
318
318
  rubyforge_project:
319
- rubygems_version: 2.6.14
319
+ rubygems_version: 2.6.11
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: Gallery display for Blacklight