minipack 0.3.5 → 0.3.6

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: 2593e6271b33d7906571f5cba7293cb33edf060b7c5a971ce3540dd3197160b4
4
- data.tar.gz: ce47ddda6fab17f73a1366ce142717181755b8a8d0cfb3b081389eefe5b0d333
3
+ metadata.gz: be2ebfb0d6964abdaa84f7f95b525d69dfdc1a2c2229f5acb1f9d50951042358
4
+ data.tar.gz: f847d5b248c873b7d0897f46734a1ca6b2191fec5ed139b876a32fb012d6b111
5
5
  SHA512:
6
- metadata.gz: d737b396ff3d9ab05cd0134210ca4c1a27ab4824a7bae100d04ed8fdf0301b2441d4a673664107d96de0216c17bc728d231e89a3ece73c9591868d428f51dafc
7
- data.tar.gz: bbfc5c7e17f3a46da117ba0926f2ce5a8e37100e391ce21cae4fa64394ac7ec274698929d8fcfd26699621b9c0d127c718b707d0748fdfd66b66b7a02f8c0580
6
+ metadata.gz: 28f87f19304affa8867ddb3a45afe4f8a273ab4156208ef87de626a2de23d671232d5ddf011149a5296bf52191a3e8dfe686dc4e337884623d9087cba0dfc323
7
+ data.tar.gz: f8a35530ba477d50ee25dde27761848447cada20f053730215af543291408519ff1420800c6081db039f9513ff9440505ad9ad7c96607c9b760a1c2017ee8f2f
@@ -1,3 +1,9 @@
1
+ # 0.3.6 / 2020-08-21
2
+
3
+ ## Bug fixes
4
+
5
+ * Fix duplicated shared chunks issue (#38) by @thiagobrandam
6
+
1
7
  # 0.3.5 / 2020-03-21
2
8
 
3
9
  ## Bug fixes
@@ -105,7 +105,7 @@ module Minipack::Helper
105
105
 
106
106
  def sources_from_manifest_entrypoints(names, type, key: nil)
107
107
  manifest = get_manifest_by_key(key)
108
- names.map { |name| manifest.lookup_pack_with_chunks!(name, type: type).entries }.flatten.uniq
108
+ names.map { |name| manifest.lookup_pack_with_chunks!(name, type: type).entries }.flatten.uniq(&:path)
109
109
  end
110
110
 
111
111
  def get_manifest_by_key(key = nil)
@@ -17,7 +17,7 @@ module Minipack
17
17
 
18
18
  # @private
19
19
  def add(key, path, **options)
20
- manifest = Minipack::Manifest.new(path, options)
20
+ manifest = Minipack::Manifest.new(path, **options)
21
21
  # Mark a first one as a default
22
22
  @default = manifest if @manifests.empty?
23
23
  @manifests[key.to_sym] = manifest
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Minipack
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.6"
5
5
  end
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'actionview'
28
28
  spec.add_dependency "railties", ">= 4.2"
29
29
  spec.add_development_dependency "bundler", "~> 2.0"
30
- spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rake", ">= 12.3.3"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
  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.5
4
+ version: 0.3.6
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-03-21 00:00:00.000000000 Z
11
+ date: 2020-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: 12.3.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: 12.3.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement