nblog_zon 0.0.3 → 0.0.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nblog_zon.rb +16 -16
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9f5449aaaf5e67d5eaa2d36a87b636d0742918011f7b9a8b569f7b2628a65a2
4
- data.tar.gz: 230242fb01ed254dc874642ca12b81090bf996cc6f6aca5a136a10f98e4d497f
3
+ metadata.gz: 4f3c8033825355df5a715f57579b9274e4b9bd61b99e8fcf793cf57061b592c3
4
+ data.tar.gz: e7b3b5348f03c46332c40bfd032f1bdebaacfa3e07096dfd2874a4e16e233710
5
5
  SHA512:
6
- metadata.gz: 2a8a87791a0b23baeb83586cf760d57be56116d64a8c40c0c9646d6d3b1e7b9787872cd0358028d3d28dd19132357d086d30e5123d6c18c654b5275a083274d7
7
- data.tar.gz: 6e8d8c831395a96ee5e80185dbc3b6a8875589b42356fd432bd14bdebc44613bce66f005d69881e14b77a3227885fd6d6c2011efd87c301d9c95480ff3772a70
6
+ metadata.gz: cc443ebe7ef87270f0c4eab685b08e5a50b15eb020deb1df193ce96e91394632e65552cd16751c9a8b12d824358953e6f71ec083bd41913208cb0affd3f0d791
7
+ data.tar.gz: 893d5252a8359c65c20e35f3400e261aaa10d836fcebe0330fc6cfad9785ccbe0f4fe6dfbf3c65ad77147901876a146fdb1c15fae14abc4d9099d6be34b52e1f
data/lib/nblog_zon.rb CHANGED
@@ -854,7 +854,7 @@ class Naver
854
854
 
855
855
 
856
856
  elsif i2.to_s.include?('<template')
857
- @driver.find_element(:xpath, '//*[@id="'+page_id+'"]/div[1]/div/header/div[1]/ul/li[19]/button').click
857
+ @driver.find_element(:xpath, '//*[@data-name="template"]').click
858
858
  sleep(1.5)
859
859
  @driver.find_element(:xpath, '//*[@id="'+page_id+'"]/div[1]/div/div[1]/aside/div/div[2]/ul/li[3]/button').click
860
860
  sleep(1.5)
@@ -862,21 +862,21 @@ class Naver
862
862
  sleep(1.5)
863
863
  @driver.switch_to.alert.accept
864
864
  sleep(5)
865
- @driver.find_element(:xpath, '//*[@id="'+page_id+'"]/div[1]/div/header/div[1]/ul/li[19]/button').click
866
- sleep(1)
867
- @driver.find_element(:xpath, '//*[@class="save_count_btn__ZTLNa"]').click
868
- sleep(1)
869
- @driver.find_element(:xpath, '//*[@id="root"]/div/div[2]/div[2]/div[3]/div/div[2]/div[2]/div/button').click
870
- sleep(1)
871
- @driver.find_element(:xpath, '//*[@class="label__HjFsk"]').click
872
- sleep(1)
873
- @driver.find_element(:xpath, '//*[@id="root"]/div/div[2]/div[2]/div[3]/div/div[2]/div[2]/div/div/button[2]').click
874
- sleep(1.5)
875
- @driver.switch_to.alert.accept
876
- sleep(1.5)
877
- @driver.find_element(:xpath, '//*[@id="root"]/div/div[2]/div[2]/div[3]/div/div[2]/div[2]/div/div/button[3]').click
878
- sleep(1)
879
- @driver.find_element(:xpath, '//*[@class="close_button__YWXJ_"]').click
865
+ @driver.find_element(:xpath, '//*[@data-name="template"]').click
866
+ #sleep(1)
867
+ #@driver.find_element(:xpath, '//*[@class="save_count_btn__ZTLNa"]').click
868
+ #sleep(1)
869
+ #@driver.find_element(:xpath, '//*[@id="root"]/div/div[2]/div[2]/div[3]/div/div[2]/div[2]/div/button').click
870
+ #sleep(1)
871
+ #@driver.find_element(:xpath, '//*[@class="label__HjFsk"]').click
872
+ #sleep(1)
873
+ #@driver.find_element(:xpath, '//*[@id="root"]/div/div[2]/div[2]/div[3]/div/div[2]/div[2]/div/div/button[2]').click
874
+ #sleep(1.5)
875
+ #@driver.switch_to.alert.accept
876
+ #sleep(1.5)
877
+ #@driver.find_element(:xpath, '//*[@id="root"]/div/div[2]/div[2]/div[3]/div/div[2]/div[2]/div/div/button[3]').click
878
+ #sleep(1)
879
+ #@driver.find_element(:xpath, '//*[@class="close_button__YWXJ_"]').click
880
880
 
881
881
 
882
882
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nblog_zon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - zon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-20 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: File to Clipboard gem
14
14
  email: rnjstnswp123@naver.com