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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f70c7b12dafc733dad6d39099615bc5f286bb434
4
- data.tar.gz: f26ce66eaa86b5a0564353ff2b6bb89c1a59b901
3
+ metadata.gz: ddae6a4d4c71ae150f9f23f24becc7bd43599f9e
4
+ data.tar.gz: 975a9be92036d4cc9462a5ff3d9c465ce498dfef
5
5
  SHA512:
6
- metadata.gz: d501472228f7c9839b0369260a8339b2b7684df416bdfbbe2fc6387cfe1cf8af31151b86a966f63eebb4afe532bf01862762e16708dcc95f6839a4f47ae559cb
7
- data.tar.gz: c9074209682d3672f4a89af7eb184b3c53cbf0fdb6c924de9fe9610b410a82119f617754872c54fe19a7d87454ad6aeeed567d0955da9b14f095e06bf346f433
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
- 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
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
@@ -1,3 +1,3 @@
1
1
  module Dendrite
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dendrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yagnik