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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/posting_zon.rb +6 -6
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12ed097619214b92a78b3e408481f6f732ec5b9517079e83ef6aff88d61a5448
4
- data.tar.gz: 64953994a495879e157504f7fb14b7ee369c1382fd9811f5f87cae23d21475c8
3
+ metadata.gz: 7cceca9a801138c0bbf2aca934e2517d6e6dfe9b9a234ae83e31384d59142c5b
4
+ data.tar.gz: c5c4c0ad249dcd127442514c49e404a734e86489090475cc208048a957008353
5
5
  SHA512:
6
- metadata.gz: a462e0a23385d83d73c9913f2d7c79e3e7cf16e623cfd569d736dfd12b061da69be2c8e435eee72af0b159915a060d07d90f23ddea3221284b8856e264891835
7
- data.tar.gz: 7b5ea89e10d0ca09b2fa0681183ca5edfa08df26f2b6aeab3c9d65586ae6ed6c749417fa85c9dc2c9ead75d398aac87bd0940fef747d77b5dbf84785d686af1a
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
- content22 = content.split("(자동생성글)")[1].split("\n")
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
- content22 = last_text.split(' ')
9166
+ content = last_text.split(' ')
9167
9167
  else
9168
- content22 = content.split("\n")
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? == false
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.2
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-10-28 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: posting app
14
14
  email: mymin26@naver.com