warclight 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dfb09424453dcf42c6d11f0ae31c6fb2db9cf35
4
- data.tar.gz: 2a479ba8653d7a49771dd844ef79012fdf9fcd84
3
+ metadata.gz: 12103e04edc1b70c407b06bbd03450d15691fc67
4
+ data.tar.gz: 5e4dd61e8ff23c5541a6656fc37b600f6d847817
5
5
  SHA512:
6
- metadata.gz: 364bcd61d925d71036fd089b27556a4f8f6587a47f7c36af3584cdfe17577f252a21568614bb888560eafc6f55e95e5b2212c3326ad041beb2d3d0a1fe8570f9
7
- data.tar.gz: d054e07be0178a744e818cd08912c75ac0eb0420d4577ec4f7c3e211220e42d0e85c09cefbbb93c3322f488437f9a2493c720ae6a2ef9dfc0af6054f92b76d7f
6
+ metadata.gz: 5d5ab472de5c1f8d8ace1ab3614a82bbfae56796078b534bc5f7040f0360a6df3c46aaa1b9b85eab4c2c6cb87cdfedd185b115b3f5b9c860e82db7ceafa34bcc
7
+ data.tar.gz: 6bbe3ec8979d2a169b332e1d8271d2bdce075a162704ee2bad240bdd827bf8af901ccb746d72cb46675cef330a43ee8c820d8586a63d63273b59a2f665e3cfcb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.4.0](https://github.com/archivesunleashed/warclight/tree/v0.4.0) (2017-10-18)
4
+ [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.3.0...v0.4.0)
5
+
6
+ **Implemented enhancements:**
7
+
8
+ - Source File value should link to a search [\#34](https://github.com/archivesunleashed/warclight/issues/34)
9
+ - Wayback/replay links [\#19](https://github.com/archivesunleashed/warclight/issues/19)
10
+
11
+ **Closed issues:**
12
+
13
+ - Sort crawl\_year facet by index [\#31](https://github.com/archivesunleashed/warclight/issues/31)
14
+ - Boosting text is silly [\#30](https://github.com/archivesunleashed/warclight/issues/30)
15
+ - Your Gemfile lists the gem... [\#5](https://github.com/archivesunleashed/warclight/issues/5)
16
+
17
+ **Merged pull requests:**
18
+
19
+ - Add Replay link; Resolves \#19 [\#35](https://github.com/archivesunleashed/warclight/pull/35) ([ruebot](https://github.com/ruebot))
20
+
3
21
  ## [v0.3.0](https://github.com/archivesunleashed/warclight/tree/v0.3.0) (2017-10-11)
4
22
  [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.2.0...v0.3.0)
5
23
 
data/README.md CHANGED
@@ -34,7 +34,7 @@ For further details, see our [Creating, installing, and running your Warclight a
34
34
 
35
35
  ## Usage
36
36
 
37
- Warclight is designed to work with web archive data that is indexed via the UK Web Archive's [webarchive-discovery](https://github.com/ukwa/webarchive-discovery) project. Warclight currently uses a fork of [webarchive-discovery](https://github.com/web-archive-group/webarchive-discovery/tree/addFields) that allows for three additional facets: `institution`, `collection_name`, and `collection_number`.
37
+ Warclight is designed to work with web archive data that is indexed via the UK Web Archive's [webarchive-discovery](https://github.com/ukwa/webarchive-discovery) project. A guide on indexing is available [here](https://github.com/archivesunleashed/warclight/wiki/Indexing-WARCs-ARCs-into-Warclight).
38
38
 
39
39
  ## Development
40
40
 
@@ -55,9 +55,9 @@ class CatalogController < ApplicationController
55
55
  config.add_facet_field 'links_domains', label: 'Links Domains', limit: true
56
56
  config.add_facet_field 'content_language', label: 'Content Language', limit: true
57
57
  config.add_facet_field 'resourcename_s', label: 'Resource Name', limit: true
58
- config.add_facet_field 'institution', label: 'Institution', limit: true
59
- config.add_facet_field 'collection_name', label: 'Collection Name', limit: true
60
- config.add_facet_field 'collection_number', label: 'Collection Number', limit: true
58
+ config.add_facet_field 'institution', label: 'Institution'
59
+ config.add_facet_field 'collection', label: 'Collection'
60
+ config.add_facet_field 'collection_id', label: 'Collection Id'
61
61
 
62
62
  # Have BL send all facet field names to Solr, which has been the default
63
63
  # previously. Simply remove these lines if you'd rather use Solr request
@@ -73,8 +73,8 @@ class CatalogController < ApplicationController
73
73
  config.add_index_field 'content_language', label: 'Content Language', link_to_facet: true
74
74
  config.add_index_field 'domain', label: 'Domain', link_to_facet: true
75
75
  config.add_index_field 'institution', label: 'Institution', link_to_facet: true
76
- config.add_index_field 'collection_name', label: 'Collection Name', link_to_facet: true
77
- config.add_index_field 'collection_number', label: 'Collection Number', link_to_facet: true
76
+ config.add_index_field 'collection', label: 'Collection', link_to_facet: true
77
+ config.add_index_field 'collection_id', label: 'Collection Id', link_to_facet: true
78
78
  config.add_index_field 'links_domains', label: 'This page links to', helper_method: :return_five
79
79
 
80
80
  # solr fields to be displayed in the show (single result) view
@@ -84,8 +84,8 @@ class CatalogController < ApplicationController
84
84
  config.add_show_field 'resourcename', label: 'Resource Name', link_to_facet: true
85
85
  config.add_show_field 'host', label: 'Host', link_to_facet: true
86
86
  config.add_show_field 'institution', label: 'Institution', link_to_facet: true
87
- config.add_show_field 'collection_name', label: 'Collection Name', link_to_facet: true
88
- config.add_show_field 'collection_number', label: 'Collection Number', link_to_facet: true
87
+ config.add_show_field 'collection', label: 'Collection', link_to_facet: true
88
+ config.add_show_field 'collection_id', label: 'Collection Id', link_to_facet: true
89
89
  config.add_show_field 'crawl_date', label: 'Crawl Date'
90
90
  config.add_show_field 'source_file', label: 'Source File', link_to_facet: true
91
91
  config.add_show_field 'content_type_norm', label: 'General Content Type', link_to_facet: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Warclight
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.0'
5
5
  end
data/solr/conf/schema.xml CHANGED
@@ -125,8 +125,7 @@
125
125
 
126
126
  <!-- User supplied Archive-It fields: -->
127
127
  <field name="institution" type="string" indexed="true" multiValued="false" docValues="true"/>
128
- <field name="collection_name" type="string" indexed="true" multiValued="false" docValues="true"/>
129
- <field name="collection_number" type="string" indexed="true" multiValued="false" docValues="true"/>
128
+ <field name="collection_id" type="string" indexed="true" multiValued="false" docValues="true"/>
130
129
  <!--:User supplied Archive-It fields -->
131
130
 
132
131
  <dynamicField name="*_i" type="int" indexed="true" stored="true"/>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warclight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Ruest
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-18 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight