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 +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -1
- data/README.md +2 -2
- data/lib/warclight/version.rb +1 -1
- data/solr/conf/schema.xml +1 -1
- data/tasks/warclight.rake +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc1db99e6db6dcb35b851179b2a8391cdecc96915fb13a51d247bd920f6f4663
|
|
4
|
+
data.tar.gz: 4574a73c6d9a2eb1286914617722d588cd700e42471c548e82893068675d8838
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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('.
|
|
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
|
|
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
|
|
data/lib/warclight/version.rb
CHANGED
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 ".
|
|
57
|
-
system('java -Djava.io.tmpdir=.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: blacklight
|