sheltered-girl 4.0.4.3 → 4.0.4.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 357480b226cf25e9340af80bb6b7b1e9d35a0c5007d2ca2774f62b8b7721d525
4
- data.tar.gz: 52f149d15d6a63bf0d2643c004b8e1461f210c02807c9cd45e4eec9623ae4937
3
+ metadata.gz: 82e9ede62a336fcfec7461eaa9203ecb7980b5af43342a725b5b90f171d20b56
4
+ data.tar.gz: f8e6b07d1d2c6a2a87cbb0f47a19f447423cda10005fb35d1863e45447f92ae3
5
5
  SHA512:
6
- metadata.gz: fe1f14e6e7e87097941be468f8de26000bf9b6035f495a839708a5af3cf2b58e89a32024474770b61ae5eab59599b1f59cb4fbfebb4c2ea4242eed969c20d5a8
7
- data.tar.gz: 66acb43a76104d449d37142cdd34268af100fa04bbf52174c0b741a36328f7498dec9f7d59bac5d3b327de11e6a8500ddaf5e9c2b346516d20fc9de4e5813276
6
+ metadata.gz: 669554e9b9654b16f6a0593f622b9718f0631097ac150ede3ccee682ea6d601b6196647238b520139859919cb4d1cd5e499b185c23ee82e9ae7ae10cc57bcd79
7
+ data.tar.gz: df5de609c0881987eb0509e3ea9cbf62c1a8317b4e6934135d849e45fd82a433663eb032e1085073d2fd8a37fbb6155e6b068281448365e92598be47d7e4d92d
data/lib/match.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'require_sec_seiki'
4
3
  require 'bmi'
4
+ require 'require_sec_seiki'
5
+ require 'tanraku'
6
+
5
7
 
6
8
  # match search loads.
7
9
  module Mat
@@ -13,18 +15,19 @@ module Mat
13
15
  one = ARGV[1]
14
16
 
15
17
  File.open(one) do |f|
16
- while (str2 = f.gets)
17
- str = str2.chomp!
18
+ while (f_open = f.gets)
19
+ str = f_open.chomp!
18
20
  twice = ARGV[2]
19
21
  three_act = /#{twice}/o
20
22
 
21
23
  begin
22
- if str.match(three_act) || {}[:match]
23
- printf('%2d : %s', f.lineno, str)
24
- puts ''
25
- end
24
+ if str.match(three_act) || {}[:match]
25
+ printf('%2d : %s', f.lineno, str)
26
+ end
26
27
  rescue Timeout::Error
27
28
  exit!
29
+ ensure
30
+ GC.compact
28
31
  end
29
32
  end
30
33
 
@@ -33,13 +36,15 @@ module Mat
33
36
  elsif !f.eof
34
37
  begin
35
38
  raise All
36
- rescue StandardError => ee
37
- puts ee.backtrace
38
- puts ee.backtrace_locations
39
+ rescue StandardError => s
40
+ puts s.backtrace
41
+ tanraku_execute
42
+ ensure
43
+ GC.compact
39
44
  end
40
45
  end
41
46
  end
42
47
  end
43
48
  end
44
49
 
45
- GC.compact
50
+ __END__
data/lib/tanraku.rb CHANGED
@@ -67,7 +67,7 @@ class Object
67
67
  end
68
68
 
69
69
  module Tanraku
70
- VERSION = '1.1.3.1'
70
+ VERSION = '1.1.4'
71
71
  end
72
72
 
73
73
  # Can be used as a function
data/lib/version.rb CHANGED
@@ -4,7 +4,7 @@ require 'date'
4
4
 
5
5
  class EngineLeft
6
6
  def self.version
7
- '4.0.4.3'.to_s
7
+ '4.0.4.4'.to_s
8
8
  end
9
9
  end
10
10
 
data/wiki/README.md CHANGED
@@ -44,14 +44,27 @@ tanraku
44
44
  tanraku_exit
45
45
  tanraku_execute
46
46
  tanraku_log
47
+ tanraku_match (新機能)🆙
47
48
 
48
- # 実験的機能
49
- tanraku_match
49
+ # 新機能の詳細
50
+ tanraku_match(str_tanraku, match_tanraku, process_tanraku)
51
+ tanraku_match(String, String, None)
52
+
53
+ # 新機能の定義
50
54
  str_tanraku = ''
51
55
  match_tanraku = ''
52
56
  process_tanraku
57
+
58
+ # 新機能の使用例
59
+ require 'tanraku'
60
+ tanraku_match('あいうえお', '/あ/o', tanraku_execute)
61
+
62
+ # 使用例の出力結果
63
+ ...
64
+ TypeError : exception class/object expected
65
+ --> Tanraku_Execute Method Exception
53
66
  ```
54
67
 
55
- ※ Tanraku_VERSION: 1.1.2
68
+ ※ Tanraku_VERSION: 1.1.4
56
69
 
57
- _更新履歴 : 2025/06/04_
70
+ _更新履歴 : 2025/09/17_
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sheltered-girl
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4.3
4
+ version: 4.0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Kamiyama