murakumo 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Murakumo
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
 
4
4
  # Priority
5
5
  MASTER = 1
@@ -22,7 +22,6 @@ module Murakumo
22
22
  # リソースレコードからホストのアドレスとデータを取り出す
23
23
  host_data = options[:host]
24
24
  @address = host_data.shift
25
- @hostname = host_data.first
26
25
  host_data.concat [ORIGIN, ACTIVE]
27
26
  alias_datas = options[:aliases].map {|r| r + [ACTIVE] }
28
27
  @logger = options[:logger]
@@ -37,6 +36,7 @@ module Murakumo
37
36
  # データベースを作成してレコードを更新
38
37
  create_database
39
38
  update(@address, datas)
39
+ @hostname = host_data.first
40
40
 
41
41
  # ゴシップオブジェクトを生成
42
42
  @gossip = RGossip2.client({
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: murakumo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - winebarrel