Commit Graph

15 Commits

Author SHA1 Message Date
Simeon F. Willbanks
2d598d4816 Swot::get_institution_name reads UTF-8 files
* Add magic encoding comment to test_swot.rb, so Ruby knows its UTF-8
* Add assertion for testing a valid email returns a UTF-8 string
* Add Travis CI build status badge to README
2013-10-14 20:00:03 -07:00
Simeon F. Willbanks
218ceaf385 * Refactor #get_institution_name to use #get_domain
* Define `#get_path` to get file path from domain
  * `#match_academic_domain?` and `#name_from_academic_domain` use `#get_path`
* Strip input `text` within `#get_domain`
* Replace `File.open` with `File.read` in `#name_from_academic_domain`
  * Be more concise
  * Ensure file is closed
* Add Travis CI
2013-10-07 20:01:12 -07:00
Chris Hunt
57db2afa25 Update domain regex to fix last two tests 2013-05-28 18:02:26 -07:00
Lee Reilly
f0678c2fba Add some method aliases 2013-05-27 21:08:32 -07:00
Lee Reilly
4735705703 Remove a broken test case 2013-04-29 10:28:47 -07:00
John Britton
5c55df4de5 fix whitespace 2012-09-11 16:34:08 -07:00
John Britton
43649f306c add tests for whitespace, make tests pass 2012-09-11 16:22:39 -07:00
Lee Reilly
1aac455a13 🚋 2012-02-16 19:44:09 -08:00
Lee Reilly
8dc76f468e Rename test file 2012-02-05 00:19:50 -08:00
Lee Reilly
7e652bce3a Test case sensitivity 2012-02-04 20:57:29 -08:00
Lee Reilly
f99097d728 Train-driven development 🚋 2012-02-04 15:02:11 -08:00
Lee Reilly
f633e573be Train-driven development 🚋 2012-02-04 14:49:09 -08:00
Lee Reilly
da589b3eec Train-Driven Development 🚋 2012-01-31 19:53:12 -08:00
Lee Reilly
c250d18182 Initial commit 2012-01-30 20:01:16 -08:00
Lee Reilly
1ca43ad462 Initial commit to email. 2012-01-30 17:14:23 -08:00