Commit Graph

27 Commits (a03a4da7322d63ae57da5b340855bdefe6600bcc)

Author SHA1 Message Date
Ben Moon 83b9bbd6b7 Fix newline at end of file 2016-05-16 14:19:39 +01:00
Ben Moon 5f85cf4121 Update Goodies to use Test::Deep
* Ensure Test::Deep is imported.

* Replace '-ANY-' with ignore()

* Replace regexes with re(...)
2016-05-16 14:07:57 +01:00
Zach Thompson 73d8f72fc0 Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Ben Moon ed990cc313 Update SunInfo tests
Some of the tests were changed on master.
2016-02-03 19:36:11 +00:00
Ben Moon 18cca0e45d Update tests to correct timezone
Using EST for tests - the times were given in UTC.
2016-02-03 19:31:32 +00:00
Zaahir Moolla fa47bb5c70 Fix sun_info tests, forgot to account for new option hash 2016-01-31 13:07:22 -05:00
Mailkov 84afccb6c6 delete unused code 2015-12-30 15:28:39 +00:00
Mailkov 4f90016b93 fix test on Suninfo.t 2015-12-30 15:25:43 +00:00
Rob Emery 8de7e0a5e6 SunInfo: Tests need to be utf8 too 2015-01-09 20:10:04 +00:00
Rob Emery 5b93513446 SunInfo: Updating tests for Coordinates 2015-01-09 20:03:41 +00:00
Rob Emery 41a0512e59 SunInfo: Implementing latitude & longitude 2015-01-08 22:38:40 +00:00
Rob Emery 3bbb179ef2 SunInfo: Adding parsing for arc seconds 2015-01-08 01:46:04 +00:00
Rob Emery 6b438acd47 SunInfo: Refactoring to use big regex on query 2015-01-08 01:26:34 +00:00
Matt Miller 1ea2b354b9 SunInfo: update tests for region_code -> region change. 2014-10-29 12:48:33 +02:00
Rob Emery ddf1784dc9 SunInfo: Cleaning up css & adding spaces 2014-10-29 12:48:33 +02:00
Rob Emery 13e4dd96d6 SunInfo: Switching markup to use linewrapping div and inline spans 2014-10-29 12:48:33 +02:00
Matt Miller 421518eb91 ImageLoader: use more standard methods to get at package symbols.
This may allwo for some code-sharing later.
2014-10-29 12:48:33 +02:00
Matt Miller 227e930310 SunInfo: expand triggering.
Allow for different ordering of terms.
2014-10-29 12:48:33 +02:00
Matt Miller cd2b374fe4 SunInfo: use ImageLoader to include images. 2014-10-29 12:48:33 +02:00
Matt Miller 903ce4331a SunInfo: add map pin. 2014-10-29 12:48:33 +02:00
Matt Miller 938fc03bdb SunInfo: iterating towards pretty.
Still not quite there, but perhaps @chrismorast is no longer vomiting.

Thanks to @mintsoft for the help.  Turns out that my previous hours of
trying similar things were undone by explicit `<br/s>` that I didn't
remember adding.  Sigh.

Outstanding questions:

- Is there a better way to pick max-width to avoid having it stretch too
  wide?
- Is there a theme-friendly way to pick the vertical separator (left
  border on right div) color?
- Don't I have a lot of repeated text for something which cascades?
2014-10-29 12:48:33 +02:00
Matt Miller c12449197e SunInfo: restyling.
Still not right, but perhaps salvageable.
2014-10-29 12:48:33 +02:00
Matt Miller 63afc4d8c9 SunInfo: create bizarre prose templating system.
Since I can't see what it looks like at the moment, I made it
crazy modular, extra emphasis on the crazy.
2014-10-29 12:48:33 +02:00
Matt Miller 0561d8ffec SunInfo: use less precise, but friendlier time. 2014-10-29 12:48:33 +02:00
Matt Miller f039a07278 SunInfo: trim back location to two most specific bits 2014-10-29 12:48:33 +02:00
Matt Miller 5121d7536f SunInfo: allow for question-form queries.
Also, add some more negative tests.
2014-10-29 12:48:33 +02:00
Matt Miller dc15d8cb83 SunInfo: add new Instant Answer for sunrise/sunset. 2014-10-29 12:48:33 +02:00