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.
- checksums.yaml +4 -4
- data/lib/soonje_3.rb +3 -3
- 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: 9116d1b7e92ec79a562bf5959cea2504b14e3677f73b376ae36814050d6ced4d
|
|
4
|
+
data.tar.gz: 0aa8416cc714e634d86043883c954ffc1d7dcb9dcba814fdfcffb93dd2227e0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|