blacklight-citeproc 0.1.0 → 0.2.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: eeff00991e1cd29a95fe8147f0e7635d62750285
4
- data.tar.gz: 455a044d6ea8c8ca95953f35caa5ab1cd36fd282
2
+ SHA256:
3
+ metadata.gz: 600dabd32addc71318e3fdcf9a02649171bde0d687ee914f3e742815d18c1127
4
+ data.tar.gz: 61cc4259a5b90ab78d1a1f725b8fc1fda584deb9f1a550c4db4f6c61334a9896
5
5
  SHA512:
6
- metadata.gz: c7a4157599e2b518ce56300ce7210f831a4c249300890a51b6f9bb277f962b369295a2476345c9ba53f9d0c39289a05b677e96017f6cc50e11b0e1f0ed247959
7
- data.tar.gz: '09d0957858f97fc340b180e45fc4afbab39a789937590192864721ccc93284ac921a7298a45be81c0fc229fd4d049f75b2c01c96a47b6f6423e3a443f553a08e'
6
+ metadata.gz: 4258faae4916dfbc84637fdcf2162a7fd3f50b77c891aea65762ceefd09d3e88edc44a0d4fee33a163a726b59b324e9e4783e9c3f857120363907a65aa9964fa
7
+ data.tar.gz: 6c970c6eddacd46c20d1030d9dcff4186e6b186717973be91f340c9039f7ac4ed696e0a0d570c70809c4e1b2f17f261063153b2f523303f307c5239fb27b6b21
data/.env CHANGED
@@ -1,3 +1,3 @@
1
- RAILS_VERSION=6.1.4.1
1
+ RAILS_VERSION=6.1.6
2
2
  SOLR_URL=http://solr:8983/solr/blacklight-core
3
- BLACKLIGHT_VERSION=7.21.2
3
+ BLACKLIGHT_VERSION=7.24.0
@@ -0,0 +1,25 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+ schedule:
9
+ - cron: '30 6 5 * *'
10
+ workflow_dispatch:
11
+
12
+ jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Ruby
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: 2.7
22
+ - name: Install dependencies
23
+ run: bundle install
24
+ - name: Run linter
25
+ run: bundle exec rubocop
data/.rubocop.yml ADDED
@@ -0,0 +1,4 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.7
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,40 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2022-05-09 22:37:34 UTC using RuboCop version 1.29.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ Lint/MissingSuper:
11
+ Exclude:
12
+ - 'app/controllers/blacklight/citeproc/citation_controller.rb'
13
+
14
+ # Offense count: 2
15
+ # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
16
+ Metrics/AbcSize:
17
+ Max: 28
18
+
19
+ # Offense count: 2
20
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
21
+ Metrics/MethodLength:
22
+ Max: 24
23
+
24
+ # Offense count: 4
25
+ # Configuration parameters: AllowedConstants.
26
+ Style/Documentation:
27
+ Exclude:
28
+ - 'spec/**/*'
29
+ - 'test/**/*'
30
+ - 'app/controllers/blacklight/citeproc/citation_controller.rb'
31
+ - 'app/models/concerns/blacklight/document/bibtex.rb'
32
+ - 'lib/blacklight/citeproc.rb'
33
+ - 'lib/generators/blacklight/citeproc/install_generator.rb'
34
+
35
+ # Offense count: 1
36
+ # This cop supports safe auto-correction (--auto-correct).
37
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
38
+ # URISchemes: http, https
39
+ Layout/LineLength:
40
+ Max: 123
data/Dockerfile CHANGED
@@ -6,6 +6,7 @@ ARG BLACKLIGHT_VERSION
6
6
  RUN apk add --update --no-cache \
7
7
  bash \
8
8
  build-base \
9
+ gcompat \
9
10
  git \
10
11
  libxml2-dev \
11
12
  libxslt-dev \
@@ -22,8 +23,7 @@ RUN chown -R blacklight /app /gem
22
23
 
