cmess 0.0.6.192 → 0.0.7.239
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README +1 -1
- data/bin/cinderella +0 -0
- data/bin/decode_entities +0 -0
- data/bin/guess_encoding +0 -0
- data/lib/cmess/guess_encoding.rb +7 -0
- data/lib/cmess/version.rb +1 -1
- metadata +9 -9
data/ChangeLog
CHANGED
data/README
CHANGED
data/bin/cinderella
CHANGED
File without changes
|
data/bin/decode_entities
CHANGED
File without changes
|
data/bin/guess_encoding
CHANGED
File without changes
|
data/lib/cmess/guess_encoding.rb
CHANGED
@@ -289,6 +289,13 @@ module CMess::GuessEncoding
|
|
289
289
|
def check_bom
|
290
290
|
return if eof?
|
291
291
|
|
292
|
+
# prevent "Illegal seek" error inside a pipe
|
293
|
+
begin
|
294
|
+
input.pos
|
295
|
+
rescue Errno::ESPIPE
|
296
|
+
return
|
297
|
+
end
|
298
|
+
|
292
299
|
bom_guessers.each { |block|
|
293
300
|
encoding = instance_eval(&block)
|
294
301
|
return encoding if encoding && supported_bom?(encoding)
|
data/lib/cmess/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7.239
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-05-19 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -39,9 +39,9 @@ executables:
|
|
39
39
|
extensions: []
|
40
40
|
|
41
41
|
extra_rdoc_files:
|
42
|
-
- README
|
43
42
|
- COPYING
|
44
43
|
- ChangeLog
|
44
|
+
- README
|
45
45
|
files:
|
46
46
|
- lib/cmess.rb
|
47
47
|
- lib/cmess/version.rb
|
@@ -94,14 +94,14 @@ homepage: http://prometheus.rubyforge.org/cmess
|
|
94
94
|
post_install_message:
|
95
95
|
rdoc_options:
|
96
96
|
- --line-numbers
|
97
|
-
- --inline-source
|
98
97
|
- --all
|
99
|
-
- --
|
100
|
-
- UTF-8
|
101
|
-
- --main
|
102
|
-
- README
|
98
|
+
- --inline-source
|
103
99
|
- --title
|
104
100
|
- cmess Application documentation
|
101
|
+
- --main
|
102
|
+
- README
|
103
|
+
- --charset
|
104
|
+
- UTF-8
|
105
105
|
require_paths:
|
106
106
|
- lib
|
107
107
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
requirements: []
|
120
120
|
|
121
121
|
rubyforge_project: prometheus
|
122
|
-
rubygems_version: 1.
|
122
|
+
rubygems_version: 1.1.1
|
123
123
|
signing_key:
|
124
124
|
specification_version: 2
|
125
125
|
summary: "Assist with handling messed up encodings (Currently includes the following tools: cinderella, decode_entities, guess_encoding)"
|