posting_zon 0.0.2 → 0.0.5
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 +6 -6
- 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: 7cceca9a801138c0bbf2aca934e2517d6e6dfe9b9a234ae83e31384d59142c5b
|
4
|
+
data.tar.gz: c5c4c0ad249dcd127442514c49e404a734e86489090475cc208048a957008353
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd773bdc8e97315a8ca4632eb17f16bc6f1da152a19b0ccd7d7798243aa2f06d44364ed96f9bf3d8c9de011c88f94bd45890c41fcd9478b4df181521c3a5b164
|
7
|
+
data.tar.gz: cbf5c83d956df93243f6e26939866a928453a30860e5b829918286fd432c3d8cd3fb0c4b275878e0ed09f4db0734a6dadae0c636c34cc83b46e8dd462a9cacd3
|
data/lib/posting_zon.rb
CHANGED
@@ -9152,7 +9152,7 @@ class Wordpress
|
|
9152
9152
|
counter10 = 0
|
9153
9153
|
while joongbok_check == 0
|
9154
9154
|
if @data['포스트설정']['내용과자동생성'].checked?
|
9155
|
-
|
9155
|
+
content = content.split("(자동생성글)")[1].split("\n")
|
9156
9156
|
else
|
9157
9157
|
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == true
|
9158
9158
|
snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
|
@@ -9163,9 +9163,9 @@ class Wordpress
|
|
9163
9163
|
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
9164
9164
|
@data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
|
9165
9165
|
last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
|
9166
|
-
|
9166
|
+
content = last_text.split(' ')
|
9167
9167
|
else
|
9168
|
-
|
9168
|
+
content = content.split("\n")
|
9169
9169
|
end
|
9170
9170
|
end
|
9171
9171
|
position_point = rand(0..(content22.length-2))
|
@@ -9371,11 +9371,11 @@ class Wordpress
|
|
9371
9371
|
|
9372
9372
|
content = content+"\n\n"+content_end
|
9373
9373
|
|
9374
|
-
if @data['포스트설정']['막글삽입'].checked?
|
9375
|
-
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['내용키워드삽입'].checked? ==
|
9374
|
+
if @data['포스트설정']['막글삽입'].checked?
|
9375
|
+
if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['내용키워드삽입'].checked? == true
|
9376
9376
|
puts '막글키워드삽입....'
|
9377
9377
|
content333 = Array.new
|
9378
|
-
|
9378
|
+
|
9379
9379
|
content = last_text.split(" ")
|
9380
9380
|
insert_keyword_text = keyword.to_s
|
9381
9381
|
if @data['포스트설정']['키워드삽입'].checked?
|
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.5
|
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
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: posting app
|
14
14
|
email: mymin26@naver.com
|