snail 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/snail.rb CHANGED
@@ -5,6 +5,10 @@ require 'snail_helpers'
5
5
  require 'cgi'
6
6
  require 'active_support/core_ext/string/output_safety'
7
7
 
8
+ if defined? ActionView
9
+ ActionView::Base.class_eval { include SnailHelpers }
10
+ end
11
+
8
12
  class Snail
9
13
  include Configurable
10
14
 
@@ -7,7 +7,7 @@ class Snail
7
7
  'Afghanistan',
8
8
  'Albania',
9
9
  'Algeria',
10
- 'andorra',
10
+ 'Andorra',
11
11
  'Angola',
12
12
  'Anguilla',
13
13
  'Antigua and Barbuda',
@@ -29,11 +29,11 @@ class Snail
29
29
  'Bermuda',
30
30
  'Bhutan',
31
31
  'Bolivia',
32
- 'Bosnia Herzegovina',
32
+ 'Bosnia and Herzegovina',
33
33
  'Botswana',
34
34
  'Brazil',
35
35
  'British Virgin Islands',
36
- 'Brunei Darrusalam',
36
+ 'Brunei Darussalam',
37
37
  'Bulgaria',
38
38
  'Burkina Faso',
39
39
  'Burundi',
@@ -90,7 +90,7 @@ class Snail
90
90
  'Guadeloupe',
91
91
  'Guatemala',
92
92
  'Guinea',
93
- 'Guinea Bissau',
93
+ 'Guinea-Bissau',
94
94
  'Guyana',
95
95
  'Haiti',
96
96
  'Honduras',
@@ -98,7 +98,7 @@ class Snail
98
98
  'Hungary',
99
99
  'Iceland',
100
100
  'India',
101
- 'Indonesiai',
101
+ 'Indonesia',
102
102
  'Iran',
103
103
  'Iraq',
104
104
  'Ireland',
@@ -182,7 +182,7 @@ class Snail
182
182
  'San Marino',
183
183
  'Sao Tome and Principe',
184
184
  'Saudi Arabia',
185
- 'Scotlandg',
185
+ 'Scotland',
186
186
  'Senegal',
187
187
  'Serbia',
188
188
  'Seychelles',
@@ -209,6 +209,7 @@ class Snail
209
209
  'Togo',
210
210
  'Tonga',
211
211
  'Trinidad and Tobago',
212
+ 'Tristan da Cunha',
212
213
  'Tunisia',
213
214
  'Turkey',
214
215
  'Turkmenistan',
@@ -226,11 +227,10 @@ class Snail
226
227
  'Venezuela',
227
228
  'Vietnam',
228
229
  'Wales',
229
- 'Wallis and Fortuna Islands',
230
+ 'Wallis and Futuna Islands',
230
231
  'Western Samoa',
231
232
  'Western Sahara',
232
233
  'Yemen',
233
- 'Yugoslavia',
234
234
  'Zambia',
235
235
  'Zimbabwe'
236
236
  ]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 6
10
- version: 0.5.6
9
+ - 7
10
+ version: 0.5.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lance Ivy
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-21 00:00:00 -04:00
18
+ date: 2011-08-23 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -36,7 +36,6 @@ files:
36
36
  - test/snail_test.rb
37
37
  - README.rdoc
38
38
  - MIT-LICENSE
39
- - rails/init.rb
40
39
  has_rdoc: true
41
40
  homepage: http://github.com/cainlevy/snail
42
41
  licenses: []
data/rails/init.rb DELETED
@@ -1,4 +0,0 @@
1
- require 'snail'
2
-
3
- # Include hook code here
4
- ActionView::Base.class_eval { include SnailHelpers }