dryml 1.1.0.pre4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/dryml.gemspec +38 -37
- data/lib/dryml.rb +1 -1
- data/taglibs/core.dryml +2 -2
- metadata +12 -18
data/dryml.gemspec
CHANGED
@@ -1,53 +1,54 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dryml}
|
8
|
-
s.version = "1.1.0
|
8
|
+
s.version = "1.1.0"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tom Locke"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-11-15}
|
13
13
|
s.email = %q{tom@tomlocke.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README"
|
16
16
|
]
|
17
17
|
s.files = [
|
18
18
|
"CHANGES.txt",
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
19
|
+
"LICENSE.txt",
|
20
|
+
"README",
|
21
|
+
"Rakefile",
|
22
|
+
"TODO.txt",
|
23
|
+
"dryml.gemspec",
|
24
|
+
"lib/dryml.rb",
|
25
|
+
"lib/dryml/dryml_builder.rb",
|
26
|
+
"lib/dryml/dryml_doc.rb",
|
27
|
+
"lib/dryml/dryml_generator.rb",
|
28
|
+
"lib/dryml/dryml_support_controller.rb",
|
29
|
+
"lib/dryml/helper.rb",
|
30
|
+
"lib/dryml/parser.rb",
|
31
|
+
"lib/dryml/parser/attribute.rb",
|
32
|
+
"lib/dryml/parser/base_parser.rb",
|
33
|
+
"lib/dryml/parser/document.rb",
|
34
|
+
"lib/dryml/parser/element.rb",
|
35
|
+
"lib/dryml/parser/elements.rb",
|
36
|
+
"lib/dryml/parser/source.rb",
|
37
|
+
"lib/dryml/parser/text.rb",
|
38
|
+
"lib/dryml/parser/tree_parser.rb",
|
39
|
+
"lib/dryml/part_context.rb",
|
40
|
+
"lib/dryml/scoped_variables.rb",
|
41
|
+
"lib/dryml/static_tags",
|
42
|
+
"lib/dryml/tag_parameters.rb",
|
43
|
+
"lib/dryml/taglib.rb",
|
44
|
+
"lib/dryml/template.rb",
|
45
|
+
"lib/dryml/template_environment.rb",
|
46
|
+
"lib/dryml/template_handler.rb",
|
47
|
+
"taglibs/core.dryml",
|
48
|
+
"test/dryml.rdoctest"
|
49
49
|
]
|
50
50
|
s.homepage = %q{http://hobocentral.net/}
|
51
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
51
52
|
s.require_paths = ["lib"]
|
52
53
|
s.rubyforge_project = %q{hobo}
|
53
54
|
s.rubygems_version = %q{1.4.2}
|
@@ -57,14 +58,14 @@ Gem::Specification.new do |s|
|
|
57
58
|
s.specification_version = 3
|
58
59
|
|
59
60
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
|
-
s.add_runtime_dependency(%q<hobosupport>, ["= 1.1.0
|
61
|
+
s.add_runtime_dependency(%q<hobosupport>, ["= 1.1.0"])
|
61
62
|
s.add_runtime_dependency(%q<actionpack>, [">= 2.2.2", "< 3.0.0"])
|
62
63
|
else
|
63
|
-
s.add_dependency(%q<hobosupport>, ["= 1.1.0
|
64
|
+
s.add_dependency(%q<hobosupport>, ["= 1.1.0"])
|
64
65
|
s.add_dependency(%q<actionpack>, [">= 2.2.2", "< 3.0.0"])
|
65
66
|
end
|
66
67
|
else
|
67
|
-
s.add_dependency(%q<hobosupport>, ["= 1.1.0
|
68
|
+
s.add_dependency(%q<hobosupport>, ["= 1.1.0"])
|
68
69
|
s.add_dependency(%q<actionpack>, [">= 2.2.2", "< 3.0.0"])
|
69
70
|
end
|
70
71
|
end
|
data/lib/dryml.rb
CHANGED
data/taglibs/core.dryml
CHANGED
@@ -61,10 +61,10 @@ For example, you might want to wrap an `<img>` tag in an `<a>` tag but only unde
|
|
61
61
|
|
62
62
|
### Usage
|
63
63
|
|
64
|
-
<if test="¤t_user.
|
64
|
+
<if test="¤t_user.administrator?">Logged in as administrator</if>
|
65
65
|
<else>Logged in as normal user</else>
|
66
66
|
|
67
|
-
**IMPORTANT NOTE**: `<if>` tests for non-blank vs. blank (as defined by
|
67
|
+
**IMPORTANT NOTE**: `<if>` tests for non-blank vs. blank (as defined by ActiveSupport), not true vs. false.
|
68
68
|
|
69
69
|
If you do not give the `test` attribute, uses the current context instead. This allows a nice trick like this:
|
70
70
|
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dryml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
9
|
- 0
|
10
|
-
|
11
|
-
- 4
|
12
|
-
version: 1.1.0.pre4
|
10
|
+
version: 1.1.0
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- Tom Locke
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2011-
|
18
|
+
date: 2011-11-15 00:00:00 -05:00
|
21
19
|
default_executable:
|
22
20
|
dependencies:
|
23
21
|
- !ruby/object:Gem::Dependency
|
@@ -28,14 +26,12 @@ dependencies:
|
|
28
26
|
requirements:
|
29
27
|
- - "="
|
30
28
|
- !ruby/object:Gem::Version
|
31
|
-
hash:
|
29
|
+
hash: 19
|
32
30
|
segments:
|
33
31
|
- 1
|
34
32
|
- 1
|
35
33
|
- 0
|
36
|
-
|
37
|
-
- 4
|
38
|
-
version: 1.1.0.pre4
|
34
|
+
version: 1.1.0
|
39
35
|
type: :runtime
|
40
36
|
version_requirements: *id001
|
41
37
|
- !ruby/object:Gem::Dependency
|
@@ -107,8 +103,8 @@ homepage: http://hobocentral.net/
|
|
107
103
|
licenses: []
|
108
104
|
|
109
105
|
post_install_message:
|
110
|
-
rdoc_options:
|
111
|
-
|
106
|
+
rdoc_options:
|
107
|
+
- --charset=UTF-8
|
112
108
|
require_paths:
|
113
109
|
- lib
|
114
110
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -123,14 +119,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
120
|
none: false
|
125
121
|
requirements:
|
126
|
-
- - "
|
122
|
+
- - ">="
|
127
123
|
- !ruby/object:Gem::Version
|
128
|
-
hash:
|
124
|
+
hash: 3
|
129
125
|
segments:
|
130
|
-
-
|
131
|
-
|
132
|
-
- 1
|
133
|
-
version: 1.3.1
|
126
|
+
- 0
|
127
|
+
version: "0"
|
134
128
|
requirements: []
|
135
129
|
|
136
130
|
rubyforge_project: hobo
|