dendrite 0.5.11 → 0.5.12
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 +4 -4
- data/lib/dendrite/service_node.rb +8 -8
- data/lib/dendrite/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ddae6a4d4c71ae150f9f23f24becc7bd43599f9e
|
|
4
|
+
data.tar.gz: 975a9be92036d4cc9462a5ff3d9c465ce498dfef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb076c38fcabfe1f6bc9625c40536ca3b5246398cfc56a6f96b9b97d0c288389c4fbd13842205f7f2bc2ed95dad34b42c5249e5eb65c60f7f22c802ca3278ac8
|
|
7
|
+
data.tar.gz: c330a99f2cfd38d582bf6914760d90d81ccdf45836762d7778f12c32ed4348da886b3a35a38285f5560902f1fbebf84e35152f5734747dbbbdd344913678d972
|
|
@@ -64,14 +64,14 @@ module Dendrite
|
|
|
64
64
|
validates_presence_of :port
|
|
65
65
|
validates :port, numericality: { only_integer: true }
|
|
66
66
|
validates_inclusion_of :port, :in => 1..65535
|
|
67
|
-
validate :host_is_correct
|
|
68
|
-
def host_is_correct
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
end
|
|
67
|
+
# validate :host_is_correct
|
|
68
|
+
# def host_is_correct
|
|
69
|
+
# if ::URI.parse(host).host
|
|
70
|
+
# unless ::URI.parse(host).host == host
|
|
71
|
+
# errors.add(:host, "host should be valid host without protocol or trailing slashes")
|
|
72
|
+
# end
|
|
73
|
+
# end
|
|
74
|
+
# end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
DomainName = Struct.new(:environment, :domain_name) do
|
data/lib/dendrite/version.rb
CHANGED