Permalink
Browse files

Preparing for release.

  • Loading branch information...
1 parent 53399be commit 5b504e1c8ad08e27dd8b8c71d635f01298f0c693 @threedaymonk committed Aug 14, 2009
Showing with 12 additions and 6 deletions.
  1. +1 −1 COPYING.txt
  2. +7 −1 History.txt
  3. +1 −1 README.txt
  4. +3 −3 Rakefile
View
@@ -1,6 +1,6 @@
== Licence (MIT)
-Copyright (c) 2005-2006 Paul Battley
+Copyright (c) 2005-2009 Paul Battley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -1,3 +1,9 @@
+== 4.1.0 (2009-08-15)
+* Now works with Ruby 1.9.1 and JRuby.
+* Reverted lazy loading of entity mappings as this is not thread-safe.
+* Finally removed the deprecated String#encode_entities and #decode_entities
+ methods.
+
== 4.0.1 (2008-06-03)
* Added :expanded charset -- the ~1000 SGML entities from
ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT (extra code by
@@ -14,7 +20,7 @@
should be more efficient on long strings.
== 3.1.0 (2007-01-19)
-* Now understands all the entities referred to in the XHTML 1.0 DTD (253
+* Now understands all the entities referred to in the XHTML 1.0 DTD (253
entities compared with 131 in version 3.0.1).
* Calls to_s on parameters to play nicely with Rails 1.2.1.
* Entity mapping data is now lazily loaded.
View
@@ -15,7 +15,7 @@ Alternatively, you can just use the gem.
This code is free to use under the terms of the MIT licence:
- Copyright (c) 2007 Paul Battley
+ Copyright (c) 2005-2009 Paul Battley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
View
@@ -5,7 +5,7 @@ require "zlib"
require "rake/clean"
$:.unshift(File.dirname(__FILE__) + '/lib')
-require 'htmlentities'
+require 'htmlentities/version'
CLEAN.include("doc")
DOCTYPES = %w[html4 xhtml1]
@@ -16,11 +16,11 @@ task :default => :test
spec = Gem::Specification.new do |s|
s.name = "htmlentities"
- s.version = HTMLEntities::VERSION
+ s.version = HTMLEntities::VERSION::STRING
s.author = "Paul Battley"
s.email = "pbattley@gmail.com"
s.summary = "A module for encoding and decoding (X)HTML entities."
- s.files = FileList['{lib,test}/**/*.rb', 'setup.rb']
+ s.files = FileList['{lib,test}/**/*.rb']
s.require_path = "lib"
s.test_file = 'test/test_all.rb'
s.has_rdoc = true

0 comments on commit 5b504e1

Please sign in to comment.