cmess 0.0.4.136
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/COPYING +676 -0
- data/ChangeLog +6 -0
- data/README +53 -0
- data/Rakefile +30 -0
- data/bin/cinderella +186 -0
- data/bin/decode_entities +101 -0
- data/bin/guess_encoding +183 -0
- data/data/csets/iso_8859-1.yaml +195 -0
- data/data/csets/iso_8859-15.yaml +204 -0
- data/data/csets/latin1.yaml +195 -0
- data/data/csets/unicode/basic_latin.yaml +97 -0
- data/data/csets/unicode/cyrillic-supplement.yaml +17 -0
- data/data/csets/unicode/cyrillic.yaml +256 -0
- data/data/csets/unicode/greek.yaml +129 -0
- data/data/csets/unicode/ipa_extensions.yaml +97 -0
- data/data/csets/unicode/latin-extended-c.yaml +18 -0
- data/data/csets/unicode/latin-extended-d.yaml +3 -0
- data/data/csets/unicode/latin_1_supplement.yaml +128 -0
- data/data/csets/unicode/latin_extended_a.yaml +129 -0
- data/data/csets/unicode/latin_extended_additional.yaml +247 -0
- data/data/csets/unicode/latin_extended_b.yaml +209 -0
- data/data/csets/unicode/letterlike_symbols.yaml +80 -0
- data/data/csets/unicode/spacing_modifier_letters.yaml +81 -0
- data/data/csets/utf-8.yaml +1504 -0
- data/data/csets/utf8.yaml +1504 -0
- data/example/crop +127 -0
- data/example/crop_repaired +127 -0
- data/example/empty6-slash.txt +1495 -0
- data/example/empty6-slash_repaired.txt +1495 -0
- data/example/pot +1368 -0
- data/lib/cmess.rb +44 -0
- data/lib/cmess/cinderella.rb +63 -0
- data/lib/cmess/cli.rb +79 -0
- data/lib/cmess/decode_entities.rb +68 -0
- data/lib/cmess/guess_encoding.rb +372 -0
- data/lib/cmess/version.rb +51 -0
- metadata +119 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
#--
|
2
|
+
###############################################################################
|
3
|
+
# #
|
4
|
+
# A component of cmess, the encoding tool-box. #
|
5
|
+
# #
|
6
|
+
# Copyright (C) 2007 University of Cologne, #
|
7
|
+
# Albertus-Magnus-Platz, #
|
8
|
+
# 50932 Cologne, Germany #
|
9
|
+
# #
|
10
|
+
# Authors: #
|
11
|
+
# Jens Wille <jens.wille@uni-koeln.de> #
|
12
|
+
# #
|
13
|
+
# cmess is free software; you can redistribute it and/or modify it under the #
|
14
|
+
# terms of the GNU General Public License as published by the Free Software #
|
15
|
+
# Foundation; either version 3 of the License, or (at your option) any later #
|
16
|
+
# version. #
|
17
|
+
# #
|
18
|
+
# cmess is distributed in the hope that it will be useful, but WITHOUT ANY #
|
19
|
+
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS #
|
20
|
+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more #
|
21
|
+
# details. #
|
22
|
+
# #
|
23
|
+
# You should have received a copy of the GNU General Public License along #
|
24
|
+
# with cmess. If not, see <http://www.gnu.org/licenses/>. #
|
25
|
+
# #
|
26
|
+
###############################################################################
|
27
|
+
#++
|
28
|
+
|
29
|
+
module CMess::Version
|
30
|
+
|
31
|
+
MAJOR = 0
|
32
|
+
MINOR = 0
|
33
|
+
TINY = 4
|
34
|
+
|
35
|
+
class << self
|
36
|
+
|
37
|
+
# Returns array representation.
|
38
|
+
def to_a
|
39
|
+
[MAJOR, MINOR, TINY]
|
40
|
+
end
|
41
|
+
|
42
|
+
# Short-cut for version string.
|
43
|
+
def to_s
|
44
|
+
to_a.join('.')
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
CMess::VERSION = to_s
|
50
|
+
|
51
|
+
end
|
metadata
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cmess
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4.136
|
5
|
+
platform: ""
|
6
|
+
authors:
|
7
|
+
- Jens Wille
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2007-12-18 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: ruby-nuggets
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "0"
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: htmlentities
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: "0"
|
32
|
+
version:
|
33
|
+
description:
|
34
|
+
email: jens.wille@uni-koeln.de
|
35
|
+
executables:
|
36
|
+
- cinderella
|
37
|
+
- decode_entities
|
38
|
+
- guess_encoding
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README
|
43
|
+
- COPYING
|
44
|
+
- ChangeLog
|
45
|
+
files:
|
46
|
+
- lib/cmess.rb
|
47
|
+
- lib/cmess/version.rb
|
48
|
+
- lib/cmess/guess_encoding.rb
|
49
|
+
- lib/cmess/cli.rb
|
50
|
+
- lib/cmess/cinderella.rb
|
51
|
+
- lib/cmess/decode_entities.rb
|
52
|
+
- bin/cinderella
|
53
|
+
- bin/decode_entities
|
54
|
+
- bin/guess_encoding
|
55
|
+
- COPYING
|
56
|
+
- README
|
57
|
+
- ChangeLog
|
58
|
+
- Rakefile
|
59
|
+
- example/crop
|
60
|
+
- example/empty6-slash.txt
|
61
|
+
- example/pot
|
62
|
+
- example/crop_repaired
|
63
|
+
- example/empty6-slash_repaired.txt
|
64
|
+
- data/csets
|
65
|
+
- data/csets/iso_8859-1.yaml
|
66
|
+
- data/csets/iso_8859-15.yaml
|
67
|
+
- data/csets/utf-8.yaml
|
68
|
+
- data/csets/utf8.yaml
|
69
|
+
- data/csets/latin1.yaml
|
70
|
+
- data/csets/unicode
|
71
|
+
- data/csets/unicode/latin_extended_additional.yaml
|
72
|
+
- data/csets/unicode/cyrillic-supplement.yaml
|
73
|
+
- data/csets/unicode/spacing_modifier_letters.yaml
|
74
|
+
- data/csets/unicode/letterlike_symbols.yaml
|
75
|
+
- data/csets/unicode/greek.yaml
|
76
|
+
- data/csets/unicode/latin-extended-c.yaml
|
77
|
+
- data/csets/unicode/ipa_extensions.yaml
|
78
|
+
- data/csets/unicode/latin-extended-d.yaml
|
79
|
+
- data/csets/unicode/latin_extended_a.yaml
|
80
|
+
- data/csets/unicode/latin_extended_b.yaml
|
81
|
+
- data/csets/unicode/latin_1_supplement.yaml
|
82
|
+
- data/csets/unicode/basic_latin.yaml
|
83
|
+
- data/csets/unicode/cyrillic.yaml
|
84
|
+
has_rdoc: true
|
85
|
+
homepage:
|
86
|
+
post_install_message:
|
87
|
+
rdoc_options:
|
88
|
+
- --title
|
89
|
+
- cmess Application documentation
|
90
|
+
- --line-numbers
|
91
|
+
- --inline-source
|
92
|
+
- --main
|
93
|
+
- README
|
94
|
+
- --all
|
95
|
+
- --charset
|
96
|
+
- UTF-8
|
97
|
+
require_paths:
|
98
|
+
- lib
|
99
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: "0"
|
104
|
+
version:
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: "0"
|
110
|
+
version:
|
111
|
+
requirements: []
|
112
|
+
|
113
|
+
rubyforge_project:
|
114
|
+
rubygems_version: 0.9.5
|
115
|
+
signing_key:
|
116
|
+
specification_version: 2
|
117
|
+
summary: "Assist with handling messed up encodings (Currently includes the following tools: cinderella, decode_entities, guess_encoding)"
|
118
|
+
test_files: []
|
119
|
+
|