muck-engine 0.4.16 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/muck_engine/populate.rb +42 -35
- data/muck-engine.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.17
|
data/lib/muck_engine/populate.rb
CHANGED
|
@@ -19,7 +19,7 @@ module Muck
|
|
|
19
19
|
['AI', 'Anguilla'],
|
|
20
20
|
['AL', 'Albania'],
|
|
21
21
|
['AM', 'Armenia'],
|
|
22
|
-
['AN', 'Netherlands
|
|
22
|
+
['AN', 'Netherlands Anthilles'],
|
|
23
23
|
['AO', 'Angola'],
|
|
24
24
|
['AQ', 'Antarctica'],
|
|
25
25
|
['AR', 'Argentina'],
|
|
@@ -39,20 +39,21 @@ module Muck
|
|
|
39
39
|
['BM', 'Bermuda'],
|
|
40
40
|
['BO', 'Bolivia'],
|
|
41
41
|
['BR', 'Brazil'],
|
|
42
|
-
['BS', 'Bahamas'],
|
|
42
|
+
['BS', 'The Bahamas'],
|
|
43
43
|
['BT', 'Bhutan'],
|
|
44
44
|
['BU', 'Bouvet Island'],
|
|
45
45
|
['BV', 'Bulgaria'],
|
|
46
46
|
['BW', 'Botswana'],
|
|
47
|
-
['BX', 'Brunei
|
|
47
|
+
['BX', 'Brunei'],
|
|
48
48
|
['BY', 'Belarus'],
|
|
49
49
|
['BZ', 'Belize'],
|
|
50
50
|
['CA', 'Canada', 2],
|
|
51
51
|
['CC', 'Cocos (Keeling) Islands'],
|
|
52
52
|
['CF', 'Central African Republic'],
|
|
53
|
-
['CG', 'Congo'],
|
|
53
|
+
['CG', 'Republic of the Congo'],
|
|
54
|
+
['CD', 'Democratic Republic of the Congo'],
|
|
54
55
|
['CH', 'Switzerland'],
|
|
55
|
-
['CI', 'Cote D\'Ivoire
|
|
56
|
+
['CI', 'Cote D\'Ivoire'],
|
|
56
57
|
['CK', 'Cook Islands'],
|
|
57
58
|
['CL', 'Chile'],
|
|
58
59
|
['CM', 'Cameroon'],
|
|
@@ -61,7 +62,7 @@ module Muck
|
|
|
61
62
|
['CR', 'Costa Rica'],
|
|
62
63
|
['CU', 'Cuba'],
|
|
63
64
|
['CV', 'Cape Verde'],
|
|
64
|
-
['CX', 'Christmas
|
|
65
|
+
['CX', 'Christmas Islands'],
|
|
65
66
|
['CY', 'Cyprus'],
|
|
66
67
|
['CZ', 'Czech Republic'],
|
|
67
68
|
['DE', 'Germany'],
|
|
@@ -77,39 +78,41 @@ module Muck
|
|
|
77
78
|
['ER', 'Eritrea'],
|
|
78
79
|
['ES', 'Spain'],
|
|
79
80
|
['ET', 'Ethiopia'],
|
|
81
|
+
['EU', 'European Union'],
|
|
80
82
|
['FI', 'Finland'],
|
|
81
83
|
['FJ', 'Fiji'],
|
|
82
|
-
['FK', 'Falkland Islands (Malvinas)'],
|
|
84
|
+
['FK', 'Falkland Islands (Islas Malvinas)'],
|
|
83
85
|
['FM', 'Micronesia'],
|
|
84
86
|
['FO', 'Faroe Islands'],
|
|
85
87
|
['FR', 'France'],
|
|
86
88
|
['GA', 'Gabon'],
|
|
87
|
-
['GB', 'Great Britain (UK)'],
|
|
88
89
|
['GD', 'Grenada'],
|
|
89
90
|
['GE', 'Georgia'],
|
|
90
91
|
['GF', 'French Guiana'],
|
|
92
|
+
['GG', 'Guernsey'],
|
|
91
93
|
['GH', 'Ghana'],
|
|
92
94
|
['GI', 'Gibraltar'],
|
|
93
95
|
['GL', 'Greenland'],
|
|
94
|
-
['GM', 'Gambia'],
|
|
96
|
+
['GM', 'The Gambia'],
|
|
95
97
|
['GN', 'Guinea'],
|
|
96
98
|
['GP', 'Guadeloupe'],
|
|
97
99
|
['GQ', 'Equatorial Guinea'],
|
|
98
100
|
['GR', 'Greece'],
|
|
99
|
-
['GS', 'South Georgia and South
|
|
101
|
+
['GS', 'South Georgia and the South Sandwitch Islands'],
|
|
100
102
|
['GT', 'Guatemala'],
|
|
101
103
|
['GU', 'Guam'],
|
|
102
|
-
['GW', 'Guinea
|
|
104
|
+
['GW', 'Guinea Blissau'],
|
|
103
105
|
['GY', 'Guyana'],
|
|
104
106
|
['HK', 'Hong Kong'],
|
|
105
107
|
['HM', 'Heard and McDonald Islands'],
|
|
106
108
|
['HN', 'Honduras'],
|
|
107
|
-
['HR', 'Croatia
|
|
109
|
+
['HR', 'Croatia'],
|
|
108
110
|
['HT', 'Haiti'],
|
|
109
111
|
['HU', 'Hungary'],
|
|
110
112
|
['ID', 'Indonesia'],
|
|
111
113
|
['IE', 'Ireland'],
|
|
112
114
|
['IL', 'Israel'],
|
|
115
|
+
['IM', 'Isle of Man'],
|
|
113
116
|
['IN', 'India'],
|
|
114
117
|
['IO', 'British Indian Ocean Territory'],
|
|
115
118
|
['IQ', 'Iraq'],
|
|
@@ -125,11 +128,11 @@ module Muck
|
|
|
125
128
|
['KI', 'Kiribati'],
|
|
126
129
|
['KM', 'Comoros'],
|
|
127
130
|
['KN', 'Saint Kitts and Nevis'],
|
|
128
|
-
['KP', 'Korea
|
|
129
|
-
['KR', 'Korea
|
|
131
|
+
['KP', 'North Korea'],
|
|
132
|
+
['KR', 'South Korea'],
|
|
130
133
|
['KW', 'Kuwait'],
|
|
131
134
|
['KY', 'Cayman Islands'],
|
|
132
|
-
['KZ', '
|
|
135
|
+
['KZ', 'Kazahstan'],
|
|
133
136
|
['LA', 'Laos'],
|
|
134
137
|
['LB', 'Lebanon'],
|
|
135
138
|
['LC', 'Saint Lucia'],
|
|
@@ -143,12 +146,13 @@ module Muck
|
|
|
143
146
|
['LY', 'Libya'],
|
|
144
147
|
['MA', 'Morocco'],
|
|
145
148
|
['MC', 'Monaco'],
|
|
146
|
-
['MD', '
|
|
149
|
+
['MD', 'Moldavia'],
|
|
150
|
+
['ME', 'Montenegro'],
|
|
147
151
|
['MG', 'Madagascar'],
|
|
148
|
-
['MH', '
|
|
152
|
+
['MH', 'Marschal Islands'],
|
|
149
153
|
['MK', 'Macedonia'],
|
|
150
154
|
['ML', 'Mali'],
|
|
151
|
-
['MM', '
|
|
155
|
+
['MM', 'Burma'],
|
|
152
156
|
['MN', 'Mongolia'],
|
|
153
157
|
['MO', 'Macau'],
|
|
154
158
|
['MP', 'Northern Mariana Islands'],
|
|
@@ -175,23 +179,25 @@ module Muck
|
|
|
175
179
|
['NU', 'Niue'],
|
|
176
180
|
['NZ', 'New Zealand'],
|
|
177
181
|
['OM', 'Oman'],
|
|
182
|
+
['OS', 'Kosovo'],
|
|
178
183
|
['PA', 'Panama'],
|
|
179
184
|
['PE', 'Peru'],
|
|
180
|
-
['PF', 'French
|
|
185
|
+
['PF', 'French Poynesia'],
|
|
181
186
|
['PG', 'Papua New Guinea'],
|
|
182
187
|
['PH', 'Philippines'],
|
|
183
188
|
['PK', 'Pakistan'],
|
|
184
189
|
['PO', 'Poland'],
|
|
185
|
-
['PM', '
|
|
186
|
-
['PN', 'Pitcairn'],
|
|
190
|
+
['PM', 'Saint Pierre and Miquelon'],
|
|
191
|
+
['PN', 'Pitcairn Islands'],
|
|
187
192
|
['PR', 'Puerto Rico'],
|
|
188
193
|
['PT', 'Portugal'],
|
|
189
194
|
['PW', 'Palau'],
|
|
190
195
|
['PY', 'Paraguay'],
|
|
191
|
-
['QA', '
|
|
196
|
+
['QA', 'Quatar'],
|
|
192
197
|
['RE', 'Reunion'],
|
|
193
198
|
['RO', 'Romania'],
|
|
194
|
-
['
|
|
199
|
+
['RS', 'Serbia'],
|
|
200
|
+
['RU', 'Russia'],
|
|
195
201
|
['RW', 'Rwanda'],
|
|
196
202
|
['SA', 'Saudi Arabia'],
|
|
197
203
|
['SB', 'Solomon Islands'],
|
|
@@ -199,10 +205,10 @@ module Muck
|
|
|
199
205
|
['SD', 'Sudan'],
|
|
200
206
|
['SE', 'Sweden'],
|
|
201
207
|
['SG', 'Singapore'],
|
|
202
|
-
['SH', '
|
|
208
|
+
['SH', 'Saint Helena'],
|
|
203
209
|
['SI', 'Slovenia'],
|
|
204
210
|
['SJ', 'Svalbard and Jan Mayen Islands'],
|
|
205
|
-
['SK', '
|
|
211
|
+
['SK', 'Slovakia'],
|
|
206
212
|
['SL', 'Sierra Leone'],
|
|
207
213
|
['SM', 'San Marino'],
|
|
208
214
|
['SN', 'Senegal'],
|
|
@@ -212,6 +218,7 @@ module Muck
|
|
|
212
218
|
['SV', 'El Salvador'],
|
|
213
219
|
['SY', 'Syria'],
|
|
214
220
|
['SZ', 'Swaziland'],
|
|
221
|
+
['TB', 'Tibet'],
|
|
215
222
|
['TC', 'Turks and Caicos Islands'],
|
|
216
223
|
['TD', 'Chad'],
|
|
217
224
|
['TF', 'French Southern Territories'],
|
|
@@ -222,30 +229,31 @@ module Muck
|
|
|
222
229
|
['TM', 'Turkmenistan'],
|
|
223
230
|
['TN', 'Tunisia'],
|
|
224
231
|
['TO', 'Tonga'],
|
|
225
|
-
['TP', '
|
|
232
|
+
['TP', 'Timor Leste'],
|
|
226
233
|
['TR', 'Turkey'],
|
|
227
234
|
['TT', 'Trinidad and Tobago'],
|
|
228
235
|
['TV', 'Tuvalu'],
|
|
229
|
-
['TW', '
|
|
236
|
+
['TW', 'Taiwan'],
|
|
230
237
|
['TZ', 'Tanzania'],
|
|
231
238
|
['UA', 'Ukraine'],
|
|
232
239
|
['UG', 'Uganda'],
|
|
233
240
|
['UK', 'United Kingdom', 3],
|
|
234
241
|
['UM', 'US Minor Outlying Islands'],
|
|
235
|
-
['US', 'United States of America
|
|
242
|
+
['US', 'United States of America', 1],
|
|
236
243
|
['UY', 'Uruguay'],
|
|
237
244
|
['UZ', 'Uzbekistan'],
|
|
238
|
-
['VA', 'Vatican City
|
|
239
|
-
['VC', 'Saint Vincent
|
|
245
|
+
['VA', 'Holy See (Vatican City)'],
|
|
246
|
+
['VC', 'Saint Vincent'],
|
|
240
247
|
['VE', 'Venezuela'],
|
|
241
|
-
['VG', 'Virgin Islands
|
|
242
|
-
['
|
|
248
|
+
['VG', 'British Virgin Islands'],
|
|
249
|
+
['VI', 'Virgin Islands'],
|
|
250
|
+
['VN', 'Vietnam'],
|
|
243
251
|
['VU', 'Vanuatu'],
|
|
244
|
-
['WF', 'Wallis and Futuna
|
|
252
|
+
['WF', 'Wallis and Futuna'],
|
|
245
253
|
['WS', 'Samoa'],
|
|
246
254
|
['YE', 'Yemen'],
|
|
247
255
|
['YT', 'Mayotte'],
|
|
248
|
-
['YU', '
|
|
256
|
+
['YU', 'Kosovo'],
|
|
249
257
|
['ZA', 'South Africa'],
|
|
250
258
|
['ZM', 'Zambia'],
|
|
251
259
|
['ZR', 'Zaire'],
|
|
@@ -328,7 +336,6 @@ module Muck
|
|
|
328
336
|
# england_id = Country.find_by_abbreviation('ENG').id
|
|
329
337
|
# wales_id = Country.find_by_abbreviation('WAL').id
|
|
330
338
|
# channel_islands_id = Country.find_by_abbreviation('CHI').id
|
|
331
|
-
|
|
332
339
|
ireland_id = Country.find_by_abbreviation('IE').id
|
|
333
340
|
scotland_id = Country.find_by_abbreviation('UK').id
|
|
334
341
|
england_id = Country.find_by_abbreviation('UK').id
|
data/muck-engine.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{muck-engine}
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.17"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
|
12
|
-
s.date = %q{2010-03-
|
|
12
|
+
s.date = %q{2010-03-29}
|
|
13
13
|
s.description = %q{The base engine for the muck system. Contains common tables, custom for, css and javascript.}
|
|
14
14
|
s.email = %q{justin@tatemae.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 4
|
|
8
|
-
-
|
|
9
|
-
version: 0.4.
|
|
8
|
+
- 17
|
|
9
|
+
version: 0.4.17
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Justin Ball
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-03-
|
|
18
|
+
date: 2010-03-29 00:00:00 -06:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|