buschtelefon 0.4.2 → 0.5.0

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: 2e03358301b1294c8996dfc52ab4aefab0424f8983c98861cd144b9a5eb98d29
4
- data.tar.gz: cfceae44dd0b5119d5de8306f112a45b1991842c4c1e7309e390303b34282269
3
+ metadata.gz: 4bc09f5817fa1695d7777138a529d6202bf87710f6ece71ff1eaa8c7ca935ec8
4
+ data.tar.gz: 45f653f308daba6197c5c5f593c7b3fa472bcc3d5fd343cf9c0d0f5c27c72353
5
5
  SHA512:
6
- metadata.gz: 6e24587a19187c7e96e7bd366aaafe0aa60ae3822d88ae6702a76ac5fa213f816a81edd3c438cf7d7e297895aea884ab664c8ce7ae63afbad14e26fb71c4e190
7
- data.tar.gz: a85368b8276d75c5740ea720128e393684db3b2ca1699dc8858e2a6cecaaf8f8037aa3653384761efcc751e9b2e01f6a58892e66a02813b1aa61a33b84b09ed5
6
+ metadata.gz: e5918d0b68c7092f155f723999a6bf85398a9b1af976ee8dff92fbdb2487cab1a0cd9983c81059ee3e93f9fc8e133a4454a92264d46ddb6682c8a70cd9d15872
7
+ data.tar.gz: 846b46d00640ee067f9cc0296b1db7062db95da373e03199e3d15531fda926b95c45e3b69e9a772a7ce5e2853887d0d00147f62409b9b8675442e72de54e50b0
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.0
4
+
5
+ * `Brain` now can batch load gossips to circumvent expensive reorganizations
6
+
7
+ ## 0.4.2
8
+
9
+ * Fix gemspec link to Github
10
+
3
11
  ## 0.4.1
4
12
 
5
13
  * `NetTattler` can now be configured with a host it should bind to.
@@ -12,6 +12,11 @@ module Buschtelefon
12
12
  reorganize
13
13
  end
14
14
 
15
+ def load_batch(gossips)
16
+ @gossip_sink += gossips
17
+ reorganize
18
+ end
19
+
15
20
  def contains?(gossip)
16
21
  @gossip_sink.include?(gossip)
17
22
  end
@@ -1,3 +1,3 @@
1
1
  module Buschtelefon
2
- VERSION = "0.4.2"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buschtelefon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josua Schmid
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-29 00:00:00.000000000 Z
11
+ date: 2019-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler