Skip to content

Commit

Permalink
Hide iconv deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
geronime committed Jun 8, 2012
1 parent 536d21c commit 83750c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.markdown
Expand Up @@ -168,6 +168,7 @@ instance method

## Changelog:

+ __0.2.3__: hide iconv deprecation warning
+ __0.2.2__: instance/request `ignore_kill` options
+ __0.2.1__: rescue 'ArgumentError: unknown encoding name' in Curburger::Recode
+ __0.2.0__: request methods return hash
Expand Down
4 changes: 4 additions & 0 deletions lib/curburger/recode.rb
@@ -1,5 +1,9 @@
#encoding:utf-8

### TODO not to use Iconv. Hiding the deprecation warning for now.
v, $-v = $-v, nil
require 'iconv'
$-v = v

module Curburger

Expand Down
2 changes: 1 addition & 1 deletion lib/curburger/version.rb
@@ -1,6 +1,6 @@
#encoding:utf-8

module Curburger
VERSION = '0.2.2'
VERSION = '0.2.3'
end

0 comments on commit 83750c1

Please sign in to comment.