blacklight-spotlight 1.0.0.alpha2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spotlight/blocks/uploaded_items_block.js +6 -1
- data/app/assets/javascripts/spotlight/sir-trevor/locales.js +2 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +5 -0
- data/lib/spotlight/version.rb +1 -1
- data/lib/tasks/spotlight_tasks.rake +1 -1
- data/spec/examples.txt +1136 -0
- data/spec/features/javascript/blocks/uploaded_items_block_spec.rb +2 -0
- metadata +11 -9
@@ -24,6 +24,7 @@ feature 'Uploaded Items Block', feature: true, js: true do
|
|
24
24
|
expect(page).to have_css('.dd-list li', count: 1)
|
25
25
|
within('.dd-list') do
|
26
26
|
expect(page).to have_css('.panel-title', text: '800x600.png')
|
27
|
+
fill_in 'Caption', with: 'Some caption text'
|
27
28
|
end
|
28
29
|
|
29
30
|
attach_file('uploaded_item_url', fixture_file2)
|
@@ -40,6 +41,7 @@ feature 'Uploaded Items Block', feature: true, js: true do
|
|
40
41
|
|
41
42
|
within('.uploaded-items-block') do
|
42
43
|
expect(page).to have_css('img[alt="800x600.png"]')
|
44
|
+
expect(page).to have_css '.caption', text: 'Some caption text'
|
43
45
|
expect(page).to have_css('img[alt="avatar.png"]')
|
44
46
|
end
|
45
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight-spotlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-
|
14
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -579,28 +579,28 @@ dependencies:
|
|
579
579
|
requirements:
|
580
580
|
- - "~>"
|
581
581
|
- !ruby/object:Gem::Version
|
582
|
-
version:
|
582
|
+
version: 0.49.0
|
583
583
|
type: :development
|
584
584
|
prerelease: false
|
585
585
|
version_requirements: !ruby/object:Gem::Requirement
|
586
586
|
requirements:
|
587
587
|
- - "~>"
|
588
588
|
- !ruby/object:Gem::Version
|
589
|
-
version:
|
589
|
+
version: 0.49.0
|
590
590
|
- !ruby/object:Gem::Dependency
|
591
591
|
name: rubocop-rspec
|
592
592
|
requirement: !ruby/object:Gem::Requirement
|
593
593
|
requirements:
|
594
594
|
- - "~>"
|
595
595
|
- !ruby/object:Gem::Version
|
596
|
-
version:
|
596
|
+
version: 1.15.1
|
597
597
|
type: :development
|
598
598
|
prerelease: false
|
599
599
|
version_requirements: !ruby/object:Gem::Requirement
|
600
600
|
requirements:
|
601
601
|
- - "~>"
|
602
602
|
- !ruby/object:Gem::Version
|
603
|
-
version:
|
603
|
+
version: 1.15.1
|
604
604
|
- !ruby/object:Gem::Dependency
|
605
605
|
name: chromedriver-helper
|
606
606
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1225,6 +1225,7 @@ files:
|
|
1225
1225
|
- spec/controllers/spotlight/tags_controller_spec.rb
|
1226
1226
|
- spec/controllers/spotlight/versions_controller_spec.rb
|
1227
1227
|
- spec/controllers/spotlight/view_configurations_controller_spec.rb
|
1228
|
+
- spec/examples.txt
|
1228
1229
|
- spec/factories/contact_images.rb
|
1229
1230
|
- spec/factories/contacts.rb
|
1230
1231
|
- spec/factories/custom_fields.rb
|
@@ -1483,12 +1484,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1483
1484
|
version: '2.2'
|
1484
1485
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1485
1486
|
requirements:
|
1486
|
-
- - "
|
1487
|
+
- - ">="
|
1487
1488
|
- !ruby/object:Gem::Version
|
1488
|
-
version:
|
1489
|
+
version: '0'
|
1489
1490
|
requirements: []
|
1490
1491
|
rubyforge_project:
|
1491
|
-
rubygems_version: 2.6.
|
1492
|
+
rubygems_version: 2.6.13
|
1492
1493
|
signing_key:
|
1493
1494
|
specification_version: 4
|
1494
1495
|
summary: Enable librarians, curators, and others who are responsible for digital collections
|
@@ -1524,6 +1525,7 @@ test_files:
|
|
1524
1525
|
- spec/controllers/spotlight/tags_controller_spec.rb
|
1525
1526
|
- spec/controllers/spotlight/versions_controller_spec.rb
|
1526
1527
|
- spec/controllers/spotlight/view_configurations_controller_spec.rb
|
1528
|
+
- spec/examples.txt
|
1527
1529
|
- spec/factories/contact_images.rb
|
1528
1530
|
- spec/factories/contacts.rb
|
1529
1531
|
- spec/factories/custom_fields.rb
|