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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/minipack/helper.rb +1 -1
- data/lib/minipack/manifest_repository.rb +1 -1
- data/lib/minipack/version.rb +1 -1
- data/minipack.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be2ebfb0d6964abdaa84f7f95b525d69dfdc1a2c2229f5acb1f9d50951042358
|
4
|
+
data.tar.gz: f847d5b248c873b7d0897f46734a1ca6b2191fec5ed139b876a32fb012d6b111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28f87f19304affa8867ddb3a45afe4f8a273ab4156208ef87de626a2de23d671232d5ddf011149a5296bf52191a3e8dfe686dc4e337884623d9087cba0dfc323
|
7
|
+
data.tar.gz: f8a35530ba477d50ee25dde27761848447cada20f053730215af543291408519ff1420800c6081db039f9513ff9440505ad9ad7c96607c9b760a1c2017ee8f2f
|
data/CHANGELOG.md
CHANGED
data/lib/minipack/helper.rb
CHANGED
@@ -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
|
data/lib/minipack/version.rb
CHANGED
data/minipack.gemspec
CHANGED
@@ -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", "
|
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.
|
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-
|
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:
|
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:
|
68
|
+
version: 12.3.3
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|