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.
- checksums.yaml +4 -4
- data/lib/posting_zon.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: b5b4a4bf3bdb227f50c416ccc00798842e92b125a607ccf03577b7023246e2eb
|
4
|
+
data.tar.gz: 2ebadacad9b90686a1a9079047cca149884241eb822d6c5311951fb4b5d41e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
9158
|
+
content22 = content.split("(자동생성글)")[1].split("\n")
|
9156
9159
|
else
|
9157
|
-
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? ==
|
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
|
-
|
9169
|
+
content22 = last_text.split(' ')
|
9167
9170
|
else
|
9168
|
-
|
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.
|
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: posting app
|
14
14
|
email: mymin26@naver.com
|