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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3cb3ad3505e3888c12a5684f094f2a5f051299ca3ebd3cda5440459a0183055
4
- data.tar.gz: 7de94dbbc14ba099dca995ebe03186b1e3ce9c2cf05fa99059dbce9dd61e36e4
3
+ metadata.gz: '093b3b132f0eb539351f2e441b6542063c34966c57be970863f131a18881da08'
4
+ data.tar.gz: dd4bcb552fb6679e622649ea990d07a56651d9b854e8c85f7257bdf58d919a7b
5
5
  SHA512:
6
- metadata.gz: f1c2090cc19f6c64457514550456b888c87ec49c89a053d5bff3c3d1c761e493e6c28e772f4be5c3b3686aaeccf4b3e9cc000d416fdaffe1ccc4377b74ac6729
7
- data.tar.gz: e873dd15a63c99184ecf743de842325a6fadcfc21b0660172700d8c0565fa5550a852bd332eabc45cd9b1e2c84b1ba47d97c9e81953cea94ac3947046f04a51d
6
+ metadata.gz: 05ce8120a614e150d79f849f993c407d68d167e3fd501a219298f2d3c53478a07504f9a6b9edc8f04c09b121482aba36ef7886c03b44e12b54fde41535b46d9b
7
+ data.tar.gz: 2fddc269856cc17c2fea0e4b3d95fed81d74e035feefb155682bd236d61866060763f9762c8f949695c4d1f030b0d8b7056bfd5638c1bb1f90ea93d4ea1a33f2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.2.0
2
+
3
+ - Add image_pack_url, favicon_pack_tag to helpers #67
4
+
1
5
  ## v1.1.2
2
6
 
3
7
  - Set output option to manifest.json in webpack.config.js
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Simpacker
2
- VERSION = "1.1.2"
2
+ VERSION = "1.2.0"
3
3
  end
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.1.2
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-01-20 00:00:00.000000000 Z
11
+ date: 2021-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties