peritus_private_pub 1.0.6 → 1.0.7

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: 392580b50af09ec77ad06909e68693a60bb7a282
4
- data.tar.gz: 9dfe2c2f9202ecc8bd989c6c8750c42bdad112be
3
+ metadata.gz: 3986ebb3fe40ad6c42661a182a8dc834306b1544
4
+ data.tar.gz: b97a0df31283a2cd7db2ae9b787dd452a75ba0ad
5
5
  SHA512:
6
- metadata.gz: 7f54f31ae41d714d683e90ba53d0940f91fe99e5a9b32a35210749e3d4c8ed103232ca07b6757905ee8b49cb7d67e0fa46d0cad6b757c7a5956971d54c0d25b3
7
- data.tar.gz: 9995b1d3bdf6f6e44e466f2a96e511750ff73bc444903dfaad8567b64e9e73840700db657f536ff24e526bd6a245e9a1f57e80ce1f582b2abdde39815e15bb0c
6
+ metadata.gz: fc35b10b04ac496bb1d9525f4ac2590f9aa3f03233c4542f9b0c4d0a31ef1531da733c8c0af9d4bd786681d889cd7ec106e75acd4cbc6701fcd620197e3116e2
7
+ data.tar.gz: 3a6b1e8d2e5a0abc1fd296fa8e559a9beaa8966a3e15f0c8a893e783ba275287d69f09c76b64c25fce35030adeb9fa2f274b2f4e91e5552f8406aa79dd2588c8
@@ -23,8 +23,10 @@ module PrivatePub
23
23
  yaml = YAML.load(ERB.new(File.read(filename)).result)[environment.to_s]
24
24
  raise ArgumentError, "The #{environment} environment does not exist in #{filename}" if yaml.nil?
25
25
  yaml.each { |k, v| config[k.to_sym] = v }
26
- url = URI.parse(config[:server])
27
- raise Error, "No host defined. Ensure LOCAL_IP is defined" unless url.host
26
+ unless environment.to_s == 'test'
27
+ url = URI.parse(config[:server])
28
+ raise Error, "No host defined. Ensure LOCAL_IP is defined" unless url.host
29
+ end
28
30
  end
29
31
 
30
32
  # Publish the given data to a specific channel. This ends up sending
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "peritus_private_pub"
3
- s.version = "1.0.6"
3
+ s.version = "1.0.7"
4
4
  s.author = "Tyler DeWitt"
5
5
  s.email = "tdewitt@peritus.com"
6
6
  s.homepage = "https://github.com/PeritusSolutions/peritus_private_pub"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peritus_private_pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler DeWitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-12 00:00:00.000000000 Z
11
+ date: 2015-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faye