effin_utf8 1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/effin_utf8.rb +8 -0
  2. metadata +65 -0
@@ -0,0 +1,8 @@
1
+ module EffinUTF8
2
+ VERSION = "1.0"
3
+ end
4
+
5
+ if RUBY_VERSION.to_s =~ /^1.9/
6
+ Encoding.default_internal = Encoding::UTF_8
7
+ Encoding.default_external = Encoding::UTF_8
8
+ end
metadata ADDED
@@ -0,0 +1,65 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: effin_utf8
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ version: "1.0"
10
+ platform: ruby
11
+ authors:
12
+ - Michael S. Klishin
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-05-18 00:00:00 Z
18
+ dependencies: []
19
+
20
+ description: Enforces default internal and external encodings to be UTF-8 on Ruby 1.9. Has no effect on 1.8.7.
21
+ email:
22
+ - michael@novemberain.com
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - lib/effin_utf8.rb
31
+ homepage: ""
32
+ licenses: []
33
+
34
+ post_install_message:
35
+ rdoc_options: []
36
+
37
+ require_paths:
38
+ - lib
39
+ required_ruby_version: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ hash: 3
54
+ segments:
55
+ - 0
56
+ version: "0"
57
+ requirements: []
58
+
59
+ rubyforge_project: effin_utf8
60
+ rubygems_version: 1.8.2
61
+ signing_key:
62
+ specification_version: 3
63
+ summary: Enforces default internal and external encodings to be UTF-8 on Ruby 1.9
64
+ test_files: []
65
+