warclight 0.7.1 → 0.8.0

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
  SHA256:
3
- metadata.gz: fc1db99e6db6dcb35b851179b2a8391cdecc96915fb13a51d247bd920f6f4663
4
- data.tar.gz: 4574a73c6d9a2eb1286914617722d588cd700e42471c548e82893068675d8838
3
+ metadata.gz: d18f6bb18e98e1737710fd8ac0f650f4484703fe5be2730e2c66f9d9810ab175
4
+ data.tar.gz: 5eab2a74a5fd3cd999abfbae75b3b70212d0c79fa8f98d60be572a687b4bfc2b
5
5
  SHA512:
6
- metadata.gz: 128fee91695fffef3597becab074448069e079b042463fc0aae37eb03096441c71219b51752164186e094221c4db5db5bbb3b1297ffd959ec3cc1b47a7f64fc9
7
- data.tar.gz: 83556c980493d59fedbd15181e56261f9bfe97381b6a17d599702fd4a8aa35812b0ead39bce2d44578c162ca439932ee15c5494408649e1917c59cbf671c42d3
6
+ metadata.gz: b3dfd98948f41e6e353ddd6ec7f25e2cc87699708ae807938c31b20606dd38e586247a784afee8e9e3d9a947e8413b28dafa7a08bd838f08522525fd9776f21a
7
+ data.tar.gz: 4e5f0dab5a13dbee6713edb5368bc83cc6f0d7e24069f816e508a60d9695ef1683798ace40f8ff1b096dafc3856d63392173927f7b79ba4713a74105456d175d
data/.rubocop.yml CHANGED
@@ -57,6 +57,9 @@ RSpec/MultipleExpectations:
57
57
  RSpec/NestedGroups:
58
58
  Max: 4
59
59
 
60
+ RSpec/DescribeClass:
61
+ Enabled: false
62
+
60
63
  Rails/TimeZone:
61
64
  Exclude:
62
65
  - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later
@@ -66,9 +69,19 @@ Style/Documentation:
66
69
  - 'spec/**/*'
67
70
  - 'lib/warclight.rb'
68
71
 
72
+ Style/ExpandPathArguments:
73
+ Exclude:
74
+ - warclight.gemspec
75
+ - lib/generators/warclight/install_generator.rb
76
+ - lib/generators/warclight/update_generator.rb
77
+
69
78
  Bundler/DuplicatedGem:
70
79
  Enabled: false
71
80
 
72
81
  Lint/UselessAssignment:
73
82
  Exclude:
74
83
  - 'app/models/concerns/warclight/solr_document.rb' #Come back to this later
84
+
85
+ Style/RescueStandardError:
86
+ Exclude:
87
+ - app/helpers/warclight_helper.rb
data/.travis.yml CHANGED
@@ -2,10 +2,14 @@ sudo: false
2
2
  language: ruby
3
3
  notifications:
4
4
  email: false
5
+ branches:
6
+ only:
7
+ - master
5
8
  rvm:
6
- - 2.5.1
7
- - 2.4.4
8
- - 2.3.7
9
+ - 2.6.0
10
+ - 2.5.3
11
+ - 2.4.5
12
+ - 2.3.8
9
13
  - 2.2.10
10
14
  jdk:
11
15
  - oraclejdk8
@@ -20,7 +24,7 @@ cache:
20
24
  - "travis_phantomjs"
21
25
 
22
26
  before_install:
23
- - "gem install bundler"
27
+ - "gem install bundler -v '< 2'"
24
28
  - "phantomjs --version"
25
29
  - "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
