wikitext 4.0.3 → 4.1
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.
- checksums.yaml +4 -4
- data/bin/wikitext +2 -2
- data/ext/wikitext/parser.c +1 -8
- data/ext/wikitext/parser.h +1 -3
- data/ext/wikitext/wikitext.c +3 -10
- data/lib/wikitext/haml_filter.rb +33 -0
- data/lib/wikitext/nil_class.rb +4 -4
- data/lib/wikitext/parser.rb +2 -3
- data/lib/wikitext/preprocess.rb +2 -2
- data/lib/wikitext/rails_template_handler.rb +3 -3
- data/lib/wikitext/string.rb +4 -4
- data/lib/wikitext/version.rb +3 -3
- data/spec/autolinking_spec.rb +2 -2
- data/spec/base_heading_level_spec.rb +2 -2
- data/spec/blockquote_spec.rb +2 -2
- data/spec/em_spec.rb +2 -2
- data/spec/encoding_spec.rb +2 -2
- data/spec/entity_spec.rb +2 -2
- data/spec/external_link_spec.rb +2 -2
- data/spec/fulltext_spec.rb +2 -2
- data/spec/h1_spec.rb +2 -2
- data/spec/h2_spec.rb +2 -2
- data/spec/h3_spec.rb +2 -2
- data/spec/h4_spec.rb +2 -2
- data/spec/h5_spec.rb +2 -2
- data/spec/h6_spec.rb +2 -2
- data/spec/img_spec.rb +2 -2
- data/spec/indentation_spec.rb +2 -2
- data/spec/integration_spec.rb +2 -2
- data/spec/internal_link_spec.rb +2 -2
- data/spec/line_endings_spec.rb +2 -2
- data/spec/link_encoding_spec.rb +2 -2
- data/spec/link_sanitizing_spec.rb +2 -2
- data/spec/nil_class_spec.rb +2 -2
- data/spec/nowiki_spec.rb +2 -2
- data/spec/p_spec.rb +2 -2
- data/spec/parser_spec.rb +2 -2
- data/spec/pre_spec.rb +2 -2
- data/spec/rails_spec.rb +2 -2
- data/spec/regressions_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/spec/string_spec.rb +2 -2
- data/spec/strong_em_spec.rb +2 -2
- data/spec/strong_spec.rb +2 -2
- data/spec/tokenizing_spec.rb +2 -2
- data/spec/tt_spec.rb +2 -2
- data/spec/ul_spec.rb +2 -2
- data/spec/version_spec.rb +2 -2
- data/spec/wikitext_spec.rb +2 -2
- metadata +25 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adb8b0bee90b1594b72581586c246100bfdfad68
|
4
|
+
data.tar.gz: 62123f1974297e064ce6a65d88424dc801555026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8f8f3cc9893fcbb128d971a0c52a076f2eac3f0a10a406018e5789afd59fa17e812e36af655deb55c119a9212a24d18000de847dca09df92a0d316a2c6a048f
|
7
|
+
data.tar.gz: a523ee12c625ba39f8a6472f57a1e4eb6b8404dca07042508e32036a12add67a1ab889d214b3127db3d1d3aa75736b3f3e5fb69d377ef8a2c9a206ff0da08dae
|
data/bin/wikitext
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# Copyright 2008-
|
2
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
3
3
|
#
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -9,7 +9,7 @@
|
|
9
9
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
10
10
|
# this list of conditions and the following disclaimer in the documentation
|
11
11
|
# and/or other materials provided with the distribution.
|
12
|
-
|
12
|
+
#
|
13
13
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
14
14
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
15
15
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/ext/wikitext/parser.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2007-
|
1
|
+
// Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
//
|
3
3
|
// Redistribution and use in source and binary forms, with or without
|
4
4
|
// modification, are permitted provided that the following conditions are met:
|
@@ -1051,13 +1051,6 @@ VALUE Wikitext_parser_initialize(int argc, VALUE *argv, VALUE self)
|
|
1051
1051
|
return self;
|
1052
1052
|
}
|
1053
1053
|
|
1054
|
-
VALUE Wikitext_parser_profiling_parse(VALUE self, VALUE string)
|
1055
|
-
{
|
1056
|
-
for (int i = 0; i < 100000; i++)
|
1057
|
-
Wikitext_parser_parse(1, &string, self);
|
1058
|
-
return Qnil;
|
1059
|
-
}
|
1060
|
-
|
1061
1054
|
// convert a Ruby object (:xml, :html etc) into an int output style
|
1062
1055
|
int Wikitext_output_style(VALUE output)
|
1063
1056
|
{
|
data/ext/wikitext/parser.h
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2008-
|
1
|
+
// Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
//
|
3
3
|
// Redistribution and use in source and binary forms, with or without
|
4
4
|
// modification, are permitted provided that the following conditions are met:
|
@@ -36,5 +36,3 @@ VALUE Wikitext_parser_sanitize_link_target(VALUE self, VALUE string);
|
|
36
36
|
VALUE Wikitext_parser_encode_link_target(VALUE self, VALUE in);
|
37
37
|
|
38
38
|
VALUE Wikitext_parser_parse(int argc, VALUE *argv, VALUE self);
|
39
|
-
|
40
|
-
VALUE Wikitext_parser_profiling_parse(VALUE self, VALUE string);
|
data/ext/wikitext/wikitext.c
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Copyright 2008-
|
1
|
+
// Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
//
|
3
3
|
// Redistribution and use in source and binary forms, with or without
|
4
4
|
// modification, are permitted provided that the following conditions are met:
|
@@ -68,7 +68,6 @@ void Init_wikitext()
|
|
68
68
|
cWikitextParser = rb_define_class_under(mWikitext, "Parser", rb_cObject);
|
69
69
|
rb_define_method(cWikitextParser, "initialize", Wikitext_parser_initialize, -1);
|
70
70
|
rb_define_method(cWikitextParser, "parse", Wikitext_parser_parse, -1);
|
71
|
-
rb_define_method(cWikitextParser, "profiling_parse", Wikitext_parser_profiling_parse, 1);
|
72
71
|
rb_define_method(cWikitextParser, "tokenize", Wikitext_parser_tokenize, 1);
|
73
72
|
rb_define_method(cWikitextParser, "benchmarking_tokenize", Wikitext_parser_benchmarking_tokenize, 1);
|
74
73
|
rb_define_method(cWikitextParser, "fulltext_tokenize", Wikitext_parser_fulltext_tokenize, -1);
|
@@ -111,15 +110,9 @@ void Init_wikitext()
|
|
111
110
|
rb_require("wikitext/nil_class");
|
112
111
|
rb_require("wikitext/string");
|
113
112
|
|
114
|
-
// now check for Rails version
|
115
113
|
VALUE active_support = rb_const_get(rb_cObject,
|
116
114
|
rb_intern("ActiveSupport"));
|
117
|
-
|
118
|
-
|
119
|
-
rb_iterate(wikitext_block_forwarder, active_support,
|
120
|
-
wikitext_on_load_block, Qnil);
|
121
|
-
else
|
122
|
-
// running under Rails 2
|
123
|
-
rb_require("wikitext/rails_template_handler");
|
115
|
+
rb_iterate(wikitext_block_forwarder, active_support,
|
116
|
+
wikitext_on_load_block, Qnil);
|
124
117
|
}
|
125
118
|
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright 2014 Wincent Colaiuta. All rights reserved.
|
2
|
+
#
|
3
|
+
# Redistribution and use in source and binary forms, with or without
|
4
|
+
# modification, are permitted provided that the following conditions are met:
|
5
|
+
#
|
6
|
+
# 1. Redistributions of source code must retain the above copyright notice,
|
7
|
+
# this list of conditions and the following disclaimer.
|
8
|
+
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
|
+
# this list of conditions and the following disclaimer in the documentation
|
10
|
+
# and/or other materials provided with the distribution.
|
11
|
+
#
|
12
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
|
+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
|
+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
15
|
+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
|
16
|
+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
17
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
18
|
+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
19
|
+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
20
|
+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
21
|
+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
22
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
23
|
+
|
24
|
+
require 'wikitext/string'
|
25
|
+
|
26
|
+
module Haml::Filters::Wikitext
|
27
|
+
include Haml::Filters::Base
|
28
|
+
|
29
|
+
def render(text)
|
30
|
+
html = text.w
|
31
|
+
html.respond_to?(:html_safe) ? html.html_safe : html
|
32
|
+
end
|
33
|
+
end # module Haml::Filters::Wikitext
|
data/lib/wikitext/nil_class.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -22,8 +22,8 @@
|
|
22
22
|
# POSSIBILITY OF SUCH DAMAGE.
|
23
23
|
|
24
24
|
class NilClass
|
25
|
-
def to_wikitext
|
25
|
+
def to_wikitext(options = {})
|
26
26
|
''
|
27
27
|
end
|
28
28
|
alias :w :to_wikitext
|
29
|
-
end
|
29
|
+
end # class NilClass
|
data/lib/wikitext/parser.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009-
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -30,4 +30,3 @@ module Wikitext
|
|
30
30
|
end
|
31
31
|
end # class Parser
|
32
32
|
end # module Wikitext
|
33
|
-
|
data/lib/wikitext/preprocess.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -28,7 +28,7 @@ module ActionView
|
|
28
28
|
class Template
|
29
29
|
module Handlers
|
30
30
|
class Wikitext
|
31
|
-
def self.call
|
31
|
+
def self.call(template)
|
32
32
|
"'" + template.source.w.gsub("'", "\\\\'") + "'"
|
33
33
|
end
|
34
34
|
end # class Wikitext
|
data/lib/wikitext/string.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -25,11 +25,11 @@ require 'wikitext/parser'
|
|
25
25
|
|
26
26
|
class String
|
27
27
|
def to_wikitext options = {}
|
28
|
-
default_options = { :
|
28
|
+
default_options = { indent: false }
|
29
29
|
markup = respond_to?(:wikitext_preprocess) ? wikitext_preprocess : self
|
30
30
|
html = Wikitext::Parser.shared_parser.parse markup,
|
31
31
|
default_options.merge(options)
|
32
32
|
html.respond_to?(:html_safe) ? html.html_safe : html
|
33
33
|
end
|
34
34
|
alias :w :to_wikitext
|
35
|
-
end
|
35
|
+
end # class String
|
data/lib/wikitext/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -22,5 +22,5 @@
|
|
22
22
|
# POSSIBILITY OF SUCH DAMAGE.
|
23
23
|
|
24
24
|
module Wikitext
|
25
|
-
VERSION = '4.
|
25
|
+
VERSION = '4.1'
|
26
26
|
end # module Wikitext
|
data/spec/autolinking_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009 Wincent Colaiuta. All rights reserved.
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/blockquote_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/em_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/encoding_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/entity_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/external_link_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/fulltext_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/h1_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/h2_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/h3_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/h4_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/h5_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/h6_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/img_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/indentation_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/integration_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/internal_link_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/line_endings_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/link_encoding_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/nil_class_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009 Wincent Colaiuta. All rights reserved.
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/nowiki_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/p_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/parser_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009 Wincent Colaiuta. All rights reserved.
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/pre_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/rails_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009-
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/regressions_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/string_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009 Wincent Colaiuta. All rights reserved.
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/strong_em_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/strong_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/tokenizing_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2008-
|
1
|
+
# Copyright 2008-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/tt_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/ul_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/version_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2009-
|
1
|
+
# Copyright 2009-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
data/spec/wikitext_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2007-
|
1
|
+
# Copyright 2007-2014 Wincent Colaiuta. All rights reserved.
|
2
2
|
#
|
3
3
|
# Redistribution and use in source and binary forms, with or without
|
4
4
|
# modification, are permitted provided that the following conditions are met:
|
@@ -8,7 +8,7 @@
|
|
8
8
|
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
9
|
# this list of conditions and the following disclaimer in the documentation
|
10
10
|
# and/or other materials provided with the distribution.
|
11
|
-
|
11
|
+
#
|
12
12
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
13
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
14
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wikitext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: '4.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wincent Colaiuta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: yard
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: wopen3
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ZenTest
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: |2
|
@@ -104,21 +104,22 @@ extensions:
|
|
104
104
|
extra_rdoc_files: []
|
105
105
|
files:
|
106
106
|
- bin/wikitext
|
107
|
-
- ext/wikitext/extconf.rb
|
108
107
|
- ext/wikitext/ary.c
|
109
|
-
- ext/wikitext/parser.c
|
110
|
-
- ext/wikitext/str.c
|
111
|
-
- ext/wikitext/token.c
|
112
|
-
- ext/wikitext/wikitext.c
|
113
|
-
- ext/wikitext/wikitext_ragel.c
|
114
108
|
- ext/wikitext/ary.h
|
109
|
+
- ext/wikitext/depend
|
110
|
+
- ext/wikitext/extconf.rb
|
111
|
+
- ext/wikitext/parser.c
|
115
112
|
- ext/wikitext/parser.h
|
116
113
|
- ext/wikitext/ruby_compat.h
|
114
|
+
- ext/wikitext/str.c
|
117
115
|
- ext/wikitext/str.h
|
116
|
+
- ext/wikitext/token.c
|
118
117
|
- ext/wikitext/token.h
|
118
|
+
- ext/wikitext/wikitext.c
|
119
119
|
- ext/wikitext/wikitext.h
|
120
|
+
- ext/wikitext/wikitext_ragel.c
|
120
121
|
- ext/wikitext/wikitext_ragel.h
|
121
|
-
-
|
122
|
+
- lib/wikitext/haml_filter.rb
|
122
123
|
- lib/wikitext/nil_class.rb
|
123
124
|
- lib/wikitext/parser.rb
|
124
125
|
- lib/wikitext/preprocess.rb
|
@@ -174,17 +175,17 @@ require_paths:
|
|
174
175
|
- lib
|
175
176
|
required_ruby_version: !ruby/object:Gem::Requirement
|
176
177
|
requirements:
|
177
|
-
- -
|
178
|
+
- - ">="
|
178
179
|
- !ruby/object:Gem::Version
|
179
180
|
version: 2.0.0
|
180
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
182
|
requirements:
|
182
|
-
- -
|
183
|
+
- - ">="
|
183
184
|
- !ruby/object:Gem::Version
|
184
185
|
version: '0'
|
185
186
|
requirements: []
|
186
187
|
rubyforge_project: wikitext
|
187
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.2.0
|
188
189
|
signing_key:
|
189
190
|
specification_version: 4
|
190
191
|
summary: Wikitext-to-HTML translator
|