govkit-ca 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +4 -0
  3. data/README.md +1 -1
  4. data/govkit-ca.gemspec +4 -2
  5. data/lib/gov_kit-ca/postal_code/strategy/cbc_ca.rb +1 -1
  6. data/lib/gov_kit-ca/postal_code/strategy/conservative_ca.rb +3 -4
  7. data/lib/gov_kit-ca/postal_code/strategy/elections_ca.rb +4 -6
  8. data/lib/gov_kit-ca/postal_code/strategy/liberal_ca.rb +0 -1
  9. data/lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb +5 -1
  10. data/lib/gov_kit-ca/postal_code.rb +19 -7
  11. data/lib/gov_kit-ca/represent.rb +108 -0
  12. data/lib/gov_kit-ca/version.rb +1 -1
  13. data/lib/gov_kit-ca.rb +2 -1
  14. data/spec/cbc_ca_spec.rb +14 -25
  15. data/spec/conservative_ca_spec.rb +1 -10
  16. data/spec/digital-copyright_ca_spec.rb +0 -9
  17. data/spec/elections_ca_spec.rb +0 -9
  18. data/spec/greenparty_ca_spec.rb +0 -9
  19. data/spec/liberal_ca_spec.rb +1 -10
  20. data/spec/ndp_ca_spec.rb +0 -9
  21. data/spec/parl_gc_ca_spec.rb +8 -0
  22. data/spec/postal_code_spec.rb +69 -87
  23. data/spec/represent_spec.rb +279 -0
  24. data/spec/spec_helper.rb +1 -4
  25. data/spec/strategy_set_spec.rb +55 -2
  26. data/tasks/tasks.rb +0 -28
  27. metadata +47 -133
  28. data/spec/fixtures/cbc_ca/A1A1A1.response +0 -11
  29. data/spec/fixtures/cbc_ca/G0C2Y0.response +0 -11
  30. data/spec/fixtures/cbc_ca/H0H0H0.response +0 -11
  31. data/spec/fixtures/cbc_ca/K0A1K0.response +0 -11
  32. data/spec/fixtures/cbc_ca/T5S2B9.response +0 -11
  33. data/spec/fixtures/cbc_ca/X1B1B1.response +0 -11
  34. data/spec/fixtures/conservative_ca/A1A1A1.response +0 -452
  35. data/spec/fixtures/conservative_ca/G0C2Y0.response +0 -452
  36. data/spec/fixtures/conservative_ca/H0H0H0.response +0 -452
  37. data/spec/fixtures/conservative_ca/K0A1K0.response +0 -455
  38. data/spec/fixtures/conservative_ca/T5S2B9.response +0 -453
  39. data/spec/fixtures/conservative_ca/X1B1B1.response +0 -452
  40. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +0 -227
  41. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +0 -229
  42. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +0 -243
  43. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +0 -230
  44. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +0 -233
  45. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +0 -243
  46. data/spec/fixtures/elections_ca/A1A1A1.response +0 -10
  47. data/spec/fixtures/elections_ca/G0C2Y0.response +0 -11
  48. data/spec/fixtures/elections_ca/H0H0H0.response +0 -10
  49. data/spec/fixtures/elections_ca/K0A1K0.response +0 -10
  50. data/spec/fixtures/elections_ca/T5S2B9.response +0 -10
  51. data/spec/fixtures/elections_ca/X1B1B1.response +0 -10
  52. data/spec/fixtures/greenparty_ca/A1A1A1.response +0 -13
  53. data/spec/fixtures/greenparty_ca/G0C2Y0.response +0 -13
  54. data/spec/fixtures/greenparty_ca/H0H0H0.response +0 -13
  55. data/spec/fixtures/greenparty_ca/K0A1K0.response +0 -13
  56. data/spec/fixtures/greenparty_ca/T5S2B9.response +0 -13
  57. data/spec/fixtures/greenparty_ca/X1B1B1.response +0 -13
  58. data/spec/fixtures/liberal_ca/A1A1A1.response +0 -702
  59. data/spec/fixtures/liberal_ca/G0C2Y0.response +0 -570
  60. data/spec/fixtures/liberal_ca/H0H0H0.response +0 -649
  61. data/spec/fixtures/liberal_ca/K0A1K0.response +0 -650
  62. data/spec/fixtures/liberal_ca/T5S2B9.response +0 -570
  63. data/spec/fixtures/liberal_ca/X1B1B1.response +0 -649
  64. data/spec/fixtures/ndp_ca/A1A1A1.response +0 -610
  65. data/spec/fixtures/ndp_ca/G0C2Y0.response +0 -610
  66. data/spec/fixtures/ndp_ca/H0H0H0.response +0 -593
  67. data/spec/fixtures/ndp_ca/K0A1K0.response +0 -641
  68. data/spec/fixtures/ndp_ca/T5S2B9.response +0 -605
  69. data/spec/fixtures/ndp_ca/X1B1B1.response +0 -593
@@ -1,610 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Date: Tue, 05 Mar 2013 03:51:46 GMT
3
- Server: Apache/2.2.3 (CentOS)
4
- X-Powered-By: PHP/5.3.10, PleskLin
5
- Expires: Sun, 19 Nov 1978 05:00:00 GMT
6
- Last-Modified: Tue, 05 Mar 2013 03:51:46 +0000
7
- Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0
8
- Etag: "1362455506"
9
- Content-Language: en
10
- Link: <http://www.ndp.ca/node/9700>; rel="shortlink",<http://www.ndp.ca/your-riding>; rel="canonical"
11
- X-Generator: Drupal 7 (http://drupal.org)
12
- Set-Cookie: shields:logged-in=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/; domain=www.ndp.ca
13
- Connection: close
14
- Transfer-Encoding: chunked
15
- Content-Type: text/html; charset=utf-8
16
-
17
- <!DOCTYPE html>
18
- <html lang="en">
19
- <head>
20
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
21
- <link rel="shortcut icon" href="http://www.ndp.ca/sites/all/themes/tom2012/imgs/favicon.ico" type="image/vnd.microsoft.icon" />
22
- <link rel="shortlink" href="http://www.ndp.ca/node/9700" />
23
- <link rel="canonical" href="http://www.ndp.ca/your-riding" />
24
- <meta name="Generator" content="Drupal 7 (http://drupal.org)" />
25
- <title>Your Riding | Canada&#039;s NDP / NPD du Canada</title>
26
- <!--[if lt IE 7]>
27
- <script>window.location = (window.location+"").replace("http://www.","http://lite.");</script>
28
- <![endif]-->
29
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css__9zsakYbWSOTLroLLtWO9P7zLJXhXtSJo2OgXN4wIrU.css" media="all" />
30
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_hFC-VOe0wdKw2fEoLiDmBwN2H2GfvZABVolycsXSAMw.css" media="all" />
31
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_bYxVGgWE7bYgKhbXEpAc8jA2Q6Uyb7G-1zs03PwEfBY.css" media="all" />
32
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_yssam9B3GHMU6Ht8jDumsUwnh0F5A9Tt5ZG9uHZlziY.css" media="all" />
33
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_TCvcUjHilIyZ_ctJGkOsMzJHZXiUC1vkjGXuCr7tUBM.css" media="screen and (max-width: 657px)" />
34
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_Q9hq-mID6g8pTo5KHiH5yXFBEgjVKiYhgl3WBlVePOY.css" media="screen and (min-width: 658px)" />
35
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_-Ga8h1RYZw8-4JOqb6atB6nv6kQ30vJyZ0y0Tbd1ut8.css" media="screen and (min-width: 974px)" />
36
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_Pg9fU5tPfs4byk05dl9jAKEdB_9d9x0jwO6t1Gr_kTc.css" media="screen and (min-width: 1136px)" />
37
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_iOYzWhRAGtwsQIcnghr3Bw8k9PhNOMoxxvSbL7cxTAc.css" media="screen and (min-width: 1390px) and (max-aspect-ratio: 5/3)" />
38
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_8DaXZm41v90V_BK6oEA21bchaUJTUIdKF6YbLAZK1es.css" media="screen and (min-width: 1390px) and (min-aspect-ratio: 5/3)" />
39
- <link type="text/css" rel="stylesheet" href="http://www.ndp.ca/sites/default/files/css/css_KVl6OArlsFTcbavhG3tU-405-lVCIW62cF7bsRoDKgs.css" media="screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min--moz-device-pixel-ratio: 1.5), screen and (-o-min-device-pixel-ratio: 1.5/1), screen and (min-device-pixel-ratio: 1.5)" />
40
- <script type="text/javascript" src="http://www.ndp.ca/misc/jquery.js?v=1.4.4"></script>
41
- <script type="text/javascript" src="http://www.ndp.ca/misc/jquery.once.js?v=1.2"></script>
42
- <script type="text/javascript" src="http://www.ndp.ca/misc/drupal.js?mihb0q"></script>
43
- <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/tricks/js_new_window/js/js-new-window.js?mihb0q"></script>
44
- <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/tricks/js_save_key/js/js-save-key.js?mihb0q"></script>
45
- <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/tricks/livevalidation/js/validation.js?mihb0q"></script>
46
- <script type="text/javascript" src="http://www.ndp.ca/sites/all/modules/treats/your_riding_page/js/your-riding-page.js?mihb0q"></script>
47
- <script type="text/javascript">
48
- <!--//--><![CDATA[//><!--
49
- jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"tom2012","theme_token":"l3QI0D19HEUwVk9LEGLF98zf64EydQ1UxIjkmEsxKsg","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/all\/modules\/tricks\/js_new_window\/js\/js-new-window.js":1,"sites\/all\/modules\/tricks\/js_save_key\/js\/js-save-key.js":1,"sites\/all\/modules\/tricks\/livevalidation\/js\/validation.js":1,"sites\/all\/modules\/treats\/your_riding_page\/js\/your-riding-page.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"sites\/all\/modules\/downloaded\/date\/date_api\/date.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/downloaded\/views\/css\/views.css":1,"sites\/all\/modules\/downloaded\/ctools\/css\/ctools.css":1,"sites\/all\/modules\/treats\/health_nav\/css\/health-nav.css":1,"sites\/all\/modules\/treats\/tbc_nav\/css\/tbc-nav.css":1,"sites\/all\/modules\/treats\/your_riding_page\/css\/your-riding-page.css":1,"sites\/all\/modules\/treats\/share_links\/css\/share_links.css":1,"sites\/all\/themes\/tom2012\/layout-core.css":1,"sites\/all\/themes\/tom2012\/layout-mobile.css":1,"sites\/all\/themes\/tom2012\/layout-desktop.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide-offset.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide-limit-width.css":1,"sites\/all\/themes\/tom2012\/layout-desktop-wide-limit-height.css":1,"sites\/all\/themes\/tom2012\/layout-highres.css":1}}});
50
- //--><!]]>
51
- </script>
52
-
53
- <!-- http://t.co/dKP3o1e -->
54
- <meta name="HandheldFriendly" content="True">
55
- <meta name="MobileOptimized" content="320">
56
- <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0, maximum-scale=1.0">
57
- <meta name="format-detection" content="telephone=no">
58
- <meta name="title" content="Your Riding" />
59
- <meta name="description" content="Find your MP or riding association with the NDP’s easy-to-use interactive map." />
60
- <meta name="keywords" content="Thomas Mulcair Canada's New Democrats." />
61
- <link rel="image_src" href="http://www.ndp.ca/sites/all/modules/treats/share_links/images/fb-bilingual-thumb.jpg" />
62
- <meta property="og:image" content="http://www.ndp.ca/sites/all/modules/treats/share_links/images/fb-bilingual-thumb.jpg" />
63
- <meta property="og:url" content="http://www.ndp.ca/your-riding" />
64
- <meta property="og:title" content="Your Riding" />
65
- <meta property="og:description" content="Find your MP or riding association with the NDP’s easy-to-use interactive map." />
66
- <meta property="og:locale" content="en_US" />
67
- <meta name="tweet" content="Find your MP or riding association with the NDP’s easy-to-use interactive map. #NDP http://ndp.ca/your-riding" />
68
- <!--[if IE]>
69
- <link rel="stylesheet" type="text/css" href="../sites/all/themes/tom2012/layout-ie-only.css" />
70
- <![endif]-->
71
- <!--[if IE 6]>
72
- <link rel="stylesheet" type="text/css" href="../sites/all/themes/tom2012/layout-ie6-only.css" />
73
- <![endif]-->
74
- <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/respond.min.js"></script>
75
- <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/syze.min.js"></script>
76
- <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/tinynav.min.js"></script>
77
- <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/cssua.min.js"></script>
78
- <script type="text/javascript" src="/sites/all/themes/tom2012/scripts/pixelratio.js"></script>
79
- <script type="text/javascript">
80
- // Some browsers subtract scrollbar width when calculating viewport size
81
- // This causes Syze dependent CSS to trigger at a different width than media query dependent CSS
82
- // We address this on a per-browser basis below
83
- if (jQuery('html').hasClass('ua-ie-9')) { // scrollbar width = 17px
84
- syze.sizes(303, 641, 957).names({ 303:'Mobile', 641:'Desktop', 957:'Desktop-wide' });
85
- } else if (jQuery('html').hasClass('ua-firefox')) { // scrollbar width = 15px
86
- syze.sizes(305, 643, 959).names({ 305:'Mobile', 643:'Desktop', 959:'Desktop-wide' });
87
- } else {
88
- syze.sizes(320, 658, 974).names({ 320:'Mobile', 658:'Desktop', 974:'Desktop-wide' });
89
- }
90
- </script>
91
-
92
- <script type="text/javascript">
93
-
94
- var _gaq = _gaq || [];
95
- _gaq.push(['_setAccount', 'UA-30109525-1']); // Entire Webserver Tracking
96
- _gaq.push(['_setDomainName', 'none']);
97
- _gaq.push(['_setAllowLinker', true]);
98
- _gaq.push(['_trackPageview']);
99
-
100
- (function() {
101
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
102
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
103
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
104
- })();
105
-
106
- </script><script type="text/javascript">
107
- var _gaq = _gaq || [];
108
- _gaq.push(['_setAccount', 'UA-10510140-3']); // NDP Main Site Tracking
109
- _gaq.push(['_setDomainName', 'ndp.ca']);
110
- _gaq.push(['_setAllowLinker', true]);
111
- _gaq.push(['_trackPageview']);
112
-
113
- (function() {
114
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
115
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
116
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
117
- })();
118
- </script>
119
-
120
- </head>
121
- <body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-9700 node-type-page i18n-en theme-hide-sidebar -html-tpl isEnglish" >
122
- <div id="skip-link">
123
- <a href="#main-content" class="element-invisible element-focusable">Skip to main content</a>
124
- </div>
125
- <div id="page-wrapper" class="-page-tpl"><div id="page">
126
-
127
- <div id="nav" class="-region--navbar-tpl clearfix hideNav">
128
-
129
-
130
- <ul class="clearfix">
131
- <li class="menu-Home">
132
- <a class="gradient" href="http://www.ndp.ca/">Home</a>
133
-
134
- </li>
135
- <li class="menu-Tom Mulcair">
136
- <a class="gradient" href="http://www.ndp.ca/tommulcair">Tom Mulcair</a>
137
-
138
- </li>
139
- <li class="menu-Party">
140
- <a class="gradient" href="http://www.ndp.ca/your-riding">Party</a>
141
- <ul class="submenu">
142
- <li><a class="" href="http://www.ndp.ca/history"><span class="nav-arrow">&#9658;</span> History</a></li>
143
- <li><a class="" href="http://www.ndp.ca/ourcaucus"><span class="nav-arrow">&#9658;</span> Our Caucus</a></li>
144
- <li><a class="" href="http://www.ndp.ca/shadow-cabinet"><span class="nav-arrow">&#9658;</span> Shadow Cabinet</a></li>
145
- <li><a class="" href="http://www.ndp.ca/commissions"><span class="nav-arrow">&#9658;</span> Commissions</a></li>
146
- <li><a class="" href="http://www.ndp.ca/constitution"><span class="nav-arrow">&#9658;</span> Constitution</a></li>
147
- <li><a class="" href="http://www.ndp.ca/policy-book"><span class="nav-arrow">&#9658;</span> Policy Book</a></li>
148
- <li><a class="" href="http://www.ndp.ca/federal-council"><span class="nav-arrow">&#9658;</span> Federal Council</a></li>
149
- <li><a class="" href="http://www.ndp.ca/jobs"><span class="nav-arrow">&#9658;</span> Jobs</a></li>
150
- <li><a class="" href="http://www.ndp.ca/contact"><span class="nav-arrow">&#9658;</span> Contact</a></li>
151
- <li><a class="" href="http://www.ndp.ca/your-riding"><span class="nav-arrow">&#9658;</span> Your Riding</a></li>
152
- <li><a class="js-new-window" href="http://qc.ndp.ca"><span class="nav-arrow">&#9658;</span> NDP Quebec</a></li>
153
- <li><a class="js-new-window" href="http://montreal2013.ndp.ca"><span class="nav-arrow">&#9658;</span> NDP Convention</a></li>
154
- </ul>
155
-
156
- </li>
157
- <li class="menu-News">
158
- <a class="gradient" href="http://www.ndp.ca/news/recent/">News</a>
159
- <ul class="submenu">
160
- <li><a class="" href="http://www.ndp.ca/news/recent/press-release"><span class="nav-arrow">&#9658;</span> Press Releases</a></li>
161
- <li><a class="" href="http://www.ndp.ca/news/recent/statement"><span class="nav-arrow">&#9658;</span> Statements</a></li>
162
- <li><a class="" href="http://www.ndp.ca/news/recent/reality-check"><span class="nav-arrow">&#9658;</span> Reality Checks</a></li>
163
- </ul>
164
-
165
- </li>
166
- <li class="menu-Photos and Video">
167
- <a class="gradient" href="http://www.ndp.ca/videos">Photos and Video</a>
168
- <ul class="submenu">
169
- <li><a class="" href="http://www.ndp.ca/videos"><span class="nav-arrow">&#9658;</span> Video Gallery</a></li>
170
- <li><a class="" href="http://www.ndp.ca/photos"><span class="nav-arrow">&#9658;</span> Photo Gallery</a></li>
171
- <li><a class="" href="http://www.ndp.ca/logos"><span class="nav-arrow">&#9658;</span> Logos</a></li>
172
- </ul>
173
-
174
- </li>
175
- <li class="menu-Take Action">
176
- <a class="gradient" href="http://www.ndp.ca/join">Take Action</a>
177
- <ul class="submenu">
178
- <li><a class="" href="http://www.ndp.ca/join"><span class="nav-arrow">&#9658;</span> Join</a></li>
179
- <li><a class="" href="http://www.ndp.ca/donate"><span class="nav-arrow">&#9658;</span> Donate</a></li>
180
- <li><a class="" href="http://www.ndp.ca/volunteer"><span class="nav-arrow">&#9658;</span> Volunteer</a></li>
181
- <li><a class="" href="http://www.ndp.ca/endp-subscribe"><span class="nav-arrow">&#9658;</span> Get Email Updates</a></li>
182
- <li><a class="" href="http://www.ndp.ca/online-tools"><span class="nav-arrow">&#9658;</span> Online Tools</a></li>
183
- <li><a class="" href="http://www.ndp.ca/app"><span class="nav-arrow">&#9658;</span> Download the NDP App</a></li>
184
- </ul>
185
-
186
- </li>
187
- <li class="menu-donate">
188
- <a href="http://www.ndp.ca/donate" class="gradient">Donate</a>
189
- <a href="http://www.ndp.ca/donate" class="donate-tip"></a>
190
- </li>
191
- </ul>
192
-
193
- </div>
194
- <div id="take-action-top" class="clearfix">
195
- <div class="-region--takeaction-tpl clearfix">
196
-
197
- <ul class="clearfix">
198
- <li class="clearfix">
199
- <a href="#x" class="take-action-tip" tabindex="1"></a>
200
- <a href="#x" class="button-open gradient" tabindex="1">Take Action</a>
201
- <img src="/sites/all/themes/tom2012/imgs/blank.gif" class="button-close " />
202
- <div class="submenu-wrapper clearfix">
203
- <a class="submenu-close-top" href="">&nbsp;</a>
204
- <ul class="submenu clearfix">
205
- <li>
206
- <div class="icon-box-wrapper">
207
- <div class="icon-box clearfix">
208
- <div class="icon-box-content high-res">
209
- <a href="http://www.ndp.ca/donate" class="donate">&nbsp;</a>
210
- </div>
211
- </div>
212
- <a class="link" href="http://www.ndp.ca/donate">Donate</a>
213
- </div>
214
- </li>
215
- <li>
216
- <div class="icon-box-wrapper">
217
- <div class="icon-box clearfix">
218
- <div class="icon-box-content high-res">
219
- <a href="http://www.ndp.ca/join" class="join">&nbsp;</a>
220
- </div>
221
- </div>
222
- <a class="link" href="http://www.ndp.ca/join">Join</a>
223
- </div>
224
- </li>
225
- <li>
226
- <div class="icon-box-wrapper">
227
- <div class="icon-box clearfix">
228
- <div class="icon-box-content high-res">
229
- <a href="http://www.ndp.ca/volunteer" class="volunteer">&nbsp;</a>
230
- </div>
231
- </div>
232
- <a class="link" href="http://www.ndp.ca/volunteer">Volunteer</a>
233
- </div>
234
- </li>
235
- <li>
236
- <div class="icon-box-wrapper">
237
- <div class="icon-box clearfix">
238
- <div class="icon-box-content high-res">
239
- <a href="http://www.ndp.ca/endp-subscribe" class="get-email-updates">&nbsp;</a>
240
- </div>
241
- </div>
242
- <a class="link" href="http://www.ndp.ca/endp-subscribe">Get email updates</a>
243
- </div>
244
- </li>
245
- <li>
246
- <div class="icon-box-wrapper">
247
- <div class="icon-box clearfix">
248
- <div class="icon-box-content high-res">
249
- <a href="http://www.ndp.ca/app" class="download-app">&nbsp;</a>
250
- </div>
251
- </div>
252
- <a class="link" href="http://www.ndp.ca/app">Download the NDP app</a>
253
- </div>
254
- </li>
255
- <li class="social">
256
- <ul class="clearfix">
257
- <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
258
- <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
259
- <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
260
- <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
261
- <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
262
- <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
263
- </ul>
264
- </li>
265
- </ul>
266
- <a class="submenu-close-bottom" href="">&nbsp;</a>
267
- </div>
268
- </li>
269
- <li class="social-mobile">
270
- <ul class="clearfix">
271
- <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
272
- <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
273
- <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
274
- <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
275
- <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
276
- <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
277
- </ul>
278
- </li>
279
- </ul>
280
- </div>
281
- </div>
282
- <div id="wrapper" class="clearfix showContent">
283
- <div class="-region--header-tpl clearfix">
284
-
285
- <div id="header" class="clearfix">
286
- <div id="super-nav" class="clearfix">
287
- <ul id="nav-toggle">
288
- <li><a href="#">Menu</a></li>
289
- </ul>
290
- <ul id="donate-mobile" class="clearfix">
291
- <li class="menu-donate">
292
- <a href="http://www.ndp.ca/donate" class="gradient">Donate</a>
293
- <a href="#" class="donate-tip"></a>
294
- </li>
295
- </ul>
296
- <a class="ndp-logo high-res" href="#">NDP</a>
297
- <div id="lang">
298
- <a href="http://www.npd.ca/votre-circonscription">Français</a>
299
- </div>
300
- <div id="contact">
301
- <a href="http://www.ndp.ca/contact">Contact</a>
302
- </div>
303
- </div>
304
- </div>
305
-
306
- </div>
307
- <div id="banner">
308
- <div id="banner-content">
309
- <h1 class="title" id="page-title">Your Riding</h1> </div>
310
- <div id="lang-small"><a href="http://www.npd.ca/votre-circonscription">Français</a></div>
311
- </div>
312
- <div id="main-wrapper">
313
- <div id="main" class="clearfix">
314
- <div class="tabs clearfix"></div> <div id="main-content" class="clearfix">
315
- <div class="region region-content -region-tpl">
316
- <div id="block-system-main" class="block block-system -block-tpl">
317
-
318
-
319
- <div >
320
- <div id="node-9700" class="node node-page -node--page-tpl clearfix">
321
-
322
-
323
- <div class="theme-function">
324
- <div class="your-riding-page js-your-riding-page -your-riding-page-tpl">
325
-
326
- <div class="riding-search clearfix">
327
- <form id="riding-serach-form" action="/your-riding/">
328
- <h2>Find your MP or riding association by name, riding, or postal code</h2>
329
- <input type="text" name="search" class="search-field" value="A1A1A1" />
330
- <input type="submit" value="Search" class="js-hide" />
331
- <a class="search-button js-show" href="http://www.ndp.ca/" onclick="jQuery('#riding-serach-form').submit(); return false;">Search</a>
332
- </form>
333
- </div>
334
-
335
-
336
- <div class="search-results">
337
- <ul class="ridings">
338
- <li class="result-row">
339
- <div class="mp-riding-link-wrapper">
340
- <a href="http://www.ndp.ca/district/10007" class="mp-riding-link clearfix">
341
- <span class="riding-link"><span class="large-print"><span class="label">Riding Association</span></span> <span class="arrow-wrapper"><span class="go-arrow">&raquo;</span></span></span>
342
- </a>
343
- </div>
344
- <a href="http://ryancleary.ndp.ca" class="result-data clearfix has-mp">
345
- <span class="left-side">
346
- <span class="large-print">St. John's South--Mount Pearl</span> <br/>
347
- <span class="fine-print">Newfoundland and Labrador - 10007</span>
348
- &nbsp;
349
- </span>
350
- <span class="right-side">
351
- <span class="mp-link"><span class="large-print">Ryan Cleary</span> <span class="arrow-wrapper"><span class="go-arrow">&raquo;</span></span></span>
352
- </span>
353
- </a>
354
- </li>
355
- </ul>
356
- </div>
357
-
358
-
359
- <div class="province-list clearfix">
360
- <h2>Provinces and territories</h2>
361
- <div class="province-column column1">
362
- <a href="/your-riding/?search=ab">Alberta</a><br/>
363
- <a href="/your-riding/?search=bc">British Columbia</a><br/>
364
- <a href="/your-riding/?search=mb">Manitoba</a><br/>
365
- </div>
366
- <div class="province-column column2">
367
- <a href="/your-riding/?search=nb">New Brunswick</a><br/>
368
- <a href="/your-riding/?search=nl">Newfoundland and Labrador</a><br/>
369
- <a href="/your-riding/?search=ns">Nova Scotia</a><br/>
370
- <a href="/your-riding/?search=nu">Nunavut</a><br/>
371
- </div>
372
- <div class="province-column column3">
373
- <a href="/your-riding/?search=on">Ontario</a><br/>
374
- <a href="/your-riding/?search=pe">Prince Edward Island</a><br/>
375
- <a href="/your-riding/?search=qc">Quebec</a><br/>
376
- </div>
377
- <div class="province-column column4">
378
- <a href="/your-riding/?search=sk">Saskatchewan</a><br/>
379
- <a href="/your-riding/?search=nt">Northwest Territories</a><br/>
380
- <a href="/your-riding/?search=yt">Yukon</a>
381
- </div>
382
- </div>
383
-
384
- </div>
385
-
386
- </div><!-- .theme-function -->
387
-
388
- </div>
389
- </div>
390
- </div>
391
- </div>
392
- <div class="share-links-wrapper clearfix">
393
-
394
- <div class="share-links">
395
- <div class="share-links-prefix">Share<br />this page</div>
396
- <a href="/share_links/shortlink_tweet?text=Find+your+MP+or+riding+association+with+the+NDP%E2%80%99s+easy-to-use+interactive+map.+%23NDP&amp;share_url=http%3A%2F%2Fndp.ca%2Fyour-riding" class="share-links-twitter js-new-window"></a>
397
- <a href="https://facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-facebook js-new-window"></a>
398
- <a href="https://plus.google.com/share?url=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-google js-new-window"></a>
399
- <a href="http://sharebyemail.ndp.ca/?url=http%3A%2F%2Fwww.ndp.ca%2Fyour-riding" class="share-links-email js-new-window"></a>
400
- </div>
401
- <div class="like-links">
402
- <!-- google +1 -->
403
- <!-- Place this tag where you want the +1 button to render. -->
404
- <div class="like-links-gp">
405
- <div class="g-plusone" data-size="medium" data-href="http%3A%2F%2Fwww.ndp.ca%2Fyour-riding"></div>
406
- </div>
407
- <!-- facebook like -->
408
- <div class="like-links-fb">
409
- <div class="fb-like" data-send="false" data-layout="button_count" data-width="50" data-show-faces="false" data-href="http%3A%2F%2Fwww.ndp.ca%2Fyour-riding"></div>
410
- </div>
411
- </div>
412
- </div>
413
-
414
- <!-- facebook like -->
415
- <div id="fb-root"></div>
416
- <script>(function(d, s, id) {
417
- var js, fjs = d.getElementsByTagName(s)[0];
418
- if (d.getElementById(id)) return;
419
- js = d.createElement(s); js.id = id;
420
- js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
421
- fjs.parentNode.insertBefore(js, fjs);
422
- }(document, 'script', 'facebook-jssdk'));</script>
423
-
424
- <!-- Place this tag after the last +1 button tag. -->
425
- <script type="text/javascript">
426
- (function() {
427
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
428
- po.src = 'https://apis.google.com/js/plusone.js';
429
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
430
- })();
431
- </script>
432
- </div>
433
- </div>
434
- </div>
435
- </div>
436
- <div id="footer" class="clearfix">
437
- <div id="super-footer" class="gradient">
438
- <div id="super-footer-content" class="clearfix">
439
- <div id="take-action-bottom">
440
- <div class="-region--takeaction-tpl clearfix">
441
-
442
- <ul class="clearfix">
443
- <li class="clearfix">
444
- <a href="#x" class="take-action-tip" tabindex="1"></a>
445
- <a href="#x" class="button-open gradient" tabindex="1">Take Action</a>
446
- <img src="/sites/all/themes/tom2012/imgs/blank.gif" class="button-close " />
447
- <div class="submenu-wrapper clearfix">
448
- <a class="submenu-close-top" href="">&nbsp;</a>
449
- <ul class="submenu clearfix">
450
- <li>
451
- <div class="icon-box-wrapper">
452
- <div class="icon-box clearfix">
453
- <div class="icon-box-content high-res">
454
- <a href="http://www.ndp.ca/donate" class="donate">&nbsp;</a>
455
- </div>
456
- </div>
457
- <a class="link" href="http://www.ndp.ca/donate">Donate</a>
458
- </div>
459
- </li>
460
- <li>
461
- <div class="icon-box-wrapper">
462
- <div class="icon-box clearfix">
463
- <div class="icon-box-content high-res">
464
- <a href="http://www.ndp.ca/join" class="join">&nbsp;</a>
465
- </div>
466
- </div>
467
- <a class="link" href="http://www.ndp.ca/join">Join</a>
468
- </div>
469
- </li>
470
- <li>
471
- <div class="icon-box-wrapper">
472
- <div class="icon-box clearfix">
473
- <div class="icon-box-content high-res">
474
- <a href="http://www.ndp.ca/volunteer" class="volunteer">&nbsp;</a>
475
- </div>
476
- </div>
477
- <a class="link" href="http://www.ndp.ca/volunteer">Volunteer</a>
478
- </div>
479
- </li>
480
- <li>
481
- <div class="icon-box-wrapper">
482
- <div class="icon-box clearfix">
483
- <div class="icon-box-content high-res">
484
- <a href="http://www.ndp.ca/endp-subscribe" class="get-email-updates">&nbsp;</a>
485
- </div>
486
- </div>
487
- <a class="link" href="http://www.ndp.ca/endp-subscribe">Get email updates</a>
488
- </div>
489
- </li>
490
- <li>
491
- <div class="icon-box-wrapper">
492
- <div class="icon-box clearfix">
493
- <div class="icon-box-content high-res">
494
- <a href="http://www.ndp.ca/app" class="download-app">&nbsp;</a>
495
- </div>
496
- </div>
497
- <a class="link" href="http://www.ndp.ca/app">Download the NDP app</a>
498
- </div>
499
- </li>
500
- <li class="social">
501
- <ul class="clearfix">
502
- <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
503
- <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
504
- <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
505
- <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
506
- <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
507
- <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
508
- </ul>
509
- </li>
510
- </ul>
511
- <a class="submenu-close-bottom" href="">&nbsp;</a>
512
- </div>
513
- </li>
514
- <li class="social-mobile">
515
- <ul class="clearfix">
516
- <li><a href="http://www.facebook.com/pages/Canadas-New-Democrats-Le-NPD-du-Canada/190502667652613" class="facebook js-new-window hide-text">Facebook</a></li>
517
- <li><a href="https://twitter.com/#!/ThomasMulcair" class="twitter js-new-window hide-text">Twitter</a></li>
518
- <li><a href="http://www.ndp.ca/rss.xml" class="rss js-new-window hide-text">RSS</a></li>
519
- <li><a href="http://www.youtube.com/user/NDPCanada" class="youtube js-new-window hide-text">YouTube</a></li>
520
- <li><a href="http://www.flickr.com/photos/ndpcanada" class="flickr js-new-window hide-text">Flickr</a></li>
521
- <li><a href="http://itunes.apple.com/ca/app/ndp/id426043239" class="appstore js-new-window hide-text">App Store</a></li>
522
- </ul>
523
- </li>
524
- </ul>
525
- </div>
526
- </div>
527
- </div>
528
- </div>
529
- <div id="sitemap" class="-region--sitemap-tpl clearfix">
530
-
531
-
532
- <ul class="clearfix">
533
- <li class="menu-Home">
534
- <a href="http://www.ndp.ca/">Home</a>
535
-
536
- </li>
537
- <li class="menu-Tom Mulcair">
538
- <a href="http://www.ndp.ca/tommulcair">Tom Mulcair</a>
539
-
540
- </li>
541
- <li class="menu-Party">
542
- <a href="http://www.ndp.ca/your-riding">Party</a>
543
- <ul class="submenu">
544
- <li><a href="http://www.ndp.ca/history">History</a></li>
545
- <li><a href="http://www.ndp.ca/ourcaucus">Our Caucus</a></li>
546
- <li><a href="http://www.ndp.ca/shadow-cabinet">Shadow Cabinet</a></li>
547
- <li><a href="http://www.ndp.ca/commissions">Commissions</a></li>
548
- <li><a href="http://www.ndp.ca/constitution">Constitution</a></li>
549
- <li><a href="http://www.ndp.ca/policy-book">Policy Book</a></li>
550
- <li><a href="http://www.ndp.ca/federal-council">Federal Council</a></li>
551
- <li><a href="http://www.ndp.ca/jobs">Jobs</a></li>
552
- <li><a href="http://www.ndp.ca/contact">Contact</a></li>
553
- <li><a href="http://www.ndp.ca/your-riding">Your Riding</a></li>
554
- <li><a href="http://qc.ndp.ca">NDP Quebec</a></li>
555
- <li><a href="http://montreal2013.ndp.ca">NDP Convention</a></li>
556
- </ul>
557
-
558
- </li>
559
- <li class="menu-News">
560
- <a href="http://www.ndp.ca/news/recent/">News</a>
561
- <ul class="submenu">
562
- <li><a href="http://www.ndp.ca/news/recent/press-release">Press Releases</a></li>
563
- <li><a href="http://www.ndp.ca/news/recent/statement">Statements</a></li>
564
- <li><a href="http://www.ndp.ca/news/recent/reality-check">Reality Checks</a></li>
565
- </ul>
566
-
567
- </li>
568
- <li class="menu-Photos and Video">
569
- <a href="http://www.ndp.ca/videos">Photos and Video</a>
570
- <ul class="submenu">
571
- <li><a href="http://www.ndp.ca/videos">Video Gallery</a></li>
572
- <li><a href="http://www.ndp.ca/photos">Photo Gallery</a></li>
573
- <li><a href="http://www.ndp.ca/logos">Logos</a></li>
574
- </ul>
575
-
576
- </li>
577
- <li class="menu-Take Action">
578
- <a href="http://www.ndp.ca/join">Take Action</a>
579
- <ul class="submenu">
580
- <li><a href="http://www.ndp.ca/join">Join</a></li>
581
- <li><a href="http://www.ndp.ca/donate">Donate</a></li>
582
- <li><a href="http://www.ndp.ca/volunteer">Volunteer</a></li>
583
- <li><a href="http://www.ndp.ca/endp-subscribe">Get Email Updates</a></li>
584
- <li><a href="http://www.ndp.ca/online-tools">Online Tools</a></li>
585
- <li><a href="http://www.ndp.ca/app">Download the NDP App</a></li>
586
- </ul>
587
-
588
- </li>
589
- </ul>
590
-
591
- </div>
592
- <div id="copyright" >
593
- <p>© 2012 New Democratic Party of Canada, all rights reserved. Paid for and authorized by the registered agent of Canada's NDP.</p>
594
- </div>
595
- </div>
596
-
597
- </div></div> <!-- /#page, /#page-wrapper -->
598
-
599
- <script type="text/javascript">
600
- jQuery('#nav-toggle').click(function () {
601
- jQuery('#wrapper').toggleClass('hideContent');
602
- jQuery('#nav').toggleClass('showNav');
603
- });
604
- if(jQuery("html").hasClass("ua-desktop")) {
605
- jQuery('#page').prepend('<img id="bg-img" src="/sites/all/themes/tom2012/imgs/mulcair.png" alt="Thomas Mulcair" />');
606
- }
607
- </script>
608
-
609
- </body>
610
- </html>