coin 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/coin.rb +2 -1
  2. data/lib/coin/version.rb +1 -1
  3. metadata +1 -1
@@ -55,7 +55,6 @@ module Coin
55
55
  return @server if @server && server_running?
56
56
 
57
57
  start_server
58
- DRb.start_service
59
58
  @server = DRbObject.new_with_uri(uri)
60
59
  end
61
60
 
@@ -90,12 +89,14 @@ module Coin
90
89
  Process.detach(pid)
91
90
 
92
91
  sleep 0.1 while !server_running?
92
+ DRb.start_service
93
93
  true
94
94
  end
95
95
 
96
96
  def stop_server
97
97
  Process.kill("HUP", @pid.to_i) if server_running?
98
98
  sleep 0.1 while server_running?
99
+ DRb.stop_service
99
100
  true
100
101
  end
101
102
 
@@ -1,3 +1,3 @@
1
1
  module Coin
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: