BBRedCloth 0.8.1 → 0.8.2

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.
@@ -89,7 +89,7 @@
89
89
  entity = ( "&" %A ( '#' digit+ | ( alpha ( alpha | digit )+ ) ) %T ';' ) >X ;
90
90
 
91
91
  direct_uri = "http" "s"? "://" uchar+ absolute_path?;
92
- automatic_url = direct_uri >X >A %{ STORE_URL("href"); } ;
92
+ automatic_url = (direct_uri -- '[' -- ']') >X >A %{ STORE_URL("href"); } ;
93
93
 
94
94
 
95
95
  # info
@@ -2,7 +2,7 @@ module RedCloth
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 8
5
- TINY = 1
5
+ TINY = 2
6
6
  RELEASE_CANDIDATE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
@@ -39,7 +39,7 @@ class TestRestrictions < Test::Unit::TestCase
39
39
  end
40
40
 
41
41
  generate_formatter_tests('disable_inline_images') do |doc|
42
- RedCloth.new(doc['in'], [:disable_inline=>:image]).to_html
42
+ RedCloth.new(doc['in'], [{:disable_inline=>:image},:bbcode]).to_html
43
43
  end
44
44
 
45
45
  generate_formatter_tests('general_disable_inline') do |doc|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BBRedCloth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 59
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 1
10
- version: 0.8.1
9
+ - 2
10
+ version: 0.8.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Alyea
@@ -15,12 +15,12 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-19 00:00:00 -07:00
18
+ date: 2011-06-01 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
22
  description: |-
23
- BBRedCloth-0.8.1 - Textile parser for Ruby. Includes BBCode additions.
23
+ BBRedCloth-0.8.2 - Textile parser for Ruby. Includes BBCode additions.
24
24
  http://redcloth.org/
25
25
  email: ryan@fangamer.com
26
26
  executables:
@@ -148,7 +148,7 @@ rubyforge_project: bbredcloth
148
148
  rubygems_version: 1.3.7
149
149
  signing_key:
150
150
  specification_version: 3
151
- summary: BBRedCloth-0.8.1 - Textile parser for Ruby. Includes BBCode additions. http://redcloth.org/
151
+ summary: BBRedCloth-0.8.2 - Textile parser for Ruby. Includes BBCode additions. http://redcloth.org/
152
152
  test_files:
153
153
  - test/test_custom_tags.rb
154
154
  - test/test_erb.rb