nblog_duo 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_duo.rb +17 -17
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56427c1c4cb6e4165cad8b3f17815fff3e7a2fcfb85a746d712b69d567a842be
4
- data.tar.gz: a281b1676dc6dd9a9431f40e76f93e792a4cf4274a6e799ae00f75b624823938
3
+ metadata.gz: 36c0ae44e7573e4f6c83d0ba2d38379283f3b4a2cf16405fc3ffd64c05e07041
4
+ data.tar.gz: 73d39a1a971e6bf6576747a35c4ccf2095dd0e59aeeb63e1fb16cfdc5b973110
5
5
  SHA512:
6
- metadata.gz: 382fe291510807cd8b6fe88f578f7a324d71988a96d2a99b8a4f2b669fe55c2d14ffcb879e49c794a3204549f1d7b1572f248823649522d78fc7fd33690b34b2
7
- data.tar.gz: 970b2d3e349a4a41185813816c1e1032bcd5e6ffa16b5115ce6b96f13eb7d36560664719bd7692ec568c9968c932cb789ef9d4cb249b7b247ab8efd0fa8890ea
6
+ metadata.gz: 7bda555429555c5c93dfcff4893bf20ab2eb8b8c67e9499dd6ec4f997c227de39d822156165187a50fb5026bd587ac05d3e39bf92a3a67ccf24e20233ab637cf
7
+ data.tar.gz: 9c93b3ce441e4cbf6c2f194fd9aa2543a5d9fee7f433547777415bf4d802deb7c6f3eaa88b9819d821896fc033c1b442974d451c72ef1d37d4f3193d6103522b
data/lib/nblog_duo.rb CHANGED
@@ -854,29 +854,29 @@ 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)
861
861
  @driver.find_element(:xpath, '//*[@id="'+page_id+'"]/div[1]/div/div[1]/aside/div/div[3]/div[1]/div[2]/ul/li/a').click
862
862
  sleep(1.5)
863
863
  @driver.switch_to.alert.accept
864
- sleep(7)
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
864
+ sleep(5)
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_duo
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: mymin26@naver.com