back_duo 0.0.2 → 0.0.3
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/back_duo.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2a3901fe47374ebeeea98948831edaa1f0195a1b3f9618f033c1d0dedaeb670
|
4
|
+
data.tar.gz: bff72d093de21e9745cadf747af41862fb0fb95721ef35f8f91a479b4d6d2ced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99b11d804425f37d2d76cae67f6879642d079f551d18d50ed725deca149028c489b6784e3880c757a443182c276d697a043463768b1d4108d9ca1e476fd3919
|
7
|
+
data.tar.gz: e75c0b17a0967df1f6cbc0a38edf4c43d65cceec367ca86697f33c4994aa71a9728dacc00ab7137e27b94982809a2c4f782ac2a074a2cf98f20c386afd34b6de
|
data/lib/back_duo.rb
CHANGED
@@ -936,6 +936,11 @@ class Wordpress
|
|
936
936
|
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == true
|
937
937
|
snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
|
938
938
|
enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
|
939
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
940
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
941
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
942
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
943
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
939
944
|
last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
|
940
945
|
content22 = last_text.split(' ')
|
941
946
|
else
|
@@ -1325,6 +1330,11 @@ class Wordpress
|
|
1325
1330
|
else
|
1326
1331
|
snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
|
1327
1332
|
enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
|
1333
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1334
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1335
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1336
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1337
|
+
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
1328
1338
|
last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
|
1329
1339
|
|
1330
1340
|
if @data['포스트설정']['막글키워드삽입'].checked?
|