i18n_country_select 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/lib/i18n_country_select.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module I18nCountrySelect
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
module FormHelpers
|
3
|
+
def country_code_select(object_name, method, priority_countries = nil, options = {}, html_options = {})
|
4
|
+
ActionView::Helpers::InstanceTag.new(object_name, method, self, options.delete(:object)).to_country_code_select_tag(priority_countries, options, html_options)
|
5
|
+
end
|
6
|
+
end
|
7
7
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n_country_select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,20 +11,31 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-03-26 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: i18n
|
16
|
+
requirement: &70312861599860 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.5'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70312861599860
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: i18n-country-translations
|
16
|
-
requirement: &
|
27
|
+
requirement: &70312861599400 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ! '>='
|
20
31
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
32
|
+
version: 0.0.2
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *70312861599400
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: rails
|
27
|
-
requirement: &
|
38
|
+
requirement: &70312865138900 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ! '>='
|
@@ -32,10 +43,10 @@ dependencies:
|
|
32
43
|
version: 3.0.0
|
33
44
|
type: :development
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *70312865138900
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: rspec-rails
|
38
|
-
requirement: &
|
49
|
+
requirement: &70312865138440 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ! '>='
|
@@ -43,7 +54,18 @@ dependencies:
|
|
43
54
|
version: 2.7.0
|
44
55
|
type: :development
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *70312865138440
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: spork
|
60
|
+
requirement: &70312865137980 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.0rc
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70312865137980
|
47
69
|
description: A simple country code select helper that works with I18n translations.
|
48
70
|
Works exactly the same as country_select but uses country codes instead.
|
49
71
|
email: brian@onomojo.com
|