dryml 1.3.3 → 1.4.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/Gemfile +6 -0
  2. data/README +2 -0
  3. data/Rakefile +2 -1
  4. data/VERSION +1 -1
  5. data/cucumber.yml +9 -0
  6. data/dryml.gemspec +4 -2
  7. data/features/cookbook/01_simple_page_templates.feature +44 -0
  8. data/features/cookbook/02_defining_simple_tags.feature +375 -0
  9. data/features/cookbook/03_implicit_context.feature +229 -0
  10. data/features/cookbook/04_tag_attributes.feature +120 -0
  11. data/features/cookbook/05_repeated_and_optional_content.feature +241 -0
  12. data/features/cookbook/06_pseudo_parameters.feature +191 -0
  13. data/features/cookbook/07_nested_parameters.feature +147 -0
  14. data/features/cookbook/08_customizing_tags.feature +307 -0
  15. data/features/cookbook/09_aliasing_tags.feature +50 -0
  16. data/features/cookbook/10_polymorphic_tags.feature +168 -0
  17. data/features/cookbook/11_wrapping_content.feature +57 -0
  18. data/features/cookbook/12_local_and_scoped_variables.feature +102 -0
  19. data/features/doctest_examples.feature +187 -0
  20. data/features/merge_params.feature +36 -0
  21. data/features/replace_parameters.feature +21 -0
  22. data/features/static_tags.feature +91 -0
  23. data/features/step_definitions/contexts.rb +25 -0
  24. data/features/step_definitions/dom_comparison.rb +10 -0
  25. data/features/step_definitions/rendering.rb +21 -0
  26. data/features/support/env.rb +32 -0
  27. data/features/support/models/author.rb +18 -0
  28. data/features/support/models/blog_post.rb +37 -0
  29. data/features/support/models/discussion.rb +15 -0
  30. data/features/support/models/post.rb +12 -0
  31. data/features/support/strip_formatter.rb +14 -0
  32. data/lib/dryml/dryml_builder.rb +4 -14
  33. data/lib/dryml/dryml_doc.rb +6 -1
  34. data/lib/dryml/helper.rb +17 -1
  35. data/lib/dryml/part_context.rb +12 -15
  36. data/lib/dryml/railtie/template_handler.rb +1 -3
  37. data/lib/dryml/railtie.rb +1 -0
  38. data/lib/dryml/taglib.rb +24 -30
  39. data/lib/dryml/template.rb +32 -86
  40. data/lib/dryml/template_environment.rb +40 -17
  41. data/lib/dryml.rb +22 -11
  42. data/taglibs/core.dryml +18 -12
  43. data/taglibs/dryml.dryml +3 -0
  44. metadata +97 -56
metadata CHANGED
@@ -1,79 +1,116 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dryml
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.3
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: 6
5
+ version: 1.4.0.pre2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Tom Locke
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-02 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2012-03-28 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: actionpack
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 3.0.0
22
- type: :runtime
23
17
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
18
+ requirement: &id001 !ruby/object:Gem::Requirement
25
19
  none: false
26
- requirements:
20
+ requirements:
27
21
  - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 3.0.0
30
- - !ruby/object:Gem::Dependency
22
+ - !ruby/object:Gem::Version
23
+ version: 3.1.0
24
+ type: :runtime
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
31
27
  name: hobo_support
32
- requirement: !ruby/object:Gem::Requirement
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
33
30
  none: false
34
- requirements:
35
- - - '='
36
- - !ruby/object:Gem::Version
37
- version: 1.3.3
31
+ requirements:
32
+ - - "="
33
+ - !ruby/object:Gem::Version
34
+ version: 1.4.0.pre2
38
35
  type: :runtime
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ name: rubydoctest
39
39
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
41
  none: false
