riddl 0.99.194 → 0.99.195

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: 3b77bf059e9f5b4ecdf0273af45b079ba4f1dad4
4
- data.tar.gz: 0a823fe1cc1b01655cc19ed7347459460f83208b
3
+ metadata.gz: 90ad0df69c86a40de5a8ef8d39bdea83faffb4d0
4
+ data.tar.gz: c5d0ba6cd84947edc2d5ef6ee163349cbecfbd45
5
5
  SHA512:
6
- metadata.gz: a6d6816f6aa19c16b8455946dfd6ccbbe21f371b63b1b15bd5b0a807fc719835dc5a0ee8460faacfe5946c9e9d74ae6461fd3af72bc8b3d15c814fcafb6964c4
7
- data.tar.gz: 7bb1ee54ac00b08be5d2a1a64616aa62b7aa5f6b48f4e93533c3e4cc3e6dd7bff99910ca4ed342b803e3f285f061a0813319c5d8ced1e68cc9ab9f14c01429ed
6
+ metadata.gz: 0d29cbe3177aacb8082f45573a4c35c4de8bfe81c70c52aed2877688894018f2c0a83840b830c29c346e49537b478ff246455cce8008e7922d956806a9855b64
7
+ data.tar.gz: d3c8eaabc02a0e86eb9b1f15c2c735b1edb1861574947cb6dcb75508fd51766c2197a81ce16fb43c33386399c8d066d64161dadd196f73beed62357d4073bf23
@@ -152,7 +152,8 @@ module Riddl
152
152
 
153
153
  puts "Server (#{@riddl_opts[:url]}) started as PID:#{Process.pid}"
154
154
  puts "XMPP support (#{@riddl_xmpp_jid}) active" if @riddl_xmpp_jid && @riddl_xmpp_pass && !http_only
155
- Process.daemon unless verbose
155
+ Process.daemon(@riddl_opts[:basepath]) unless verbose
156
+ Dir.chdir(@riddl_opts[:basepath])
156
157
  ::Kernel::at_exit do
157
158
  @riddl_at_exit.call if @riddl_at_exit
158
159
  end
@@ -315,7 +316,6 @@ module Riddl
315
316
  end #}}}
316
317
 
317
318
  def __xmpp_call(env,raw) #{{{
318
- Dir.chdir(@riddl_opts[:basepath]) if @riddl_opts[:basepath]
319
319
  @riddl_log = @riddl_logger || STDOUT
320
320
 
321
321
  @riddl_env = XML::Smart::Dom::Element.new(raw).parent
@@ -372,7 +372,6 @@ module Riddl
372
372
  end #}}}
373
373
 
374
374
  def __http_call(env) #{{{
375
- Dir.chdir(@riddl_opts[:basepath]) if @riddl_opts[:basepath]
376
375
 
377
376
  @riddl_env = env
378
377
  @riddl_env['rack.logger'] = @riddl_logger if @riddl_logger
data/riddl.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.194"
3
+ s.version = "0.99.195"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.194
4
+ version: 0.99.195
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2015-07-22 00:00:00.000000000 Z
11
+ date: 2015-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart