peritus_private_pub 1.0.7 → 1.0.8

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: 3986ebb3fe40ad6c42661a182a8dc834306b1544
4
- data.tar.gz: b97a0df31283a2cd7db2ae9b787dd452a75ba0ad
3
+ metadata.gz: 92a9fa345ec6aa8801ddf354a6df256f18184f10
4
+ data.tar.gz: f169573bd90da26f98b3be1d19bc58ebee44dfc7
5
5
  SHA512:
6
- metadata.gz: fc35b10b04ac496bb1d9525f4ac2590f9aa3f03233c4542f9b0c4d0a31ef1531da733c8c0af9d4bd786681d889cd7ec106e75acd4cbc6701fcd620197e3116e2
7
- data.tar.gz: 3a6b1e8d2e5a0abc1fd296fa8e559a9beaa8966a3e15f0c8a893e783ba275287d69f09c76b64c25fce35030adeb9fa2f274b2f4e91e5552f8406aa79dd2588c8
6
+ metadata.gz: f4841acb591b87235ff10f0e91c465fcf33d210210610a3ab31f23ed0d508fbc39c42df425bdf03e99bbbd3d1e11fb0dab12826ad426c8e5c0dddfc2fc81cbc0
7
+ data.tar.gz: b7f59b1bb4439efb5082967492e5013281724d7fa56223fa507e12275ca2e126e42d81690528802bc55e91a7ab7b03e4fa41800cdd736d792fd596bee240f761
@@ -23,7 +23,7 @@ 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
- unless environment.to_s == 'test'
26
+ if environment.to_s == 'production'
27
27
  url = URI.parse(config[:server])
28
28
  raise Error, "No host defined. Ensure LOCAL_IP is defined" unless url.host
29
29
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "peritus_private_pub"
3
- s.version = "1.0.7"
3
+ s.version = "1.0.8"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peritus_private_pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler DeWitt