Skip to content

Commit 5134758

Browse files
committed
Merge remote branch 'flori/master'
2 parents 736a0dc + 9c19d63 commit 5134758

File tree

9 files changed

+277
-180
lines changed

9 files changed

+277
-180
lines changed

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2010-08-06 (1.4.4)
2+
* Fixes build problem for rubinius under OS X, http://github.com/flori/json/issues/closed#issue/25
3+
* Fixes crashes described in http://github.com/flori/json/issues/closed#issue/21 and
4+
http://github.com/flori/json/issues/closed#issue/23
15
2010-05-05 (1.4.3)
26
* Fixed some test assertions, from Ruby r27587 and r27590, patch by nobu.
37
* Fixed issue http://github.com/flori/json/issues/#issue/20 reported by

README

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ will be two variants available:
1111
generated by the ragel state machine compiler
1212
http://www.cs.queensu.ca/~thurston/ragel .
1313

14-
Both variants of the JSON generator escape all non-ASCII and control characters
15-
with \uXXXX escape sequences, and support UTF-16 surrogate pairs in order to be
16-
able to generate the whole range of unicode code points. This means that
17-
generated JSON document is encoded as UTF-8 (because ASCII is a subset of
18-
UTF-8) and at the same time avoids decoding problems for receiving endpoints,
19-
that don't expect UTF-8 encoded texts. On the negative side this may lead to a
20-
bit longer strings than necessarry.
14+
Both variants of the JSON generator generate UTF-8 character sequences by
15+
default. If an :ascii_only option with a true value is given, they escape all
16+
non-ASCII and control characters with \uXXXX escape sequences, and support
17+
UTF-16 surrogate pairs in order to be able to generate the whole range of
18+
unicode code points.
2119

2220
All strings, that are to be encoded as JSON strings, should be UTF-8 byte
2321
sequences on the Ruby side. To encode raw binary strings, that aren't UTF-8

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ task :benchmark => [ :benchmark_parser, :benchmark_generator ]
174174

175175
desc "Create RDOC documentation"
176176
task :doc => [ :version, EXT_PARSER_SRC ] do
177-
sh "rdoc -o doc -t '#{PKG_TITLE}' -m README README lib/json.rb #{FileList['lib/json/**/*.rb']} #{EXT_PARSER_SRC} #{EXT_GENERATOR_SRC}"
177+
sh "sdoc -o doc -t '#{PKG_TITLE}' -m README README lib/json.rb #{FileList['lib/json/**/*.rb']} #{EXT_PARSER_SRC} #{EXT_GENERATOR_SRC}"
178178
end
179179

180180
if defined?(Gem) and defined?(Rake::GemPackageTask)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.3
1+
1.4.4

0 commit comments

Comments
 (0)