nblog_zon 0.0.5 → 0.0.7

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/nblog_zon.rb +126 -27
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f3c8033825355df5a715f57579b9274e4b9bd61b99e8fcf793cf57061b592c3
4
- data.tar.gz: e7b3b5348f03c46332c40bfd032f1bdebaacfa3e07096dfd2874a4e16e233710
3
+ metadata.gz: e9ce911be17f3cd87edf7b0e1b556492da1fd7d733b7ba214f108ee3dbd4c8d7
4
+ data.tar.gz: b74cc5a983805385c8fa6fbb5df6073d17d08075a4f4eb9add6701f3c4691b00
5
5
  SHA512:
6
- metadata.gz: cc443ebe7ef87270f0c4eab685b08e5a50b15eb020deb1df193ce96e91394632e65552cd16751c9a8b12d824358953e6f71ec083bd41913208cb0affd3f0d791
7
- data.tar.gz: 893d5252a8359c65c20e35f3400e261aaa10d836fcebe0330fc6cfad9785ccbe0f4fe6dfbf3c65ad77147901876a146fdb1c15fae14abc4d9099d6be34b52e1f
6
+ metadata.gz: b5ae3e5d2c7bb73ecf79a8486d2bd2016be1a3e69805197eaa7bfab7747cc29f82dd81a0202112f97b9f262e6f04edabceca8b8cb8b6a87795c0b904fd69314c
7
+ data.tar.gz: 0561da77f0fc1babf82a0a50ca42fece3096d15c8cc2b1d10de93bd1dd4237600b64b79495e72cc29d15a07e9adcf2fd4dd9ab5c367e3e6e4892b948e253ae5a
data/lib/nblog_zon.rb CHANGED
@@ -2526,7 +2526,7 @@ class Wordpress
2526
2526
  end
2527
2527
 
2528
2528
  position = position.sort
2529
- ###여기까지 이미지 순서대로 안되서 변경##-------------------------------------------------------------------------------
2529
+ ###여기까지 이미지 순서대로 안되서 변경##-------------------------------------------------------------------------------
2530
2530
  # if @data['포스트설정']['내용과자동생성'].checked? or @data['포스트설정']['gpt'].checked?
2531
2531
  # image_url22 = get_image_file().force_encoding('utf-8')
2532
2532
  # end
@@ -3188,8 +3188,8 @@ class Wordpress
3188
3188
  end
3189
3189
 
3190
3190
  if i.class == Array
3191
- i[4] = i[4].to_i
3192
- i[5] = i[5].to_i
3191
+ i[7] = i[7].to_i
3192
+ i[8] = i[8].to_i
3193
3193
  @data[key] << i
3194
3194
  @data[key] << i
3195
3195
  @data[key].pop
@@ -3332,8 +3332,11 @@ class Wordpress
3332
3332
  }
3333
3333
 
