posting_duo 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_duo.rb +6 -6
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1da20033d0613e2877c03a1e1638e874f2a136d2ee31bd6262dd1260fd568f5
4
- data.tar.gz: 300e8c54130143a5087597e20f8332a53c64c86bf002dde153f9b3a600a09b65
3
+ metadata.gz: 0d86958e1e7fb5d0da583f2a91c3744a346fe30d0bfb86ec9223e0267a16a693
4
+ data.tar.gz: bf2b2d6f41a152b4402fb02cf311d67faa6f8fcdbeacfb5719e3177389d83af7
5
5
  SHA512:
6
- metadata.gz: 6bd0e8585417930b7159db3007b232e8f82b2d39f9112ee8e2ef18ad1819c3bc7faa71f31b82ee96979963f33698c61f381048b66bea85c24129ccd4edca9148
7
- data.tar.gz: 92bbeaae1bff5feca5cf077272a6f2a9e6e88f2c93eaef23ef1a41ec52117b3b055dd529f5cf00e559604d332fa7c9d7cfef1f0d728a6606bbd879bc6355a7e9
6
+ metadata.gz: ac49c656ed3a58cd0bf1763bf2338716fa026801471ac13978864e109c361add719c50fc6724c6e29eb104d1b3dae0c5459e46ab6b52937298e85239a03f201c
7
+ data.tar.gz: 79ed839c601dc43f522a0491dcf2ce5e591a3c6d3f37bf24ee68b5428edb9eb2d3cfb56d39e319d968c04ed42cc10de11fce89d4ae71827d02de385a7c297671
data/lib/posting_duo.rb CHANGED
@@ -9222,7 +9222,7 @@ class Wordpress
9222
9222
  counter10 = 0
9223
9223
  while joongbok_check == 0
9224
9224
  if @data['포스트설정']['내용과자동생성'].checked?
9225
- content22 = content.split("(자동생성글)")[1].split("\n")
9225
+ content = content.split("(자동생성글)")[1].split("\n")
9226
9226
  else
9227
9227
  if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == true
9228
9228
  snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
@@ -9233,9 +9233,9 @@ class Wordpress
9233
9233
  @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
9234
9234
  @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
9235
9235
  last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
9236
- content22 = last_text.split(' ')
9236
+ content = last_text.split(' ')
9237
9237
  else
9238
- content22 = content.split("\n")
9238
+ content = content.split("\n")
9239
9239
  end
9240
9240
  end
9241
9241
  position_point = rand(0..(content22.length-2))
@@ -9441,11 +9441,11 @@ class Wordpress
9441
9441
 
9442
9442
  content = content+"\n\n"+content_end
9443
9443
 
9444
- if @data['포스트설정']['막글삽입'].checked?
9445
- if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['내용키워드삽입'].checked? == false
9444
+ if @data['포스트설정']['막글삽입'].checked?
9445
+ if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['내용키워드삽입'].checked? == true
9446
9446
  puts '막글키워드삽입....'
9447
9447
  content333 = Array.new
9448
-
9448
+
9449
9449
  content = last_text.split(" ")
9450
9450
  insert_keyword_text = keyword.to_s
9451
9451
  if @data['포스트설정']['키워드삽입'].checked?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: posting_duo
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: File to Clipboard gem
14
14
  email: mymin26@naver.com