warclight 0.6.0 → 0.6.1

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: a8ae7e47fad95aad7c598fb0eeba1d729bf35641
4
- data.tar.gz: 47865f795f928fdeba81e30e557f0b9e9f19184c
3
+ metadata.gz: af59a0942c0c3ead9c44f2a32b972e8891cf04b8
4
+ data.tar.gz: 39a907d96bc24233a76ba57ed43750cccbcd8c85
5
5
  SHA512:
6
- metadata.gz: 3f8ad4ff95368d0dc27d1235282c23fe88c95d3a2d27d8da1a9849fd0bcfa073232885b5faf10f0a4fe38337c8da05f19b3e3248e74568e83c461e2fe811dac8
7
- data.tar.gz: b488e29c86bb559189081edf5ee8d95a6f6a401da8d501cba50ef0df701c1b97b9ff3defbab81b46f3c55b30bdc234dd69a8cc8c057e92368aca0b58523bd579
6
+ metadata.gz: 688083482dc8895593c3f6172410d5b5b5664fba25e6f08f4dc72829a2d017cb78a19ad10794599b7bf92ba57640f35081402203eb4f943ccda10f97d2b4c175
7
+ data.tar.gz: 3d57bfc00a538d474ca4117f43e7a5a1591cf2ea62ef8e911ca33612043c23bcd02a4baff2132cc280cbc0d246996666dc831883160ff8ab41a8abcc3fef2120
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+
5
+ ---
6
+
7
+ **Describe the bug**
8
+ A clear and concise description of what the bug is.
9
+
10
+ **To Reproduce**
11
+ Steps to reproduce the behavior (e.g.):
12
+ 1. Go to '...'
13
+ 2. Click on '....'
14
+ 3. Scroll down to '....'
15
+ 4. See error
16
+
17
+ **Expected behavior**
18
+ A clear and concise description of what you expected to happen.
19
+
20
+ **Screenshots**
21
+ If applicable, add screenshots to help explain your problem.
22
+
23
+ **Desktop/Laptop (please complete the following information):**
24
+ - OS: [e.g. MacOS 10.13.3]
25
+ - Browser: [e.g. chrome, safari]
26
+ - Version: [e.g. 22]
27
+
28
+ **Smartphone (please complete the following information):**
29
+ - Device: [e.g. iPhone6]
30
+ - OS: [e.g. iOS8.1]
31
+ - Browser: [e.g. stock browser, safari]
32
+ - Version: [e.g. 22]
33
+
34
+ **Additional context**
35
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+
5
+ ---
6
+
7
+ **Is your feature request related to a problem? Please describe.**
8
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9
+
10
+ **Describe the solution you'd like**
11
+ A clear and concise description of what you want to happen.
12
+
13
+ **Describe alternatives you've considered**
14
+ A clear and concise description of any alternative solutions or features you've considered.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
data/.gitignore CHANGED
@@ -15,5 +15,6 @@ pkg/
15
15
  rspec_status
16
16
 
17
17
  .internal_test_app
18
+ .internal_test_gem
18
19
 
19
20
  /node_modules/
data/.travis.yml CHANGED
@@ -3,9 +3,10 @@ language: ruby
3
3
  notifications:
4
4
  email: false
5
5
  rvm:
6
- - 2.4.2
7
- - 2.3.5
8
- - 2.2.8
6
+ - 2.5.1
7
+ - 2.4.4
8
+ - 2.3.7
9
+ - 2.2.10
9
10
  jdk:
10
11
  - oraclejdk8
11
12
  - openjdk8
@@ -19,6 +20,7 @@ cache:
19
20
  - "travis_phantomjs"
20
21
 
21
22
  before_install:
23
+ - "gem install bundler"
22
24
  - "phantomjs --version"
23
25
  - "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