42
- requirements:
43
- - - '='
44
- - !ruby/object:Gem::Version
45
- version: 1.3.3
46
- - !ruby/object:Gem::Dependency
47
- name: rubydoctest
48
- requirement: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 1.1.3
46
+ type: :development
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
49
+ name: cucumber
50
+ prerelease: false
51
+ requirement: &id004 !ruby/object:Gem::Requirement
49
52
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
53
+ requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ version: 1.1.0
54
57
  type: :development
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
60
+ name: aruba
55
61
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
62
+ requirement: &id005 !ruby/object:Gem::Requirement
57
63
  none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 0.4.6
68
+ type: :development
69
+ version_requirements: *id005
62
70
  description: The Don't Repeat Yourself Markup Language
63
71
  email: tom@tomlocke.com
64
72
  executables: []
65
- extensions:
73
+
74
+ extensions:
66
75
  - ext/mkrf_conf.rb
67
76
  extra_rdoc_files: []
68
- files:
77
+
78
+ files:
69
79
  - CHANGES.txt
80
+ - Gemfile
70
81
  - LICENSE.txt
71
82
  - README
72
83
  - Rakefile
73
84
  - TODO.txt
74
85
  - VERSION
86
+ - cucumber.yml
75
87
  - dryml.gemspec
76
88
  - ext/mkrf_conf.rb
89
+ - features/cookbook/01_simple_page_templates.feature
90
+ - features/cookbook/02_defining_simple_tags.feature
91
+ - features/cookbook/03_implicit_context.feature
92
+ - features/cookbook/04_tag_attributes.feature
93
+ - features/cookbook/05_repeated_and_optional_content.feature
94
+ - features/cookbook/06_pseudo_parameters.feature
95
+ - features/cookbook/07_nested_parameters.feature
96
+ - features/cookbook/08_customizing_tags.feature
97
+ - features/cookbook/09_aliasing_tags.feature
98
+ - features/cookbook/10_polymorphic_tags.feature
99
+ - features/cookbook/11_wrapping_content.feature
100
+ - features/cookbook/12_local_and_scoped_variables.feature
101
+ - features/doctest_examples.feature
102
+ - features/merge_params.feature
103
+ - features/replace_parameters.feature
104
+ - features/static_tags.feature
105
+ - features/step_definitions/contexts.rb
106
+ - features/step_definitions/dom_comparison.rb
107
+ - features/step_definitions/rendering.rb
108
+ - features/support/env.rb
109
+ - features/support/models/author.rb
110
+ - features/support/models/blog_post.rb
111
+ - features/support/models/discussion.rb
112
+ - features/support/models/post.rb
113
+ - features/support/strip_formatter.rb
77
114
  - lib/dryml.rb
78
115
  - lib/dryml/dryml_builder.rb
79
116
  - lib/dryml/dryml_doc.rb
@@ -100,31 +137,35 @@ files:
100
137
  - lib/dryml/template.rb
101
138
  - lib/dryml/template_environment.rb
102
139
  - taglibs/core.dryml
140
+ - taglibs/dryml.dryml
103
141
  - test/dryml.rdoctest
104
142
  homepage: http://hobocentral.net
105
143
  licenses: []
144
+
106
145
  post_install_message:
107
- rdoc_options:
146
+ rdoc_options:
108
147
  - --charset=UTF-8
109
- require_paths:
148
+ require_paths:
110
149
  - lib
111
- required_ruby_version: !ruby/object:Gem::Requirement
150
+ required_ruby_version: !ruby/object:Gem::Requirement
112
151
  none: false
113
- requirements:
114
- - - ! '>='
115
- - !ruby/object:Gem::Version
116
- version: '0'
117
- required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: "0"
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
157
  none: false
119
- requirements:
120
- - - ! '>='
121
- - !ruby/object:Gem::Version
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
122
161
  version: 1.3.6
123
162
  requirements: []
163
+
124
164
  rubyforge_project: hobo
125
- rubygems_version: 1.8.24
165
+ rubygems_version: 1.8.17
126
166
  signing_key:
127
167
  specification_version: 3
128
168
  summary: The Don't Repeat Yourself Markup Language
129
169
  test_files: []
170
+
130
171
  has_rdoc: