encx 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/encx/version.rb +1 -1
- data/lib/encx.rb +4 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ab369ab6fc30c8887a505e528b83310c744df423bf6cb7f1e6e43d708085575
|
4
|
+
data.tar.gz: 35f19a331fa99c4d4c0fe7ced1876109330bf894f93cf18caa2816efe33665c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe7bb73df7092c90229b7ee7165c346c637860e846ed8e5a38d1ec067dd2c90da652e984310c216525d9da61798b5269a7d0eb9221e6bfa91dd4ce4e04acdb85
|
7
|
+
data.tar.gz: ee28ac633464bf63cd257d201e10d3a6900a0470a66e4719c76cf1a1c3d400d48da74369edddfcca9516955531e6aa7ab2e8c182361c96f5a0f08c731398bc7a
|
data/lib/encx/version.rb
CHANGED
data/lib/encx.rb
CHANGED
@@ -46,10 +46,9 @@ module Encx
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def compare(l , hs)
|
49
|
-
puts "# Call compare"
|
49
|
+
# puts "# Call compare"
|
50
50
|
ret2 = @encoding_ary.find{ |x|
|
51
51
|
begin
|
52
|
-
# p hs[x]
|
53
52
|
ret = hs[x].match(l)
|
54
53
|
if ret
|
55
54
|
ret = true
|
@@ -101,22 +100,21 @@ module Encx
|
|
101
100
|
else
|
102
101
|
ret2 = @encoding_ary.find{ |enc|
|
103
102
|
ret , val = conv_env_sub( d , enc )
|
104
|
-
|
105
103
|
ret
|
106
104
|
}
|
107
105
|
end
|
108
106
|
val
|
109
107
|
end
|
110
|
-
|
108
|
+
|
111
109
|
def register_error( target , item )
|
112
110
|
@error_target_item_hs[target] ||= []
|
113
111
|
@error_target_item_hs[target] << item
|
114
112
|
end
|
115
|
-
|
113
|
+
|
116
114
|
def print_error_register_item
|
117
115
|
@error_target_item_hs.each do |k,v|
|
118
116
|
puts "##{k}"
|
119
|
-
v.each do |item|
|
117
|
+
v.each do |item|
|
120
118
|
puts "==#{item}"
|
121
119
|
end
|
122
120
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: encx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ykominami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|