26
30
  - "phantomjs --version"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.7.1](https://github.com/archivesunleashed/warclight/tree/v0.7.1) (2018-10-15)
4
+ [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.7.0...v0.7.1)
5
+
3
6
  ## [v0.7.0](https://github.com/archivesunleashed/warclight/tree/v0.7.0) (2018-10-12)
4
7
  [Full Changelog](https://github.com/archivesunleashed/warclight/compare/v0.6.3...v0.7.0)
5
8
 
data/CONTRIBUTING.md CHANGED
@@ -4,19 +4,19 @@ If you are reading this document then you are interested in contributing Warclig
4
4
 
5
5
  ### Use cases
6
6
 
7
- If you would like to submit a use case for Warclight, please submit and issue [here](https://github.com/archivesunleashed/warclight/issues/new), and begin the issue title with "Use Case:".
7
+ If you would like to submit a use case for Warclight, please submit and issue [here](https://github.com/archivesunleashed/warclight/issues/new), and begin the issue title with `Use Case:`.
8
8
 
9
9
  ### Documentation
10
10
 
11
- You can contribute documentation in two different ways. One way is to create an issue [here](https://github.com/archivesunleashed/warclight/issues/new) and begin the issue title with "Documentation:".
11
+ You can contribute documentation in two different ways. One way is to create an issue [here](https://github.com/archivesunleashed/warclight/issues/new) and begin the issue title with `Documentation:`.
12
12
 
13
13
  ### Request a new feature
14
14
 
15
- To request a new feature you should [open an issue](https://github.com/archivesunleashed/warclight/issues/new) or create a use case as described above (see _use case_ section above), and summarize the desired functionality. Begin the issue title with "Enhancement:".
15
+ To request a new feature you should [open an issue](https://github.com/archivesunleashed/warclight/issues/new) or create a use case as described above (see _use case_ section above), and summarize the desired functionality. Begin the issue title with `Enhancement:`.
16
16
 
17
17
  ### Report a bug
18
18
 
19
- To report a bug you should [open an issue](https://github.com/archivesunleashed/warclight/issues/new) that summarizes the bug, and begin the issue title with "Bug".
19
+ To report a bug you should [open an issue](https://github.com/archivesunleashed/warclight/issues/new) that summarizes the bug, and begin the issue title with `Bug:`.
20
20
 
21
21
  In order to help us understand and fix the bug it would be great if you could provide us with:
22
22
 
data/Gemfile CHANGED
@@ -32,7 +32,7 @@ else
32
32
 
33
33
  case ENV['RAILS_VERSION']
34
34
  when /^4.2/
35
- gem 'coffee-rails', '~> 4.1.0'
35
+ gem 'coffee-rails', '~> 4.2.2'
36
36
  gem 'responders', '~> 2.0'
37
37
  gem 'sass-rails', '>= 5.0'
38
38
  when /^4.[01]/
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/warclight.svg)](https://badge.fury.io/rb/warclight)
5
5
  [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
6
6
  [![LICENSE](https://img.shields.io/badge/license-Apache-blue.svg?style=flat-square)](./LICENSE.txt)
7
+ [![Depfu](https://badges.depfu.com/badges/d201582abe1955866e1b56ac43040541/overview.svg)](https://depfu.com/github/archivesunleashed/warclight?project_id=6476)
7
8
 
8
9
  A [Project Blacklight](http://projectblacklight.org/) based [Rails engine](http://guides.rubyonrails.org/engines.html) that supports the discovery of web archives held in the WARC and ARC formats. It allows faceted full-text search, record view, and other advanced discovery options.
9
10
 
Binary file
@@ -8,7 +8,7 @@ module WarclightHelper
8
8
  begin
9
9
  res = Net::HTTP.get_response(URI(url))
10
10
  if res.code.start_with?('1', '2', '3')
11
- link_to(url, url, target: '_blank') << ' 🔗'
11
+ link_to(url, url, target: '_blank', rel: 'noopener') << ' 🔗'
12
12
  else
13
13
  url + ' (Not available)'
14
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Warclight
4
- VERSION = '0.7.1'
4
+ VERSION = '0.8.0'
5
5
  end
data/package.json CHANGED
@@ -4,8 +4,8 @@
4
4
  "main": "index.js",
5
5
  "dependencies": {},
6
6
  "devDependencies": {
7
- "eslint": "^3.19.0",
8
- "eslint-config-airbnb-base": "^11.1.3",
7
+ "eslint": "^5.10.0",
8
+ "eslint-config-airbnb-base": "^13.1.0",
9
9
  "eslint-plugin-import": "^2.2.0"
10
10
  },
11
11
  "scripts": {
data/tasks/warclight.rake CHANGED
@@ -56,5 +56,6 @@ namespace :warclight do
56
56
  system('curl -o ".internal_test_app/tmp/warc-indexer.jar" "http://alpha.library.yorku.ca/warc-indexer.jar"')
57
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
+ # rubocop:enable Metrics/LineLength
59
60
  end
60
61
  end
data/warclight.gemspec CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |s|
21
21
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  s.require_paths = ['lib']
23
23
 
24
- s.add_dependency 'blacklight', '7.0.0.rc1'
25
- s.add_dependency 'blacklight_range_limit', '7.0.0.rc2'
24
+ s.add_dependency 'blacklight', '7.0.1'
25
+ s.add_dependency 'blacklight_range_limit', '7.0.0'
26
26
  s.add_dependency 'rails', '~> 5.0'
27
27
 
28
28
  s.add_development_dependency 'bundler', '~> 1.14'
@@ -32,8 +32,8 @@ Gem::Specification.new do |s|
32
32
  s.add_development_dependency 'poltergeist'
33
33
  s.add_development_dependency 'rake', '~> 12.0'
34
34
  s.add_development_dependency 'rspec-rails', '~> 3.0'
35
- s.add_development_dependency 'rubocop', '~> 0.48.1'
36
- s.add_development_dependency 'rubocop-rspec', '~> 1.15.0'
35
+ s.add_development_dependency 'rubocop', '~> 0.65.0'
36
+ s.add_development_dependency 'rubocop-rspec', '~> 1.32.0'
37
37
  s.add_development_dependency 'simplecov'
38
38
  s.add_development_dependency 'solr_wrapper'
39
39
  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.1
4
+ version: 0.8.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: 2018-10-15 00:00:00.000000000 Z
11
+ date: 2019-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.0.rc1
19
+ version: 7.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 7.0.0.rc1
26
+ version: 7.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: blacklight_range_limit
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 7.0.0.rc2
33
+ version: 7.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 7.0.0.rc2
40
+ version: 7.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -156,28 +156,28 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.48.1
159
+ version: 0.65.0
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.48.1
166
+ version: 0.65.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rubocop-rspec
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.15.0
173
+ version: 1.32.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.15.0
180
+ version: 1.32.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: simplecov
183
183
  requirement: !ruby/object:Gem::Requirement