3334
3334
  horizontal_box{
3335
- stretchy false
3335
+ stretchy false
3336
+ grid{
3336
3337
  button('전체선택'){
3338
+ top 1
3339
+ left 1
3337
3340
  on_clicked{
3338
3341
  for n in 0..@data['table'].length-1
3339
3342
  @data['table'][n][0] = true
@@ -3342,7 +3345,20 @@ class Wordpress
3342
3345
  end
3343
3346
  }
3344
3347
  }
3348
+ button('선택해제'){
3349
+ top 1
3350
+ left 2
3351
+ on_clicked{
3352
+ for n in 0..@data['table'].length-1
3353
+ @data['table'][n][0] = false
3354
+ @data['table'] << []
3355
+ @data['table'].pop
3356
+ end
3357
+ }
3358
+ }
3345
3359
  button('계정삭제'){
3360
+ top 1
3361
+ left 3
3346
3362
  on_clicked{
3347
3363
  del_list_number = Array.new
3348
3364
  for n in 0..@data['table'].length-1
@@ -3357,30 +3373,44 @@ class Wordpress
3357
3373
  @data.delete(nil)
3358
3374
  }
3359
3375
  }
3360
- @data['table_counter_input'] = entry{
3361
- text '수량 ex) 3'
3362
- }
3363
- @data['table_delay_input'] = entry{
3364
- text '딜레이 ex) 3'
3365
- }
3366
- @data['table_delay_input2'] = entry{
3367
- text '등록전딜레이'
3368
- }
3376
+ }
3377
+
3378
+ grid{
3379
+ stretchy false
3380
+
3381
+ @data['table_counter_input'] = entry{
3382
+ top 1
3383
+ left 4
3384
+ text '수량 ex) 3'
3385
+ }
3386
+ @data['table_delay_input'] = entry{
3387
+ top 1
3388
+ left 5
3389
+ text '딜레이 ex) 3'
3390
+ }
3391
+ @data['table_delay_input2'] = entry{
3392
+ top 1
3393
+ left 6
3394
+ text '등록전딜레이'
3395
+ }
3369
3396
 
3370
- button('전체설정'){
3371
- on_clicked{
3372
- for n in 0..@data['table'].length-1
3373
- @data['table'][n][7] = @data['table_counter_input'].text.to_i
3374
- @data['table'][n][8] = @data['table_delay_input'].text.to_s
3375
- @data['table'][n][9] = @data['table_delay_input2'].text.to_s
3376
- @data['table'] << []
3377
- @data['table'].pop
3378
- end
3379
- }
3397
+ button('전체설정'){
3398
+ top 1
3399
+ left 7
3400
+ on_clicked{
3401
+ for n in 0..@data['table'].length-1
3402
+ @data['table'][n][7] = @data['table_counter_input'].text.to_i
3403
+ @data['table'][n][8] = @data['table_delay_input'].text.to_s
3404
+ @data['table'][n][9] = @data['table_delay_input2'].text.to_s
3405
+ @data['table'] << []
3406
+ @data['table'].pop
3407
+ end
3380
3408
  }
3381
3409
  }
3382
3410
  }
3383
3411
  }
3412
+ }
3413
+ }
3384
3414
  tab_item('내용설정'){
3385
3415
  horizontal_box{
3386
3416
  vertical_box{
@@ -3408,7 +3438,10 @@ class Wordpress
3408
3438
  }
3409
3439
  horizontal_box{
3410
3440
  stretchy false
3441
+ grid{
3411
3442
  button('전체선택'){
3443
+ top 1
3444
+ left 1
3412
3445
  on_clicked{
3413
3446
  for n in 0..@data['키워드설정']['키워드'].length-1
3414
3447
  @data['키워드설정']['키워드'][n][0] = true
@@ -3417,7 +3450,20 @@ class Wordpress
3417
3450
  end
3418
3451
  }
3419
3452
  }
3420
- button('키워드삭제'){
3453
+ button('선택해제'){
3454
+ top 1
3455
+ left 2
3456
+ on_clicked{
3457
+ for n in 0..@data['키워드설정']['키워드'].length-1
3458
+ @data['키워드설정']['키워드'][n][0] = false
3459
+ @data['키워드설정']['키워드'] << []
3460
+ @data['키워드설정']['키워드'].pop
3461
+ end
3462
+ }
3463
+ }
3464
+ button('삭제하기'){
3465
+ top 1
3466
+ left 3
3421
3467
  on_clicked{
3422
3468
  m = Array.new
3423
3469
  for n in 0..@data['키워드설정']['키워드'].length-1
@@ -3432,6 +3478,8 @@ class Wordpress
3432
3478
  @data['키워드설정']['키워드'].delete(nil)
3433
3479
  }
3434
3480
  }
3481
+ }
3482
+
3435
3483
  @data['키워드설정']['순서사용'] = checkbox('순서사용'){
3436
3484
  stretchy false
3437
3485
  on_toggled{ |c|
@@ -3488,7 +3536,10 @@ class Wordpress
3488
3536
  }
3489
3537
  horizontal_box{
3490
3538
  stretchy false
3539
+ grid{
3491
3540
  button('전체선택'){
3541
+ top 1
3542
+ left 1
3492
3543
  on_clicked{
3493
3544
  for n in 0..@data['제목설정']['제목'].length-1
3494
3545
  @data['제목설정']['제목'][n][0] = true
@@ -3497,7 +3548,20 @@ class Wordpress
3497
3548
  end
3498
3549
  }
3499
3550
  }
3500
- button('제목삭제'){
3551
+ button('선택해제'){
3552
+ top 1
3553
+ left 2
3554
+ on_clicked{
3555
+ for n in 0..@data['제목설정']['제목'].length-1
3556
+ @data['제목설정']['제목'][n][0] = false
3557
+ @data['제목설정']['제목'] << []
3558
+ @data['제목설정']['제목'].pop
3559
+ end
3560
+ }
3561
+ }
3562
+ button('삭제하기'){
3563
+ top 1
3564
+ left 3
3501
3565
  on_clicked{
3502
3566
  m = Array.new
3503
3567
  for n in 0..@data['제목설정']['제목'].length-1
@@ -3512,6 +3576,7 @@ class Wordpress
3512
3576
  @data['제목설정']['제목'].delete(nil)
3513
3577
  }
3514
3578
  }
3579
+ }
3515
3580
  @data['제목설정']['순서사용'] = checkbox('순서사용'){
3516
3581
  stretchy false
3517
3582
  on_toggled{ |c|
@@ -3566,7 +3631,10 @@ class Wordpress
3566
3631
  }
3567
3632
  horizontal_box{
3568
3633
  stretchy false
3634
+ grid{
3569
3635
  button('전체선택'){
3636
+ top 1
3637
+ left 1
3570
3638
  on_clicked{
3571
3639
  for n in 0..@data['내용설정']['내용'].length-1
3572
3640
  @data['내용설정']['내용'][n][0] = true
@@ -3575,7 +3643,20 @@ class Wordpress
3575
3643
  end
3576
3644
  }
3577
3645
  }
3578
- button('내용삭제'){
3646
+ button('선택해제'){
3647
+ top 1
3648
+ left 2
3649
+ on_clicked{
3650
+ for n in 0..@data['내용설정']['내용'].length-1
3651
+ @data['내용설정']['내용'][n][0] = false
3652
+ @data['내용설정']['내용'] << []
3653
+ @data['내용설정']['내용'].pop
3654
+ end
3655
+ }
3656
+ }
3657
+ button('삭제하기'){
3658
+ top 1
3659
+ left 3
3579
3660
  on_clicked{
3580
3661
  m = Array.new
3581
3662
  for n in 0..@data['내용설정']['내용'].length-1
@@ -3590,6 +3671,7 @@ class Wordpress
3590
3671
  @data['내용설정']['내용'].delete(nil)
3591
3672
  }
3592
3673
  }
3674
+ }
3593
3675
  @data['내용설정']['순서사용'] = checkbox('순서사용'){
3594
3676
  stretchy false
3595
3677
  on_toggled{ |c|
@@ -3664,7 +3746,10 @@ class Wordpress
3664
3746
  }
3665
3747
  horizontal_box{
3666
3748
  stretchy false
3749
+ grid{
3667
3750
  button('전체선택'){
3751
+ top 1
3752
+ left 1
3668
3753
  on_clicked{
3669
3754
  for n in 0..@data['이미지설정']['이미지'].length-1
3670
3755
  @data['이미지설정']['이미지'][n][0] = true
@@ -3673,7 +3758,20 @@ class Wordpress
3673
3758
  end
3674
3759
  }
3675
3760
  }
3676
- button('이미지삭제'){
3761
+ button('선택해제'){
3762
+ top 1
3763
+ left 2
3764
+ on_clicked{
3765
+ for n in 0..@data['이미지설정']['이미지'].length-1
3766
+ @data['이미지설정']['이미지'][n][0] = false
3767
+ @data['이미지설정']['이미지'] << []
3768
+ @data['이미지설정']['이미지'].pop
3769
+ end
3770
+ }
3771
+ }
3772
+ button('삭제하기'){
3773
+ top 1
3774
+ left 3
3677
3775
  on_clicked{
3678
3776
  m = Array.new
3679
3777
  for n in 0..@data['이미지설정']['이미지'].length-1
@@ -3689,6 +3787,7 @@ class Wordpress
3689
3787
  @data['이미지설정']['이미지'].delete(nil)
3690
3788
  }
3691
3789
  }
3790
+ }
3692
3791
  @data['이미지설정']['순서사용'] = checkbox('순서사용'){
3693
3792
  stretchy false
3694
3793
  on_toggled{ |c|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nblog_zon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - zon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-25 00:00:00.000000000 Z
11
+ date: 2024-11-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: File to Clipboard gem
14
14
  email: rnjstnswp123@naver.com