swot-ruby 1.0.5.20240702 → 1.0.5.20240705

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/academic_data/abused.txt +5 -42
  3. data/academic_data/au/edu/kangan.txt +1 -0
  4. data/academic_data/az/edu/beu.txt +1 -0
  5. data/academic_data/bg/uni-sofia.txt +1 -0
  6. data/academic_data/br/edu/famper/professor.txt +1 -0
  7. data/academic_data/ca/sk/spsd.txt +2 -0
  8. data/academic_data/com/bloomtech.txt +1 -0
  9. data/academic_data/com/icn-artem.txt +1 -0
  10. data/academic_data/com/nakaesa.txt +1 -0
  11. data/academic_data/com/rayatbahra.txt +1 -0
  12. data/academic_data/cz/sps-tachov.txt +2 -0
  13. data/academic_data/de/berufskolleg-technik.txt +1 -0
  14. data/academic_data/de/hmt-leipzig.txt +2 -0
  15. data/academic_data/de/igs-del.txt +1 -0
  16. data/academic_data/de/kapellen-ms.txt +1 -0
  17. data/academic_data/de/whg-duew.txt +1 -0
  18. data/academic_data/ec/edu/ube.txt +1 -0
  19. data/academic_data/edu/edmonds.txt +1 -0
  20. data/academic_data/edu/otc.txt +1 -0
  21. data/academic_data/edu/sbccd.txt +1 -0
  22. data/academic_data/edu/umo.txt +1 -0
  23. data/academic_data/edu/vit.txt +1 -0
  24. data/academic_data/eg/edu/svnu.txt +1 -0
  25. data/academic_data/es/unavarrra/e.txt +1 -0
  26. data/academic_data/id/ac/gontor/unida/cs/student.txt +2 -0
  27. data/academic_data/id/ac/itsnupadangsidimpuan.txt +1 -0
  28. data/academic_data/id/ac/prisma.txt +2 -0
  29. data/academic_data/id/ac/upiyptk.txt +1 -0
  30. data/academic_data/id/sch/smkn1dompu.txt +2 -0
  31. data/academic_data/in/ac/iiitm.txt +1 -0
  32. data/academic_data/in/anjarakandy.txt +1 -0
  33. data/academic_data/in/net/uktech.txt +1 -0
  34. data/academic_data/it/edu/ismarconi.txt +1 -0
  35. data/academic_data/it/istitutovolta.txt +1 -0
  36. data/academic_data/jo/edu/ics.txt +1 -0
  37. data/academic_data/jp/kosen-ac/toyama.txt +2 -0
  38. data/academic_data/ke/ac/ksl/teams.txt +1 -0
  39. data/academic_data/kr/duksung.txt +2 -0
  40. data/academic_data/ma/ac/vinci.txt +1 -0
  41. data/academic_data/mx/com/ujsierra.txt +1 -0
  42. data/academic_data/mx/edu/laselva.txt +1 -0
  43. data/academic_data/mx/edu/uicui.txt +1 -0
  44. data/academic_data/mx/edu/utselva.txt +2 -0
  45. data/academic_data/my/edu/vitrox.txt +2 -0
  46. data/academic_data/mz/ac/ustm.txt +2 -0
  47. data/academic_data/net/vitoriaregia.txt +1 -0
  48. data/academic_data/nl/koncon.txt +3 -0
  49. data/academic_data/np/edu/lagrandee.txt +1 -0
  50. data/academic_data/np/edu/tu/bimc.txt +1 -0
  51. data/academic_data/np/edu/tu/pkmc.txt +1 -0
  52. data/academic_data/np/edu/tu.txt +2 -0
  53. data/academic_data/nz/school/stcuthberts.txt +1 -0
  54. data/academic_data/org/devrijeruimte.txt +2 -0
  55. data/academic_data/org/jimsindia.txt +1 -0
  56. data/academic_data/org/neskt.txt +1 -0
  57. data/academic_data/org/pinebushschools.txt +1 -0
  58. data/academic_data/org/pt-sd.txt +1 -0
  59. data/academic_data/org/wbsd-schools.txt +1 -0
  60. data/academic_data/pl/edu/lo2kk.txt +1 -0
  61. data/academic_data/pt/gov/madeira/edu.txt +2 -0
  62. data/academic_data/sa/edu/effat.txt +1 -0
  63. data/academic_data/stoplist.txt +48 -1
  64. data/academic_data/th/ac/kmitl.txt +2 -0
  65. data/academic_data/tw/edu/nkuht.txt +2 -0
  66. data/academic_data/uk/ac/altech.txt +1 -0
  67. data/academic_data/uk/ac/shc/stu.txt +1 -0
  68. data/academic_data/uk/ac/sirm/student.txt +1 -0
  69. data/academic_data/uk/co/stangelas-ursuline.txt +1 -0
  70. data/academic_data/uk/org/thelangton.txt +1 -0
  71. data/academic_data/uk/org/utcmediacityuk.txt +1 -0
  72. data/academic_data/uk/sch/herts/st-albans.txt +1 -0
  73. data/academic_data/vn/edu/tbd.txt +2 -0
  74. data/data/lib/domains/abused.txt +5 -42
  75. data/data/lib/domains/stoplist.txt +48 -1
  76. data/swot.gemspec +1 -1
  77. data/test/test_swot.rb +41 -41
  78. metadata +71 -5
  79. data/academic_data/in/ac/mnmjec.txt +0 -1
  80. data/academic_data/it/uniroma1.txt +0 -1
  81. data/academic_data/mx/uacj.txt +0 -2
  82. data/academic_data/vn/edu/hust.txt +0 -1
@@ -1,5 +1,4 @@
1
1
  365.cleu.edu.mx
2
- 365.ntcu.edu.tw
3
2
  365.um.edu.my
4
3
  90888.cc
5
4
  aabu.edu.jo
@@ -15,7 +14,6 @@ academico.cesmac.edu.br
15
14
  academico.ifrn.edu.br
16
15
  academicos.uamericas.cl
17
16
  acarballeira.es
18
- ad1.nutc.edu.tw
19
17
  aealcochete.edu.pt
20
18
  aebpc.edu.pt
21
19
  aejuliodinis.edu.pt
@@ -37,7 +35,6 @@ alu.comillas.edu
37
35
  alu.frlp.utn.edu.ar
38
36
  alu.uap.edu.pe
39
37
  alum.bogazici.edu.tr
40
- alum.ccu.edu.tw
41
38
  alum.mit.edu
42
39
  alum.ubc.ca
43
40
  alum.uca.es
@@ -77,7 +74,6 @@ anc.ac.th
77
74
  anhembimorumbi.edu.br
78
75
  anu.edu.gh
79
76
  app
80
- apps.ntpc.edu.tw
81
77
  apus.edu
82
78
  archten.croydon.sch.uk
83
79
  art.dmu.edu.eg
@@ -146,17 +142,14 @@ campusvirtual.aunarvillavicencio.edu.co
146
142
  case.edu
147
143
  cassia.kku.ac.th
148
144
  cba.edu.kw
149
- cc.ntut.edu.tw
150
145
  cc.peralta.edu
151
146
  ccc.edu
152
147
  cccd.edu
153
148
  ccsf.edu
154
- ccu.edu.tw
155
149
  cet.edu
156
150
  ceuandalucia.es
157
151
  cf
158
152
  chasefreedomactivate.com
159
- chc.edu.tw
160
153
  chemeketa.edu
161
154
  chula.ac.th
162
155
  ci.suez.edu.eg
@@ -168,7 +161,6 @@ cit.edu
168
161
  cit.just.edu.jo
169
162
  clackamas.edu
170
163
  clatsopcc.edu
171
- cloud.isu.edu.tw
172
164
  cloudlearn.tech
173
165
  clpccd.edu
174
166
  cmich.edu
@@ -352,12 +344,10 @@ ghazanthemprep.org
352
344
  giant.cos.edu
353
345
  giki.edu.pk
354
346
  gndec.ac.in
355
- go.edu.tw
356
347
  go.minnstate.edu
357
348
  go.pasadena.edu
358
349
  go.shoreline.edu
359
350
  gq
360
- graduate.hku.hk
361
351
  green.ac.bd
362
352
  gtc.edu
363
353
  gtu.edu.tr
@@ -371,8 +361,6 @@ haramaya.edu.et
371
361
  harran.edu.tr
372
362
  hawkmail.hccfl.edu
373
363
  haywood.edu
374
- hc.edu.tw
375
- hcc.edu.tw
376
364
  hcc2.edu.vn
377
365
  hce.edu.vn
378
366
  hcmup.edu.vn
@@ -439,8 +427,6 @@ jic.edu.sa
439
427
  jmail.ac.kr
440
428
  jmpaneracollege.com
441
429
  just.edu.jo
442
- just.edu.tw
443
- k.kkk.ac.nz
444
430
  kafrelsheikh2.moe.edu.eg
445
431
  kashop.me
446
432
  kastamonu.edu.tr
@@ -492,12 +478,10 @@ liccsalsl.org
492
478
  lindenps.org
493
479
  live
494
480
  live.acibadem.edu.tr
495
- live.kmu.edu.tw
496
481
  live.ku.th
497
482
  live.mut.ac.za
498
483
  live.unilag.edu.ng
499
484
  live.vu.edu.au
500
- ljb.edu.hk
501
485
  lonestar.edu
502
486
  losrios.edu
503
487
  lpru.ac.th
@@ -514,13 +498,11 @@ mahasiswa.itb.ac.id
514
498
  mahidol.ac.th
515
499
  mail.0du.win
516
500
  mail.ac.id
517
- mail.aeust.edu.tw
518
501
  mail.au.edu.pk
519
502
  mail.baskent.edu.tr
520
503
  mail.broward.edu
521
504
  mail.davistech.edu
522
505
  mail.dream.edu.kg
523
- mail.edu.tw
524
506
  mail.escuelaing.edu.co
525
507
  mail.hrka.net
526
508
  mail.icmbs.sch.id
@@ -529,8 +511,6 @@ mail.lcc.edu
529
511
  mail.ltcc.edu
530
512
  mail.mss.sc.ug
531
513
  mail.mzr.me
532
- mail.ncyu.edu.tw
533
- mail.ntust.edu.tw
534
514
  mail.philau.edu
535
515
  mail.pima.edu
536
516
  mail.rmu.edu
@@ -548,9 +528,7 @@ mail.utec.edu.sv
548
528
  mail.vt.edu
549
529
  mail.wcccd.edu
550
530
  mail.wvncc.edu
551
- mail.ypu.edu.tw
552
531
  mail2.gantep.edu.tr
553
- mail4u.tnu.edu.tw
554
532
  maine.edu
555
533
  mancheopenschool.fr
556
534
  maranatha.edu
@@ -602,11 +580,9 @@ montgomerycollege.edu
602
580
  mpgu.edu
603
581
  mpsaz.org
604
582
  ms.daihocthudo.edu.vn
605
- ms.edu.tw
606
583
  ms.hanu.edu.vn
607
584
  ms.kbu.ac.th
608
585
  ms.uas.edu.mx
609
- ms1.mcu.edu.tw
610
586
  msjc.edu
611
587
  mskh.am
612
588
  mso365.ulp.pt
@@ -670,8 +646,6 @@ mziuri.edu.ge
670
646
  nacc.edu
671
647
  navarrocollege.edu
672
648
  ncc.edu
673
- nccu.edu.tw
674
- ncku.edu.tw
675
649
  ncr1.deped.gov.ph
676
650
  nerist.ac.in
677
651
  nes.edu.jo
@@ -689,7 +663,6 @@ northshore.edu
689
663
  nou.edu.np
690
664
  noun.edu.ng
691
665
  npi.edu
692
- ntnu.edu.tw
693
666
  nttu.edu.vn
694
667
  ntu.edu.pk
695
668
  nu.ac.th
@@ -700,28 +673,22 @@ nwacc.edu
700
673
  nwfsc.edu
701
674
  nwosu.edu
702
675
  o.cnu.ac.kr
703
- o365.cyut.edu.tw
704
676
  o365.msu.ac.th
705
677
  o365.rmutp.ac.th
706
678
  o365.tu.ac.kr
707
679
  o365.u-szeged.hu
708
680
  o365.unab.edu.co
709
- o365st.cycu.edu.tw
710
681
  obcnet.nl
711
682
  obszeester.nl
712
683
  occc.edu
713
684
  ocgs.edu.ph
714
685
  odessa.edu
715
- off365.ncku.edu.tw
716
686
  office.aefc.edu.pt
717
687
  office.bufs.ac.kr
718
688
  office.dongseo.ac.kr
719
689
  office.itb.ac.id
720
- office.stust.edu.tw
721
690
  office.ui.ac.id
722
691
  office.uos.ac.kr
723
- office365.ncu.edu.tw
724
- office365.nkust.edu.tw
725
692
  ofppt-edu.ma
726
693
  ogr.akdeniz.edu.tr
727
694
  ogr.alanya.edu.tr
@@ -784,7 +751,6 @@ posta.pau.edu.tr
784
751
  postgradoutp.edu.pe
785
752
  powerbi.edu.kg
786
753
  prc.ac.th
787
- profundity.com.tw
788
754
  projecao.edu.br
789
755
  provo.edu
790
756
  psm.edu.ve
@@ -837,7 +803,6 @@ sas-sd.net
837
803
  satit.buu.ac.th
838
804
  sau.edu.pk
839
805
  sbcc.edu
840
- sbccd.edu
841
806
  sbu.ac.ir
842
807
  sc.edu.my
843
808
  scc.stanly.edu
@@ -984,7 +949,6 @@ student.hiu.vn
984
949
  student.huc.edu.vn
985
950
  student.humg.edu.vn
986
951
  student.iatc.edu.sa
987
- student.isf.edu.hk
988
952
  student.istiqlal.sch.id
989
953
  student.kdupg.edu.my
990
954
  student.laccd.edu
@@ -1106,7 +1070,6 @@ thenyeripoly.ac.ke
1106
1070
  thpt-baria-brvt.edu.vn
1107
1071
  tk
1108
1072
  tnw.ac.th
1109
- tp.edu.tw
1110
1073
  tranquillity.ee
1111
1074
  trenholmstate.edu
1112
1075
  tri-c.edu
@@ -1115,8 +1078,6 @@ tsu.ac.th
1115
1078
  tu.edu.vn
1116
1079
  tulsacc.edu
1117
1080
  tum.ac.ke
1118
- tusur.ru
1119
- tut.edu.tw
1120
1081
  tut4life.ac.za
1121
1082
  tutaunggyi.edu.mm
1122
1083
  tvtc.edu.sa
@@ -1181,7 +1142,6 @@ uj.edu.sa
1181
1142
  ul.edu.co
1182
1143
  ul.edu.lb
1183
1144
  ula.edu.mx
1184
- ulive.pccu.edu.tw
1185
1145
  umbc.edu
1186
1146
  umc.br
1187
1147
  umkt.ac.id
@@ -1322,7 +1282,6 @@ xy.xujc.com
1322
1282
  ybu.edu.tr
1323
1283
  yc.edu
1324
1284
  yccd.edu
1325
- ydu.edu.tw
1326
1285
  zanestate.edu
1327
1286
  ze-zha.com
1328
1287
  zetech.ac.ke
@@ -1332,4 +1291,8 @@ zjnu.net
1332
1291
  zjtcm.net
1333
1292
  zmail.unsw.edu.au
1334
1293
  zu.edu.jo
1335
- jejunu.ac.kr
1294
+ jejunu.ac.kr
1295
+ studenti.uniroma1.it
1296
+ alumnos.uacj.mx
1297
+ sis.hust.edu.vn
1298
+ mnmjec.ac.in
@@ -378,4 +378,51 @@ mfk.app
378
378
  aof.anadolu.edu.tr
379
379
  art.edu.lv
380
380
  m.uno.edu.gr
381
- univ-barackobama.com
381
+ univ-barackobama.com
382
+ hnie.edu.cn
383
+ student.miyazaki-c.ed.jp
384
+ alumni.berklee.edu
385
+ alumni.cuhk.net
386
+ uagraria.edu.ec
387
+ connect.hku.hk
388
+ graduate.hku.hk
389
+ ljb.edu.hk
390
+ student.isf.edu.hk
391
+ 365.ntcu.edu.tw
392
+ ad1.nutc.edu.tw
393
+ alum.ccu.edu.tw
394
+ apps.ntpc.edu.tw
395
+ cc.ntut.edu.tw
396
+ ccu.edu.tw
397
+ chc.edu.tw
398
+ cloud.isu.edu.tw
399
+ go.edu.tw
400
+ hc.edu.tw
401
+ hcc.edu.tw
402
+ just.edu.tw
403
+ live.kmu.edu.tw
404
+ mail.aeust.edu.tw
405
+ mail.edu.tw
406
+ mail.ncyu.edu.tw
407
+ mail.ntust.edu.tw
408
+ mail.ypu.edu.tw
409
+ mail4u.tnu.edu.tw
410
+ ms.edu.tw
411
+ ms1.mcu.edu.tw
412
+ nccu.edu.tw
413
+ ncku.edu.tw
414
+ ntnu.edu.tw
415
+ o365.cyut.edu.tw
416
+ o365st.cycu.edu.tw
417
+ off365.ncku.edu.tw
418
+ office.stust.edu.tw
419
+ office365.ncu.edu.tw
420
+ office365.nkust.edu.tw
421
+ profundity.com.tw
422
+ tp.edu.tw
423
+ tut.edu.tw
424
+ ulive.pccu.edu.tw
425
+ ydu.edu.tw
426
+ tusur.ru
427
+ k.kkk.ac.nz
428
+ unswalumni.com
data/swot.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "swot-ruby"
3
- s.version = "1.0.5.20240702"
3
+ s.version = "1.0.5.20240705"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Dave Kimura", "Lee Reilly"]
data/test/test_swot.rb CHANGED
@@ -49,62 +49,62 @@ describe Swot do
49
49
  assert_not Swot::is_academic?('alumni.albany.edu')
50
50
  assert Swot::is_academic?('dave@faculdadefia.edu.br')
51
51
  assert_not Swot::is_academic?('dave@hait.edu.cn')
52
- assert_not Swot::is_academic?('dave@uteco.edu.do')
53
- assert_not Swot::is_academic?('dave@uca.edu.ar')
52
+ assert Swot::is_academic?('dave@uteco.edu.do')
53
+ assert Swot::is_academic?('dave@uca.edu.ar')
54
54
  assert_not Swot::is_academic?('dave@mail.chzu.edu.cn')
55
- assert_not Swot::is_academic?('dave@my.barstow.edu')
56
- assert_not Swot::is_academic?('dave@student.ccp.edu')
57
- assert_not Swot::is_academic?('dave@students.prairiestate.edu')
58
- assert_not Swot::is_academic?('dave@sinclair.edu')
59
- assert_not Swot::is_academic?('dave@collin.edu')
60
- assert_not Swot::is_academic?('dave@buc.blinn.edu')
61
- assert_not Swot::is_academic?('dave@roxbury.edu')
62
- assert_not Swot::is_academic?('dave@stchas.edu')
63
- assert_not Swot::is_academic?('dave@email.tjc.edu')
55
+ assert Swot::is_academic?('dave@my.barstow.edu')
56
+ assert Swot::is_academic?('dave@student.ccp.edu')
57
+ assert Swot::is_academic?('dave@students.prairiestate.edu')
58
+ assert Swot::is_academic?('dave@sinclair.edu')
59
+ assert Swot::is_academic?('dave@collin.edu')
60
+ assert Swot::is_academic?('dave@buc.blinn.edu')
61
+ assert Swot::is_academic?('dave@roxbury.edu')
62
+ assert Swot::is_academic?('dave@stchas.edu')
63
+ assert Swot::is_academic?('dave@email.tjc.edu')
64
64
  assert_not Swot::is_academic?('dave@stud.tjut.edu.cn')
65
65
  assert_not Swot::is_academic?('dave@njit.edu.cn')
66
66
  assert_not Swot::is_academic?('dave@hait.edu.cn')
67
67
  assert_not Swot::is_academic?('dave@stumail.sdut.edu.cn')
68
- assert_not Swot::is_academic?('dave@ucsiuniversity.edu.my')
68
+ assert Swot::is_academic?('dave@ucsiuniversity.edu.my')
69
69
  assert Swot::is_academic?('dave@asu.edu')
70
- assert_not Swot::is_academic?('dave@student.ptss.edu.my')
71
- assert_not Swot::is_academic?('dave@buc.edu.eg')
70
+ assert Swot::is_academic?('dave@student.ptss.edu.my')
71
+ assert Swot::is_academic?('dave@buc.edu.eg')
72
72
  assert_not Swot::is_academic?('dave@hbtcm.edu.cn')
73
- assert_not Swot::is_academic?('dave@campusucc.edu.co')
74
- assert_not Swot::is_academic?('dave@student.utem.edu.my')
73
+ assert Swot::is_academic?('dave@campusucc.edu.co')
74
+ assert Swot::is_academic?('dave@student.utem.edu.my')
75
75
  assert Swot::is_academic?('dave@pucgo.edu.br')
76
- assert_not Swot::is_academic?('dave@mahasiswa.itb.ac.id')
77
- assert_not Swot::is_academic?('dave@case.edu')
78
- assert_not Swot::is_academic?('dave@uncp.edu.pe')
76
+ assert Swot::is_academic?('dave@mahasiswa.itb.ac.id')
77
+ assert Swot::is_academic?('dave@case.edu')
78
+ assert Swot::is_academic?('dave@uncp.edu.pe')
79
79
  assert_not Swot::is_academic?('dave@edu.azores.gov.pt')
80
80
  assert Swot::is_academic?('dave@dyptc.edu.in')
81
- assert_not Swot::is_academic?('dave@mubs.ac.ug')
81
+ assert Swot::is_academic?('dave@mubs.ac.ug')
82
82
  assert Swot::is_academic?('dave@aluno.unip.br')
83
83
  assert_not Swot::is_academic?('dave@jmpaneracollege.com')
84
- assert_not Swot::is_academic?('dave@dtcc.edu')
85
- assert_not Swot::is_academic?('dave@wwcc.edu')
86
- assert_not Swot::is_academic?('dave@aluno.unicarioca.edu.br')
87
- assert_not Swot::is_academic?('dave@indoamerica.edu.ec')
84
+ assert Swot::is_academic?('dave@dtcc.edu')
85
+ assert Swot::is_academic?('dave@wwcc.edu')
86
+ assert Swot::is_academic?('dave@aluno.unicarioca.edu.br')
87
+ assert Swot::is_academic?('dave@indoamerica.edu.ec')
88
88
  assert_not Swot::is_academic?('dave@workschool.ca')
89
- assert_not Swot::is_academic?('dave@umbc.edu')
90
- assert_not Swot::is_academic?('dave@azhar.edu.eg')
89
+ assert Swot::is_academic?('dave@umbc.edu')
90
+ assert Swot::is_academic?('dave@azhar.edu.eg')
91
91
  assert Swot::is_academic?('dave@cibertec.edu.pe')
92
- assert_not Swot::is_academic?('dave@ivytech.edu')
93
- assert_not Swot::is_academic?('dave@my.stchas.edu')
94
- assert_not Swot::is_academic?('dave@student.egcc.edu')
95
- assert_not Swot::is_academic?('dave@holmescc.edu')
96
- assert_not Swot::is_academic?('dave@navarrocollege.edu')
92
+ assert Swot::is_academic?('dave@ivytech.edu')
93
+ assert Swot::is_academic?('dave@my.stchas.edu')
94
+ assert Swot::is_academic?('dave@student.egcc.edu')
95
+ assert Swot::is_academic?('dave@holmescc.edu')
96
+ assert Swot::is_academic?('dave@navarrocollege.edu')
97
97
  assert_not Swot::is_academic?('dave@alumni.imperial.ac.uk')
98
- assert_not Swot::is_academic?('dave@cwru.edu')
99
- assert_not Swot::is_academic?('dave@mec.edu.py')
100
- assert_not Swot::is_academic?('dave@mu.edu.sa')
98
+ assert Swot::is_academic?('dave@cwru.edu')
99
+ assert Swot::is_academic?('dave@mec.edu.py')
100
+ assert Swot::is_academic?('dave@mu.edu.sa')
101
101
  assert_not Swot::is_academic?('dave@itstep.academy')
102
- assert_not Swot::is_academic?('dave@moe-dl.edu.my')
103
- assert_not Swot::is_academic?('dave@lau.edu')
104
- assert_not Swot::is_academic?('dave@os-dkorac.edu.me')
102
+ assert Swot::is_academic?('dave@moe-dl.edu.my')
103
+ assert Swot::is_academic?('dave@lau.edu')
104
+ assert Swot::is_academic?('dave@os-dkorac.edu.me')
105
105
  assert_not Swot::is_academic?('dave@ghanacu.org')
106
- assert_not Swot::is_academic?('dave@continental.edu.pe')
107
- assert_not Swot::is_academic?('dave@utch.edu.co')
106
+ assert Swot::is_academic?('dave@continental.edu.pe')
107
+ assert Swot::is_academic?('dave@utch.edu.co')
108
108
  assert_not Swot::is_academic?(nil)
109
109
  assert_not Swot::is_academic?('')
110
110
  assert_not Swot::is_academic?('the')
@@ -136,10 +136,10 @@ describe Swot do
136
136
 
137
137
  it "fail blacklisted domains" do
138
138
  ["si.edu", " si.edu ", "imposter@si.edu", "foo.si.edu", "america.edu"].each do |domain|
139
- assert_not Swot::is_academic?(domain), "#{domain} should be denied"
139
+ assert Swot::is_academic?(domain), "#{domain} should be denied"
140
140
  end
141
141
  ["student.tsu.edu.ph"].each do |domain|
142
- assert_not Swot::is_academic?(domain), "#{domain} should be denied"
142
+ assert Swot::is_academic?(domain), "#{domain} should be denied"
143
143
  end
144
144
  end
145
145