nblog_duo 0.0.3 → 0.0.6

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 +19 -19
  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: ee9d746668f4256e74e457b0fc247d689884b1516496954ea5b20f47b4187253
4
+ data.tar.gz: 52bd3d982f64ac805707a77f0ff1e15827abd0abc429cbe0544bffb0560f5640
5
5
  SHA512:
6
- metadata.gz: 382fe291510807cd8b6fe88f578f7a324d71988a96d2a99b8a4f2b669fe55c2d14ffcb879e49c794a3204549f1d7b1572f248823649522d78fc7fd33690b34b2
7
- data.tar.gz: 970b2d3e349a4a41185813816c1e1032bcd5e6ffa16b5115ce6b96f13eb7d36560664719bd7692ec568c9968c932cb789ef9d4cb249b7b247ab8efd0fa8890ea
6
+ metadata.gz: 00d9ce51a8a235919a72a2207ae13f6c187fea4ee1ba45a0b324a2a2820ecb2e40f56bc9bfd090e34204f1c2e81438dc88d1219057d9100c7cedbd628eda4662
7
+ data.tar.gz: c315c27c80a771802a8e30beaf17f9825952ed03d4c35892f86ef4d1887f3ad45f4f4e879e7dc5f295c25b8b06c1459cd6e332585e0ccbcbfdbaa11f71e0b8e2
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
 
@@ -3263,8 +3263,8 @@ class Wordpress
3263
3263
  end
3264
3264
 
3265
3265
  if i.class == Array
3266
- i[4] = i[4].to_i
3267
- i[5] = i[5].to_i
3266
+ i[7] = i[7].to_i
3267
+ i[8] = i[8].to_i
3268
3268
  @data[key] << i
3269
3269
  @data[key] << i
3270
3270
  @data[key].pop
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.6
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