asset_mapper 1.0.0 → 1.0.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: 70001032fe042a996e8cd5be6001be5c578328b9284b299e86d6ba1514e1a068
4
- data.tar.gz: d81ac7eb6cdb92334b11e8033304d1404919ce7c460e4d27e2c05c460dc3f439
3
+ metadata.gz: 730b7076024e876c31c07cdbac743ea136c115deb7a2edc5a5d5247d70ccdae2
4
+ data.tar.gz: b5156a37b318d19209fc9639da1f4766e7c5e8a38e2d3c3b6113015f16a83c4b
5
5
  SHA512:
6
- metadata.gz: 79c421afd329f21c8eb68636fd4379eee07d0c80b162308dca9171b3cb53de135909937d1278758ff4eee94178408b924814667ccedd17cab9429a55cf8aaa49
7
- data.tar.gz: 8cd97df7a9501aa77a12c29e9f01037e198550416d6b0416d04bbccb6176182f105a9aece09f98566d0e5f2b56a89934e5da36c9b849f85bf43b860d13afc572
6
+ metadata.gz: f42f7c0cb4775a05eed16a1e9bc981aebc47d4a9d546eaed00e5fcf2a764dd0a5d848cad75215635911046222af232e3cc4f312292b69ac315fc1a0b443ec469
7
+ data.tar.gz: d65c94e89f5d649c63b35539919a90ddf7822510ba240975953530b7beab2db68d52f5f4ac63b8281c428fbc570ee700a1bc5d798fa949d1374fcc7f48f294be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## 1.0.1
4
+
5
+ - Fix a bug with nil files
6
+
3
7
  ## [0.1.0] - 2021-11-16
4
8
 
5
9
  - Initial release
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- asset_mapper (1.0.0)
4
+ asset_mapper (1.0.1)
5
5
  dry-configurable (~> 1.0)
6
6
  dry-files (~> 1.0)
7
7
  dry-initializer (~> 3.0)
@@ -13,7 +13,7 @@ GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
15
  ast (2.4.2)
16
- concurrent-ruby (1.1.10)
16
+ concurrent-ruby (1.2.2)
17
17
  dry-configurable (1.0.1)
18
18
  dry-core (~> 1.0, < 2)
19
19
  zeitwerk (~> 2.6)
@@ -27,11 +27,11 @@ GEM
27
27
  concurrent-ruby (~> 1.0)
28
28
  dry-core (~> 1.0, < 2)
29
29
  zeitwerk (~> 2.6)
30
- dry-types (1.7.0)
30
+ dry-types (1.7.1)
31
31
  concurrent-ruby (~> 1.0)
32
- dry-core (~> 1.0, < 2)
33
- dry-inflector (~> 1.0, < 2)
34
- dry-logic (>= 1.4, < 2)
32
+ dry-core (~> 1.0)
33
+ dry-inflector (~> 1.0)
34
+ dry-logic (~> 1.4)
35
35
  zeitwerk (~> 2.6)
36
36
  json (2.6.3)
37
37
  language_server-protocol (3.17.0.2)
@@ -64,10 +64,11 @@ GEM
64
64
  rubocop (= 1.39.0)
65
65
  rubocop-performance (= 1.15.1)
66
66
  unicode-display_width (2.3.0)
67
- zeitwerk (2.6.6)
67
+ zeitwerk (2.6.11)
68
68
 
69
69
  PLATFORMS
70
70
  arm64-darwin-21
71
+ arm64-darwin-22
71
72
  x86_64-darwin-20
72
73
  x86_64-linux
73
74
 
@@ -23,10 +23,10 @@ module AssetMapper
23
23
 
24
24
  # Fall back to the default filename, perhaps it exists....
25
25
  file = file_name
26
+ else
27
+ file = file["asset_path"]
26
28
  end
27
29
 
28
- file = file["asset_path"]
29
-
30
30
  return with_asset_host(asset_host: config.asset_host, file: file) if prepend_asset_host
31
31
 
32
32
  file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AssetMapper
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - KonnorRogers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-29 00:00:00.000000000 Z
11
+ date: 2023-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake