wp_posting_duo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wp_posting_duo.rb +10 -0
- 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: 196d20faaf24c699f6e7471bea38f86da11fb663a06af776e3d3e982842a4242
|
4
|
+
data.tar.gz: c81d7137659a6e91ef9d8689cb195723a3a9acb1831903f31e5b31882ee31acf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c758397e6b8cecdc794fdb73d4ae45c73760569a5b0ae08cd204ba1b31404a7c09711e89ac993ae3a92cdff594a988cb903a074c76db93f9be4b389635c4a77
|
7
|
+
data.tar.gz: f4bf9c0349474a9ba7079b0571575f89ec1295ff3a7979e04d7957ed9346eccdc9038b9c8daf21047d5953af16fab37985a2ecc12fb24e34388df4dd5aac6855
|
data/lib/wp_posting_duo.rb
CHANGED
@@ -956,6 +956,11 @@ class Wordpress
|
|
956
956
|
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == true
|
957
957
|
snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
|
958
958
|
enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
|
959
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
960
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
961
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
962
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
963
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
959
964
|
last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
|
960
965
|
content22 = last_text.split(' ')
|
961
966
|
else
|
@@ -1361,6 +1366,11 @@ class Wordpress
|
|
1361
1366
|
else
|
1362
1367
|
snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
|
1363
1368
|
enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
|
1369
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1370
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1371
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1372
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1373
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1364
1374
|
last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
|
1365
1375
|
|
1366
1376
|
if @data['포스트설정']['막글삽입2'].checked?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wp_posting_duo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: File to Clipboard gem
|
14
14
|
email: mymin26@naver.com
|