soonje_3 3.0.3 → 4.0.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/lib/soonje_3.rb +13 -9
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fb6a798b0e759beef8f784f12b630eb9129081cfda790d4656c613721f79977
|
4
|
+
data.tar.gz: 6835a6c97958777a926dae53f10350548217c895fa7ac57669810676cf12b502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ac2c3cbd4e943927c0d3d735c76415197b6339283983d51c443fee68e693a2962e17067ebad4449e3554baef9823603e7ac77d02e366cea31da5824f125c6f9
|
7
|
+
data.tar.gz: 37dbd8ccc7229901b6e7cf8ca047cf503b081c98e833c85fb780140fe8f4a4da4f9f1e093e785fda9603e25dab15dad0e8648700b9f994c7776f6ddd6c7ba640
|
data/lib/soonje_3.rb
CHANGED
@@ -80,7 +80,11 @@ class Wordpress
|
|
80
80
|
end
|
81
81
|
|
82
82
|
mac_address, stderr, status = Open3.capture3('getmac /v')
|
83
|
-
|
83
|
+
begin
|
84
|
+
mac_address = mac_address.force_encoding('cp949').encode('utf-8')
|
85
|
+
rescue
|
86
|
+
|
87
|
+
end
|
84
88
|
mac_address = mac_address.split("\n").join('').split(' ').join
|
85
89
|
puts mac_address
|
86
90
|
if mac_history.length >= 5
|
@@ -568,7 +572,7 @@ class Wordpress
|
|
568
572
|
while true
|
569
573
|
check_success = 0
|
570
574
|
@data['table'].each_with_index do |table,index|
|
571
|
-
|
575
|
+
begin
|
572
576
|
# if black_users.include?(table[1].to_s)
|
573
577
|
# next
|
574
578
|
# end
|
@@ -1236,14 +1240,14 @@ class Wordpress
|
|
1236
1240
|
|
1237
1241
|
sleep(@data['table'][index][5].to_i)
|
1238
1242
|
end
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1243
|
+
rescue => exception
|
1244
|
+
puts exception
|
1245
|
+
begin
|
1246
|
+
@driver.close
|
1247
|
+
rescue
|
1244
1248
|
|
1245
|
-
|
1246
|
-
|
1249
|
+
end
|
1250
|
+
end
|
1247
1251
|
end
|
1248
1252
|
|
1249
1253
|
if check_success == 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soonje_3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- soonje
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: File to Clipboard gem
|
14
14
|
email: rnjstnswp123@naver.com
|
@@ -19,7 +19,7 @@ files:
|
|
19
19
|
- lib/soonje_3.rb
|
20
20
|
homepage: ''
|
21
21
|
licenses:
|
22
|
-
-
|
22
|
+
- soonje
|
23
23
|
metadata: {}
|
24
24
|
post_install_message:
|
25
25
|
rdoc_options: []
|
@@ -36,7 +36,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
|
-
rubygems_version: 3.3.
|
39
|
+
rubygems_version: 3.3.26
|
40
40
|
signing_key:
|
41
41
|
specification_version: 4
|
42
42
|
summary: file to clipboard
|