sandboxed_erb 0.2.0 → 0.3.0
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/README.rdoc +2 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/sandboxed_erb.gemspec +2 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -6,6 +6,8 @@ This has been inspired by http://github.com/tario/shikashi, a ruby sandbox which
|
|
6
6
|
It was originally designed to run in the shikashi sandbox, but was found to be too slow as every call was being intercepted and analysed at runtime. Because a templating language does not need everything ruby offers,
|
7
7
|
i have limited the allowed synax to a safer subset at compile time to reduce the number of runtime checks required.
|
8
8
|
|
9
|
+
== To install
|
10
|
+
sudo gem install sandboxed_erb
|
9
11
|
|
10
12
|
== How It Works
|
11
13
|
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.homepage = "http://github.com/markpent/SandboxedERB"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{Run an erb template in a sandbox.}
|
21
|
-
gem.description = %Q{
|
21
|
+
gem.description = %Q{Run erb templates safely within a sandbox.}
|
22
22
|
gem.email = "mark.pent@gmail.com"
|
23
23
|
gem.authors = ["MarkPent"]
|
24
24
|
# dependencies defined in Gemfile
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/sandboxed_erb.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sandboxed_erb}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["MarkPent"]
|
12
12
|
s.date = %q{2011-06-05}
|
13
|
-
s.description = %q{
|
13
|
+
s.description = %q{Run erb templates safely within a sandbox.}
|
14
14
|
s.email = %q{mark.pent@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sandboxed_erb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 3
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- MarkPent
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
name: rcov
|
110
110
|
prerelease: false
|
111
111
|
type: :development
|
112
|
-
description:
|
112
|
+
description: Run erb templates safely within a sandbox.
|
113
113
|
email: mark.pent@gmail.com
|
114
114
|
executables: []
|
115
115
|
|