soonje_3 4.0.3 → 4.0.9

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.

Potentially problematic release.


This version of soonje_3 might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/soonje_3.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1a5c065ec3964436cf8f73496e848d53532a3262d68d6a89a7210314f6f6286
4
- data.tar.gz: a0285d44073280741d5c61d958e9b895fab0148d42e3bc84e748afe7c452b8ec
3
+ metadata.gz: 9116d1b7e92ec79a562bf5959cea2504b14e3677f73b376ae36814050d6ced4d
4
+ data.tar.gz: 0aa8416cc714e634d86043883c954ffc1d7dcb9dcba814fdfcffb93dd2227e0a
5
5
  SHA512:
6
- metadata.gz: 4ab7b3557d8a9ebb88e6c7746ef645a45ef2d75e9f9c7979af0c7ddd8cfcb9edc5bcf0a6cf29423c436996a0ac0dd070c2c5fa6b25ecec56068e49aa5d188ac8
7
- data.tar.gz: 5b3fde722d095aa65a11e532064aaca643bd0c753ef3d1f0f2d83deec43869e0bc3e39a45d2ce264e11500b1c892c8e2d94b549214b124de8afd964285465e5b
6
+ metadata.gz: 6335f33f0f3a67d095b15562aa6d4de1c375752dd7a33259b0455280b52a3608055ab2eeb9d4c307378c7aa14d1390f4ea60fc7ea841f85649c74ee14c86186c
7
+ data.tar.gz: 19510efa09fe523914c950231b9a556b9f47da7f7138f5bf88276f088072f7ae8d3d290101d5efed5bf5efcdcce56a6263055bf331aa193afbe53741631f32eb
data/lib/soonje_3.rb CHANGED
@@ -33,7 +33,7 @@ class Wordpress
33
33
  if mac_check(user_id) == 1
34
34
  return 1
35
35
  else
36
- return 44
36
+ return 1
37
37
  end
38
38
  else
39
39
  return 22
@@ -1162,9 +1162,9 @@ class Wordpress
1162
1162
  snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
1163
1163
  enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
1164
1164
  if @data['포스트설정']['막글투명'].checked?
1165
- content = content + '<div style="overflow:hidden; width:1px; height:1px" hidden><table width="165" style="width: 124pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr height="22" style="height: 16.5pt;"><td width="165" height="22" style="width: 124pt; text-align: center; font-size: 8pt; vertical-align: bottom; white-space: nowrap;">' + @data['포스트설정']['막글'][0..rand(snumber..enumber)] + '</td></tr></tbody></table></div>'
1165
+ content = content + '<div style="overflow:hidden; width:1px; height:1px" hidden><table width="165" style="width: 124pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"><tbody><tr height="22" style="height: 16.5pt;"><td width="165" height="22" style="width: 124pt; text-align: center; font-size: 8pt; vertical-align: bottom; white-space: nowrap;">' + @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ') + '</td></tr></tbody></table></div>'
1166
1166
  else
1167
- content = content + @data['포스트설정']['막글'][0..rand(snumber..enumber)]
1167
+ content = content + @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
1168
1168
  end
1169
1169
  end
1170
1170
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soonje_3
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - soonje