markbates-distribunaut 0.2.20090511204136 → 0.2.20090623231009

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.
data/lib/distribunaut.rb CHANGED
@@ -8,7 +8,6 @@ require 'activesupport'
8
8
 
9
9
  base = File.join(File.dirname(__FILE__), 'distribunaut')
10
10
 
11
- configatron.distribunaut.set_default(:share_objects, false)
12
11
  configatron.distribunaut.set_default(:app_name, nil)
13
12
  configatron.distribunaut.set_default(:timeout, 0)
14
13
 
@@ -17,3 +16,6 @@ Dir.glob(File.join(base, "**", "*.rb")).each do |f|
17
16
  require(f)
18
17
  end
19
18
 
19
+ # Make sure no one can call eval() and related
20
+ # methods remotely!
21
+ $SAFE = 1 unless $SAFE > 0
@@ -41,7 +41,7 @@ module Distribunaut # :nodoc:
41
41
  Distribunaut::Utils::Rinda.register_or_renew(:space => "#{base}".to_sym,
42
42
  :object => obj,
43
43
  :description => "#{base} Service",
44
- :app_name => configatron.distribunaut.app_name)
44
+ :app_name => configatron.distribunaut.app_name.to_sym)
45
45
  end
46
46
 
47
47
  end # Distributable
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markbates-distribunaut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.20090511204136
4
+ version: 0.2.20090623231009
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-11 00:00:00 -07:00
12
+ date: 2009-06-23 00:00:00 -07:00
13
13
  default_executable: distribunaut_ring_server
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency