Commit Graph

78 Commits

Author SHA1 Message Date
Doug Bird 07e7a467a3
Update README.md 2018-06-12 23:17:55 -07:00
Doug Bird 16e7cdb202
Update README.md 2018-06-12 23:16:56 -07:00
Doug Bird 300cc523e0 version 2
- refactor js files to be proper module exportrs with an index.js
- fix inconsistent naming of TLD format files containing simple array of each TLD; now all named using the "list" suffix instead of some using "enum"
 - formats/js/tld-enum/list.js
 - formats/json/tld-list.json
 - formats/php/TldEnum/TldList.php
- new "desc" (description) format file; hashmap of each TLD with corresponding description
 - formats/js/tld-enum/desc.js
 - formats/json/tld-desc.json
 - formats/php/TldEnum/TldDesc.php
- new "type" format file; hashmap of each TLD with corresponding TLD type
 - formats/js/tld-enum/type.js
 - formats/json/tld-type.json
 - formats/php/TldEnum/TldType.php
- new "info" format file; array of each TLD with hashmap containing the "domain", "description", and "type" properties
 - formats/js/tld-enum/info.js
 - formats/json/tld-info.json
 - formats/php/TldEnum/TldInfo.php
- examples for new format files
 - examples/js-desc-demo.js
 - examples/js-info-demo.js
 - examples/js-type-demo.js
 - examples/php-TldDesc-demo.php
 - examples/php-TldInfo-demo.php
 - examples/php-TldType-demo.php
- fixes to bin/update-formats.sh
 - can now skip downloading data from IANA
 - creates new format files with newly created helpers
- created new helpers for new format files
 - bin/helpers/generate-js-tld-desc.js
 - bin/helpers/generate-js-tld-info.js
 - bin/helpers/generate-js-tld-type.js
 - bin/helpers/generate-json-tld-desc.js
 - bin/helpers/generate-json-tld-info.js
 - bin/helpers/generate-json-tld-type.js
 - bin/helpers/generate-php-tld-desc.php
 - bin/helpers/generate-php-tld-info.php
 - bin/helpers/generate-php-tld-type.php
2018-06-12 22:51:12 -07:00
Doug Bird e289011074 fixes
fix some typos
2018-06-12 18:46:39 -07:00
Doug Bird 506501f55e quiet mode 2018-06-12 18:39:58 -07:00
Doug Bird ebe7446f9d
Update README.md 2018-06-12 17:29:31 -07:00
Doug Bird 7a5d0705af
Update README.md 2018-06-12 17:28:06 -07:00
Doug Bird e0961c9b36
Update README.md 2018-06-12 17:25:40 -07:00
Doug Bird 499a9b69bb
Update README.md 2018-06-12 17:23:35 -07:00
Doug Bird b88540c91d
Update README.md 2018-06-12 17:22:54 -07:00
Doug Bird 752ff88b6a
Update README.md 2018-06-12 17:22:28 -07:00
Doug Bird 69a1267bbd
Update README.md 2018-06-12 17:21:52 -07:00
Doug Bird 4230eb5810
Update README.md 2018-06-12 17:21:09 -07:00
Doug Bird 06f70f1365
Update README.md 2018-06-12 17:20:10 -07:00
Doug Bird bdc2689beb skip php option
generating the PHP format file is now optional:
- if the PHP command is unavailable, the PHP format file is automatically skipped
- if the --skip-php option is provided, the PHP format file is always skipped
- if the --force-php option is provided, the PHP command line MUST exist
2018-06-12 17:13:24 -07:00
Doug Bird a6df8d5628 bin
- added bin/update-formats.sh to "bin"
2018-06-12 17:10:48 -07:00
Doug Bird 86a33b8946
Update README.md 2018-06-12 17:10:09 -07:00
Doug Bird ca68c5a629 version bump 2018-06-12 15:55:45 -07:00
Doug Bird 63eb752f2f php version bump 2018-06-12 15:54:45 -07:00
Doug Bird 770ef4fbe9 description 2018-06-12 15:54:21 -07:00
Doug Bird 99fb1b3eae cleanup 2018-06-12 15:53:57 -07:00
Doug Bird 7ccec55531 fixes
- fix "quiet mode"
- improve code comments
2018-06-12 15:43:04 -07:00
Doug Bird c209a1d3a1 refactoring
- rename bin/update-formats to bin/update-formats.sh
- fix unnecessary bashisms in bin/update-formats.sh
2018-06-12 15:11:55 -07:00
Doug Bird 9d645a7ba4
Update README.md 2018-06-12 14:22:03 -07:00
Doug Bird f40184da2e
Update LICENSE 2018-06-12 14:21:09 -07:00
Doug Bird d7e30a0a60
Update GPLv3 2018-06-12 14:20:37 -07:00
Doug Bird 6f16a63f64 update TLDs
- latest TLD updates from iana
2018-06-12 14:09:57 -07:00
Doug Bird 59575f41d0
env bash 2018-06-12 13:56:25 -07:00
Doug Bird 39f6cbd418 version bump 2017-12-13 23:08:15 -08:00
Doug Bird 9592365573 fixes to use lcase 2017-12-13 23:07:52 -08:00
Doug Bird 1f0e039b6e
Update README.md
must use lowercase for valid TLD comparison
2017-12-13 23:07:20 -08:00
Doug Bird bfb9fd5dda
Update README.md 2017-12-13 22:55:07 -08:00
Doug Bird 70c62b5913 bump version 2017-12-13 22:51:41 -08:00
Doug Bird 661c061011
Update README.md 2017-12-13 22:51:08 -08:00
Doug Bird 661fbc613f examples 2017-12-13 22:48:32 -08:00
Doug Bird af37890a48
Update README.md 2017-12-13 22:38:21 -08:00
Doug Bird a1f82ba3d6
Update README.md 2017-12-13 22:34:39 -08:00
Doug Bird baa3dd1b88
Update README.md 2017-12-13 22:09:12 -08:00
Doug Bird 94f1a07863
Update README.md 2017-12-13 22:05:44 -08:00
Doug Bird bf9154c515 rename tld-enum 2017-12-13 21:26:09 -08:00
Doug Bird c8d937c829 rename tld-list 2017-12-13 21:15:15 -08:00
Doug Bird 70f537949b
Update README.md 2017-12-13 21:08:07 -08:00
Doug Bird 54685cd949
Update README.md 2017-12-13 20:54:49 -08:00
Doug Bird 2ab273ea62 dev deps 2017-12-13 20:53:18 -08:00
Doug Bird 50390de780 latest info from IANA 2017-12-13 20:51:14 -08:00
Doug Bird 17424095da automated format generation 2017-12-13 20:49:59 -08:00
Doug Bird f09062c0cc iterate version 2017-12-13 13:36:57 -08:00
Doug Bird 646e864e6f fix CRs and filemode 2017-12-13 13:36:06 -08:00
Doug Bird ba9c44847e
Update README.md 2017-12-13 13:23:52 -08:00
Doug Bird 150b8682b8 error status for helpers 2017-12-13 13:19:58 -08:00