blacklight-hierarchy 2.0.0 → 3.0.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
- SHA1:
3
- metadata.gz: dd2ecdea1a7d576038b77e6152422f684f335921
4
- data.tar.gz: a38a687a84d1020d00fbffe1072a4ecfc3d3389c
2
+ SHA256:
3
+ metadata.gz: 301106611145298332bcd99baa46b594bb6e81cfbb91c67c144ad67ea82ffd4e
4
+ data.tar.gz: 3de7c9ffe277ba90bc6e3cfd1518f0dd1b91234399c5de0bfa37ed821da23cf3
5
5
  SHA512:
6
- metadata.gz: 9255a2509312db54dedfd34f3ebfc495b8fe534ab3caba77d8340667d7a1a5433b3a88567d6df5391030614c9d0d58cb3618bf916d14a7f65ca32cb691c83198
7
- data.tar.gz: cefb114607e207e8291caaaf86c34c68020122f38fa27a69938875a55add0cc5cee7c76a3c7125d4f24bd9c3b573a218c569c6e32b10a3d59a596740ef85cbb1
6
+ metadata.gz: 49ed3184d67352e89bcf78badd554617c9a8618f2bf0ddb4260ec68d43e003604b05b5874a19d2bf5d2d5ac59f0c555f302a6630dd4ca9258ca81269936095ac
7
+ data.tar.gz: 33cff3c6d664380a251c8956f1de68be41c297067385babbd628b55e61a3e046adf8239a6b5ac04a6d33e861512a122c6601e8ffc9389e5b5e01b54b73e684de
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Blacklight::Hierarchy
2
- [![Build Status](https://travis-ci.org/sul-dlss/blacklight-hierarchy.svg?branch=master)](https://travis-ci.org/sul-dlss/blacklight-hierarchy) [![Coverage Status](https://coveralls.io/repos/sul-dlss/blacklight-hierarchy/badge.png)](https://coveralls.io/r/sul-dlss/blacklight-hierarchy) [![Dependency Status](https://gemnasium.com/sul-dlss/blacklight-hierarchy.svg)](https://gemnasium.com/sul-dlss/blacklight-hierarchy) [![Gem Version](https://badge.fury.io/rb/blacklight-hierarchy.svg)](http://badge.fury.io/rb/blacklight-hierarchy)
2
+ [![Build Status](https://travis-ci.org/sul-dlss/blacklight-hierarchy.svg?branch=master)](https://travis-ci.org/sul-dlss/blacklight-hierarchy) [![Coverage Status](https://coveralls.io/repos/sul-dlss/blacklight-hierarchy/badge.png)](https://coveralls.io/r/sul-dlss/blacklight-hierarchy) [![Gem Version](https://badge.fury.io/rb/blacklight-hierarchy.svg)](http://badge.fury.io/rb/blacklight-hierarchy)
3
3
 
4
4
  This plugin provides hierarchical facets for [Blacklight](https://github.com/projectblacklight/blacklight).
5
5
 
@@ -1,13 +1,24 @@
1
- #facets {
2
- ul.facet-hierarchy {
3
- margin-left: 8px;
4
- ul {
5
- margin-left: 0;
6
- border-bottom: none;
7
- padding-bottom: 0;
8
- li {
9
- margin-left: 8px; } }
10
- li.h-node {
11
- list-style-image: asset_data_url("collapsed.png"); }
12
- li.h-node.twiddle-open {
13
- list-style-image: asset_data_url("expanded.png"); } } }
1
+ $text-muted: #777777 !default;
2
+
3
+ .facet-hierarchy {
4
+ margin-left: -28px;
5
+
6
+ ul {
7
+ margin-left: 0;
8
+ border-bottom: none;
9
+ padding-bottom: 0;
10
+ li {
11
+ margin-left: 8px;
12
+ }
13
+ }
14
+ .h-node {
15
+ cursor: pointer;
16
+ list-style-image: asset_data_url("collapsed.png")
17
+ }
18
+ .h-node.twiddle-open {
19
+ list-style-image: asset_data_url("expanded.png");
20
+ }
21
+ .remove {
22
+ color: $text-muted;
23
+ }
24
+ }
@@ -20,12 +20,12 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_dependency 'rails', '>= 4.1', '< 6'
22
22
  s.add_dependency 'jquery-rails'
23
- s.add_dependency 'blacklight', '~> 6.0'
23
+ s.add_dependency 'blacklight', '~> 7.0'
24
24
 
25
25
  s.add_development_dependency 'rsolr'
26
26
  s.add_development_dependency 'rspec-rails'
27
27
  s.add_development_dependency 'sqlite3'
28
- s.add_development_dependency 'engine_cart', '~> 1.0'
28
+ s.add_development_dependency 'engine_cart', '~> 2.3'
29
29
  s.add_development_dependency 'capybara'
30
30
  s.add_development_dependency 'coveralls'
31
31
  end
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Hierarchy
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '3.0.0'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "blacklight-hierarchy",
3
+ "version": "3.0.0",
4
+ "description": "[![Build Status](https://travis-ci.org/sul-dlss/blacklight-hierarchy.png?branch=master)](https://travis-ci.org/sul-dlss/blacklight-hierarchy)",
5
+ "main": "app/assets/javascripts/blacklight/hierarchy/hierarchy.js",
6
+ "files": [
7
+ "app/assets/javascripts/blacklight/hierarchy/*.js"
8
+ ],
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/sul-dlss/blacklight-hierarchy.git"
12
+ },
13
+ "author": "",
14
+ "license": "Apache-2.0",
15
+ "bugs": {
16
+ "url": "https://github.com/sul-dlss/blacklight-hierarchy/issues"
17
+ },
18
+ "homepage": "https://github.com/sul-dlss/blacklight-hierarchy#readme",
19
+ "devDependencies": { },
20
+ "dependencies": {
21
+ "blacklight-frontend": ">=7.1.0-alpha",
22
+ "jquery": ">=3.0"
23
+ }
24
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-hierarchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael B. Klein
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-10 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '6.0'
53
+ version: '7.0'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '6.0'
60
+ version: '7.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rsolr
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '1.0'
109
+ version: '2.3'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '1.0'
116
+ version: '2.3'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: capybara
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -160,10 +160,7 @@ files:
160
160
  - README.md
161
161
  - Rakefile
162
162
  - app/assets/images/collapsed.png
163
- - app/assets/images/empty_marker.png
164
163
  - app/assets/images/expanded.png
165
- - app/assets/images/minus_arrow.png
166
- - app/assets/images/plus_arrow.png
167
164
  - app/assets/javascripts/blacklight/hierarchy/hierarchy.js
168
165
  - app/assets/stylesheets/blacklight/hierarchy/hierarchy.scss
169
166
  - app/helpers/blacklight/hierarchy_helper.rb
@@ -178,6 +175,7 @@ files:
178
175
  - lib/generators/blacklight_hierarchy/install_generator.rb
179
176
  - lib/generators/blacklight_hierarchy/templates/blacklight_hierarchy.js
180
177
  - lib/generators/blacklight_hierarchy/templates/blacklight_hierarchy.scss
178
+ - package.json
181
179
  - spec/features/basic_spec.rb
182
180
  - spec/helpers/hierarchy_helper_spec.rb
183
181
  - spec/spec_helper.rb
@@ -201,8 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
199
  - !ruby/object:Gem::Version
202
200
  version: '0'
203
201
  requirements: []
204
- rubyforge_project:
205
- rubygems_version: 2.6.11
202
+ rubygems_version: 3.0.3
206
203
  signing_key:
207
204
  specification_version: 4
208
205
  summary: Hierarchical Facets for Blacklight