23
24
  USER blacklight
24
25
 
25
- RUN gem update --system && \
26
- gem install bundler && \
26
+ RUN gem install bundler && \
27
27
  bundle config build.nokogiri --use-system-libraries && \
28
28
  gem install rails -v $RAILS_VERSION
29
29
 
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Jane Sandberg
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -5,57 +5,59 @@ require 'citeproc'
5
5
  require 'citeproc/ruby'
6
6
  require 'csl/styles'
7
7
 
8
- module Blacklight::Citeproc
9
- class BadConfigError < StandardError
10
- end
8
+ module Blacklight
9
+ module Citeproc
10
+ class BadConfigError < StandardError
11
+ end
11
12
 
12
- class CitationController < ApplicationController
13
- include Blacklight::Bookmarks
14
- include Blacklight::Searchable
13
+ class CitationController < ApplicationController
14
+ include Blacklight::Bookmarks
15
+ include Blacklight::Searchable
15
16
 
16
- def initialize
17
- @processors = []
18
- @citations = []
19
- format = ::CiteProc::Ruby::Formats::Html.new bib_container: 'div', bib_entry: 'p'
17
+ def initialize
18
+ @processors = []
19
+ @citations = []
20
+ format = ::CiteProc::Ruby::Formats::Html.new bib_container: 'div', bib_entry: 'p'
20
21
 
21
- throw BadConfigError, 'Catalog controller needs a config.citeproc section' unless blacklight_config.citeproc
22
- @config = blacklight_config.citeproc
23
- @config[:styles].each do |style|
24
- @processors << ::CiteProc::Processor.new(format: format, style: style)
22
+ throw BadConfigError, 'Catalog controller needs a config.citeproc section' unless blacklight_config.citeproc
23
+ @config = blacklight_config.citeproc
24
+ @config[:styles].each do |style|
25
+ @processors << ::CiteProc::Processor.new(format: format, style: style)
26
+ end
25
27
  end
26
- end
27
28
 
28
- def print_single
29
- _, document = search_service.fetch(params[:id])
30
- bibtex = ::BibTeX::Bibliography.new
31
- bibtex << document.export_as(:bibtex)
29
+ def print_single
30
+ _, document = search_service.fetch(params[:id])
31
+ bibtex = ::BibTeX::Bibliography.new
32
+ bibtex << document.export_as(:bibtex)
32
33
 
33
- @processors.each do |processor|
34
- processor.import bibtex.to_citeproc
35
- citation = processor.render(:bibliography, id: params[:id]).first.tr('{}', '')
36
- @citations << { citation: citation.html_safe, label: processor.options[:style] }
34
+ @processors.each do |processor|
35
+ processor.import bibtex.to_citeproc
36
+ citation = processor.render(:bibliography, id: params[:id]).first.tr('{}', '')
37
+ @citations << { citation: citation.html_safe, label: processor.options[:style] }
38
+ end
39
+ render layout: false
37
40
  end
38
- render layout: false
39
- end
40
41
 
41
- def print_multiple(ids)
42
- _, documents = search_service.fetch(ids)
43
- bibtex = ::BibTeX::Bibliography.new
44
- documents.each do |document|
45
- bibtex << document.export_as(:bibtex)
42
+ def print_multiple(ids)
43
+ _, documents = search_service.fetch(ids)
44
+ bibtex = ::BibTeX::Bibliography.new
45
+ documents.each do |document|
46
+ bibtex << document.export_as(:bibtex)
47
+ end
48
+
49
+ @processors.each do |processor|
50
+ processor.import bibtex.to_citeproc
51
+ @citations << { citation: processor.bibliography.join.html_safe, label: processor.options[:style] }
52
+ end
53
+ render :print_single, layout: false
46
54
  end
47
55
 
