cocaine-framework 0.12.0.pre.rc7 → 0.12.0.pre.rc8
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 +4 -4
- data/lib/cocaine/cocaine.rb +6 -0
- data/lib/cocaine/version.rb +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: ada955a5c6940f5bf3fd7f3efc12210f2dc1d9bf
|
4
|
+
data.tar.gz: aeb02c85a89c3912846c4d30d299b10fe58cf83c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 543fa619455552de5c4a4dc2232d0aef928b84c7b2517afe91b78f2b3441d18b285877c74e149b70b1c14362417cf59945b875cf546409b90c70d241f8c336b9
|
7
|
+
data.tar.gz: 2fd175be846b3bb64e3725f00dd8e641b4cfc9a72ebecc3669e23e0e03daad64af504de8fb5b21d622bfb04877489210f3a0a405133af4008e641fc617cb4c71
|
data/lib/cocaine/cocaine.rb
CHANGED
@@ -412,6 +412,12 @@ module Cocaine
|
|
412
412
|
end.parse!
|
413
413
|
|
414
414
|
Cocaine::LOG.debug "Options: #{options}"
|
415
|
+
if options.empty? or options.any? { |option, value| value.nil? }
|
416
|
+
Cocaine::LOG.error "Some options aren't specified, but should be. "\
|
417
|
+
"Probably, you're trying to start your application manually. Try to restart your app using Cocaine."
|
418
|
+
exit 1
|
419
|
+
end
|
420
|
+
|
415
421
|
Default::Locator.host, sep, Default::Locator.port = options[:locator].rpartition(':')
|
416
422
|
Default::Locator.port = Default::Locator::port.to_i
|
417
423
|
|
data/lib/cocaine/version.rb
CHANGED