* 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
5 lines
40 B
YAML
5 lines
40 B
YAML
language: ruby
|
|
rvm:
|
|
- 1.9.3
|
|
- 2.0.0
|