govkit-ca 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.yardopts +4 -0
  2. data/README.md +2 -1
  3. data/govkit-ca.gemspec +3 -3
  4. data/lib/gov_kit-ca/postal_code/strategy/liberal_ca.rb +1 -2
  5. data/lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb +2 -2
  6. data/lib/gov_kit-ca/postal_code.rb +2 -4
  7. data/lib/gov_kit-ca/version.rb +1 -1
  8. data/lib/gov_kit-ca.rb +2 -2
  9. data/spec/cbc_ca_spec.rb +1 -0
  10. data/spec/{conservative_ca_spec.ca → conservative_ca_spec.rb} +1 -1
  11. data/spec/elections_ca_spec.rb +2 -2
  12. data/spec/fixtures/cbc_ca/A1A1A1.response +11 -0
  13. data/spec/fixtures/cbc_ca/G0C2Y0.response +11 -0
  14. data/spec/fixtures/cbc_ca/H0H0H0.response +11 -0
  15. data/spec/fixtures/cbc_ca/K0A1K0.response +11 -0
  16. data/spec/fixtures/cbc_ca/T5S2B9.response +11 -0
  17. data/spec/fixtures/cbc_ca/X1B1B1.response +11 -0
  18. data/spec/fixtures/conservative_ca/A1A1A1.response +452 -0
  19. data/spec/fixtures/conservative_ca/G0C2Y0.response +452 -0
  20. data/spec/fixtures/conservative_ca/H0H0H0.response +452 -0
  21. data/spec/fixtures/conservative_ca/K0A1K0.response +455 -0
  22. data/spec/fixtures/conservative_ca/T5S2B9.response +453 -0
  23. data/spec/fixtures/conservative_ca/X1B1B1.response +452 -0
  24. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +227 -0
  25. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +229 -0
  26. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +243 -0
  27. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +230 -0
  28. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +233 -0
  29. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +243 -0
  30. data/spec/fixtures/elections_ca/A1A1A1.response +10 -0
  31. data/spec/fixtures/elections_ca/G0C2Y0.response +11 -0
  32. data/spec/fixtures/elections_ca/H0H0H0.response +10 -0
  33. data/spec/fixtures/elections_ca/K0A1K0.response +10 -0
  34. data/spec/fixtures/elections_ca/T5S2B9.response +10 -0
  35. data/spec/fixtures/elections_ca/X1B1B1.response +10 -0
  36. data/spec/fixtures/greenparty_ca/A1A1A1.response +13 -0
  37. data/spec/fixtures/greenparty_ca/G0C2Y0.response +13 -0
  38. data/spec/fixtures/greenparty_ca/H0H0H0.response +13 -0
  39. data/spec/fixtures/greenparty_ca/K0A1K0.response +13 -0
  40. data/spec/fixtures/greenparty_ca/T5S2B9.response +13 -0
  41. data/spec/fixtures/greenparty_ca/X1B1B1.response +13 -0
  42. data/spec/fixtures/liberal_ca/A1A1A1.response +702 -0
  43. data/spec/fixtures/liberal_ca/G0C2Y0.response +570 -0
  44. data/spec/fixtures/liberal_ca/H0H0H0.response +649 -0
  45. data/spec/fixtures/liberal_ca/K0A1K0.response +650 -0
  46. data/spec/fixtures/liberal_ca/T5S2B9.response +570 -0
  47. data/spec/fixtures/liberal_ca/X1B1B1.response +649 -0
  48. data/spec/fixtures/ndp_ca/A1A1A1.response +610 -0
  49. data/spec/fixtures/ndp_ca/G0C2Y0.response +610 -0
  50. data/spec/fixtures/ndp_ca/H0H0H0.response +593 -0
  51. data/spec/fixtures/ndp_ca/K0A1K0.response +641 -0
  52. data/spec/fixtures/ndp_ca/T5S2B9.response +605 -0
  53. data/spec/fixtures/ndp_ca/X1B1B1.response +593 -0
  54. data/spec/liberal_ca_spec.rb +1 -4
  55. data/spec/ndp_ca_spec.rb +1 -1
  56. data/spec/spec_helper.rb +4 -0
  57. data/spec/strategy_set_spec.rb +5 -0
  58. data/tasks/tasks.rb +4 -5
  59. metadata +114 -8
@@ -0,0 +1,13 @@
1
+ HTTP/1.1 302 Found
2
+ Date: Tue, 05 Mar 2013 03:46:20 GMT
3
+ Server: Apache/2.2.17 (Ubuntu)
4
+ X-Powered-By: PHP/5.3.5-1ubuntu7.11
5
+ Set-Cookie: SESSd79f45ad50419374b56b76915b19be78=fscsh463139ivs6kj44q1ei7c5; expires=Thu, 28-Mar-2013 07:19:40 GMT; path=/; domain=.greenparty.ca
6
+ Expires: Sun, 19 Nov 1978 05:00:00 GMT
7
+ Last-Modified: Tue, 05 Mar 2013 03:46:20 GMT
8
+ Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
9
+ Location: http://www.greenparty.ca/riding/48015
10
+ Vary: Accept-Encoding
11
+ Connection: close
12
+ Content-Type: text/html; charset=utf-8
13
+
@@ -0,0 +1,13 @@
1
+ HTTP/1.1 302 Found
2
+ Date: Tue, 05 Mar 2013 03:46:21 GMT
3
+ Server: Apache/2.2.17 (Ubuntu)
4
+ X-Powered-By: PHP/5.3.5-1ubuntu7.11
5
+ Set-Cookie: SESSd79f45ad50419374b56b76915b19be78=4aelut36k5dko8m034u0ovuep7; expires=Thu, 28-Mar-2013 07:19:41 GMT; path=/; domain=.greenparty.ca
6
+ Expires: Sun, 19 Nov 1978 05:00:00 GMT
7
+ Last-Modified: Tue, 05 Mar 2013 03:46:21 GMT
8
+ Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
9
+ Location: http://www.greenparty.ca/find_your_riding
10
+ Vary: Accept-Encoding
11
+ Connection: close
12
+ Content-Type: text/html; charset=utf-8
13
+