grouse 1.1.6 → 1.1.7.1
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 +4 -4
- data/README.md +2 -2
- data/lib/grouse.rb +22 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 458001e3c1a5c7403b22c5cb683357622f94e9436e4b18d8cc0dd332ab9fdece
|
|
4
|
+
data.tar.gz: 17b553bf4cb5d5b77b533a9dbbd01ef76986cf3db786999f629467dbadf8bcb5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 173410b8700cc7f48d8da11c7297c0f3e4e0aa07a189e17a7c27a642d105f9b76f6e8656a21eae6bd7fbefa16b09193b3ebf4ebb3ecd94422349ea58ade52778
|
|
7
|
+
data.tar.gz: 74861f3ff2e59d875004eeb4ba00bf7e7e85b61dabed9ce5a51bd5712cc722d958a9d1b95257d3ab7bd642d34917117e464a2eeb5db4f05747fef6d2d97a9931
|
data/README.md
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
<hr />
|
|
10
10
|
|
|
11
11
|
<div align="center">
|
|
12
|
-
<h1><p> This project name is grouse
|
|
13
|
-
<h3><p><ins> Use
|
|
12
|
+
<h1><p> This project name is grouse. </p></h1>
|
|
13
|
+
<h3><p><ins> Use <a href="https://github.com/takkii/purplehaze">purplehaze</a>.</ins></p></h3>
|
|
14
14
|
<h4><p> Please readme, See the <a href="https://github.com/takkii/grouse/wiki/manual">wiki</a> for how to use. </p></h4>
|
|
15
15
|
</div>
|
|
16
16
|
|
data/lib/grouse.rb
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require 'open3'
|
|
4
4
|
require 'socket'
|
|
5
|
+
require 'tanraku'
|
|
5
6
|
|
|
6
7
|
# module grouse many functions.
|
|
7
8
|
module Grouse
|
|
@@ -115,9 +116,29 @@ module Grouse
|
|
|
115
116
|
end
|
|
116
117
|
end
|
|
117
118
|
|
|
119
|
+
def ipaddress_certification(gs_udp_socket, gs_list_socket)
|
|
120
|
+
begin
|
|
121
|
+
gs_udp_socket = udp_socket
|
|
122
|
+
gs_list_socket = list_socket
|
|
123
|
+
|
|
124
|
+
unless "#{gs_udp_socket}" == "#{gs_list_socket}"
|
|
125
|
+
puts "#{gs_udp_socket} == #{gs_list_socket}"
|
|
126
|
+
puts 'Something other than an IP address was matched.'
|
|
127
|
+
return
|
|
128
|
+
else
|
|
129
|
+
puts 'Passed, ip address specification.'
|
|
130
|
+
end
|
|
131
|
+
rescue StandardError => s
|
|
132
|
+
puts s.backtrace
|
|
133
|
+
tanraku_execute
|
|
134
|
+
ensure
|
|
135
|
+
GC.auto_compact
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
|
|
118
139
|
# grouse version
|
|
119
140
|
def core_version
|
|
120
|
-
'1.1.
|
|
141
|
+
'1.1.7.1'.to_s
|
|
121
142
|
end
|
|
122
143
|
end
|
|
123
144
|
|