rsmp 0.4.5 → 0.4.6

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: 3bc44d46482f9db419fd057094d14b4291231c572ca67722739e555d71524694
4
- data.tar.gz: 8363b9dc14cbd3b342f727a1343e16dac721faaa160e52f1d103f98dc3220e3c
3
+ metadata.gz: c975252bdf622f3e6bd545e2eca8f4fcf2c9c5a5f04acf159cd162882bf4f491
4
+ data.tar.gz: ec26cc377c14611389a8f0c9b82cf2137a76523cca3ce445513bc7e2ea5466d6
5
5
  SHA512:
6
- metadata.gz: d37d3d4b13f1f896287abaaa6a3deda07bae2e0e2fc6b612413ccf2937cd56531f42045b98f1ebe9ae64e7ce4bae6e13adec07bb3c767e967fd8bb0ddf069890
7
- data.tar.gz: e9806ea30d7747b421844264ad3ab0af79b98a2accc48299372a924a1adee001b6d4dc6f662e714e217d6c29b9aced77a4e0ddfdc7e3a111a7b38a2e2753ca7a
6
+ metadata.gz: 243e70433cafb8573fc9e4ffcd6a55ece6d369df6201041e6481f88810ffdf907830197854330a28c91cfc2075b767cf379590bd7f80214189a94d4a0b3c03e9
7
+ data.tar.gz: ac86a77b8685491c0f08fb14bd4e15552eabf73d177b7f5415b809628bab2684a71e4df3aad451fc2822c808b44d036d4c4910998b369cb373f0a4b8b2294ece
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp (0.4.5)
4
+ rsmp (0.4.6)
5
5
  async (~> 1.29.1)
6
6
  async-io (~> 1.32.1)
7
7
  colorize (~> 0.8.1)
data/lib/rsmp/proxy.rb CHANGED
@@ -266,7 +266,7 @@ module RSMP
266
266
  # TODO
267
267
  # what schema should we use to validate the intial Version and MessageAck messages?
268
268
  schemas = { core: '3.1.5' }
269
- schemas[sxl] = RSMP::Schemer.sanitize_version(sxl_version) if sxl
269
+ schemas[sxl] = RSMP::Schemer.sanitize_version(sxl_version) if sxl && sxl_version
270
270
  schemas
271
271
  end
272
272
 
@@ -7,7 +7,7 @@ module RSMP
7
7
  attr_reader :rsmp_versions, :site_id, :supervisor_settings, :proxies, :logger
8
8
 
9
9
  def initialize options={}
10
- handle_supervisor_settings options[:supervisor_settings]
10
+ handle_supervisor_settings( options[:supervisor_settings] || {} )
11
11
  super options
12
12
  @proxies = []
13
13
  @site_id_condition = Async::Notification.new
@@ -17,7 +17,7 @@ module RSMP
17
17
  @supervisor_settings['site_id']
18
18
  end
19
19
 
20
- def handle_supervisor_settings supervisor_settings={}
20
+ def handle_supervisor_settings supervisor_settings
21
21
  defaults = {
22
22
  'port' => 12111,
23
23
  'ips' => 'all',
data/lib/rsmp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin