zinbei 1.2.5.2 → 1.2.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36698c12f0fc163d2ba574e51f0f9626177e7d533f6d709c292794e48207c45a
4
- data.tar.gz: e4e8abb4f98249e92cffa87e56cc29a567ec151c112a9b9340fb3bef8ca6fb10
3
+ metadata.gz: 794b03346d437d604c30c2f975c4371f9c9c0e20ecd11c09024d5ea84a1219fc
4
+ data.tar.gz: 6a95dffc95f302afc5c30d9601f3e9b32ff59236409c87ea8b0b4a47d8e9289e
5
5
  SHA512:
6
- metadata.gz: 428873b9d6a019b1089374bad7aa9e2d49e04b9d36a50ef861c7a5dbaeb5309421cb1e5de9f050fbb9b3e673103fcf5b9750231407f9a0724d446b298c388914
7
- data.tar.gz: 05a6c5a68ceaf684c31c996ff02d6de5700063389787e429de9e95b0e18d6623d4684bb324b784f15d7d3d077e921fa3474de5b242f80f60aaadf9cbaba6e62d
6
+ metadata.gz: a8ef30bb3c10c8dbb92bac701208df2b907f40b1ef23a6ab79b79cd4307f8f35b5899a3a609e84ad77e29511ce8bfdd9acab2f53e886c2d5f4da9c5c2e73ce56
7
+ data.tar.gz: 8f9b22e47d2f2594fd9f99f8e68168412630ff084d6ea056155d55d09d368d9a8b516110fd5d2a8b5f3eae21d767c4eb678c2ea267e81e7e6f1279fcb52301e1
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'kconv'
4
-
5
3
  lib = File.expand_path('lib', __dir__)
6
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
5
 
@@ -10,16 +8,16 @@ Encoding.default_internal = 'UTF-8'
10
8
  class Scan
11
9
  def search_text
12
10
  puts ''
13
- one = ARGV[0].toutf8
11
+ one = ARGV[0]
14
12
  open(one) do |f|
15
13
  while (str2 = f.gets)
16
14
  str = str2.chomp!
17
- two = ARGV[1].toutf8
15
+ two = ARGV[1]
18
16
  three = /#{two}/o
19
- sjis_str = str.toutf8
17
+ str3 = str
20
18
 
21
19
  begin
22
- if sjis_str.match(three) || {}[:match]
20
+ if str3.match(three) || {}[:match]
23
21
  # active code add.
24
22
  printf('%2d : %s', f.lineno, str)
25
23
  puts ''
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zinbei
4
- VERSION = '1.2.5.2'.freeze
4
+ VERSION = '1.2.5.3'.freeze
5
5
  end
6
6
 
7
7
  # zinbei version change log
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zinbei
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5.2
4
+ version: 1.2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - takkii
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-16 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: zinbei is able to use 4 functions... zinbei, zinbeiw, rantan, sava. It's
14
14
  evolution every day.