unix_utils 0.0.5 → 0.0.6
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.
- data/History.txt +6 -0
- data/lib/unix_utils/version.rb +1 -1
- data/lib/unix_utils.rb +1 -1
- metadata +10 -5
data/History.txt
CHANGED
data/lib/unix_utils/version.rb
CHANGED
data/lib/unix_utils.rb
CHANGED
@@ -230,7 +230,7 @@ module UnixUtils
|
|
230
230
|
def self.iconv(infile, to, from)
|
231
231
|
infile = ::File.expand_path infile
|
232
232
|
outfile = tmp_path infile
|
233
|
-
argv = ['iconv', '-t', to, '-f', from, infile]
|
233
|
+
argv = ['iconv', '-c', '-t', to, '-f', from, infile]
|
234
234
|
spawn argv, :write_to => outfile
|
235
235
|
outfile
|
236
236
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unix_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: posix-spawn
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,12 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
description: Like FileUtils, but provides zip, unzip, bzip2, bunzip2, tar, untar,
|
26
31
|
sed, du, md5sum, shasum, cut, head, tail, wc, unix2dos, dos2unix, iconv, curl, perl,
|
27
32
|
etc.
|
@@ -77,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
82
|
version: '0'
|
78
83
|
requirements: []
|
79
84
|
rubyforge_project:
|
80
|
-
rubygems_version: 1.8.
|
85
|
+
rubygems_version: 1.8.21
|
81
86
|
signing_key:
|
82
87
|
specification_version: 3
|
83
88
|
summary: Like FileUtils, but provides zip, unzip, bzip2, bunzip2, tar, untar, sed,
|