RedCloth 4.2.5 → 4.2.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of RedCloth might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,15 @@
1
+ == 4.2.7 / Febrary 10, 2011
2
+
3
+ * Fixed typo in gemspec to make case-sensitive require work. [Gabe da Silveira]
4
+ * Tested installing the gem and requiring it with both cases on Ubuntu 8.04, 10.10 and OS X Version 10.6.6.
5
+ * Have spaces around the en-dash in LaTeX [Benjamin Quorning]
6
+ * Turned double-quote close to smart quotes in LaTeX [Jonathan D. Blake]
7
+
8
+ === 4.2.6 / February 9, 2011
9
+
10
+ * Add case-sensitive require back into the gemspec.
11
+ * Fix rdoc options in gemspec.
12
+
1
13
  === 4.2.5 / February 7, 2011
2
14
 
3
15
  * Fix bundler and rubygems-test incompatibilities. Working around bug:
@@ -2,7 +2,7 @@
2
2
 
3
3
  Homepage:: http://redcloth.org
4
4
  Author:: Jason Garber
5
- Copyright:: (c) 2009 Jason Garber
5
+ Copyright:: (c) 2011 Jason Garber
6
6
  License:: MIT
7
7
 
8
8
  (See http://redcloth.org/textile/ for a Textile reference.)
@@ -241,7 +241,7 @@ module RedCloth::Formatters::LATEX
241
241
  end
242
242
 
243
243
  def quote2(opts)
244
- "``#{opts[:text]}\""
244
+ "``#{opts[:text]}''"
245
245
  end
246
246
 
247
247
  def ellipsis(opts)
@@ -253,7 +253,7 @@ module RedCloth::Formatters::LATEX
253
253
  end
254
254
 
255
255
  def endash(opts)
256
- "--"
256
+ " -- "
257
257
  end
258
258
 
259
259
  def arrow(opts)
@@ -28,9 +28,9 @@ mdash: ---
28
28
  #EM DASH
29
29
  "8212": ---
30
30
  #EN DASH
31
- ndash: --
31
+ ndash: ' -- '
32
32
  #EN DASH
33
- "8211": --
33
+ "8211": ' -- '
34
34
  #HYPHEN
35
35
  "8208": "-"
36
36
  #OPEN BOX
@@ -2,7 +2,7 @@ module RedCloth
2
2
  module VERSION
3
3
  MAJOR = 4
4
4
  MINOR = 2
5
- TINY = 5
5
+ TINY = 7
6
6
  RELEASE_CANDIDATE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('.')
Binary file
@@ -19,9 +19,9 @@ Gem::Specification.new do |s|
19
19
  s.files = Dir['.gemtest', '.rspec', 'CHANGELOG', 'COPYING', 'Gemfile', 'README.rdoc', 'Rakefile', 'doc/**/*', 'bin/**/*', 'lib/**/*', 'redcloth.gemspec', 'spec/**/*', 'tasks/**/*']
20
20
  s.test_files = Dir['spec/**/*']
21
21
  s.executables = ['redcloth']
22
- s.extra_rdoc_files = ["COPYING", "README.rdoc", "CHANGELOG"]
23
- s.rdoc_options = ["--charset=UTF-8"]
24
- s.require_path = "lib"
22
+ s.extra_rdoc_files = ["README.rdoc", "COPYING", "CHANGELOG"]
23
+ s.rdoc_options = ["--charset=UTF-8", "--line-numbers", "--inline-source", "--title", "RedCloth", "--main", "README.rdoc"]
24
+ s.require_paths += ["lib/case_sensitive_require", "ext"]
25
25
 
26
26
  s.files -= Dir['lib/redcloth.jar']
27
27
  s.files -= Dir['lib/**/*.dll']
@@ -173,7 +173,7 @@ name: single hyphens with spaces
173
173
  desc: Single hyphens are replaced with en-dashes if they are surrounded by spaces.
174
174
  in: Observe - tiny and brief.
175
175
  html: <p>Observe &#8211; tiny and brief.</p>
176
- latex: "Observe--tiny and brief.\n\n"
176
+ latex: "Observe -- tiny and brief.\n\n"
177
177
  ---
178
178
  name: midword hyphens
179
179
  desc: Single hyphens are left alone if not surrounded by spaces.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RedCloth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
8
  - 2
9
- - 5
10
- version: 4.2.5
9
+ - 7
10
+ version: 4.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Garber
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-02-07 00:00:00 -06:00
20
+ date: 2011-02-11 00:00:00 -06:00
21
21
  default_executable: redcloth
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -122,8 +122,8 @@ executables:
122
122
  extensions:
123
123
  - ext/redcloth_scan/extconf.rb
124
124
  extra_rdoc_files:
125
- - COPYING
126
125
  - README.rdoc
126
+ - COPYING
127
127
  - CHANGELOG
128
128
  files:
129
129
  - .gemtest
@@ -197,8 +197,16 @@ licenses: []
197
197
  post_install_message:
198
198
  rdoc_options:
199
199
  - --charset=UTF-8
200
+ - --line-numbers
201
+ - --inline-source
202
+ - --title
203
+ - RedCloth
204
+ - --main
205
+ - README.rdoc
200
206
  require_paths:
201
207
  - lib
208
+ - lib/case_sensitive_require
209
+ - ext
202
210
  required_ruby_version: !ruby/object:Gem::Requirement
203
211
  none: false
204
212
  requirements:
@@ -223,7 +231,7 @@ rubyforge_project: redcloth
223
231
  rubygems_version: 1.5.0
224
232
  signing_key:
225
233
  specification_version: 3
226
- summary: RedCloth-4.2.5
234
+ summary: RedCloth-4.2.7
227
235
  test_files:
228
236
  - spec/benchmark_spec.rb
229
237
  - spec/custom_tags_spec.rb