charset_move 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +37 -4
- data/lib/charset_move.rb +1 -1
- metadata +13 -11
data/README.md
CHANGED
@@ -11,7 +11,7 @@ without any chance of a filename overwriting an existing file (including
|
|
11
11
|
possibly multiple files being written to the same filename after transcoding
|
12
12
|
filenames):
|
13
13
|
|
14
|
-
cmv -nf UTF-8 -t
|
14
|
+
cmv -nf UTF-8 -t ASCII-8BIT *
|
15
15
|
|
16
16
|
The `-n` option is "noclobber" (thus using numbers at the ends of filenames to
|
17
17
|
avoid files overwriting each other; default behavior simply overwrites existing
|
@@ -30,9 +30,42 @@ Use the `--help` or `-h` option to learn more about how to use `cmv`.
|
|
30
30
|
|
31
31
|
## installing
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
Installing the Ruby programming language's runtime is a relatively simple
|
34
|
+
operation, and a prerequisite for running cmv (because it is a Ruby project).
|
35
|
+
The "standard" reference implementation of Ruby, often called MRI/YARV (for
|
36
|
+
Matz' Ruby Implementation + Yet Another Ruby VM) is available in the default
|
37
|
+
software management system of most open source Unix-like operating systems as
|
38
|
+
well as Apple MacOS X. For users of Microsoft Windows, the [RubyInstaller for
|
39
|
+
Windows](http://rubyinstaller.org/) makes Ruby easy to install there, as well.
|
40
|
+
|
41
|
+
The normal way to install Ruby on most operating systems will also install the
|
42
|
+
gems tool, which is a sort of software management system specific to Ruby
|
43
|
+
tools, and is the way most Ruby libraries and applications are distributed,
|
44
|
+
including cmv.
|
45
|
+
|
46
|
+
Once you have Ruby installed with rubygems, installing cmv should be easy.
|
47
|
+
Just use the gem command:
|
48
|
+
|
49
|
+
$ gem install charset_move
|
50
|
+
|
51
|
+
You can also download the gem package from the FossRec project and use the gem
|
52
|
+
command to build and install it:
|
53
|
+
|
54
|
+
$ gem build charset_move.gemspec
|
55
|
+
$ gem install charset_move-<version>.gem
|
56
|
+
|
57
|
+
In this example, replace `<version>` with the version number in the name of the
|
58
|
+
gemfile you downloaded. For version 1.0.0, for instance, the command might
|
59
|
+
look like this (though as of this writing it is not yet at version 1.0.0):
|
60
|
+
|
61
|
+
$ gem install charset_move-1.0.0.gem
|
62
|
+
|
63
|
+
Note that the `$` character indicates your shell prompt, and is not part of the
|
64
|
+
command. Depending on your setup, you may need to use `sudo`, log in as root,
|
65
|
+
or engage in some other additional activities to ensure the gem is installed
|
66
|
+
correctly. If you know of different requirements for installation on other
|
67
|
+
systems, please feel free to submit patches or open an issue on the FossRec
|
68
|
+
issue tracker.
|
36
69
|
|
37
70
|
## credits
|
38
71
|
|
data/lib/charset_move.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: charset_move
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,10 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
15
|
-
|
14
|
+
description: |2
|
15
|
+
CharsetMove is a simple, Ruby based, copyfree licensed command line utility
|
16
|
+
for changing the encodings used for filenames.
|
16
17
|
email: code@apotheon.net
|
17
18
|
executables:
|
18
19
|
- cmv
|
@@ -29,28 +30,29 @@ files:
|
|
29
30
|
homepage: http://cmv.fossrec.com
|
30
31
|
licenses:
|
31
32
|
- NPL
|
32
|
-
post_install_message:
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
post_install_message: |2
|
34
|
+
Thank you for using CharsetMove. The "cmv" command line utility can be
|
35
|
+
used to change the encodings of filenames from one encoding to another.
|
36
|
+
Use the "-h" command line option to get more information about how to use
|
37
|
+
the command.
|
36
38
|
rdoc_options: []
|
37
39
|
require_paths:
|
38
40
|
- lib
|
39
41
|
required_ruby_version: !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
43
|
requirements:
|
42
|
-
- -
|
44
|
+
- - '>='
|
43
45
|
- !ruby/object:Gem::Version
|
44
46
|
version: '0'
|
45
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
48
|
none: false
|
47
49
|
requirements:
|
48
|
-
- -
|
50
|
+
- - '>='
|
49
51
|
- !ruby/object:Gem::Version
|
50
52
|
version: '0'
|
51
53
|
requirements: []
|
52
54
|
rubyforge_project:
|
53
|
-
rubygems_version: 1.8.
|
55
|
+
rubygems_version: 1.8.29
|
54
56
|
signing_key:
|
55
57
|
specification_version: 3
|
56
58
|
summary: CharsetMove - filename transcoder
|