deltago4 9.0.11 → 13.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/deltago4.rb +3 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 662b1a9f9a0f5a5cb0b84248e15eb79610d157aa093739eb076bcec34e8c854e
4
- data.tar.gz: 5da6f0fdce0b25118de74fb0ecd7c57e1b2d8f1908d9396761fb207688af3133
3
+ metadata.gz: 1790f951784ab54749de688fdb42a95a7805f607f82115a7626d08063c7c03ee
4
+ data.tar.gz: 37d73ca335648b0984d401b849115a114b34e14bfce8856d59be3b3214411766
5
5
  SHA512:
6
- metadata.gz: d97f6c4ac38a55381c4d3a138e5b504d721a89f4fbc80372e1dbf2b878a77f3ac7600cc4b48e93eb8b4c5d8a1a5a06f2483cf814da795eb6dcc38fc45fdbf927
7
- data.tar.gz: 1f584e98ac6e48c2599c8f457ebab094c0748e20d2fb6459f4e4babba50177881b47c29ae3d40e21249bbd4b19439881c321e5c3783cc4873c46ac5fa828dcf4
6
+ metadata.gz: b1e36517975d2c92345e319695b59e23de36cdbc4d5d57b6e249ccbb3f735f3d2c6d8c458b4b4c25caefb383d7ab4e7a2e4cfbb765569a461be0e4f4c9b0bf1a
7
+ data.tar.gz: d6d19439bab550e492b7ec8f35f2ee479404c6f14c5174ec05d257a952321f8fa68195e2a9aa5a718798fb0f6805ef6bad608f8d4dcad82d668bda753428036a
data/lib/deltago4.rb CHANGED
@@ -378,8 +378,7 @@ class Soonje
378
378
  noko = Nokogiri::HTML(http.to_s)
379
379
  for y in 1..15
380
380
  begin
381
- t = noko.xpath('//*[@id="main_pack"]/section[1]/div/ul/li['+y.to_s+']/div/div[3]/div/a[2]/div').text.to_s
382
-
381
+ t = noko.xpath('//*[@id="main_pack"]/section[1]/div/ul/li['+y.to_s+']/div/div[2]/div[2]/a').text.to_s
383
382
  rescue
384
383
  t = ''
385
384
  end
@@ -471,6 +470,8 @@ class Soonje
471
470
  p title
472
471
  mac_history << title
473
472
  end
473
+
474
+ mac_history = mac_history.uniq
474
475
 
475
476
  mac_address, stderr, status = Open3.capture3('getmac /v')
476
477
  mac_address = mac_address.force_encoding('cp949').encode('utf-8').split('이더넷')[1]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deltago4
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.11
4
+ version: 13.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - soonje
@@ -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.4.10
39
+ rubygems_version: 3.1.6
40
40
  signing_key:
41
41
  specification_version: 4
42
42
  summary: file to clipboard