24
26
  - "phantomjs --version"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.6.0](https://github.com/archivesunleashed/warclight/tree/v0.6.0) (2018-04-30)
4
+ [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.5.0...v0.6.0)
5
+
6
+ **Implemented enhancements:**
7
+
8
+ - return\_five helper method needs a conditional [\#38](https://github.com/archivesunleashed/warclight/issues/38)
9
+ - Advanced Search [\#22](https://github.com/archivesunleashed/warclight/issues/22)
10
+ - Citations should be in scholarly format [\#11](https://github.com/archivesunleashed/warclight/issues/11)
11
+
12
+ **Fixed bugs:**
13
+
14
+ - Handle no results for replay\_link query [\#41](https://github.com/archivesunleashed/warclight/issues/41)
15
+ - return\\_five helper method needs a conditional [\#38](https://github.com/archivesunleashed/warclight/issues/38)
16
+
17
+ **Closed issues:**
18
+
19
+ - Does not install with template file [\#42](https://github.com/archivesunleashed/warclight/issues/42)
20
+ - Create helper method for thumbnail URL [\#40](https://github.com/archivesunleashed/warclight/issues/40)
21
+
3
22
  ## [v0.5.0](https://github.com/archivesunleashed/warclight/tree/v0.5.0) (2017-10-19)
4
23
  [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.4.0...v0.5.0)
5
24
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Warclight
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
5
5
  end
data/solr/conf/schema.xml CHANGED
@@ -96,7 +96,7 @@
96
96
  <field name="redirect_to_norm" type="string" indexed="true" stored="false" docValues="true" multiValued="false"/>
97
97
  <field name="referrer_url" type="string" indexed="true" stored="true" multiValued="false" docValues="true"/>
98
98
  <field name="resourcename" type="text_general" indexed="true" stored="true"/>
99
- <field name="resourcename_facet" type="string" indexed="false" stored="false" docValues="true" multiValued="false"/>
99
+ <field name="resourcename_facet" type="string" indexed="true" multiValued="false" docValues="true"/>
100
100
  <field name="sentiment_score" type="float" indexed="true" stored="true" multiValued="false"/>
101
101
  <field name="sentiment" type="string" indexed="true" docValues="true" multiValued="false"/>
102
102
  <field name="server" type="string" indexed="true" docValues="true" multiValued="true"/>
data/tasks/warclight.rake CHANGED
@@ -5,8 +5,6 @@ require 'engine_cart/rake_task'
5
5
  require 'rspec/core/rake_task'
6
6
  require 'warclight'
7
7
 
8
- EngineCart.fingerprint_proc = EngineCart.rails_fingerprint_proc
9
-
10
8
  desc 'Run test suite'
11
9
  task ci: %w[warclight:generate] do
12
10
  SolrWrapper.wrap do |solr|
@@ -55,8 +53,8 @@ namespace :warclight do
55
53
  task :seed do
56
54
  puts 'Seeding index with data from spec/fixtures/warcs/...'
57
55
  # rubocop:disable Metrics/LineLength
58
- system('curl -o ".internal_test_app/tmp/warc-indexer.jar" "http://alpha.library.yorku.ca/warc-indexer-3.0.0-SNAPSHOT-jar-with-dependencies.jar"')
59
- 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')
56
+ system('curl -o ".internal_test_gem/tmp/warc-indexer.jar" "http://alpha.library.yorku.ca/warc-indexer-3.0.0-SNAPSHOT-jar-with-dependencies.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')
60
58
  system('curl "http://localhost:8983/solr/blacklight-core/update?commit=true&openSearcher=true"')
61
59
  end
62
60
  end
data/warclight.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_dependency 'rails', '~> 5.0'
26
26
 
27
27
  s.add_development_dependency 'bundler', '~> 1.14'
28
- s.add_development_dependency 'engine_cart', '~> 1.2.0'
28
+ s.add_development_dependency 'engine_cart'
29
29
  s.add_development_dependency 'mocha'
30
30
  s.add_development_dependency 'poltergeist'
31
31
  s.add_development_dependency 'rake', '~> 12.0'
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.6.0
4
+ version: 0.6.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-04-30 00:00:00.000000000 Z
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: engine_cart
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.2.0
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.2.0
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mocha
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -186,6 +186,8 @@ extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
188
  - ".eslintrc"
189
+ - ".github/ISSUE_TEMPLATE/Bug_report.md"
190
+ - ".github/ISSUE_TEMPLATE/Feature_request.md"
189
191
  - ".gitignore"
190
192
  - ".rspec"
191
193
  - ".rubocop.yml"