grouse 1.1.6 → 1.1.7
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/lib/grouse.rb +21 -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: f75d8f8711e9b41485eabe0080b89a754d61f592eff68a10329e4b34ecd1d12b
|
|
4
|
+
data.tar.gz: 451d7ee305cdf05f2996bb3fbde451b40f260f1fcfb9a745957fc1bcf8d85592
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c358e1629be891ed1ac4dc02833e972fdab48999df961a6932d34713ff8fa1b5dbbf495170c67939ef001687832923044fc81abe6a37bd89bc7dc14809d2ca4
|
|
7
|
+
data.tar.gz: b5461d737fd13e0b04a90d17dd31d3d51ad1eec526e94651f585b34415fc10e49f172f89d345ba602473c26e9d5cc6d34afcb4b9c9983f9b6070db305355dfba
|
data/lib/grouse.rb
CHANGED
|
@@ -115,9 +115,29 @@ module Grouse
|
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
def ipaddress_certification(gs_udp_socket, gs_list_socket)
|
|
119
|
+
begin
|
|
120
|
+
gs_udp_socket = udp_socket
|
|
121
|
+
gs_list_socket = list_socket
|
|
122
|
+
|
|
123
|
+
unless "#{gs_udp_socket}" == "#{gs_list_socket}"
|
|
124
|
+
puts "#{gs_udp_socket} == #{gs_list_socket}"
|
|
125
|
+
puts 'Something other than an IP address was matched.'
|
|
126
|
+
return
|
|
127
|
+
else
|
|
128
|
+
puts 'Passed, ip address specification.'
|
|
129
|
+
end
|
|
130
|
+
rescue StandardError => s
|
|
131
|
+
puts s.backtrace
|
|
132
|
+
tanraku_execute
|
|
133
|
+
ensure
|
|
134
|
+
GC.auto_compact
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
118
138
|
# grouse version
|
|
119
139
|
def core_version
|
|
120
|
-
'1.1.
|
|
140
|
+
'1.1.7'.to_s
|
|
121
141
|
end
|
|
122
142
|
end
|
|
123
143
|
|