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 +4 -4
- data/lib/peritus_private_pub.rb +1 -1
- data/peritus_private_pub.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a9fa345ec6aa8801ddf354a6df256f18184f10
|
4
|
+
data.tar.gz: f169573bd90da26f98b3be1d19bc58ebee44dfc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4841acb591b87235ff10f0e91c465fcf33d210210610a3ab31f23ed0d508fbc39c42df425bdf03e99bbbd3d1e11fb0dab12826ad426c8e5c0dddfc2fc81cbc0
|
7
|
+
data.tar.gz: b7f59b1bb4439efb5082967492e5013281724d7fa56223fa507e12275ca2e126e42d81690528802bc55e91a7ab7b03e4fa41800cdd736d792fd596bee240f761
|
data/lib/peritus_private_pub.rb
CHANGED
@@ -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
|
-
|
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
|
data/peritus_private_pub.gemspec
CHANGED