posting_duo 0.0.5 → 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.
- checksums.yaml +4 -4
- data/lib/posting_duo.rb +8 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8d8c79db03c949d6b9d7ca919413a36666eba726e5d70f170c59abdd3e190b3
|
4
|
+
data.tar.gz: 1eeab183ee8bde9df4aca81ebb55a27216cabec8b157fe27214b4acbc348bd86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d250e9e1e4354446ec1a31f3d607f3d5b5d3f769d08ad6d7056e16190f19373a3922c6939fa992bfe45ca868a38ab73c6d5398da56c73dbc218df700a8904aaf
|
7
|
+
data.tar.gz: c123a0812cf627f569a8ce7f4521893620d6ee195d17ee523b618e0a145ee81688b672b6eb36677b2481963af2e4141ac12d079b82f8339fe560b21d7935185f
|
data/lib/posting_duo.rb
CHANGED
@@ -6036,11 +6036,14 @@ end
|
|
6036
6036
|
|
6037
6037
|
|
6038
6038
|
#내용 입력<<─────────────────────────────────────────────────────────────────────
|
6039
|
-
|
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'
|
@@ -9222,9 +9225,9 @@ class Wordpress
|
|
9222
9225
|
counter10 = 0
|
9223
9226
|
while joongbok_check == 0
|
9224
9227
|
if @data['포스트설정']['내용과자동생성'].checked?
|
9225
|
-
|
9228
|
+
content22 = content.split("(자동생성글)")[1].split("\n")
|
9226
9229
|
else
|
9227
|
-
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? ==
|
9230
|
+
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == false
|
9228
9231
|
snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
|
9229
9232
|
enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
|
9230
9233
|
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
@@ -9233,9 +9236,9 @@ class Wordpress
|
|
9233
9236
|
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
9234
9237
|
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
9235
9238
|
last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
|
9236
|
-
|
9239
|
+
content22 = last_text.split(' ')
|
9237
9240
|
else
|
9238
|
-
|
9241
|
+
content22 = content.split("\n")
|
9239
9242
|
end
|
9240
9243
|
end
|
9241
9244
|
position_point = rand(0..(content22.length-2))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: posting_duo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
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-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: File to Clipboard gem
|
14
14
|
email: mymin26@naver.com
|