apt-dists-merge 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/lib/apt-dists-merge/merger.rb +4 -1
- data/lib/apt-dists-merge/version.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: 5d0fe0b3d75a9cc19fced68592834431b4e2f1d11232c94def0acec600d2e2e7
|
4
|
+
data.tar.gz: 19229a88d498b813ecb684b945a44031b6a4e4fe1ec185d819787ebe4f208e28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49fdbd8efd478375437caaabf1ce0d59d8b3ad3cabdccd3fe8cc917b28c1bc8129dc6ecd561bc2113e753a5b603a3745dbd49402b29da0673fa514a97ade218f
|
7
|
+
data.tar.gz: 5e10e1002db1bb427020eae03be0b042bfe6a33377b4f0616c5cf0d1a07660dec69682ca894afaa3c8507df4c8a65aee5b3de033b66317ea66b2a1d76a3adc65
|
data/NEWS.md
CHANGED
@@ -196,7 +196,10 @@ module APTDistsMerge
|
|
196
196
|
end
|
197
197
|
|
198
198
|
def merge_packages_data(base, incoming)
|
199
|
-
(base + incoming).
|
199
|
+
packages = (base + incoming).uniq do |metadata,|
|
200
|
+
[metadata["Package"], metadata["Version"]]
|
201
|
+
end
|
202
|
+
packages.sort do |a, b|
|
200
203
|
a_metadata = a[0]
|
201
204
|
b_metadata = b[0]
|
202
205
|
a_package = a_metadata["Package"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apt-dists-merge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutou Kouhei
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Generally, you should use more general APT repository management tool
|
14
14
|
such as [aptly](https://www.aptly.info/) and [reprepro](https://salsa.debian.org/brlink/reprepro).
|