blacklight 7.13.0 → 7.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +89 -0
- data/VERSION +1 -1
- data/app/components/blacklight/facet_field_pagination_component.rb +0 -4
- data/tasks/blacklight.rake +3 -3
- metadata +3 -3
- data/.travis.yml +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8fb80459866144384607d4a10514e767df6a91c2b4479056ff249e036872b92
|
4
|
+
data.tar.gz: f21dceeab6bc00811799379c7082af587a019101d570071baa98fa9f1aeb9886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9613e0b9fbfbf15765fd21175c942f3f65c208cfdcaf8ded9158520a44ea507896e7419a53085071badf1e0452071b81d99cd2013cbdb727c85f944e87524fc1
|
7
|
+
data.tar.gz: 684cbee2ba2125ac367445bad68ac18d1d2d437c724ad0f0c6a3ac2648705a933e1edb6631193499b4836035e3c6da5b3528a988e555a34b3f1b529b90429e86
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: CI
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ master ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ master ]
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
lint:
|
18
|
+
runs-on: ubuntu-latest
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v2
|
21
|
+
- name: Set up Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: 2.7
|
25
|
+
- name: Install dependencies
|
26
|
+
run: bundle install
|
27
|
+
- name: Run linter
|
28
|
+
run: bundle exec rake rubocop
|
29
|
+
test:
|
30
|
+
runs-on: ubuntu-latest
|
31
|
+
strategy:
|
32
|
+
matrix:
|
33
|
+
ruby: [2.6, 2.7]
|
34
|
+
steps:
|
35
|
+
- uses: actions/checkout@v2
|
36
|
+
- name: Set up Ruby
|
37
|
+
uses: ruby/setup-ruby@v1
|
38
|
+
with:
|
39
|
+
ruby-version: ${{ matrix.ruby }}
|
40
|
+
- name: Install dependencies
|
41
|
+
run: bundle install
|
42
|
+
- name: Run tests
|
43
|
+
run: bundle exec rake ci
|
44
|
+
env:
|
45
|
+
ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
|
46
|
+
test_rails5:
|
47
|
+
runs-on: ubuntu-latest
|
48
|
+
strategy:
|
49
|
+
matrix:
|
50
|
+
ruby: [2.5, 2.6]
|
51
|
+
steps:
|
52
|
+
- uses: actions/checkout@v2
|
53
|
+
- name: Set up Ruby
|
54
|
+
uses: ruby/setup-ruby@v1
|
55
|
+
with:
|
56
|
+
ruby-version: ${{ matrix.ruby }}
|
57
|
+
- name: Install dependencies
|
58
|
+
run: bundle install
|
59
|
+
env:
|
60
|
+
RAILS_VERSION: 5.2.4.2
|
61
|
+
- name: Run tests
|
62
|
+
run: bundle exec rake ci
|
63
|
+
env:
|
64
|
+
RAILS_VERSION: 5.2.4.2
|
65
|
+
ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
|
66
|
+
api_test:
|
67
|
+
runs-on: ubuntu-latest
|
68
|
+
strategy:
|
69
|
+
matrix:
|
70
|
+
ruby: [2.7]
|
71
|
+
steps:
|
72
|
+
- uses: actions/checkout@v2
|
73
|
+
- name: Set up Ruby
|
74
|
+
uses: ruby/setup-ruby@v1
|
75
|
+
with:
|
76
|
+
ruby-version: ${{ matrix.ruby }}
|
77
|
+
- name: Install dependencies
|
78
|
+
run: bundle install
|
79
|
+
- name: Run tests
|
80
|
+
run: bundle exec rake ci
|
81
|
+
env:
|
82
|
+
BLACKLIGHT_API_TEST: true
|
83
|
+
ENGINE_CART_RAILS_OPTIONS: '--api --skip-git --skip-bundle --skip-listen --skip-spring --skip-yarn --skip-keeps --skip-action-cable --skip-coffee --skip-test'
|
84
|
+
docker_build:
|
85
|
+
runs-on: ubuntu-latest
|
86
|
+
steps:
|
87
|
+
- uses: actions/checkout@v2
|
88
|
+
- name: Build docker image
|
89
|
+
run: docker-compose build app
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.13.
|
1
|
+
7.13.1
|
data/tasks/blacklight.rake
CHANGED
@@ -14,14 +14,14 @@ require 'solr_wrapper'
|
|
14
14
|
require 'open3'
|
15
15
|
|
16
16
|
def system_with_error_handling(*args)
|
17
|
-
Open3.popen3(*args) do |stdout, stderr,
|
17
|
+
Open3.popen3(*args) do |_stdin, stdout, stderr, thread|
|
18
18
|
puts stdout.read
|
19
|
-
raise "Unable to run #{args.inspect}: #{stderr.read}" unless
|
19
|
+
raise "Unable to run #{args.inspect}: #{stderr.read}" unless thread.value.success?
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
23
|
def with_solr
|
24
|
-
if system('docker-compose')
|
24
|
+
if system('docker-compose -v')
|
25
25
|
begin
|
26
26
|
puts "Starting Solr"
|
27
27
|
system_with_error_handling "docker-compose up -d solr"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.13.
|
4
|
+
version: 7.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2020-10-
|
20
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -339,6 +339,7 @@ files:
|
|
339
339
|
- ".docker/app/Dockerfile"
|
340
340
|
- ".docker/app/entrypoint.sh"
|
341
341
|
- ".env"
|
342
|
+
- ".github/workflows/ruby.yml"
|
342
343
|
- ".gitignore"
|
343
344
|
- ".hound.yml"
|
344
345
|
- ".jshintrc"
|
@@ -346,7 +347,6 @@ files:
|
|
346
347
|
- ".rubocop.yml"
|
347
348
|
- ".rubocop_todo.yml"
|
348
349
|
- ".solr_wrapper.yml"
|
349
|
-
- ".travis.yml"
|
350
350
|
- ".yardopts"
|
351
351
|
- CONTRIBUTING.md
|
352
352
|
- Gemfile
|
data/.travis.yml
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
dist: bionic
|
2
|
-
|
3
|
-
addons:
|
4
|
-
chrome: stable
|
5
|
-
|
6
|
-
language: ruby
|
7
|
-
|
8
|
-
matrix:
|
9
|
-
include:
|
10
|
-
- rvm: 2.7.0
|
11
|
-
env: "RAILS_VERSION=6.0.2.2"
|
12
|
-
- rvm: 2.6.5
|
13
|
-
env: "RAILS_VERSION=6.0.2.2"
|
14
|
-
- rvm: 2.6.5
|
15
|
-
env: "RAILS_VERSION=5.2.4.2"
|
16
|
-
- rvm: 2.5.7
|
17
|
-
env: "RAILS_VERSION=5.2.4.2 BLACKLIGHT_API_TEST=true ENGINE_CART_RAILS_OPTIONS=\"--api --skip-git --skip-bundle --skip-listen --skip-spring --skip-yarn --skip-keeps --skip-action-cable --skip-coffee --skip-test\""
|
18
|
-
- rvm: jruby-9.2.8.0
|
19
|
-
env: "RAILS_VERSION=5.2.4.2 JRUBY_OPTS=\"-J-Xms512m -J-Xmx1024m\""
|
20
|
-
allow_failures:
|
21
|
-
- rvm: jruby-9.2.8.0
|
22
|
-
fast_finish: true
|
23
|
-
|
24
|
-
before_install:
|
25
|
-
- google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &
|
26
|
-
|
27
|
-
env:
|
28
|
-
global:
|
29
|
-
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
30
|
-
- ENGINE_CART_RAILS_OPTIONS='--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
|
31
|
-
- CC_TEST_REPORTER_ID=5042c7358c96b0b926088a4cda3e132fffe7a66ce8047cdb1dc6f0b4b6676b79
|
32
|
-
|
33
|
-
before_script:
|
34
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
35
|
-
- chmod +x ./cc-test-reporter
|
36
|
-
- ./cc-test-reporter before-build
|
37
|
-
|
38
|
-
after_script:
|
39
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
40
|
-
- docker-compose build app || travis_terminate 1 # validates application Dockerfile
|