posting_zon 0.0.6 → 0.0.9

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/posting_zon.rb +8 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c930089908991dba96f572471dfdac4f9bb6db5c97618d35296a4fd1aab7208f
4
- data.tar.gz: 7fde2790a1961f20e0c603fd54a854e9dc43713f9ffa184bacea262a30e7f376
3
+ metadata.gz: b5b4a4bf3bdb227f50c416ccc00798842e92b125a607ccf03577b7023246e2eb
4
+ data.tar.gz: 2ebadacad9b90686a1a9079047cca149884241eb822d6c5311951fb4b5d41e91
5
5
  SHA512:
6
- metadata.gz: d215114a663609d18cf6c26c997a8da01ed53a63446b0b71fe49f3083972fc08257c6973d713afcc00fd5d67378c2dfbadaeda405d8e1d5636ad64a744b34fc4
7
- data.tar.gz: 87247f8e534b11d8029727b2f0549cf52eec2e16ab3f1096ccffed6cce854de19db51b98d2aaa4beaff289702929975dcc9eb6a035403fa9cb8b0fb2f947fdad
6
+ metadata.gz: 43310c9eca463bc186e5f6e7742ccefd246ad5b976692b947e03925eb84208edf0d389fa35231a5a4fa13508960c4ce0d38c961dfa7debe486e59de9cc096f6e
7
+ data.tar.gz: 664b26c9a0700622e547347d9e1d74ebf466025dd994e93953f3af2955717328ebe226c2c40a7381201488549927ab1cfd10a0f61558eca16733c4edada6a8ba
data/lib/posting_zon.rb CHANGED
@@ -6036,11 +6036,14 @@ end
6036
6036
 
6037
6037
 
6038
6038
  #내용 입력<<─────────────────────────────────────────────────────────────────────
6039
- @driver.action.send_keys(content).perform
6039
+ #@driver.action.send_keys(content).perform #기존 코드 (내용 타이핑식)
6040
+ Clipboard.copy(content)
6041
+ @driver.action.key_down(:control).send_keys('v').key_up(:control).perform #새로넣은 코드 (내용 한번에 복붙방식)
6040
6042
  #내용 입력<<─────────────────────────────────────────────────────────────────────
6041
6043
 
6042
6044
 
6043
6045
 
6046
+
6044
6047
 
6045
6048
 
6046
6049
  if option['내용사진자동삽입'] == 'true'
@@ -9152,9 +9155,9 @@ class Wordpress
9152
9155
  counter10 = 0
9153
9156
  while joongbok_check == 0
9154
9157
  if @data['포스트설정']['내용과자동생성'].checked?
9155
- content = content.split("(자동생성글)")[1].split("\n")
9158
+ content22 = content.split("(자동생성글)")[1].split("\n")
9156
9159
  else
9157
- if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == true
9160
+ if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == false
9158
9161
  snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
9159
9162
  enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
9160
9163
  @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
@@ -9163,9 +9166,9 @@ class Wordpress
9163
9166
  @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
9164
9167
  @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
9165
9168
  last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
9166
- content = last_text.split(' ')
9169
+ content22 = last_text.split(' ')
9167
9170
  else
9168
- content = content.split("\n")
9171
+ content22 = content.split("\n")
9169
9172
  end
9170
9173
  end
9171
9174
  position_point = rand(0..(content22.length-2))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: posting_zon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.9
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-07 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: posting app
14
14
  email: mymin26@naver.com