geoblacklight_admin 0.3.0 → 0.3.1
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/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: d481871da3c4f82143de532f4df640d9beb80dd3ed82f4c6bde271eb8b1ff392
|
4
|
+
data.tar.gz: eefd4402d4b850aa8e359fe092431171d543943a9a33ec0484b43525a0cf74f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0472f22c4d1018519ad27523bfb805d65fe24762ef962495f3dffcb4556933fd7f4a06f8cd2aa6a21c67f4463cbfe357ee28884703113d08f8dde0c13d1ae539
|
7
|
+
data.tar.gz: 4ed5042da0ecb189d7d396ebe841393809171ea793a5610ae5936981a7ff34bd307493241d933d18cdf244202a212f44828616fad8715aede46b12ba8a708a2b
|
data/app/jobs/export_job.rb
CHANGED
data/app/jobs/export_json_job.rb
CHANGED
data/app/jobs/import_run_job.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.1
|
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-18 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
|