bluecloth 2.0.6-x86-mingw32 → 2.0.7.pre126-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,16 @@
1
- 122[tip] 0cc074237b75 2010-01-16 16:32 -0800 ged
1
+ 126[tip] 961801a5b88a 2010-01-21 12:14 -0800 ged
2
+ Bumping version to 2.0.7.
3
+
4
+ 125 8dd151abf28e 2010-01-21 12:13 -0800 ged
5
+ Backing out the m17n fix
6
+
7
+ 124 d86fe9412190 2010-01-17 12:03 -0800 ged
8
+ Added tag 2.0.6 for changeset 1e62f609c3ab
9
+
10
+ 123[2.0.6] 1e62f609c3ab 2010-01-17 12:03 -0800 ged
11
+ Added signature for changeset 0cc074237b75
12
+
13
+ 122 0cc074237b75 2010-01-16 16:32 -0800 ged
2
14
  Rakefile changes:
3
15
 
4
16
  121 0e3195e9fb3e 2010-01-16 16:24 -0800 ged
data/ext/bluecloth.c CHANGED
@@ -145,12 +145,7 @@ bluecloth_s_allocate( VALUE klass ) {
145
145
  */
146
146
  static VALUE
147
147
  bluecloth_s_discount_version( VALUE klass ) {
148
- #ifdef HAVE_RUBY_ENCODING_H
149
- return rb_external_str_new_with_enc( markdown_version, strlen(markdown_version),
150
- rb_default_external_encoding() );
151
- #else
152
148
  return rb_str_new2( markdown_version );
153
- #endif
154
149
  }
155
150
 
156
151
  /* --------------------------------------------------------------
@@ -224,9 +219,6 @@ bluecloth_initialize( int argc, VALUE *argv, VALUE self ) {
224
219
  rb_iv_set( self, "@text", textcopy );
225
220
  OBJ_FREEZE( fullhash );
226
221
  rb_iv_set( self, "@options", fullhash );
227
- #ifdef HAVE_RUBY_ENCODING_H
228
- rb_enc_copy( self, text );
229
- #endif
230
222
 
231
223
  OBJ_INFECT( self, text );
232
224
  }
@@ -255,9 +247,6 @@ bluecloth_to_html( VALUE self ) {
255
247
  bluecloth_debug( "Pointer to results: %p, length = %d", output, length );
256
248
  result = rb_str_new( output, length );
257
249
 
258
- #ifdef HAVE_RUBY_ENCODING_H
259
- rb_enc_copy( result, self );
260
- #endif
261
250
  OBJ_INFECT( result, self );
262
251
  return result;
263
252
  } else {
Binary file
Binary file
data/lib/bluecloth.rb CHANGED
@@ -29,7 +29,7 @@
29
29
  class BlueCloth
30
30
 
31
31
  # Release Version
32
- VERSION = '2.0.6'
32
+ VERSION = '2.0.7'
33
33
 
34
34
  # The defaults for all supported options.
35
35
  DEFAULT_OPTIONS = {
@@ -269,10 +269,12 @@ describe BlueCloth do
269
269
 
270
270
 
271
271
  it "outputs HTML in the same encoding as the source string" do
272
- utf8 = "a string".encode( "UTF-8" )
273
- out = BlueCloth.new( utf8 ).to_html
272
+ pending "until I can figure out what the right way to do m17n in the C API is" do
273
+ utf8 = "a string".encode( "UTF-8" )
274
+ out = BlueCloth.new( utf8 ).to_html
274
275
 
275
- out.encoding.name.should == 'UTF-8'
276
+ out.encoding.name.should == 'UTF-8'
277
+ end
276
278
  end
277
279
  end
278
280
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluecloth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7.pre126
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Michael Granger
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-17 00:00:00 -08:00
12
+ date: 2010-01-24 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15