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 CHANGED
@@ -1,7 +1,15 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 3cdcb2f62d81a1f8314380d5f288cdd3f68891a3
4
- data.tar.gz: d5384936dce8d468b9ad34123df0c7b082fb690d
5
- SHA512:
6
- metadata.gz: 65cbe439dede9b19747e5e13c56a52db56b6777b5872c8267cebb45b62c562fed859ae8a5827b44f0306da6eb3df650db74282c063d462155de4781f44c4e21d
7
- data.tar.gz: cb8e43201252121c97169f76c295c22128a1c8388ef92f41dcc93e41fad0fd8515a398af06dc3649158f338da415dfd080962c31c017a0e6bec330ab8d5ff030
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
@@ -51,7 +51,7 @@ Or just a snippet of dang into html:
51
51
 
52
52
  ## Current Version
53
53
 
54
- 1.0.0.rc4
54
+ 1.0.0.rc5
55
55
 
56
56
 
57
57
  ## Requirements
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "dang"
5
- s.version = "1.0.0.rc4"
5
+ s.version = "1.0.0.rc5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Shane Becker"]
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  require 'dang/parser'
4
4
 
5
5
  class Dang
6
- VERSION = '1.0.0.rc4'
6
+ VERSION = '1.0.0.rc5'
7
7
  CODENAME = 'Zoe'
8
8
 
9
9
  @filters = {}
@@ -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.rc4
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
- date: 2013-08-09 00:00:00 Z
13
- dependencies:
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
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
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: "3.10"
24
+ - !ruby/object:Gem::Version
25
+ version: '4.0'
22
26
  type: :development
23
- version_requirements: *id001
24
- - !ruby/object:Gem::Dependency
25
- name: hoe
27
+ - !ruby/object:Gem::Dependency
26
28
  prerelease: false
27
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
29
+ name: hoe
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
29
32
  - - ~>
30
- - !ruby/object:Gem::Version
31
- version: "3.5"
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
- version_requirements: *id002
34
- description: |-
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
- Somewhere between ERB and Haml.
38
- email:
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
- extra_rdoc_files:
51
+ extra_rdoc_files:
52
+ - History.md
45
53
  - Manifest.txt
46
- files:
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: "0"
82
- required_rubygems_version: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - ">"
85
- - !ruby/object:Gem::Version
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.3
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
-