baby_erubis 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -2
- data/baby_erubis.gemspec +2 -2
- data/bin/baby_erubis +1 -1
- data/lib/baby_erubis/rails.rb +1 -1
- data/lib/baby_erubis/renderer.rb +1 -1
- data/lib/baby_erubis.rb +2 -2
- data/test/context_test.rb +1 -1
- data/test/rails_test.rb +1 -1
- data/test/renderer_test.rb +1 -1
- data/test/run_all.rb +1 -1
- data/test/script_test.rb +1 -1
- data/test/template_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 168d382d8838cb51ab8a7d4965573adbf56426ff
|
4
|
+
data.tar.gz: 446c12313a2cbc4c15d8373f69c99cea8b6503a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa2d86791075cc09060f7bc679cec2fba4aefb8f04b115bda1c8c87b7ecab6e5f63f3e6711a762e4ce37228bfe3bb935057de90084492f00c8b827e4853d74a5
|
7
|
+
data.tar.gz: bf4cffef71cfc69d8145cf5539c734a675dd8456f709b24ef40bdc0ac6291ac49b31874e963dc21a0d7ad3feeb5d6de706b4d2d2527b1e31004782094923237f
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
BabyErubis.rb
|
2
2
|
=============
|
3
3
|
|
4
|
-
$Release: 2.1.
|
4
|
+
$Release: 2.1.2 $
|
5
5
|
|
6
6
|
BabyErubis is an yet another eRuby implementation, based on Erubis.
|
7
7
|
|
@@ -36,7 +36,7 @@ Render template string:
|
|
36
36
|
Render template file:
|
37
37
|
|
38
38
|
require 'baby_erubis'
|
39
|
-
|
39
|
+
template = BabyErubis::Html.new.from_file('example.html.erb', 'utf-8')
|
40
40
|
context = {:title=>'Example', :items=>['A', 'B', 'C']}
|
41
41
|
output = template.render(context)
|
42
42
|
print output
|
@@ -430,6 +430,18 @@ Changes
|
|
430
430
|
=======
|
431
431
|
|
432
432
|
|
433
|
+
Release 2.1.2 (2015-10-30)
|
434
|
+
--------------------------
|
435
|
+
|
436
|
+
* [bugfix] Fix typo (thanks catatsuy)
|
437
|
+
|
438
|
+
|
439
|
+
Release 2.1.1 (2015-10-27)
|
440
|
+
--------------------------
|
441
|
+
|
442
|
+
* [bugfix] Add a file
|
443
|
+
|
444
|
+
|
433
445
|
Release 2.1.0 (2015-10-27)
|
434
446
|
--------------------------
|
435
447
|
|
data/baby_erubis.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
3
|
###
|
4
|
-
### $Release: 2.1.
|
4
|
+
### $Release: 2.1.2 $
|
5
5
|
### $License: MIT License $
|
6
6
|
### $Copyright: copyright(c) 2014-2015 kuwata-lab.com all rights reserved $
|
7
7
|
###
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.name = "baby_erubis"
|
14
14
|
s.author = "makoto kuwata"
|
15
15
|
s.email = "kwa(at)kuwata-lab.com"
|
16
|
-
s.version = "$Release: 2.1.
|
16
|
+
s.version = "$Release: 2.1.2 $".split()[1]
|
17
17
|
s.license = "MIT License"
|
18
18
|
s.platform = Gem::Platform::RUBY
|
19
19
|
s.homepage = "https://github.com/kwatch/BabyErubis/tree/ruby"
|
data/bin/baby_erubis
CHANGED
data/lib/baby_erubis/rails.rb
CHANGED
data/lib/baby_erubis/renderer.rb
CHANGED
data/lib/baby_erubis.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
|
3
3
|
###
|
4
|
-
### $Release: 2.1.
|
4
|
+
### $Release: 2.1.2 $
|
5
5
|
### $Copyright: copyright(c) 2014-2015 kuwata-lab.com all rights reserved $
|
6
6
|
### $License: MIT License $
|
7
7
|
###
|
@@ -25,7 +25,7 @@
|
|
25
25
|
|
26
26
|
module BabyErubis
|
27
27
|
|
28
|
-
RELEASE = '$Release: 2.1.
|
28
|
+
RELEASE = '$Release: 2.1.2 $'.split(' ')[1]
|
29
29
|
|
30
30
|
|
31
31
|
class TemplateError < StandardError
|
data/test/context_test.rb
CHANGED
data/test/rails_test.rb
CHANGED
data/test/renderer_test.rb
CHANGED
data/test/run_all.rb
CHANGED
data/test/script_test.rb
CHANGED
data/test/template_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baby_erubis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- makoto kuwata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
BabyErubis is an yet another eRuby implementation, based on Erubis.
|