dang 1.0.0.rc4 → 1.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -7
- data/README.md +1 -1
- data/dang.gemspec +1 -1
- data/lib/dang/dang.rb +1 -1
- data/lib/dang/parser.rb +2 -2
- metadata +53 -45
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YzI4YjVhN2ZhYzk1NjE4NTY2ZGZiYWUwODk5MTE4Nzc0ZGQ3ZTMzYQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
Y2NkODI2OWY2YzUxNzQxMjhkNTZiNzllNTMyNjVlMjRkZGRkMjQ2Mw==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MjUyNmM0NjRmNDVmOTJjZThjZTNkNjJhZDlmM2FlMTMyMjM0ZjBiYzc0NWYy
|
10
|
+
OGMzOGMxOWQ1YTBlMzBkNDkxY2M5NDhmNTQ3ZDQ2N2ZlMWU3N2ZmYmQ5OTk5
|
11
|
+
OGRiZmQzZDI1NWJkZWI3ODlkMmEwYjZmNmRkYzliN2M1MWU4NGU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTI4ZTk5OGEwYTBiODA2ZWQzN2Q0ZWU1MTBiMTQ5NjYyMTBiMWExZTcxNDdm
|
14
|
+
MzE4YzI1ZDFkMGYzNDE5NmFlMGMwZDAyZjRiMzllYzE5M2FkM2JmMjRlY2Jl
|
15
|
+
ZjRhOTU2NDgzNWI2ZWQ2ZTVmMmMxMzVmZDgwYTUxN2ZmNjk0ZjQ=
|
data/README.md
CHANGED
data/dang.gemspec
CHANGED
data/lib/dang/dang.rb
CHANGED
data/lib/dang/parser.rb
CHANGED
@@ -392,8 +392,6 @@ class Dang::Parser
|
|
392
392
|
end
|
393
393
|
|
394
394
|
def compile
|
395
|
-
doctype = html_doctype
|
396
|
-
|
397
395
|
strings = @output.flatten.map do |i|
|
398
396
|
case i
|
399
397
|
when Literal
|
@@ -415,6 +413,8 @@ class Dang::Parser
|
|
415
413
|
def output(env=nil)
|
416
414
|
out = eval(compile, env || binding).strip
|
417
415
|
|
416
|
+
doctype = html_doctype
|
417
|
+
|
418
418
|
if doctype.empty?
|
419
419
|
str = out
|
420
420
|
else
|
metadata
CHANGED
@@ -1,49 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dang
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.rc5
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Shane Becker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rdoc
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
16
14
|
prerelease: false
|
17
|
-
|
18
|
-
|
15
|
+
name: rdoc
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '4.0'
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
19
23
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version:
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '4.0'
|
22
26
|
type: :development
|
23
|
-
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: hoe
|
27
|
+
- !ruby/object:Gem::Dependency
|
26
28
|
prerelease: false
|
27
|
-
|
28
|
-
|
29
|
+
name: hoe
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
29
32
|
- - ~>
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3.6'
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.6'
|
32
40
|
type: :development
|
33
|
-
|
34
|
-
|
35
|
-
Dang is a Ruby templating language
|
41
|
+
description: ! 'Dang is a Ruby templating language
|
42
|
+
|
36
43
|
It uses angle brackets and CSS syntax.
|
37
|
-
|
38
|
-
|
44
|
+
|
45
|
+
Somewhere between ERB and Haml.'
|
46
|
+
email:
|
39
47
|
- veganstraightedge@gmail.com
|
40
|
-
executables:
|
48
|
+
executables:
|
41
49
|
- dang
|
42
50
|
extensions: []
|
43
|
-
|
44
|
-
|
51
|
+
extra_rdoc_files:
|
52
|
+
- History.md
|
45
53
|
- Manifest.txt
|
46
|
-
|
54
|
+
- README.md
|
55
|
+
- TODO.md
|
56
|
+
files:
|
47
57
|
- .autotest
|
48
58
|
- .gitignore
|
49
59
|
- .hoeignore
|
@@ -63,33 +73,31 @@ files:
|
|
63
73
|
- lib/dang/parser.rb
|
64
74
|
- lib/dang/rails.rb
|
65
75
|
homepage: https://github.com/veganstraightedge/dang
|
66
|
-
licenses:
|
76
|
+
licenses:
|
67
77
|
- PUBLIC DOMAIN
|
68
78
|
- CC0
|
69
79
|
metadata: {}
|
70
|
-
|
71
80
|
post_install_message:
|
72
|
-
rdoc_options:
|
81
|
+
rdoc_options:
|
73
82
|
- --main
|
74
83
|
- README.md
|
75
|
-
require_paths:
|
84
|
+
require_paths:
|
76
85
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- -
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version:
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: !binary |-
|
91
|
+
MA==
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>'
|
95
|
+
- !ruby/object:Gem::Version
|
86
96
|
version: 1.3.1
|
87
97
|
requirements: []
|
88
|
-
|
89
98
|
rubyforge_project: dang
|
90
|
-
rubygems_version: 2.0.
|
99
|
+
rubygems_version: 2.0.6
|
91
100
|
signing_key:
|
92
101
|
specification_version: 4
|
93
102
|
summary: Dang is a Ruby templating language It uses angle brackets and CSS syntax
|
94
103
|
test_files: []
|
95
|
-
|