48
- @processors.each do |processor|
49
- processor.import bibtex.to_citeproc
50
- @citations << { citation: processor.bibliography.join.html_safe, label: processor.options[:style] }
56
+ def print_bookmarks
57
+ bookmarks = token_or_current_or_guest_user.bookmarks
58
+ bookmark_ids = bookmarks.collect { |b| b.document_id.to_s }
59
+ print_multiple bookmark_ids
51
60
  end
52
- render :print_single, layout: false
53
- end
54
-
55
- def print_bookmarks
56
- bookmarks = token_or_current_or_guest_user.bookmarks
57
- bookmark_ids = bookmarks.collect { |b| b.document_id.to_s }
58
- print_multiple bookmark_ids
59
61
  end
60
62
  end
61
63
  end
@@ -13,43 +13,46 @@
13
13
 
14
14
  require 'bibtex'
15
15
 
16
- module Blacklight::Document::Bibtex
17
- def self.extended(document)
18
- Blacklight::Document::Bibtex.register_export_formats(document)
19
- end
20
-
21
- def self.register_export_formats(document)
22
- document.will_export_as(:bibtex, 'application/x-bibtex')
23
- end
24
-
25
- def export_as_bibtex
26
- config = ::CatalogController.blacklight_config.citeproc
27
-
28
- entry = ::BibTeX::Entry.new
29
- entry.type = :book
30
- entry.key = id
31
- entry.title = first config[:fields][:title]
32
- multiple_valued_fields = %i[author editor]
33
- multiple_valued_fields.each do |field|
34
- entry.send("#{field}=", fetch(config[:fields][field])) if has? config[:fields][field]
35
- end
36
-
37
- single_valued_fields = %i[address annote booktitle chapter doi edition how_published institution
38
- journal key month note number organization pages publisher school series url volume year]
39
- single_valued_fields.each do |field|
40
- entry.send("#{field}=", first(config[:fields][field])) if has? config[:fields][field]
41
- end
42
-
43
- entry
44
- end
45
-
46
- private
47
-
48
- def bibtex_type(config)
49
- config[:format][:mappings].each do |bibtex, solr|
50
- return bibtex if solr.include? first config[:format][:field]
16
+ module Blacklight
17
+ module Document
18
+ module Bibtex
19
+ def self.extended(document)
20
+ Blacklight::Document::Bibtex.register_export_formats(document)
21
+ end
22
+
23
+ def self.register_export_formats(document)
24
+ document.will_export_as(:bibtex, 'application/x-bibtex')
25
+ end
26
+
27
+ def export_as_bibtex
28
+ config = ::CatalogController.blacklight_config.citeproc
29
+
30
+ entry = ::BibTeX::Entry.new
31
+ entry.type = :book
32
+ entry.key = id
33
+ entry.title = first config[:fields][:title]
34
+ multiple_valued_fields = %i[author editor]
35
+ multiple_valued_fields.each do |field|
36
+ entry.send("#{field}=", fetch(config[:fields][field])) if has? config[:fields][field]
37
+ end
38
+
39
+ single_valued_fields = %i[address annote booktitle chapter doi edition how_published institution
40
+ journal key month note number organization pages publisher school series url volume year]
41
+ single_valued_fields.each do |field|
42
+ entry.send("#{field}=", first(config[:fields][field])) if has? config[:fields][field]
43
+ end
44
+
45
+ entry
46
+ end
47
+
48
+ private
49
+
50
+ def bibtex_type(config)
51
+ config[:format][:mappings].each do |bibtex, solr|
52
+ return bibtex if solr.include? first config[:format][:field]
53
+ end
54
+ config[:format][:default_format] || :book
55
+ end
51
56
  end
52
- default_type = config[:format][:default_format] || :book
53
- default_type
54
57
  end
55
58
  end
@@ -1,33 +1,33 @@
1
- $:.push File.expand_path("lib", __dir__)
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
2
4
 
3
5
  # Maintain your gem's version:
4
- require "blacklight/citeproc/version"
6
+ require 'blacklight/citeproc/version'
5
7
 
6
8
  # Describe your gem and declare its dependencies:
