dendrite 0.5.10 → 0.5.11

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: fa97a7d09ef55cf8a3b319c38acf00b1645d4277
4
- data.tar.gz: c065cde829639ca853e87a49e4033ba5d1d975ae
3
+ metadata.gz: f70c7b12dafc733dad6d39099615bc5f286bb434
4
+ data.tar.gz: f26ce66eaa86b5a0564353ff2b6bb89c1a59b901
5
5
  SHA512:
6
- metadata.gz: 7cc85e3c1147c557b411fc902eba0c7b8616b6a99859895729348d13e60066456bead2592deacb3e6a9c159b286b66f2701f13a1e43491df00f6c36973b25e18
7
- data.tar.gz: d80e7c0970c45a2a49b834b9ec6e4fb42b8a8b6a81f197ab6ed9b557adbf7ec7b02efabba69978b167a8c5da7df58d89e3edc797285aecba8590f3544efb7926
6
+ metadata.gz: d501472228f7c9839b0369260a8339b2b7684df416bdfbbe2fc6387cfe1cf8af31151b86a966f63eebb4afe532bf01862762e16708dcc95f6839a4f47ae559cb
7
+ data.tar.gz: c9074209682d3672f4a89af7eb184b3c53cbf0fdb6c924de9fe9610b410a82119f617754872c54fe19a7d87454ad6aeeed567d0955da9b14f095e06bf346f433
@@ -66,8 +66,8 @@ module Dendrite
66
66
  validates_inclusion_of :port, :in => 1..65535
67
67
  validate :host_is_correct
68
68
  def host_is_correct
69
- if URI.parse(host).host
70
- unless URI.parse(host).host == host
69
+ if ::URI.parse(host).host
70
+ unless ::URI.parse(host).host == host
71
71
  errors.add(:host, "host should be valid host without protocol or trailing slashes")
72
72
  end
73
73
  end
@@ -1,3 +1,3 @@
1
1
  module Dendrite
2
- VERSION = "0.5.10"
2
+ VERSION = "0.5.11"
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.10
4
+ version: 0.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yagnik