wp_posting_duo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wp_posting_duo.rb +10 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f773b74eebc88bfb08110bc86dfdca44fd4691275333724bd9c8a18b23f0dbda
4
- data.tar.gz: e6880f6a1019bbb295da1f53783151f4b74a848befc3876932c062c8bfd485f2
3
+ metadata.gz: 196d20faaf24c699f6e7471bea38f86da11fb663a06af776e3d3e982842a4242
4
+ data.tar.gz: c81d7137659a6e91ef9d8689cb195723a3a9acb1831903f31e5b31882ee31acf
5
5
  SHA512:
6
- metadata.gz: a8140786af1458ae6b6d8437833fbfa200f2d05f8e8c8e34e63db8adcd5ec48971a299689b22c975e8f82e4de644390462fd7e9bb5db5805121ac54e4f780a94
7
- data.tar.gz: 8ef114249fc92bb730440d6b65469e890061d8a056e465b74da12f95410ad6d20896fe3b7d0573ad74a3b74ae90b1e80792379087d2f87a8e49784a8a1a8739d
6
+ metadata.gz: 2c758397e6b8cecdc794fdb73d4ae45c73760569a5b0ae08cd204ba1b31404a7c09711e89ac993ae3a92cdff594a988cb903a074c76db93f9be4b389635c4a77
7
+ data.tar.gz: f4bf9c0349474a9ba7079b0571575f89ec1295ff3a7979e04d7957ed9346eccdc9038b9c8daf21047d5953af16fab37985a2ecc12fb24e34388df4dd5aac6855
@@ -956,6 +956,11 @@ class Wordpress
956
956
  if @data['포스트설정']['내용과자동생성'].checked? == false and @data['포스트설정']['내용을자동생성'].checked? == false and @data['포스트설정']['막글삽입'].checked? == true
957
957
  snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
958
958
  enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
959
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
960
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
961
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
962
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
963
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
959
964
  last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
960
965
  content22 = last_text.split(' ')
961
966
  else
@@ -1361,6 +1366,11 @@ class Wordpress
1361
1366
  else
1362
1367
  snumber = @data['포스트설정']['막글삽입시작숫자'].text.to_s.to_i
1363
1368
  enumber = @data['포스트설정']['막글삽입끝숫자'].text.to_s.to_i
1369
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
1370
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
1371
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
1372
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
1373
+ @data['포스트설정']['막글'] = @data['포스트설정']['막글'].split(' ').shuffle.join(' ')
1364
1374
  last_text = @data['포스트설정']['막글'][0..rand(snumber..enumber)].split(' ').shuffle.join(' ')
1365
1375
 
1366
1376
  if @data['포스트설정']['막글삽입2'].checked?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wp_posting_duo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-22 00:00:00.000000000 Z
11
+ date: 2024-10-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: File to Clipboard gem
14
14
  email: mymin26@naver.com