nblog_zon 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_zon.rb +18 -18
  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: 68e76dc12f5046fe33931cc21f4a5d997a3ccc3a33f047fa3612a719a0dcaf90
4
+ data.tar.gz: b535b2dac335333e8256fc9b56fbb93f00991d5090049e1b1938b00decce919d
5
5
  SHA512:
6
- metadata.gz: 2a8a87791a0b23baeb83586cf760d57be56116d64a8c40c0c9646d6d3b1e7b9787872cd0358028d3d28dd19132357d086d30e5123d6c18c654b5275a083274d7
7
- data.tar.gz: 6e8d8c831395a96ee5e80185dbc3b6a8875589b42356fd432bd14bdebc44613bce66f005d69881e14b77a3227885fd6d6c2011efd87c301d9c95480ff3772a70
6
+ metadata.gz: ce7a2b9fc8660e9078dc5474c802726f3409d4caf576fdb00e7a0f65f414a2dc820943c850799a5d917712840a4ef415fb952e13424ab16eb60f7ffb96b873a2
7
+ data.tar.gz: ffd4c544b30b8b5dc722970c910739a8a1d879894e807403635891d082d2ac3100fae0559ea2507dd7a47d3381052747ff8aa7d253af6988a3725d3c75a502dd
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
 
@@ -3188,8 +3188,8 @@ class Wordpress
3188
3188
  end
3189
3189
 
3190
3190
  if i.class == Array
3191
- i[4] = i[4].to_i
3192
- i[5] = i[5].to_i
3191
+ i[7] = i[7].to_i
3192
+ i[8] = i[8].to_i
3193
3193
  @data[key] << i
3194
3194
  @data[key] << i
3195
3195
  @data[key].pop
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.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: rnjstnswp123@naver.com