acts_as_runnable_code 1.0.0 → 1.0.1

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/History.txt CHANGED
@@ -1,5 +1,6 @@
1
- == 1.0.0 / 2007-10-22
1
+ == 1.0.1 / 2007-10-22
2
+ * added gem dependency to acts_as_wrapped_class
2
3
 
3
- * 1 major enhancement
4
- * Birthday!
4
+ == 1.0.0 / 2007-10-22
5
5
 
6
+ * first relase
data/README.txt CHANGED
@@ -15,6 +15,9 @@ See the example app using this gem: http://tictactoe.mapleton.net
15
15
 
16
16
  == SYNOPSIS:
17
17
 
18
+ require "sandbox"
19
+ require "acts_as_runnable_code"
20
+
18
21
  class Algorithm < ActiveRecord::Base
19
22
  # "code" is a database attribute in this case, containing user's code
20
23
  acts_as_runnable_code :classes => ["Board"]
data/Rakefile CHANGED
@@ -13,6 +13,9 @@ Hoe.new('acts_as_runnable_code', ActsAsRunnableCode::VERSION) do |p|
13
13
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
14
14
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
15
15
  p.rubyforge_name = "runnable-code"
16
+ p.remote_rdoc_dir = ""
17
+ p.rsync_args << ' --exclude=statsvn/'
18
+ p.extra_deps << ['acts_as_wrapped_class', '>= 1.0.0']
16
19
  end
17
20
 
18
21
  # vim: syntax=Ruby
@@ -3,7 +3,7 @@ require "rubygems"
3
3
  require "acts_as_wrapped_class"
4
4
 
5
5
  module ActsAsRunnableCode
6
- VERSION="1.0.0"
6
+ VERSION="1.0.1"
7
7
  module InstanceMethods
8
8
  # Run the user's code in the context of a toplevel_object
9
9
  # The toplevel_object will be automatically wrapped and copied into the sandbox
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: acts_as_runnable_code
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
6
+ version: 1.0.1
7
7
  date: 2007-10-22 00:00:00 -07:00
8
8
  summary: Mark a class as containing a method which returns sandbox runnable code. Helps by building the sandbox and setting up the eval for you.
9
9
  require_paths:
@@ -11,7 +11,7 @@ require_paths:
11
11
  email: ds@elctech.com
12
12
  homepage: " by David Stevenson"
13
13
  rubyforge_project: runnable-code
14
- description: "See the example app using this gem: http://tictactoe.mapleton.net == FEATURES/PROBLEMS: * Run user uploaded code in the sandbox * Automatic use of wrapper classes inside the sandbox, and unwrapping return results == SYNOPSIS: class Algorithm < ActiveRecord::Base # \"code\" is a database attribute in this case, containing user's code acts_as_runnable_code :classes => [\"Board\"] end"
14
+ description: "See the example app using this gem: http://tictactoe.mapleton.net == FEATURES/PROBLEMS: * Run user uploaded code in the sandbox * Automatic use of wrapper classes inside the sandbox, and unwrapping return results == SYNOPSIS: require \"sandbox\" require \"acts_as_runnable_code\""
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
@@ -51,6 +51,15 @@ extensions: []
51
51
  requirements: []
52
52
 
53
53
  dependencies:
54
+ - !ruby/object:Gem::Dependency
55
+ name: acts_as_wrapped_class
56
+ version_requirement:
57
+ version_requirements: !ruby/object:Gem::Version::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0
62
+ version:
54
63
  - !ruby/object:Gem::Dependency
55
64
  name: hoe
56
65
  version_requirement: