activeadmin_assets 1.0.1 → 1.0.2

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
2
  SHA256:
3
- metadata.gz: 0d923dc66ce84a31f0b8d63fa80bfecca10bf0ea68b16b47aff3b986ab891a94
4
- data.tar.gz: 78d631e9c607b7abd459baf10ec67365952bf4ccf06337511cc84974b064b02a
3
+ metadata.gz: a4e49048e3874322418919af21daaf6a53baa64ef650df29dcfc9d66d873d3af
4
+ data.tar.gz: 579a0e37a947478697775d3560d2c32713370c54a08faa448ffb064a632e0ea3
5
5
  SHA512:
6
- metadata.gz: 6d682e3a5ea3144dbc32845fb97b990168e8dbccb20b16a564825f90bfccad04e6a208ccd2fc9650de3570aae417f4374205ce113779d21ac5cd4faf96405f54
7
- data.tar.gz: 82a8bd5f4b4ff16ffb1aeafc33479a3e628e17d9f0bb81a27864f8fe7632cb7ce10d2830ecef4c69242b1073bb84dad0280058268a58761e8544ff260bb14e58
6
+ metadata.gz: 4c09d0440b6dd013e38d79a84dd0cfac8229db7d00d80f2f8ae8b5c19ceae4b094fc2e2c01bb034c828a7040512c7863561e4aa6a347f8e59cdf6e335b01583d
7
+ data.tar.gz: b480d676088f6518d9718ac38a5ca0cfcba30d545c5e74411ba1ce811c48ee9c4fea60383fe7db451be0cea6babe1ac4432b9f3536d9a13f95c74a1c86acddb2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.2] - 2024-09-17
4
+
5
+ - Don't raise if inexistent asset is accessed, just log a warning
6
+
3
7
  ## [1.0.1] - 2024-07-14
4
8
 
5
9
  - Actually include assets in gem 😅
@@ -28,6 +28,9 @@ module ActiveAdminAssets
28
28
  'content-type' => path['.css'] ? 'text/css' : 'text/javascript',
29
29
  }
30
30
  [200, headers, [data]]
31
+ rescue Errno::ENOENT => e
32
+ Rails.logger.warn("ActiveAdminAssets::Middleware: #{e.class} #{e.message}")
33
+ nil
31
34
  end
32
35
  end
33
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveAdminAssets
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janosch Müller
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2024-07-14 00:00:00.000000000 Z
10
+ date: 2024-09-17 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activeadmin