arclight 1.3.0 → 1.4.0

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: 1f1e6b3f42d3537e2cf578afdac114aa0bf9809f9f331716f4cf57f2b8af84a1
4
- data.tar.gz: dd97429213dcdb6ce394627b1494b9f327ba338aedd7a3821e901e33bdd8b5d4
3
+ metadata.gz: '05920211714b612a9c15488e1943502f69f46cb546642b0e93b4e23c8a2837e8'
4
+ data.tar.gz: 2a81f4044f38d14d591db1cd38d6e8ba5b4703e3fd24e18539a9d1837c995873
5
5
  SHA512:
6
- metadata.gz: c7c0794ebc3a16206ec9cd175a5ef465a8afc08a4d197149b2c4d978de37399310eb75e676f67637b612c2a5ba15383c037e8d3030392e8c51689f873b309cc9
7
- data.tar.gz: 806b6e4c2c4e3ef9f051e9cf70592b474f9ce4bf051feffbd3b2111b472dce3e7f6bc76150e7f12a95bba6e4f50e8e86327c982217326c0c8e3001d2ce1f3e5c
6
+ metadata.gz: 6c14920c31d58ba3315badb0b469a3227c5f0a0f4c6e98fbed5362e486698aa7eec251efb335bcceacb5e4c7e812dc4118cb59d9950ccb9d20416f4b3d0f8528
7
+ data.tar.gz: 69ef42b405988a76171b0d7cacf8d73180d3cdaf8557762b0492168760cb6ee0db678570e839fc0a73bbc029469c589ce5b1c5f1b74257ade6311a99689fb568
@@ -2,30 +2,30 @@ name: CI
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ main ]
5
+ branches: [main]
6
6
  pull_request:
7
- branches: [ main ]
7
+ branches: [main]
8
8
 
9
9
  jobs:
10
10
  test:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- rails_version: [7.0.4]
15
- ruby: ['3.0', '3.1', '3.2']
14
+ rails_version: [7.1.3.4]
15
+ ruby: ["3.1", "3.2", "3.3"]
16
16
  env:
17
17
  RAILS_VERSION: ${{ matrix.rails_version }}
18
18
  steps:
19
- - uses: actions/checkout@v4
20
- - name: Set up Ruby ${{ matrix.ruby }}
21
- uses: ruby/setup-ruby@v1
22
- with:
23
- bundler: latest
24
- ruby-version: ${{ matrix.ruby }}
25
- - name: Install dependencies with Rails ${{ matrix.rails_version }}
26
- run: bundle install
27
- - name: Run tests
28
- run: bundle exec rake ci
19
+ - uses: actions/checkout@v4
20
+ - name: Set up Ruby ${{ matrix.ruby }}
21
+ uses: ruby/setup-ruby@v1
22
+ with:
23
+ bundler: latest
24
+ ruby-version: ${{ matrix.ruby }}
25
+ - name: Install dependencies with Rails ${{ matrix.rails_version }}
26
+ run: bundle install
27
+ - name: Run tests
28
+ run: bundle exec rake ci
29
29
  lint:
30
30
  runs-on: ubuntu-latest
31
31
  steps:
@@ -1,3 +1,6 @@
1
+ :root {
2
+ --al-online-icon-color: #{$online-icon-color};
3
+ }
1
4
  .toggle-bookmark,
2
5
  .breadcrumb-item,
3
6
  .document,
@@ -9,7 +12,7 @@
9
12
  }
10
13
 
11
14
  .al-online-content-icon .blacklight-icons svg {
12
- fill: $online-icon-color;
15
+ fill: var(--al-online-icon-color);
13
16
  }
14
17
 
15
18
  .btn > .bi:first-child {
@@ -1,3 +1,7 @@
1
+ :root {
2
+ --al-content-icon-color: #{$secondary};
3
+ }
4
+
1
5
  .documents-list {
2
6
  margin-bottom: $spacer;
3
7
 
@@ -43,10 +47,7 @@
43
47
 
44
48
  article.document {
45
49
  .blacklight-icons svg {
46
- fill: $secondary;
47
- }
48
- .al-online-content-icon .blacklight-icons svg {
49
- fill: $online-icon-color;
50
+ fill: var(--al-content-icon-color);
50
51
  }
51
52
  div.breadcrumb-links,
52
53
  dd.al-document-abstract-or-scope,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Arclight
4
- VERSION = '1.3.0'
4
+ VERSION = '1.4.0'
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arclight",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "The frontend for arclight",
5
5
  "main": "app/assets/javascript/arclight/arclight.js",
6
6
  "files": ["app/assets"],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arclight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Hardy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2024-06-07 00:00:00.000000000 Z
14
+ date: 2024-06-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: blacklight