pdfjs_viewer 0.1.0 → 0.1.1

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: ab5da8dcd03e46e999a0c9d296f61a5aa87fc1dcf3bc63bb9246156c5a463a7b
4
- data.tar.gz: 5acb8ee010ae22c20150f13db99a2f62e95027d7530b23aaf6e046484ef0fe5d
3
+ metadata.gz: 303c59e21fb3f5296cee201dd908249346330da8e7f0c5d0dae6dafaeaec9623
4
+ data.tar.gz: 384a29bfc0275723054a18a083c1af8f43fe887a043a7237fd900b03dcc537b2
5
5
  SHA512:
6
- metadata.gz: 7a1c866de4b20ca5bdd3b2dea6e41554fd73d6ac30f79f8bc6dd0658b9f37b5abb980b6ec806960f435175dd138e84161f929047831ea0a9d5b5d9478c6cfa03
7
- data.tar.gz: f2728c3191c41433159fe5fe27d51a99fc367281cc6799d92e8c6b8074c7275822b23f6f8edd8a93705c8661b38711f9162e798c666880c29f039348f203f593
6
+ metadata.gz: ba3884a9408dd07ad8b67ea7cd656a625994b91cbf62b88b6d1e8ecc5c059a74d97bc747d572b9ff7a6fbf05f31a32ca9be49373c184143ad37fc995e1bb26f6
7
+ data.tar.gz: 525b99604b13604181d6254bfea05ba61efa23e7185a2e18d534d8df018690eba4668ce2bea46af3cafde2ebf6d61cda671852820d7f30ac0c22acee7a54eaaf
@@ -28,17 +28,14 @@ See https://github.com/adobe-type-tools/cmap-resources
28
28
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
29
29
  <meta name="google" content="notranslate">
30
30
  <title>PDF.js viewer</title>
31
-
32
- <!-- This snippet is used in production (included from viewer.html) -->
33
- <link rel="resource" type="application/l10n" href="locale/locale.json">
34
- <script src="../build/pdf.mjs" type="module"></script>
35
-
36
- <link rel="stylesheet" href="/web/viewer.css">
31
+ <!-- This snippet is used in production (included from viewer.html) -->
32
+ <link rel="resource" type="application/l10n" href="locale/locale.json" nonce="<%= content_security_policy_nonce %>">
33
+ <script src="../build/pdf.mjs" type="module" nonce="<%= content_security_policy_nonce %>"></script>
34
+ <link rel="stylesheet" href="/web/viewer.css" nonce="<%= content_security_policy_nonce %>">
37
35
  <% if stylesheet_path.present? %>
38
- <link rel="stylesheet" href="<%= stylesheet_path %>">
36
+ <link rel="stylesheet" href="<%= stylesheet_path %>" nonce="<%= content_security_policy_nonce %>">
39
37
  <% end %>
40
-
41
- <script src="/web/viewer.mjs" type="module"></script>
38
+ <script src="/web/viewer.mjs" type="module" nonce="<%= content_security_policy_nonce %>"></script>
42
39
  </head>
43
40
 
44
41
  <body tabindex="0">
@@ -3,5 +3,5 @@
3
3
  # Copyright (c) 2014 - 2025 Salus. All rights reserved.
4
4
 
5
5
  module PdfjsViewer
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfjs_viewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toliver
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-08 00:00:00.000000000 Z
11
+ date: 2025-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler