string_parse_erb 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +1 -4
  2. data/VERSION +1 -1
  3. data/string_parse_erb.gemspec +2 -2
  4. metadata +4 -4
@@ -40,10 +40,7 @@ The solution taken by this gem is very simple, (and so may not be perfect), and
40
40
  )
41
41
  # => "Good morning, the time is six o'clock."
42
42
 
43
- string_parse_erb(
44
- "<%= cmd %>",
45
- {:cmd=> "abort"}
46
- )
43
+ string_parse_erb( "<%= abort %>", {})
47
44
  # => Raises SecurityError Exception
48
45
 
49
46
  == Copyright
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{string_parse_erb}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nadav Blum"]
12
- s.date = %q{2011-09-02}
12
+ s.date = %q{2011-09-03}
13
13
  s.description = %q{Process ERB fragments in a String, according to variables hash, no extenal vars are visible to ERB, safe level and untainting of string can be set}
14
14
  s.email = %q{nadav.blum@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string_parse_erb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nadav Blum
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-02 00:00:00 +03:00
18
+ date: 2011-09-03 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency