geoblacklight_admin 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/bulk_action_revert_document_job.rb +1 -1
- data/app/jobs/bulk_action_revert_job.rb +1 -1
- data/app/jobs/bulk_action_run_document_job.rb +1 -1
- data/app/jobs/bulk_action_run_job.rb +1 -1
- data/app/jobs/export_job.rb +1 -1
- data/app/jobs/export_json_bulk_job.rb +1 -1
- data/app/jobs/export_json_job.rb +1 -1
- data/app/jobs/import_document_job.rb +1 -1
- data/app/jobs/import_run_job.rb +1 -1
- data/app/models/blacklight_api_ids.rb +2 -0
- data/app/models/document.rb +2 -1
- data/app/views/admin/documents/_result_selected_options.html.erb +1 -1
- data/lib/generators/geoblacklight_admin/config_generator.rb +13 -3
- data/lib/generators/geoblacklight_admin/templates/config/sidekiq.yml +7 -0
- data/lib/generators/geoblacklight_admin/templates/images/bookmark-regular.svg +1 -0
- data/lib/generators/geoblacklight_admin/templates/images/bookmark-solid.svg +1 -0
- data/lib/geoblacklight_admin/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8589ee3941b3bd4731accf0443452335f51b8f3f52a823e5c26306a089ccda0
|
4
|
+
data.tar.gz: 8bf6d3d0a966b7ab815f79a89822f27549827f0a63dc00c8beae73048e1f8b8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1208b0966517c76db7276b26c0c17e50a595c8a120fc14ae5fd7144d448e53b345feb9614db1e41076562644756e7487e75f1146d652b8753f9a156bb7ab5bb
|
7
|
+
data.tar.gz: 9cc8bc7a90157496e0d755f580ff1856317baaaa4bde49057388a97d5239aec1074523ecb3e8f40449381170245fcd9b70dd349d6751149077cda7483fe91d68
|
data/app/jobs/export_job.rb
CHANGED
data/app/jobs/export_json_job.rb
CHANGED
data/app/jobs/import_run_job.rb
CHANGED
data/app/models/document.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<span id="result-selected-options" class="hidden" data-scope="pageset" data-controller="results" data-resultset="<%= admin_documents_path( params.to_unsafe_h.merge({rows: '
|
1
|
+
<span id="result-selected-options" class="hidden" data-scope="pageset" data-controller="results" data-resultset="<%= admin_documents_path( params.to_unsafe_h.merge({rows: '1000'})) %>" data-pageset="/fetch?">
|
2
2
|
|
3
3
|
<%= form_with(model: BulkAction.new, html: { id: 'result-action-form', data: { type: "html", action: "submit->results#setPubState" }, style: 'display:inline'}, url: admin_bulk_actions_path) do |form| -%>
|
4
4
|
<%= form.hidden_field :request, value: "#{request.protocol}#{request.host}:#{request.port}" %>
|
@@ -9,9 +9,10 @@ module GeoblacklightAdmin
|
|
9
9
|
desc <<-DESCRIPTION
|
10
10
|
This generator makes the following changes to your application:
|
11
11
|
1. Copies GBL Admin initializer files to host config
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
2. Copies database.yml connection to host config
|
13
|
+
3. Copies sidekiq.yml connection to host config
|
14
|
+
4. Copies settings.yml to host config
|
15
|
+
5. Copies .env.development and .env.test to host
|
15
16
|
6. Copies JSON Schema to host
|
16
17
|
7. Copies solr/* to host
|
17
18
|
8. Sets Routes
|
@@ -38,6 +39,10 @@ module GeoblacklightAdmin
|
|
38
39
|
copy_file "config/database.yml", "config/database.yml", force: true
|
39
40
|
end
|
40
41
|
|
42
|
+
def create_sidekiq_yml
|
43
|
+
copy_file "config/sidekiq.yml", "config/sidekiq.yml", force: true
|
44
|
+
end
|
45
|
+
|
41
46
|
def create_dotenv
|
42
47
|
copy_file ".env.development.example", ".env.development"
|
43
48
|
copy_file ".env.development.example", ".env.test"
|
@@ -281,6 +286,11 @@ module GeoblacklightAdmin
|
|
281
286
|
directory "javascript", "app/javascript", force: true
|
282
287
|
end
|
283
288
|
|
289
|
+
def copy_app_images
|
290
|
+
copy_file "images/bookmark-regular.svg", "app/assets/images/bookmark-regular.svg"
|
291
|
+
copy_file "images/bookmark-solid.svg", "app/assets/images/bookmark-solid.svg"
|
292
|
+
end
|
293
|
+
|
284
294
|
def add_package_json
|
285
295
|
copy_file "package.json", "package.json", force: true
|
286
296
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="bookmark" class="svg-inline--fa fa-bookmark fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"></path></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bookmark" class="svg-inline--fa fa-bookmark fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"></path></svg>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoblacklight_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Larson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_storage_validations
|
@@ -1004,6 +1004,7 @@ files:
|
|
1004
1004
|
- lib/generators/geoblacklight_admin/templates/config/initializers/simple_form_bootstrap.rb
|
1005
1005
|
- lib/generators/geoblacklight_admin/templates/config/initializers/statesman.rb
|
1006
1006
|
- lib/generators/geoblacklight_admin/templates/config/settings.yml
|
1007
|
+
- lib/generators/geoblacklight_admin/templates/config/sidekiq.yml
|
1007
1008
|
- lib/generators/geoblacklight_admin/templates/devise/confirmations/new.html.erb
|
1008
1009
|
- lib/generators/geoblacklight_admin/templates/devise/invitations/edit.html.erb
|
1009
1010
|
- lib/generators/geoblacklight_admin/templates/devise/invitations/new.html.erb
|
@@ -1016,6 +1017,8 @@ files:
|
|
1016
1017
|
- lib/generators/geoblacklight_admin/templates/devise/sessions/new.html.erb
|
1017
1018
|
- lib/generators/geoblacklight_admin/templates/devise/shared/_links.html.erb
|
1018
1019
|
- lib/generators/geoblacklight_admin/templates/devise/unlocks/new.html.erb
|
1020
|
+
- lib/generators/geoblacklight_admin/templates/images/bookmark-regular.svg
|
1021
|
+
- lib/generators/geoblacklight_admin/templates/images/bookmark-solid.svg
|
1019
1022
|
- lib/generators/geoblacklight_admin/templates/javascript/channels/consumer.js
|
1020
1023
|
- lib/generators/geoblacklight_admin/templates/javascript/channels/export_channel.js
|
1021
1024
|
- lib/generators/geoblacklight_admin/templates/javascript/channels/index.js
|