warclight 0.7.0 → 0.7.1

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
  SHA256:
3
- metadata.gz: 2bb52dca360cd285da8b5f2247f591304e20c7cad908f923976450a9779e4f68
4
- data.tar.gz: a9520b6c68fb3d7eb8ff94680c98744b530f096f70dcf03af11c27e30e9c184e
3
+ metadata.gz: fc1db99e6db6dcb35b851179b2a8391cdecc96915fb13a51d247bd920f6f4663
4
+ data.tar.gz: 4574a73c6d9a2eb1286914617722d588cd700e42471c548e82893068675d8838
5
5
  SHA512:
6
- metadata.gz: b4d47a466b168df77009a28f3731b0055a152b3b1da8a2afdcbdaee63acc9ee9d2c7720cc3f274ba924eb8cec4609c49a1e9de626f797ddc90ee96e15e3b94fe
7
- data.tar.gz: 7c1de8407eac4cca6950c96c4a6eb7120300c9fa72ce4fc3d952ad87be2b58aea098eafc5fb6990f0c4cac1d643f4a09973357fd3376db2ef2c59c1430ea483d
6
+ metadata.gz: 128fee91695fffef3597becab074448069e079b042463fc0aae37eb03096441c71219b51752164186e094221c4db5db5bbb3b1297ffd959ec3cc1b47a7f64fc9
7
+ data.tar.gz: 83556c980493d59fedbd15181e56261f9bfe97381b6a17d599702fd4a8aa35812b0ead39bce2d44578c162ca439932ee15c5494408649e1917c59cbf671c42d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.7.0](https://github.com/archivesunleashed/warclight/tree/v0.7.0) (2018-10-12)
4
+ [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.6.3...v0.7.0)
5
+
6
+ **Closed issues:**
7
+
8
+ - Remove 'content' as a field search [\#47](https://github.com/archivesunleashed/warclight/issues/47)
9
+ - Use the default webarchive-discovery Solr 7 config [\#46](https://github.com/archivesunleashed/warclight/issues/46)
10
+ - Change field searches to use fields instead of handlers [\#45](https://github.com/archivesunleashed/warclight/issues/45)
11
+
3
12
  ## [v0.6.3](https://github.com/archivesunleashed/warclight/tree/v0.6.3) (2018-09-25)
4
13
  [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.6.2...v0.6.3)
5
14
 
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ gemspec
10
10
  # engine_cart: 1.1.0
11
11
  # engine_cart stanza: 0.10.0
12
12
  # the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
13
- file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_gem', File.dirname(__FILE__)))
13
+ file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_app', File.dirname(__FILE__)))
14
14
  if File.exist?(file)
15
15
  begin
16
16
  eval_gemfile file
data/README.md CHANGED
@@ -54,7 +54,7 @@ $ bundle exec rake
54
54
  $ bundle exec rake warclight:server
55
55
  ```
56
56
 
57
- Then visit http://localhost:3000. It will also start a Solr instance on port 8983.
57
+ Then visit [http://localhost:3000](http://localhost:3000). It will also start a Solr instance on port 8983.
58
58
 
59
59
  ### Run a console
60
60
 
@@ -69,7 +69,7 @@ To release a new version:
69
69
 
70
70
  ## Contributing
71
71
 
72
- [Bug reports](https://github.com/archivesunleashed/warclight/issues) and [pull requests](https://github.com/archivesunleashed/warclight/pulls) are welcome on WarcLight -- see [CONTRIBUTING.md](https://github.com/archivesunleashed/warclight/blob/master/CONTRIBUTING.md) for details.
72
+ [Bug reports](https://github.com/archivesunleashed/warclight/issues) and [pull requests](https://github.com/archivesunleashed/warclight/pulls) are welcome on Warclight -- see [CONTRIBUTING.md](https://github.com/archivesunleashed/warclight/blob/master/CONTRIBUTING.md) for details.
73
73
 
74
74
  ## License
75
75
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Warclight
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
data/solr/conf/schema.xml CHANGED
@@ -41,7 +41,7 @@ This schema is for Solr 7+ and will not work under Solr 6.
41
41
  <!-- Author extracted from HTML meta-fields, Word documents meta data, image Exif etc.
42
42
  Search directly in the author-field is verbatim and thus not very usable for user-defines queries.
43
43
  Sample use: Faceting with facet=true&facet.field=author -->
44
- <field name="author" type="string" />
44
+ <field name="author" type="string" multiValued="true" />
45
45
 
46
46
  <!-- Does not seem to be used as of 20180516 -->
47
47
  <field name="category" type="text_general" />
data/tasks/warclight.rake CHANGED
@@ -53,8 +53,8 @@ namespace :warclight do
53
53
  task :seed do
54
54
  puts 'Seeding index with data from spec/fixtures/warcs/...'
55
55
  # rubocop:disable Metrics/LineLength
56
- system('curl -o ".internal_test_gem/tmp/warc-indexer.jar" "http://alpha.library.yorku.ca/warc-indexer.jar"')
57
- system('java -Djava.io.tmpdir=.internal_test_gem/tmp -jar .internal_test_gem/tmp/warc-indexer.jar -c .internal_test_gem/solr/warclight_warc-indexer.conf -i "York University Libraries" -n "Test Collection" -u "12345" -s http://localhost:8983/solr/blacklight-core spec/fixtures/warcs/*.gz')
56
+ system('curl -o ".internal_test_app/tmp/warc-indexer.jar" "http://alpha.library.yorku.ca/warc-indexer.jar"')
57
+ system('java -Djava.io.tmpdir=.internal_test_app/tmp -jar .internal_test_app/tmp/warc-indexer.jar -c .internal_test_app/solr/warclight_warc-indexer.conf -i "York University Libraries" -n "Test Collection" -u "12345" -s http://localhost:8983/solr/blacklight-core spec/fixtures/warcs/*.gz')
58
58
  system('curl "http://localhost:8983/solr/blacklight-core/update?commit=true&openSearcher=true"')
59
59
  end
60
60
  end
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.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Ruest
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-12 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight