swot-ruby 1.0.2 → 1.0.2.20230622
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.
- checksums.yaml +4 -4
 - data/README.md +7 -0
 - data/data/lib/domains/stoplist.txt +48 -2
 - data/release.sh +14 -0
 - data/swot.gemspec +1 -1
 - metadata +2 -2
 - data/VERSION +0 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 60f3b090b829a750ef8d7e5411006d016b9fa6953937ad7de4df2b9535d4a4ae
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c6fbdf919cb9fa9415e2b84d62c32eaa6540a4a3db80879253ea782c306b9a92
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c16cde2e5f18a109a16921056d1e269f9df8e89a6e97c5492acc964cc01ca3f023a76bd60cc9915520af0087c1c900f5a29faa8980a6e3c4d991bc5200b45e39
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: fcd9196976fbe32856928bde61bc9a2b09c9045036dda5132f5bb439d028d62afc93254314a21bc7eaf49233024efa35c5a70cc68cf0b570f24be016e097a112
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -17,6 +17,13 @@ to be updated. There is a nightly job which will update the 
     | 
|
| 
       17 
17 
     | 
    
         
             
            submodule and push the changes to this repo. However, to pick up the new domains, a gem release will be required. I'm still
         
     | 
| 
       18 
18 
     | 
    
         
             
            considering the best path for this.
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
      
 20 
     | 
    
         
            +
            ## Versioning
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            Since there is a reliance on the submodule's data being updated,
         
     | 
| 
      
 23 
     | 
    
         
            +
            there will be periodic releases that do not contain any code changes of this library. However, this library will follow the Semantic versioning + a date stamp of the latest list of academic institutions.
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            For example, the gem `1.0.2.20230618` references to the gem version `1.0.2` and the list of academic institutions was last updated on `June 18th, 2023`.
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
       20 
27 
     | 
    
         
             
            ### Installation
         
     | 
| 
       21 
28 
     | 
    
         | 
| 
       22 
29 
     | 
    
         
             
            Or add this to your `Gemfile` before doing a `bundle install`:
         
     | 
| 
         @@ -1170,7 +1170,6 @@ ogr.duzce.edu.tr 
     | 
|
| 
       1170 
1170 
     | 
    
         
             
            montgomerycollege.edu
         
     | 
| 
       1171 
1171 
     | 
    
         
             
            palermo.edu
         
     | 
| 
       1172 
1172 
     | 
    
         
             
            boun.edu.tr
         
     | 
| 
       1173 
     | 
    
         
            -
            my.wgu.edu
         
     | 
| 
       1174 
1173 
     | 
    
         
             
            howardcc.edu
         
     | 
| 
       1175 
1174 
     | 
    
         
             
            dartmouth.edu
         
     | 
| 
       1176 
1175 
     | 
    
         
             
            vikings.grayson.edu
         
     | 
| 
         @@ -1291,4 +1290,51 @@ url.edu.gt 
     | 
|
| 
       1291 
1290 
     | 
    
         
             
            scun.edu.cn
         
     | 
| 
       1292 
1291 
     | 
    
         
             
            meduca.edu.pa
         
     | 
| 
       1293 
1292 
     | 
    
         
             
            os-bbuha.edu.me
         
     | 
| 
       1294 
     | 
    
         
            -
            go.shoreline.edu
         
     | 
| 
      
 1293 
     | 
    
         
            +
            go.shoreline.edu
         
     | 
| 
      
 1294 
     | 
    
         
            +
            eniac.edu.br
         
     | 
| 
      
 1295 
     | 
    
         
            +
            upnm.edu.my
         
     | 
| 
      
 1296 
     | 
    
         
            +
            sga.pucminas.br
         
     | 
| 
      
 1297 
     | 
    
         
            +
            wayne.edu
         
     | 
| 
      
 1298 
     | 
    
         
            +
            alumnos.kennedy.edu.ar
         
     | 
| 
      
 1299 
     | 
    
         
            +
            anu.edu.gh
         
     | 
| 
      
 1300 
     | 
    
         
            +
            alumni.gsb.stanford.edu
         
     | 
| 
      
 1301 
     | 
    
         
            +
            g.skku.edu
         
     | 
| 
      
 1302 
     | 
    
         
            +
            georgetown.edu
         
     | 
| 
      
 1303 
     | 
    
         
            +
            student.iuh.edu.vn
         
     | 
| 
      
 1304 
     | 
    
         
            +
            students.gov.ge
         
     | 
| 
      
 1305 
     | 
    
         
            +
            my.hancockcollege.edu
         
     | 
| 
      
 1306 
     | 
    
         
            +
            lcps.org
         
     | 
| 
      
 1307 
     | 
    
         
            +
            stu.huel.edu.cn
         
     | 
| 
      
 1308 
     | 
    
         
            +
            whut.edu.cn
         
     | 
| 
      
 1309 
     | 
    
         
            +
            2011.cqut.edu.cn
         
     | 
| 
      
 1310 
     | 
    
         
            +
            2012.cqut.edu.cn
         
     | 
| 
      
 1311 
     | 
    
         
            +
            2013.cqut.edu.cn
         
     | 
| 
      
 1312 
     | 
    
         
            +
            2014.cqut.edu.cn
         
     | 
| 
      
 1313 
     | 
    
         
            +
            2015.cqut.edu.cn
         
     | 
| 
      
 1314 
     | 
    
         
            +
            2016.cqut.edu.cn
         
     | 
| 
      
 1315 
     | 
    
         
            +
            2017.cqut.edu.cn
         
     | 
| 
      
 1316 
     | 
    
         
            +
            2018.cqut.edu.cn
         
     | 
| 
      
 1317 
     | 
    
         
            +
            uc.pt
         
     | 
| 
      
 1318 
     | 
    
         
            +
            ustc.edu
         
     | 
| 
      
 1319 
     | 
    
         
            +
            alumnos.santotomas.cl
         
     | 
| 
      
 1320 
     | 
    
         
            +
            sempreuninassau.com.br
         
     | 
| 
      
 1321 
     | 
    
         
            +
            medicine.psu.ac.th
         
     | 
| 
      
 1322 
     | 
    
         
            +
            o365st.cycu.edu.tw
         
     | 
| 
      
 1323 
     | 
    
         
            +
            stu.khas.edu.tr
         
     | 
| 
      
 1324 
     | 
    
         
            +
            est.itsc.edu.do
         
     | 
| 
      
 1325 
     | 
    
         
            +
            adc.aditya.ac.in
         
     | 
| 
      
 1326 
     | 
    
         
            +
            massey.ac.nz
         
     | 
| 
      
 1327 
     | 
    
         
            +
            green.ac.bd
         
     | 
| 
      
 1328 
     | 
    
         
            +
            hocking.edu
         
     | 
| 
      
 1329 
     | 
    
         
            +
            edu.lpnu.ua
         
     | 
| 
      
 1330 
     | 
    
         
            +
            iluv.ums.edu.my
         
     | 
| 
      
 1331 
     | 
    
         
            +
            uph.edu
         
     | 
| 
      
 1332 
     | 
    
         
            +
            aec.edu.in
         
     | 
| 
      
 1333 
     | 
    
         
            +
            hup.edu.vn
         
     | 
| 
      
 1334 
     | 
    
         
            +
            ug.edu.ge
         
     | 
| 
      
 1335 
     | 
    
         
            +
            udea.edu.co
         
     | 
| 
      
 1336 
     | 
    
         
            +
            mabankisd.net
         
     | 
| 
      
 1337 
     | 
    
         
            +
            obcnet.nl
         
     | 
| 
      
 1338 
     | 
    
         
            +
            est.unicaribe.edu.do
         
     | 
| 
      
 1339 
     | 
    
         
            +
            stud.ur.edu.pl
         
     | 
| 
      
 1340 
     | 
    
         
            +
            uit.edu.vn
         
     | 
    
        data/release.sh
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            #!/bin/bash
         
     | 
| 
      
 2 
     | 
    
         
            +
            git pull
         
     | 
| 
      
 3 
     | 
    
         
            +
            git submodule update --init --recursive
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            current_date=$(date +%Y%m%d)
         
     | 
| 
      
 6 
     | 
    
         
            +
            file_path="swot.gemspec"
         
     | 
| 
      
 7 
     | 
    
         
            +
            sed -i '' -E "s/(s\.version = \"[0-9\.]+\.)[0-9]{8}/\1$current_date/g" $file_path
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            version_number=$(grep -o -E "s\.version = \"[0-9\.]+$current_date\"" $file_path | grep -o -E "[0-9\.]+$current_date")
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            git commit -am "Updated academic list - $current_date"
         
     | 
| 
      
 12 
     | 
    
         
            +
            gem build swot.gemspec
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            gem push swot-ruby-$version_number.gem
         
     | 
    
        data/swot.gemspec
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # -*- encoding: utf-8 -*-
         
     | 
| 
       2 
2 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       3 
3 
     | 
    
         
             
              s.name = "swot-ruby"
         
     | 
| 
       4 
     | 
    
         
            -
              s.version = "1.0.2"
         
     | 
| 
      
 4 
     | 
    
         
            +
              s.version = "1.0.2.20230622"
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       7 
7 
     | 
    
         
             
              s.authors = ["Dave Kimura", "Lee Reilly"]
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: swot-ruby
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0.2
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.2.20230622
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Dave Kimura
         
     | 
| 
         @@ -57,12 +57,12 @@ files: 
     | 
|
| 
       57 
57 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       58 
58 
     | 
    
         
             
            - README.md
         
     | 
| 
       59 
59 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       60 
     | 
    
         
            -
            - VERSION
         
     | 
| 
       61 
60 
     | 
    
         
             
            - data/lib/domains/stoplist.txt
         
     | 
| 
       62 
61 
     | 
    
         
             
            - data/lib/domains/tlds.txt
         
     | 
| 
       63 
62 
     | 
    
         
             
            - lib/swot.rb
         
     | 
| 
       64 
63 
     | 
    
         
             
            - lib/swot/academic_tlds.rb
         
     | 
| 
       65 
64 
     | 
    
         
             
            - lib/swot/collection_methods.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - release.sh
         
     | 
| 
       66 
66 
     | 
    
         
             
            - swot.gemspec
         
     | 
| 
       67 
67 
     | 
    
         
             
            - test/helper.rb
         
     | 
| 
       68 
68 
     | 
    
         
             
            - test/test_collection_methods.rb
         
     | 
    
        data/VERSION
    DELETED
    
    | 
         @@ -1 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1.0.0
         
     |