unihawk 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/README.md +1 -1
- data/unihawk.gemspec +1 -3
- metadata +5 -18
data/.gitignore
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
.bundle*
|
1
|
+
.bundle*
|
2
|
+
*.gem
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ content = File.new('/some_path/some_file.txt').read
|
|
20
20
|
content = Unihawk.convert(content, 'utf-8')
|
21
21
|
```
|
22
22
|
|
23
|
-
```content``` will be converted to UTF-8 with BOM removed, if exists.
|
23
|
+
```content``` will be converted to UTF-8 with [BOM](http://en.wikipedia.org/wiki/Byte_order_mark) removed, if exists.
|
24
24
|
|
25
25
|
|
26
26
|
Author
|
data/unihawk.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "unihawk"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.2"
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Tanin Na Nakorn"]
|
9
9
|
s.email = ["tanin47@yahoo.com"]
|
@@ -15,6 +15,4 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.test_files = `git ls-files -- {rails,spec}/*`.split("\n")
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ["lib"]
|
18
|
-
|
19
|
-
s.add_dependency('iconv')
|
20
18
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unihawk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tanin Na Nakorn
|
@@ -17,21 +17,8 @@ cert_chain: []
|
|
17
17
|
|
18
18
|
date: 2012-10-18 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: iconv
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
33
|
-
type: :runtime
|
34
|
-
version_requirements: *id001
|
20
|
+
dependencies: []
|
21
|
+
|
35
22
|
description: Read a file in a target encoding (Only works with UTF-16LE, UTF-16BE, and UTF-8)
|
36
23
|
email:
|
37
24
|
- tanin47@yahoo.com
|