molinillo 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/molinillo/dependency_graph/vertex.rb +1 -1
- data/lib/molinillo/gem_metadata.rb +1 -1
- data/lib/molinillo/resolution.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: '09d18c88997aae5457b1aa36368b2a3134bf539e3d2972f268c536e06b4ca17e'
|
4
|
+
data.tar.gz: 60a6c4950f21c00f7bc4e88499cacbb94374c7eea9e07c2cf52c012a4ba4e164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab70f2f47d6d2d89b4fdac53f61148135b3ff610997aa139e84110a5967d7838ac6b08ed4a9c3fe584aab6374a6451a857335239a509353c05de95525254fc5
|
7
|
+
data.tar.gz: b3212b2b8dd7859fa2ef0a52751b4c5bd18a7c911dcaf0aa3695988bca193a8c7a11b4f80cf8c8ef2b427e3f4b70d88a83703f575ba1e5ef8df6b89313531085
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Molinillo Changelog
|
2
2
|
|
3
|
+
## 0.6.4 (2017-10-29)
|
4
|
+
|
5
|
+
##### Enhancements
|
6
|
+
|
7
|
+
* Reduce memory usage during resolution by making the `Vertex#requirements`
|
8
|
+
array unique.
|
9
|
+
[Grey Baker](https://github.com/greysteil)
|
10
|
+
[Jan Krutisch](https://github.com/halfbyte)
|
11
|
+
|
12
|
+
##### Bug Fixes
|
13
|
+
|
14
|
+
* None.
|
15
|
+
|
16
|
+
|
3
17
|
## 0.6.3 (2017-09-06)
|
4
18
|
|
5
19
|
##### Enhancements
|
@@ -33,7 +33,7 @@ module Molinillo
|
|
33
33
|
# @return [Array<Object>] all of the requirements that required
|
34
34
|
# this vertex
|
35
35
|
def requirements
|
36
|
-
incoming_edges.map(&:requirement) + explicit_requirements
|
36
|
+
(incoming_edges.map(&:requirement) + explicit_requirements).uniq
|
37
37
|
end
|
38
38
|
|
39
39
|
# @return [Array<Edge>] the edges of {#graph} that have `self` as their
|
data/lib/molinillo/resolution.rb
CHANGED
@@ -218,7 +218,7 @@ module Molinillo
|
|
218
218
|
next unless vertex.payload
|
219
219
|
|
220
220
|
latest_version = vertex.payload.possibilities.reverse_each.find do |possibility|
|
221
|
-
vertex.requirements.
|
221
|
+
vertex.requirements.all? { |req| requirement_satisfied_by?(req, activated, possibility) }
|
222
222
|
end
|
223
223
|
|
224
224
|
activated.set_payload(vertex.name, latest_version)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: molinillo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel E. Giddins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|