w2tags 0.9.5 → 0.9.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYING +0 -0
- data/LICENSE +0 -0
- data/MIT-LICENSE +0 -0
- data/Manifest.txt +0 -0
- data/README.rdoc +0 -0
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/bin/w2tags +0 -0
- data/doc/ERB.HOT.rdoc +0 -0
- data/doc/FAQ.rdoc +0 -0
- data/doc/HAML.rdoc +0 -0
- data/doc/HOT.rdoc +0 -0
- data/doc/History.rdoc +0 -0
- data/doc/W2TAGS.rdoc +0 -0
- data/example/common.hot +0 -0
- data/example/from_readme.erb +0 -0
- data/example/from_readme.w2erb +0 -0
- data/example/from_w2tags.erb +0 -0
- data/example/from_w2tags.w2erb +0 -0
- data/example/rails_basic.hot +0 -0
- data/hot/erb.hot +0 -0
- data/hot/erb_base.hot +0 -0
- data/hot/erb_form.hot +0 -0
- data/hot/erb_head.hot +0 -0
- data/hot/erb_jquery.hot +0 -0
- data/hot/erb_merb.hot +0 -0
- data/hot/erb_table.hot +0 -0
- data/hot/html.hot +0 -0
- data/hot/jquery.hot +0 -0
- data/hot/nvelocity.hot +0 -0
- data/hot/rails/sc_zebra.hot +0 -0
- data/hot/rails/scaffold.hot +0 -0
- data/hot/vm.hot +0 -0
- data/hot/vm2.hot +0 -0
- data/hot/vm_crud.hot +0 -0
- data/hot/vm_popup.hot +0 -0
- data/hot/xul.hot +0 -0
- data/lib/tags2w.rb +0 -0
- data/lib/w2tags.rb +0 -0
- data/lib/w2tags/block/block_hot.rb +0 -0
- data/lib/w2tags/block/plain_text.rb +0 -0
- data/lib/w2tags/block/remark.rb +0 -0
- data/lib/w2tags/block/sass.rb +0 -0
- data/lib/w2tags/merb_hook.rb +0 -0
- data/lib/w2tags/parser.rb +2 -2
- data/lib/w2tags/rails_hook.rb +0 -0
- data/lib/w2tags/sinatra_hook.rb +0 -0
- data/plugins/w2tags/README +0 -0
- data/plugins/w2tags/generators/w2scaffold/USAGE +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/controller.rb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/functional_test.rb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/helper.rb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/helper_test.rb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/layout.html.erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/style.css +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_edit.html.erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_edit.html.w2erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_index.html.erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_index.html.w2erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_new.html.erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_new.html.w2erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_show.html.erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/templates/view_show.html.w2erb +0 -0
- data/plugins/w2tags/generators/w2scaffold/w2scaffold_generator.rb +0 -0
- data/plugins/w2tags/install.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- data/spec/w2tags_spec.rb +0 -0
- data/tasks/ann.rake +0 -0
- data/tasks/bones.rake +0 -0
- data/tasks/gem.rake +0 -0
- data/tasks/git.rake +0 -0
- data/tasks/manifest.rake +0 -0
- data/tasks/notes.rake +0 -0
- data/tasks/post_load.rake +0 -0
- data/tasks/rdoc.rake +0 -0
- data/tasks/rubyforge.rake +0 -0
- data/tasks/setup.rb +1 -1
- data/tasks/spec.rake +0 -0
- data/tasks/svn.rake +0 -0
- data/tasks/test.rake +0 -0
- data/test/enlightning.hot +0 -0
- data/test/feature.hot +0 -0
- data/test/parser_test.rb +0 -0
- data/test/tricky.hot +0 -0
- data/test/vars.hot +0 -0
- data/test/w2tags_basic_usability.rb +0 -0
- data/test/w2tags_enlightning.rb +0 -0
- data/test/w2tags_form.rb +0 -0
- data/test/w2tags_hot.rb +0 -0
- data/test/w2tags_hot_var.rb +0 -0
- data/test/w2tags_no_parsing.rb +0 -0
- metadata +2 -2
data/COPYING
CHANGED
|
File without changes
|
data/LICENSE
CHANGED
|
File without changes
|
data/MIT-LICENSE
CHANGED
|
File without changes
|
data/Manifest.txt
CHANGED
|
File without changes
|
data/README.rdoc
CHANGED
|
File without changes
|
data/Rakefile
CHANGED
|
File without changes
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.51
|
data/bin/w2tags
CHANGED
|
File without changes
|
data/doc/ERB.HOT.rdoc
CHANGED
|
File without changes
|
data/doc/FAQ.rdoc
CHANGED
|
File without changes
|
data/doc/HAML.rdoc
CHANGED
|
File without changes
|
data/doc/HOT.rdoc
CHANGED
|
File without changes
|
data/doc/History.rdoc
CHANGED
|
File without changes
|
data/doc/W2TAGS.rdoc
CHANGED
|
File without changes
|
data/example/common.hot
CHANGED
|
File without changes
|
data/example/from_readme.erb
CHANGED
|
File without changes
|
data/example/from_readme.w2erb
CHANGED
|
File without changes
|
data/example/from_w2tags.erb
CHANGED
|
File without changes
|
data/example/from_w2tags.w2erb
CHANGED
|
File without changes
|
data/example/rails_basic.hot
CHANGED
|
File without changes
|
data/hot/erb.hot
CHANGED
|
File without changes
|
data/hot/erb_base.hot
CHANGED
|
File without changes
|
data/hot/erb_form.hot
CHANGED
|
File without changes
|
data/hot/erb_head.hot
CHANGED
|
File without changes
|
data/hot/erb_jquery.hot
CHANGED
|
File without changes
|
data/hot/erb_merb.hot
CHANGED
|
File without changes
|
data/hot/erb_table.hot
CHANGED
|
File without changes
|
data/hot/html.hot
CHANGED
|
File without changes
|
data/hot/jquery.hot
CHANGED
|
File without changes
|
data/hot/nvelocity.hot
CHANGED
|
File without changes
|
data/hot/rails/sc_zebra.hot
CHANGED
|
File without changes
|
data/hot/rails/scaffold.hot
CHANGED
|
File without changes
|
data/hot/vm.hot
CHANGED
|
File without changes
|
data/hot/vm2.hot
CHANGED
|
File without changes
|
data/hot/vm_crud.hot
CHANGED
|
File without changes
|
data/hot/vm_popup.hot
CHANGED
|
File without changes
|
data/hot/xul.hot
CHANGED
|
File without changes
|
data/lib/tags2w.rb
CHANGED
|
File without changes
|
data/lib/w2tags.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/w2tags/block/remark.rb
CHANGED
|
File without changes
|
data/lib/w2tags/block/sass.rb
CHANGED
|
File without changes
|
data/lib/w2tags/merb_hook.rb
CHANGED
|
File without changes
|
data/lib/w2tags/parser.rb
CHANGED
|
@@ -326,7 +326,7 @@ module W2Tags
|
|
|
326
326
|
#in gem/hot and merging the HOT, this command can have multiple
|
|
327
327
|
#file HOT separate with ";"
|
|
328
328
|
def merge_hot
|
|
329
|
-
if(/!hot!([\w;]+)([`\n])/ =~ @row;@rgx = $~)
|
|
329
|
+
if(/!hot! *([\w;]+)([`\n])/ =~ @row;@rgx = $~)
|
|
330
330
|
hots= @rgx[1].split(';').collect {|x|x+'.'+@hot}
|
|
331
331
|
rpl = ['']
|
|
332
332
|
hots.each do |hot|
|
|
@@ -349,7 +349,7 @@ module W2Tags
|
|
|
349
349
|
#it will include / replace current row from file include, and after
|
|
350
350
|
#parser will try to get current row after merging to be evaluate
|
|
351
351
|
def merge_w2x
|
|
352
|
-
if(/!inc!
|
|
352
|
+
if(/!inc! *([\/\w._]+)([`\n])/ =~ @row;@rgx = $~)
|
|
353
353
|
mac = @src_path+'/'+$1
|
|
354
354
|
src = $~.to_s #;p mac
|
|
355
355
|
if File.exist?(mac)
|
data/lib/w2tags/rails_hook.rb
CHANGED
|
File without changes
|
data/lib/w2tags/sinatra_hook.rb
CHANGED
|
File without changes
|
data/plugins/w2tags/README
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/plugins/w2tags/install.rb
CHANGED
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
|
File without changes
|
data/spec/w2tags_spec.rb
CHANGED
|
File without changes
|
data/tasks/ann.rake
CHANGED
|
File without changes
|
data/tasks/bones.rake
CHANGED
|
File without changes
|
data/tasks/gem.rake
CHANGED
|
File without changes
|
data/tasks/git.rake
CHANGED
|
File without changes
|
data/tasks/manifest.rake
CHANGED
|
File without changes
|
data/tasks/notes.rake
CHANGED
|
File without changes
|
data/tasks/post_load.rake
CHANGED
|
File without changes
|
data/tasks/rdoc.rake
CHANGED
|
File without changes
|
data/tasks/rubyforge.rake
CHANGED
|
File without changes
|
data/tasks/setup.rb
CHANGED
|
@@ -17,7 +17,7 @@ PROJ = OpenStruct.new(
|
|
|
17
17
|
:authors => 'Widi Harsojo',
|
|
18
18
|
:email => 'wharsojo@gmail.com',
|
|
19
19
|
:url => "\000",
|
|
20
|
-
:version => ENV['VERSION'] || '0.9.
|
|
20
|
+
:version => ENV['VERSION'] || '0.9.51',
|
|
21
21
|
:exclude => %w(tmp$ bak$ ~$ CVS \.svn/ \.git/ ^pkg/),
|
|
22
22
|
:release_name => ENV['RELEASE'],
|
|
23
23
|
|
data/tasks/spec.rake
CHANGED
|
File without changes
|
data/tasks/svn.rake
CHANGED
|
File without changes
|
data/tasks/test.rake
CHANGED
|
File without changes
|
data/test/enlightning.hot
CHANGED
|
File without changes
|
data/test/feature.hot
CHANGED
|
File without changes
|
data/test/parser_test.rb
CHANGED
|
File without changes
|
data/test/tricky.hot
CHANGED
|
File without changes
|
data/test/vars.hot
CHANGED
|
File without changes
|
|
File without changes
|
data/test/w2tags_enlightning.rb
CHANGED
|
File without changes
|
data/test/w2tags_form.rb
CHANGED
|
File without changes
|
data/test/w2tags_hot.rb
CHANGED
|
File without changes
|
data/test/w2tags_hot_var.rb
CHANGED
|
File without changes
|
data/test/w2tags_no_parsing.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: w2tags
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.51
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- widi harsojo
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-09-30 00:00:00 +07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|