simpacker 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/simpacker/helper.rb +8 -0
- data/lib/simpacker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '093b3b132f0eb539351f2e441b6542063c34966c57be970863f131a18881da08'
|
4
|
+
data.tar.gz: dd4bcb552fb6679e622649ea990d07a56651d9b854e8c85f7257bdf58d919a7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05ce8120a614e150d79f849f993c407d68d167e3fd501a219298f2d3c53478a07504f9a6b9edc8f04c09b121482aba36ef7886c03b44e12b54fde41535b46d9b
|
7
|
+
data.tar.gz: 2fddc269856cc17c2fea0e4b3d95fed81d74e035feefb155682bd236d61866060763f9762c8f949695c4d1f030b0d8b7056bfd5638c1bb1f90ea93d4ea1a33f2
|
data/CHANGELOG.md
CHANGED
data/lib/simpacker/helper.rb
CHANGED
@@ -26,6 +26,14 @@ module Simpacker
|
|
26
26
|
image_tag(asset_path(simpacker_context.manifest.lookup!(name)), **options)
|
27
27
|
end
|
28
28
|
|
29
|
+
def image_pack_url(name, **options)
|
30
|
+
asset_url(simpacker_context.manifest.lookup!(name), **options)
|
31
|
+
end
|
32
|
+
|
33
|
+
def favicon_pack_tag(name, **options)
|
34
|
+
favicon_link_tag(asset_path(simpacker_context.manifest.lookup!(name)), **options)
|
35
|
+
end
|
36
|
+
|
29
37
|
def simpacker_context
|
30
38
|
Simpacker.default_context
|
31
39
|
end
|
data/lib/simpacker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuhito Hokamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|