7
9
  Gem::Specification.new do |spec|
8
- spec.name = "blacklight-citeproc"
10
+ spec.name = 'blacklight-citeproc'
9
11
  spec.version = Blacklight::Citeproc::VERSION
10
- spec.authors = ["Jane Sandberg"]
11
- spec.email = ["sandbej@linnbenton.edu"]
12
- spec.homepage = "https://github.com/sandbergja/blacklight-citeproc"
13
- spec.summary = ""
14
- spec.description = ""
15
- spec.license = "Apache-2.0"
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
12
+ spec.authors = ['Jane Sandberg']
13
+ spec.email = ['sandbergja@gmail.com']
14
+ spec.homepage = 'https://github.com/sandbergja/blacklight-citeproc'
15
+ spec.summary = 'Generate and display citeproc citations in a Blacklight app'
16
+ spec.description = 'Swap in really accurate citations using a wide variety of citation styles to your Blacklight app'
17
+ spec.license = 'MIT'
18
+ spec.required_ruby_version = '>= 2.7'
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
21
  f.match(%r{^(test|spec|features)/})
19
22
  end
20
23
  spec.bindir = 'exe'
21
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
25
  spec.require_paths = ['lib']
23
26
 
24
- spec.add_dependency "bibtex-ruby", ">= 4.4.6"
25
- spec.add_dependency "citeproc-ruby", "~> 1.1"
26
- spec.add_dependency "csl-styles", "~> 1.0.1.9"
27
-
28
- spec.add_development_dependency "rspec-rails", "~> 3.0"
29
- spec.add_development_dependency "engine_cart", "~> 2.0"
30
- spec.add_development_dependency "solr_wrapper"
27
+ spec.add_dependency 'bibtex-ruby', '>= 4.4.6', '< 7'
28
+ spec.add_dependency 'citeproc-ruby', '~> 1.1'
29
+ spec.add_dependency 'csl-styles', '~> 1.0'
31
30
 
31
+ spec.add_development_dependency 'rspec-rails', '~> 3.0'
32
+ spec.add_development_dependency 'rubocop', '~> 1.29'
32
33
  end
33
-
data/config/routes.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Blacklight::Citeproc::Engine.routes.draw do
2
4
  get '/catalog/:id/citation' => 'blacklight/citeproc/citation#print_single'
3
5
  get '/bookmarks/citation' => 'blacklight/citeproc/citation#print_bookmarks'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Blacklight
4
4
  module Citeproc
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
@@ -2,18 +2,19 @@
2
2
 
3
3
  require 'rails/generators'
4
4
 
5
- module Blacklight::Citeproc
6
- class Install < Rails::Generators::Base
7
- source_root File.expand_path('templates', __dir__)
8
- def inject_routes
9
- inject_into_file 'config/routes.rb', after: /mount Blacklight::Engine.*$/ do
10
- "\n mount Blacklight::Citeproc::Engine => '/'\n"
5
+ module Blacklight
6
+ module Citeproc
7
+ class Install < Rails::Generators::Base
8
+ source_root File.expand_path('templates', __dir__)
9
+ def inject_routes
10
+ inject_into_file 'config/routes.rb', after: /mount Blacklight::Engine.*$/ do
11
+ "\n mount Blacklight::Citeproc::Engine => '/'\n"
12
+ end
11
13
  end
12
- end
13
14
 
14
- def add_blacklight_citeproc_config
15
- insert_into_file 'app/controllers/catalog_controller.rb', after: " configure_blacklight do |config|\n" do
16
- <<-CONFIG
15
+ def add_blacklight_citeproc_config
16
+ insert_into_file 'app/controllers/catalog_controller.rb', after: " configure_blacklight do |config|\n" do
17
+ <<-CONFIG
17
18
  config.citeproc = {
18
19
  #bibtex_field: 'bibtex_s' # Optional. If you are already indexing BibTeX into solr, this will be the preferred way to get bibliographic data
19
20
  fields: {
@@ -35,13 +36,14 @@ module Blacklight::Citeproc
35
36
  }
36
37
  }
