instructure_registrar 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99fb4d4f0a610a35dc0da0c2a6d8ae405746fb29
4
- data.tar.gz: 59184040dc54a20f5b9b3a942b3cf01dc159b34b
3
+ metadata.gz: da90c64b4446b35882c6d283ff6f32ea802339fa
4
+ data.tar.gz: 8b6de05a54d8618b97b594ea00e4a6b3b7080eda
5
5
  SHA512:
6
- metadata.gz: 71759b6caff9ebac1b5365e62a7e9a1612332abcdc96c9d724871234710a3d4fd5cededeed544268704292cd5c98acc3e7f4ca48da182cb9209b392d8eb948fc
7
- data.tar.gz: 24e7f34eca90109815c5b9d8479b4527718c0b27daa0ff6268b671b0e2540ef9c49880950788b0fa869d10ebd45377f32cc471cb5596233bf91dc1b3ef076ed1
6
+ metadata.gz: d54d28d8866b64ed9ab5c1734655307af7749cd82b19546d006805e9bc936258fa6a87c4ef472d54359c93da80c9d1fd23d9a919540739e4bf1e71a0c91b5c89
7
+ data.tar.gz: 4984b42f5ae4a4784d56bbc00867a65f0554b81a4e06d3cf8139ada40d5197253cdb9cbc8682cfd6e017f67bb8200819b59b6b837aa76b752da6efa6287c03ff
@@ -29,8 +29,13 @@ module InstructureRegistrar
29
29
  end
30
30
 
31
31
  class Configuration
32
- attr_accessor :registry_host, :registry_port
32
+ attr_writer :registry_host
33
+ attr_accessor :registry_port
33
34
  attr_accessor :service_name, :service_config
35
+
36
+ def registry_host
37
+ @registry_host.gsub("http[s]?:\/\/", "")
38
+ end
34
39
  end
35
40
 
36
41
  end
@@ -1,3 +1,3 @@
1
1
  module InstructureRegistrar
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instructure_registrar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - CoralineAda
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2015-09-02 00:00:00.000000000 Z
12
+ date: 2015-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: etcd