Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Agh. v0.10.0

  • Loading branch information...
commit b9e17acedca36a5efe7c08ddb8a43fdafa641eb9 1 parent 381a3ff
@duckinator authored
Showing with 1 addition and 31 deletions.
  1. +0 −29 lib/sicuro/remote.rb
  2. +1 −1  lib/sicuro/version.rb
  3. +0 −1  sicuro.gemspec
View
29 lib/sicuro/remote.rb
@@ -1,29 +0,0 @@
-require 'httparty'
-require 'json'
-require 'cgi'
-
-class Sicuro
- include HTTParty
- base_uri 'http://sicuro.duckinator.net'
-
- class Eval < Struct.new(:hash, :pid)
- def method_missing(name); hash[name.to_s]; end
-
- def url
- Sicuro.base_uri + path
- end
- end
-
- # Unnecessary, but exists for compatibility reasons.
- def self.setup(*args); nil; end
-
- # Send code off to the server to be evaluated.
- def self.eval(code, *args)
- raise "Only the first argument of Sicuro.eval(...) is effective when using sicuro/network." unless args.empty?
-
- opts = { :body => { :code => code } }
- json = JSON.parse(post('/new.json', opts).body)
-
- Eval.new(json)
- end
-end
View
2  lib/sicuro/version.rb
@@ -1,3 +1,3 @@
class Sicuro
- VERSION = "0.9.1"
+ VERSION = "0.10.0"
end
View
1  sicuro.gemspec
@@ -13,7 +13,6 @@ Gem::Specification.new do |s|
s.description = %q{Safe ruby code execution in a standard ruby environment. Does not use a chroot, jail, etc. No special permissions required.}
s.add_runtime_dependency 'fakefs'
- s.add_runtime_dependency 'httparty'
#s.add_development_dependency 'rspec', '~>2.5.0'
s.add_development_dependency 'riot', '>= 0'
s.add_development_dependency 'bundler', '~> 1.3.0'
Please sign in to comment.
Something went wrong with that request. Please try again.