37
38
  }
38
- CONFIG
39
+ CONFIG
40
+ end
39
41
  end
40
- end
41
42
 
42
- def add_marc_extension_to_solrdocument
43
- insert_into_file 'app/models/solr_document.rb', after: 'include Blacklight::Solr::Document' do
44
- "\n use_extension(Blacklight::Document::Bibtex)\n"
43
+ def add_marc_extension_to_solrdocument
44
+ insert_into_file 'app/models/solr_document.rb', after: 'include Blacklight::Solr::Document' do
45
+ "\n use_extension(Blacklight::Document::Bibtex)\n"
46
+ end
45
47
  end
46
48
  end
47
49
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-citeproc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane Sandberg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2022-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.4.6
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 4.4.6
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: citeproc-ruby
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +50,14 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 1.0.1.9
53
+ version: '1.0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 1.0.1.9
60
+ version: '1.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec-rails
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -67,41 +73,29 @@ dependencies:
67
73
  - !ruby/object:Gem::Version
68
74
  version: '3.0'
69
75
  - !ruby/object:Gem::Dependency
70
- name: engine_cart
76
+ name: rubocop
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '2.0'
81
+ version: '1.29'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '2.0'
83
- - !ruby/object:Gem::Dependency
84
- name: solr_wrapper
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- description: ''
88
+ version: '1.29'
89
+ description: Swap in really accurate citations using a wide variety of citation styles
90
+ to your Blacklight app
98
91
  email:
99
- - sandbej@linnbenton.edu
92
+ - sandbergja@gmail.com
100
93
  executables: []
101
94
  extensions: []
102
95
  extra_rdoc_files: []
103
96
  files:
104
97
  - ".env"
98
+ - ".github/workflows/test.yml"
105
99
  - ".internal_test_app/solr/conf/_rest_managed.json"
106
100
  - ".internal_test_app/solr/conf/admin-extra.html"
107
101
  - ".internal_test_app/solr/conf/currency.xml"
@@ -179,8 +173,13 @@ files:
179
173
  - ".internal_test_app/solr/conf/xslt/example_atom.xsl"
180
174
  - ".internal_test_app/solr/conf/xslt/example_rss.xsl"
181
175
  - ".internal_test_app/solr/conf/xslt/luke.xsl"
176
+ - ".rubocop.yml"
177
+ - ".rubocop_todo.yml"
182
178
  - Dockerfile
179
+ - Gemfile
180
+ - LICENSE.md
183
181
  - README.md
182
+ - Rakefile
184
183
  - app/controllers/blacklight/citeproc/citation_controller.rb
185
184
  - app/models/concerns/blacklight/document/bibtex.rb
186
185
  - app/views/blacklight/citeproc/citation/print_single.html.erb
@@ -195,7 +194,7 @@ files:
195
194
  - lib/generators/blacklight/citeproc/install_generator.rb
196
195
  homepage: https://github.com/sandbergja/blacklight-citeproc
197
196
  licenses:
198
- - Apache-2.0
197
+ - MIT
199
198
  metadata: {}
200
199
  post_install_message:
201
200
  rdoc_options: []
@@ -205,16 +204,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
204
  requirements:
206
205
  - - ">="
207
206
  - !ruby/object:Gem::Version
208
- version: '0'
207
+ version: '2.7'
209
208
  required_rubygems_version: !ruby/object:Gem::Requirement
210
209
  requirements:
211
210
  - - ">="
212
211
  - !ruby/object:Gem::Version
213
212
  version: '0'
214
213
  requirements: []
215
- rubyforge_project:
216
- rubygems_version: 2.6.13
214
+ rubygems_version: 3.3.12
217
215
  signing_key:
218
216
  specification_version: 4
219
- summary: ''
217
+ summary: Generate and display citeproc citations in a Blacklight app
220
218
  test_files: []