minipack 0.3.4 → 0.3.5

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: d47e53dced7bb9112a2b25cc87e72afc8b46d6f8e0094e3e45ebad30658025b3
4
- data.tar.gz: 501f45243494b6eb9d0923d77f5556176b37b9b285c22222d734a46aba14b6c9
3
+ metadata.gz: 2593e6271b33d7906571f5cba7293cb33edf060b7c5a971ce3540dd3197160b4
4
+ data.tar.gz: ce47ddda6fab17f73a1366ce142717181755b8a8d0cfb3b081389eefe5b0d333
5
5
  SHA512:
6
- metadata.gz: 8657e7b6dc81587b777a8308bf92df6167ba941b778b2549dc52b4e013ea28aeb414a97142597aaf88d7999f3868cf502e123dd7b9fe086020c249e831615883
7
- data.tar.gz: 15c4be737e9477a05ae44bcb3873761ccea785159930f2c07ac9604d0d86c5670fd4f4b6ea78279de381776f10dea7d662d2690222faa59baa1b8e2546d8526f
6
+ metadata.gz: d737b396ff3d9ab05cd0134210ca4c1a27ab4824a7bae100d04ed8fdf0301b2441d4a673664107d96de0216c17bc728d231e89a3ece73c9591868d428f51dafc
7
+ data.tar.gz: bbfc5c7e17f3a46da117ba0926f2ce5a8e37100e391ce21cae4fa64394ac7ec274698929d8fcfd26699621b9c0d127c718b707d0748fdfd66b66b7a02f8c0580
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.3.5 / 2020-03-21
2
+
3
+ ## Bug fixes
4
+
5
+ * change name of method to fix conflict with ransack (#32) by @sadgb
6
+
1
7
  # 0.3.4 / 2020-01-26
2
8
 
3
9
  ## Bug fixes
@@ -21,7 +21,7 @@ module Minipack::Helper
21
21
  # <script src="/assets/web/pack/orders/app-1016838bab065ae1e314.js"></script>
22
22
  def javascript_bundle_tag(*names, manifest: nil, **options)
23
23
  entries_from_manifest(names, 'js', key: manifest).map { |entry|
24
- javascript_include_tag(entry.path, **options_for(entry, options))
24
+ javascript_include_tag(entry.path, **minipack_options_for(entry, options))
25
25
  }.join("\n").html_safe
26
26
  end
27
27
 
@@ -42,7 +42,7 @@ module Minipack::Helper
42
42
  # <%= javascript_bundles_with_chunks_tag 'map' %>
43
43
  def javascript_bundles_with_chunks_tag(*names, manifest: nil, **options)
44
44
  sources_from_manifest_entrypoints(names, 'js', key: manifest).map { |entry|
45
- javascript_include_tag(entry.path, **options_for(entry, options))
45
+ javascript_include_tag(entry.path, **minipack_options_for(entry, options))
46
46
  }.join("\n").html_safe
47
47
  end
48
48
 
@@ -58,7 +58,7 @@ module Minipack::Helper
58
58
  def stylesheet_bundle_tag(*names, manifest: nil, **options)
59
59
  if Minipack.configuration.extract_css?
60
60
  entries_from_manifest(names, 'css', key: manifest).map { |entry|
61
- stylesheet_link_tag(entry.path, **options_for(entry, options))
61
+ stylesheet_link_tag(entry.path, **minipack_options_for(entry, options))
62
62
  }.join("\n").html_safe
63
63
  end
64
64
  end
@@ -79,7 +79,7 @@ module Minipack::Helper
79
79
  def stylesheet_bundles_with_chunks_tag(*names, manifest: nil, **options)
80
80
  if Minipack.configuration.extract_css?
81
81
  sources_from_manifest_entrypoints(names, 'css', key: manifest).map { |entry|
82
- stylesheet_link_tag(entry.path, **options_for(entry, options))
82
+ stylesheet_link_tag(entry.path, **minipack_options_for(entry, options))
83
83
  }.join("\n").html_safe
84
84
  end
85
85
  end
@@ -115,7 +115,7 @@ module Minipack::Helper
115
115
 
116
116
  # @param [Minipack::Manifest::Entry] entry
117
117
  # @param [Hash] options
118
- def options_for(entry, options)
118
+ def minipack_options_for(entry, options)
119
119
  return options unless entry.integrity
120
120
  options.merge(integrity: entry.integrity)
121
121
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Minipack
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minipack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nobuhiro Nikushi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-26 00:00:00.000000000 Z
11
+ date: 2020-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview