i18n_plus 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,7 +85,7 @@ de:
85
85
  NG: "Nigeria"
86
86
  NI: "Nicaragua"
87
87
  NL: "Niederlande"
88
- NO: "Norwegen"
88
+ "NO": "Norwegen"
89
89
  NP: "Nepal"
90
90
  NZ: "Neuseeland"
91
91
  OM: "Oman"
@@ -214,7 +214,7 @@ en:
214
214
  NG: "Nigeria"
215
215
  NI: "Nicaragua"
216
216
  NL: "Netherlands"
217
- NO: "Norway"
217
+ "NO": "Norway"
218
218
  NP: "Nepal"
219
219
  NZ: "New Zealand"
220
220
  OM: "Oman"
@@ -23,12 +23,12 @@ module ActionView
23
23
  end
24
24
 
25
25
  def country_options_for_select(selected = nil, *priority_country_codes)
26
- html = ""
26
+ html = "".html_safe
27
27
  unless priority_country_codes.empty?
28
28
  priority_countries = priority_country_codes.map { |code| [I18nPlus.country_name(code), code] }
29
29
  unless priority_countries.empty?
30
30
  html += options_for_select(priority_countries, selected)
31
- html += "<option value=\"\" disabled=\"disabled\">----------</option>"
31
+ html += "<option value=\"\" disabled=\"disabled\">----------</option>".html_safe
32
32
  end
33
33
  end
34
34
  all_countries = I18nPlus.countries.map { |code,name| [name, code] }.sort
@@ -23,12 +23,12 @@ module ActionView
23
23
  end
24
24
 
25
25
  def currency_options_for_select(selected = nil, *priority_currency_codes)
26
- html = ""
26
+ html = "".html_safe
27
27
  unless priority_currency_codes.empty?
28
28
  priority_currencies = priority_currency_codes.map { |code| [I18nPlus.currency_name(code), code] }
29
29
  unless priority_currencies.empty?
30
30
  html += options_for_select(priority_currencies, selected)
31
- html += "<option value=\"\" disabled=\"disabled\">----------</option>"
31
+ html += "<option value=\"\" disabled=\"disabled\">----------</option>".html_safe
32
32
  end
33
33
  end
34
34
  all_currencies = I18nPlus.currencies.map { |code,name| [name, code] }.sort
@@ -23,12 +23,12 @@ module ActionView
23
23
  end
24
24
 
25
25
  def language_options_for_select(selected = nil, *priority_language_codes)
26
- html = ""
26
+ html = "".html_safe
27
27
  unless priority_language_codes.empty?
28
28
  priority_languages = priority_language_codes.map { |code| [I18nPlus.language_name(code), code] }
29
29
  unless priority_languages.empty?
30
30
  html += options_for_select(priority_languages, selected)
31
- html += "<option value=\"\" disabled=\"disabled\">----------</option>"
31
+ html += "<option value=\"\" disabled=\"disabled\">----------</option>".html_safe
32
32
  end
33
33
  end
34
34
  all_languages = I18nPlus.languages.map { |code,name| [name, code] }.sort
@@ -23,12 +23,12 @@ module ActionView
23
23
  end
24
24
 
25
25
  def locale_options_for_select(selected = nil, *priority_locale_codes)
26
- html = ""
26
+ html = "".html_safe
27
27
  unless priority_locale_codes.empty?
28
28
  priority_locales = priority_locale_codes.map { |code| [I18nPlus.locale_name(code), code] }
29
29
  unless priority_locales.empty?
30
30
  html += options_for_select(priority_locales, selected)
31
- html += "<option value=\"\" disabled=\"disabled\">----------</option>"
31
+ html += "<option value=\"\" disabled=\"disabled\">----------</option>".html_safe
32
32
  end
33
33
  end
34
34
  all_locales = I18nPlus.locales.map { |code,name| [name, code] }.sort
@@ -1,3 +1,3 @@
1
1
  module I18nPlus
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,65 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-12 00:00:00.000000000 Z
12
+ date: 2012-06-04 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rack
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.1.0
22
+ - - <
23
+ - !ruby/object:Gem::Version
24
+ version: '2'
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 1.1.0
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ version: '2'
36
+ - !ruby/object:Gem::Dependency
37
+ name: activesupport
38
+ requirement: !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 3.0.0
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ! '>='
50
+ - !ruby/object:Gem::Version
51
+ version: 3.0.0
52
+ - !ruby/object:Gem::Dependency
53
+ name: actionpack
54
+ requirement: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: 3.0.0
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: 3.0.0
14
68
  - !ruby/object:Gem::Dependency
15
69
  name: bundler
16
- requirement: &70348171722160 !ruby/object:Gem::Requirement
70
+ requirement: !ruby/object:Gem::Requirement
17
71
  none: false
18
72
  requirements:
19
73
  - - ~>
@@ -21,10 +75,15 @@ dependencies:
21
75
  version: '1.0'
22
76
  type: :development
23
77
  prerelease: false
24
- version_requirements: *70348171722160
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ version: '1.0'
25
84
  - !ruby/object:Gem::Dependency
26
85
  name: rdoc
27
- requirement: &70348171721700 !ruby/object:Gem::Requirement
86
+ requirement: !ruby/object:Gem::Requirement
28
87
  none: false
29
88
  requirements:
30
89
  - - ~>
@@ -32,10 +91,15 @@ dependencies:
32
91
  version: '2.5'
33
92
  type: :development
34
93
  prerelease: false
35
- version_requirements: *70348171721700
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: '2.5'
36
100
  - !ruby/object:Gem::Dependency
37
101
  name: rake
38
- requirement: &70348171721240 !ruby/object:Gem::Requirement
102
+ requirement: !ruby/object:Gem::Requirement
39
103
  none: false
40
104
  requirements:
41
105
  - - ! '>='
@@ -43,7 +107,28 @@ dependencies:
43
107
  version: '0.9'
44
108
  type: :development
45
109
  prerelease: false
46
- version_requirements: *70348171721240
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ! '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0.9'
116
+ - !ruby/object:Gem::Dependency
117
+ name: mocha
118
+ requirement: !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: 0.11.4
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: 0.11.4
47
132
  description: A library for i18n of countries, states, currencies, and locales.
48
133
  email:
49
134
  - oliver.eilhard@gmail.com
@@ -90,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
175
  version: 1.3.6
91
176
  requirements: []
92
177
  rubyforge_project:
93
- rubygems_version: 1.8.10
178
+ rubygems_version: 1.8.23
94
179
  signing_key:
95
180
  specification_version: 3
96
181
  summary: A library for i18n of countries, states, currencies, and locales.