country_select 3.1.1 → 4.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b802a86ebb12fc93ecedd4f2d76954057ae7e63d
4
- data.tar.gz: 47a93b79e3fc56a378076547501e211c56db2945
2
+ SHA256:
3
+ metadata.gz: 4e90ff1708be525b5240f5c5925e8fa20d6e9cf059754bc771318d744367f032
4
+ data.tar.gz: 40177946a4f9d3a7996e24509d83d2b0b552b946e684344c62f3d0d0e1d6c178
5
5
  SHA512:
6
- metadata.gz: 7398753f73190c7e63f3acc849feab7062dfd7e3c67aa79b78f1c5a962114836106bf203222e2d58132d4aca86adb8c0694da6c06587b4fd65b104be3ab68fb9
7
- data.tar.gz: 8fbcaa15bba5707813232d5089efd788af4e5d0dcb433bcb379b1e663e626f255700970d1d6a00f7148aca8e9c661cc8766d99558af5afddc51733d08c266f8a
6
+ metadata.gz: '0919c2bbb415b69e38e4f5b24f3a80d630591b98bf51b76ab9002147a6cfa263ed7e22b44ea98a034ae2e3c2e7fc4ce78ea2b050c3ae61e5b0d6a23824180a8f'
7
+ data.tar.gz: 2a779b0d4177bd82c45b523bdfc60d9ce949dafc85c3334b57a5a31d6c15e25f35bdc48fd8e7f99fb49bee6979cb23fb3ff9eb87c4f503aa5d53e4692c967bc1
@@ -8,6 +8,7 @@ rvm:
8
8
  - 2.2
9
9
  - 2.3
10
10
  - 2.4
11
+ - 2.5
11
12
  - ruby-head
12
13
  gemfile:
13
14
  - gemfiles/actionpack3.2.gemfile
@@ -16,6 +17,7 @@ gemfile:
16
17
  - gemfiles/actionpack4.2.gemfile
17
18
  - gemfiles/actionpack5.0.gemfile
18
19
  - gemfiles/actionpack5.1.gemfile
20
+ - gemfiles/actionpack5.2.gemfile
19
21
  - gemfiles/actionpack.edge.gemfile
20
22
  matrix:
21
23
  allow_failures:
@@ -27,9 +29,13 @@ matrix:
27
29
  gemfile: gemfiles/actionpack5.0.gemfile
28
30
  - rvm: 2.0
29
31
  gemfile: gemfiles/actionpack5.1.gemfile
32
+ - rvm: 2.0
33
+ gemfile: gemfiles/actionpack5.2.gemfile
30
34
  - rvm: 2.1
31
35
  gemfile: gemfiles/actionpack.edge.gemfile
32
36
  - rvm: 2.1
33
37
  gemfile: gemfiles/actionpack5.0.gemfile
34
38
  - rvm: 2.1
35
39
  gemfile: gemfiles/actionpack5.1.gemfile
40
+ - rvm: 2.1
41
+ gemfile: gemfiles/actionpack5.2.gemfile
@@ -1,4 +1,9 @@
1
- ## 3.1.0 2017-07-18
1
+ ## 4.0.0 2018-12-20
2
+
3
+ * #160 - Upgrade to countries 3.0 - @gssbzn
4
+ * https://github.com/hexorx/countries/blob/master/CHANGELOG.md#v220-yanked-and-re-released-as-300-20181217-1020-0000
5
+
6
+ ## 3.1.1 2017-09-20
2
7
 
3
8
  * #146 - Fix value call on Rails edge (5.2+) - @ybart
4
9
 
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -29,9 +29,8 @@ GEM
29
29
  builder (3.2.3)
30
30
  coderay (1.1.0)
31
31
  concurrent-ruby (1.0.5)
32
- countries (2.1.2)
32
+ countries (3.0.0)
33
33
  i18n_data (~> 0.8.0)
34
- money (~> 6.9)
35
34
  sixarm_ruby_unaccent (~> 1.1)
36
35
  unicode_utils (~> 1.4)
37
36
  diff-lcs (1.2.5)
@@ -44,8 +43,6 @@ GEM
44
43
  method_source (0.8.2)
45
44
  mini_portile2 (2.3.0)
46
45
  minitest (5.10.3)
47
- money (6.9.0)
48
- i18n (>= 0.6.4, < 0.9)
49
46
  nokogiri (1.8.1)
50
47
  mini_portile2 (~> 2.3.0)
51
48
  pry (0.10.1)
@@ -300,4 +297,4 @@ DEPENDENCIES
300
297
  wwtd
301
298
 
302
299
  BUNDLED WITH
303
- 1.15.4
300
+ 1.17.1
data/README.md CHANGED
@@ -26,7 +26,7 @@ gem install country_select
26
26
  Or put the following in your Gemfile
27
27
 
28
28
  ```ruby
29
- gem 'country_select'
29
+ gem 'country_select', '~> 4.0'
30
30
  ```
31
31
 
32
32
  If you don't want to require `sort_alphabetical` (it depends on `unicode_utils` which is known to use lots of memory) you can opt out of using it as follows:
@@ -98,13 +98,28 @@ You can define a custom formatter which will receive an
98
98
  [`ISO3166::Country`](https://github.com/hexorx/countries/blob/master/lib/countries/country.rb)
99
99
  ```ruby
100
100
  # config/initializers/country_select.rb
101
+
102
+ # Return a string to customize the text in the <option> tag, `value` attribute will remain unchanged
101
103
  CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
102
104
  "#{country.name} (#{country.alpha2})"
103
105
  end
106
+
107
+ # Return an array to customize <option> text, `value` and other HTML attributes
108
+ CountrySelect::FORMATS[:with_data_attrs] = lambda do |country|
109
+ [
110
+ country.name,
111
+ country.alpha2,
112
+ {
113
+ 'data-country-code' => country.country_code,
114
+ 'data-alpha3' => country.alpha3
115
+ }
116
+ ]
117
+ end
104
118
  ```
105
119
 
106
120
  ```ruby
107
121
  country_select("user", "country", format: :with_alpha2)
122
+ country_select("user", "country", format: :with_data_attrs)
108
123
  ```
109
124
 
110
125
  ### ISO 3166-1 alpha-2 codes
@@ -27,6 +27,6 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency 'rspec', '~> 3'
28
28
  s.add_development_dependency 'wwtd'
29
29
 
30
- s.add_dependency 'countries', '~> 2.0'
30
+ s.add_dependency 'countries', '~> 3.0'
31
31
  s.add_dependency 'sort_alphabetical', '~> 1.0'
32
32
  end
@@ -24,8 +24,8 @@ GIT
24
24
  PATH
25
25
  remote: ..
26
26
  specs:
27
- country_select (3.1.1)
28
- countries (~> 2.0)
27
+ country_select (4.0.0)
28
+ countries (~> 3.0)
29
29
  sort_alphabetical (~> 1.0)
30
30
 
31
31
  GEM
@@ -34,9 +34,8 @@ GEM
34
34
  builder (3.2.3)
35
35
  coderay (1.1.2)
36
36
  concurrent-ruby (1.0.5)
37
- countries (2.1.2)
37
+ countries (3.0.0)
38
38
  i18n_data (~> 0.8.0)
39
- money (~> 6.9)
40
39
  sixarm_ruby_unaccent (~> 1.1)
41
40
  unicode_utils (~> 1.4)
42
41
  diff-lcs (1.3)
@@ -49,8 +48,6 @@ GEM
49
48
  method_source (0.8.2)
50
49
  mini_portile2 (2.3.0)
51
50
  minitest (5.10.3)
52
- money (6.9.0)
53
- i18n (>= 0.6.4, < 0.9)
54
51
  nokogiri (1.8.1)
55
52
  mini_portile2 (~> 2.3.0)
56
53
  pry (0.10.4)
@@ -310,4 +307,4 @@ DEPENDENCIES
310
307
  wwtd
311
308
 
312
309
  BUNDLED WITH
313
- 1.15.4
310
+ 1.17.1
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -26,9 +26,8 @@ GEM
26
26
  multi_json (~> 1.0)
27
27
  builder (3.0.4)
28
28
  coderay (1.1.1)
29
- countries (2.1.2)
29
+ countries (3.0.0)
30
30
  i18n_data (~> 0.8.0)
31
- money (~> 6.9)
32
31
  sixarm_ruby_unaccent (~> 1.1)
33
32
  unicode_utils (~> 1.4)
34
33
  diff-lcs (1.3)
@@ -39,8 +38,6 @@ GEM
39
38
  i18n_data (0.8.0)
40
39
  journey (1.0.4)
41
40
  method_source (0.8.2)
42
- money (6.9.0)
43
- i18n (>= 0.6.4, < 0.9)
44
41
  multi_json (1.12.1)
45
42
  pry (0.10.4)
46
43
  coderay (~> 1.1.0)
@@ -297,4 +294,4 @@ DEPENDENCIES
297
294
  wwtd
298
295
 
299
296
  BUNDLED WITH
300
- 1.15.4
297
+ 1.17.1
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -22,9 +22,8 @@ GEM
22
22
  tzinfo (~> 0.3.37)
23
23
  builder (3.1.4)
24
24
  coderay (1.1.1)
25
- countries (2.1.2)
25
+ countries (3.0.0)
26
26
  i18n_data (~> 0.8.0)
27
- money (~> 6.9)
28
27
  sixarm_ruby_unaccent (~> 1.1)
29
28
  unicode_utils (~> 1.4)
30
29
  diff-lcs (1.3)
@@ -34,8 +33,6 @@ GEM
34
33
  i18n_data (0.8.0)
35
34
  method_source (0.8.2)
36
35
  minitest (4.7.5)
37
- money (6.9.0)
38
- i18n (>= 0.6.4, < 0.9)
39
36
  multi_json (1.12.1)
40
37
  pry (0.10.4)
41
38
  coderay (~> 1.1.0)
@@ -286,4 +283,4 @@ DEPENDENCIES
286
283
  wwtd
287
284
 
288
285
  BUNDLED WITH
289
- 1.15.4
286
+ 1.17.1
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -25,9 +25,8 @@ GEM
25
25
  tzinfo (~> 1.1)
26
26
  builder (3.2.3)
27
27
  coderay (1.1.1)
28
- countries (2.1.2)
28
+ countries (3.0.0)
29
29
  i18n_data (~> 0.8.0)
30
- money (~> 6.9)
31
30
  sixarm_ruby_unaccent (~> 1.1)
32
31
  unicode_utils (~> 1.4)
33
32
  diff-lcs (1.3)
@@ -38,8 +37,6 @@ GEM
38
37
  json (1.8.6)
39
38
  method_source (0.8.2)
40
39
  minitest (5.10.2)
41
- money (6.9.0)
42
- i18n (>= 0.6.4, < 0.9)
43
40
  pry (0.10.4)
44
41
  coderay (~> 1.1.0)
45
42
  method_source (~> 0.8.1)
@@ -290,4 +287,4 @@ DEPENDENCIES
290
287
  wwtd
291
288
 
292
289
  BUNDLED WITH
293
- 1.15.4
290
+ 1.17.1
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -28,9 +28,8 @@ GEM
28
28
  tzinfo (~> 1.1)
29
29
  builder (3.2.3)
30
30
  coderay (1.1.1)
31
- countries (2.1.2)
31
+ countries (3.0.0)
32
32
  i18n_data (~> 0.8.0)
33
- money (~> 6.9)
34
33
  sixarm_ruby_unaccent (~> 1.1)
35
34
  unicode_utils (~> 1.4)
36
35
  diff-lcs (1.3)
@@ -43,8 +42,6 @@ GEM
43
42
  method_source (0.8.2)
44
43
  mini_portile2 (2.1.0)
45
44
  minitest (5.10.2)
46
- money (6.9.0)
47
- i18n (>= 0.6.4, < 0.9)
48
45
  nokogiri (1.6.8.1)
49
46
  mini_portile2 (~> 2.1.0)
50
47
  pry (0.10.4)
@@ -258,7 +255,7 @@ GEM
258
255
  rubysl-singleton (2.0.0)
259
256
  rubysl-socket (2.2.1)
260
257
  rubysl-fcntl (~> 2.0)
261
- rubysl-stringio (2.1.0)
258
+ rubysl-stringio (2.1)
262
259
  rubysl-strscan (2.0.0)
263
260
  rubysl-sync (2.0.0)
264
261
  rubysl-syslog (2.1.0)
@@ -306,4 +303,4 @@ DEPENDENCIES
306
303
  wwtd
307
304
 
308
305
  BUNDLED WITH
309
- 1.15.4
306
+ 1.17.1
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -29,9 +29,8 @@ GEM
29
29
  builder (3.2.3)
30
30
  coderay (1.1.1)
31
31
  concurrent-ruby (1.0.5)
32
- countries (2.1.2)
32
+ countries (3.0.0)
33
33
  i18n_data (~> 0.8.0)
34
- money (~> 6.9)
35
34
  sixarm_ruby_unaccent (~> 1.1)
36
35
  unicode_utils (~> 1.4)
37
36
  diff-lcs (1.3)
@@ -44,8 +43,6 @@ GEM
44
43
  method_source (0.8.2)
45
44
  mini_portile2 (2.2.0)
46
45
  minitest (5.10.2)
47
- money (6.9.0)
48
- i18n (>= 0.6.4, < 0.9)
49
46
  nokogiri (1.8.0)
50
47
  mini_portile2 (~> 2.2.0)
51
48
  pry (0.10.4)
@@ -311,4 +308,4 @@ DEPENDENCIES
311
308
  wwtd
312
309
 
313
310
  BUNDLED WITH
314
- 1.15.4
311
+ 1.17.1
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (3.1.1)
5
- countries (~> 2.0)
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -29,9 +29,8 @@ GEM
29
29
  builder (3.2.3)
30
30
  coderay (1.1.1)
31
31
  concurrent-ruby (1.0.5)
32
- countries (2.1.2)
32
+ countries (3.0.0)
33
33
  i18n_data (~> 0.8.0)
34
- money (~> 6.9)
35
34
  sixarm_ruby_unaccent (~> 1.1)
36
35
  unicode_utils (~> 1.4)
37
36
  diff-lcs (1.3)
@@ -44,8 +43,6 @@ GEM
44
43
  method_source (0.8.2)
45
44
  mini_portile2 (2.2.0)
46
45
  minitest (5.10.2)
47
- money (6.9.0)
48
- i18n (>= 0.6.4, < 0.9)
49
46
  nokogiri (1.8.0)
50
47
  mini_portile2 (~> 2.2.0)
51
48
  pry (0.10.4)
@@ -262,7 +259,7 @@ GEM
262
259
  rubysl-singleton (2.0.0)
263
260
  rubysl-socket (2.2.1)
264
261
  rubysl-fcntl (~> 2.0)
265
- rubysl-stringio (2.1.0)
262
+ rubysl-stringio (2.1)
266
263
  rubysl-strscan (2.0.0)
267
264
  rubysl-sync (2.0.0)
268
265
  rubysl-syslog (2.1.0)
@@ -311,4 +308,4 @@ DEPENDENCIES
311
308
  wwtd
312
309
 
313
310
  BUNDLED WITH
314
- 1.15.4
311
+ 1.17.1
@@ -0,0 +1,12 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => "../"
4
+
5
+ gem "railties", "~> 5.2.0"
6
+ gem "actionpack", "~> 5.2.0"
7
+
8
+ platforms :rbx do
9
+ gem "racc"
10
+ gem "rubysl", "~> 2.0"
11
+ gem "psych"
12
+ end
@@ -0,0 +1,312 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ country_select (4.0.0)
5
+ countries (~> 3.0)
6
+ sort_alphabetical (~> 1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (5.2.0)
12
+ actionview (= 5.2.0)
13
+ activesupport (= 5.2.0)
14
+ rack (~> 2.0)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (5.2.0)
19
+ activesupport (= 5.2.0)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activesupport (5.2.0)
25
+ concurrent-ruby (~> 1.0, >= 1.0.2)
26
+ i18n (>= 0.7, < 2)
27
+ minitest (~> 5.1)
28
+ tzinfo (~> 1.1)
29
+ builder (3.2.3)
30
+ coderay (1.1.2)
31
+ concurrent-ruby (1.0.5)
32
+ countries (3.0.0)
33
+ i18n_data (~> 0.8.0)
34
+ sixarm_ruby_unaccent (~> 1.1)
35
+ unicode_utils (~> 1.4)
36
+ crass (1.0.4)
37
+ diff-lcs (1.3)
38
+ erubi (1.7.1)
39
+ ffi2-generators (0.1.1)
40
+ i18n (1.0.1)
41
+ concurrent-ruby (~> 1.0)
42
+ i18n_data (0.8.0)
43
+ loofah (2.2.2)
44
+ crass (~> 1.0.2)
45
+ nokogiri (>= 1.5.9)
46
+ method_source (0.9.0)
47
+ mini_portile2 (2.3.0)
48
+ minitest (5.11.3)
49
+ nokogiri (1.8.3)
50
+ mini_portile2 (~> 2.3.0)
51
+ pry (0.11.3)
52
+ coderay (~> 1.1.0)
53
+ method_source (~> 0.9.0)
54
+ psych (3.0.2)
55
+ racc (1.4.14)
56
+ rack (2.0.5)
57
+ rack-test (1.0.0)
58
+ rack (>= 1.0, < 3)
59
+ rails-dom-testing (2.0.3)
60
+ activesupport (>= 4.2.0)
61
+ nokogiri (>= 1.6)
62
+ rails-html-sanitizer (1.0.4)
63
+ loofah (~> 2.2, >= 2.2.2)
64
+ railties (5.2.0)
65
+ actionpack (= 5.2.0)
66
+ activesupport (= 5.2.0)
67
+ method_source
68
+ rake (>= 0.8.7)
69
+ thor (>= 0.18.1, < 2.0)
70
+ rake (12.3.1)
71
+ rspec (3.7.0)
72
+ rspec-core (~> 3.7.0)
73
+ rspec-expectations (~> 3.7.0)
74
+ rspec-mocks (~> 3.7.0)
75
+ rspec-core (3.7.1)
76
+ rspec-support (~> 3.7.0)
77
+ rspec-expectations (3.7.0)
78
+ diff-lcs (>= 1.2.0, < 2.0)
79
+ rspec-support (~> 3.7.0)
80
+ rspec-mocks (3.7.0)
81
+ diff-lcs (>= 1.2.0, < 2.0)
82
+ rspec-support (~> 3.7.0)
83
+ rspec-support (3.7.1)
84
+ rubysl (2.2.0)
85
+ rubysl-abbrev (~> 2.0)
86
+ rubysl-base64 (~> 2.0)
87
+ rubysl-benchmark (~> 2.0)
88
+ rubysl-bigdecimal (~> 2.0)
89
+ rubysl-cgi (~> 2.0)
90
+ rubysl-cgi-session (~> 2.0)
91
+ rubysl-cmath (~> 2.0)
92
+ rubysl-complex (~> 2.0)
93
+ rubysl-continuation (~> 2.0)
94
+ rubysl-coverage (~> 2.0)
95
+ rubysl-csv (~> 2.0)
96
+ rubysl-curses (~> 2.0)
97
+ rubysl-date (~> 2.0)
98
+ rubysl-delegate (~> 2.0)
99
+ rubysl-digest (~> 2.0)
100
+ rubysl-drb (~> 2.0)
101
+ rubysl-e2mmap (~> 2.0)
102
+ rubysl-english (~> 2.0)
103
+ rubysl-enumerator (~> 2.0)
104
+ rubysl-erb (~> 2.0)
105
+ rubysl-etc (~> 2.0)
106
+ rubysl-expect (~> 2.0)
107
+ rubysl-fcntl (~> 2.0)
108
+ rubysl-fiber (~> 2.0)
109
+ rubysl-fileutils (~> 2.0)
110
+ rubysl-find (~> 2.0)
111
+ rubysl-forwardable (~> 2.0)
112
+ rubysl-getoptlong (~> 2.0)
113
+ rubysl-gserver (~> 2.0)
114
+ rubysl-io-console (~> 2.0)
115
+ rubysl-io-nonblock (~> 2.0)
116
+ rubysl-io-wait (~> 2.0)
117
+ rubysl-ipaddr (~> 2.0)
118
+ rubysl-irb (~> 2.1)
119
+ rubysl-logger (~> 2.0)
120
+ rubysl-mathn (~> 2.0)
121
+ rubysl-matrix (~> 2.0)
122
+ rubysl-mkmf (~> 2.0)
123
+ rubysl-monitor (~> 2.0)
124
+ rubysl-mutex_m (~> 2.0)
125
+ rubysl-net-ftp (~> 2.0)
126
+ rubysl-net-http (~> 2.0)
127
+ rubysl-net-imap (~> 2.0)
128
+ rubysl-net-pop (~> 2.0)
129
+ rubysl-net-protocol (~> 2.0)
130
+ rubysl-net-smtp (~> 2.0)
131
+ rubysl-net-telnet (~> 2.0)
132
+ rubysl-nkf (~> 2.0)
133
+ rubysl-observer (~> 2.0)
134
+ rubysl-open-uri (~> 2.0)
135
+ rubysl-open3 (~> 2.0)
136
+ rubysl-openssl (~> 2.0)
137
+ rubysl-optparse (~> 2.0)
138
+ rubysl-ostruct (~> 2.0)
139
+ rubysl-pathname (~> 2.0)
140
+ rubysl-prettyprint (~> 2.0)
141
+ rubysl-prime (~> 2.0)
142
+ rubysl-profile (~> 2.0)
143
+ rubysl-profiler (~> 2.0)
144
+ rubysl-pstore (~> 2.0)
145
+ rubysl-pty (~> 2.0)
146
+ rubysl-rational (~> 2.0)
147
+ rubysl-resolv (~> 2.0)
148
+ rubysl-rexml (~> 2.0)
149
+ rubysl-rinda (~> 2.0)
150
+ rubysl-rss (~> 2.0)
151
+ rubysl-scanf (~> 2.0)
152
+ rubysl-securerandom (~> 2.0)
153
+ rubysl-set (~> 2.0)
154
+ rubysl-shellwords (~> 2.0)
155
+ rubysl-singleton (~> 2.0)
156
+ rubysl-socket (~> 2.0)
157
+ rubysl-stringio (~> 2.0)
158
+ rubysl-strscan (~> 2.0)
159
+ rubysl-sync (~> 2.0)
160
+ rubysl-syslog (~> 2.0)
161
+ rubysl-tempfile (~> 2.0)
162
+ rubysl-thread (~> 2.0)
163
+ rubysl-thwait (~> 2.0)
164
+ rubysl-time (~> 2.0)
165
+ rubysl-timeout (~> 2.0)
166
+ rubysl-tmpdir (~> 2.0)
167
+ rubysl-tsort (~> 2.0)
168
+ rubysl-un (~> 2.0)
169
+ rubysl-unicode_normalize (~> 2.0)
170
+ rubysl-uri (~> 2.0)
171
+ rubysl-weakref (~> 2.0)
172
+ rubysl-webrick (~> 2.0)
173
+ rubysl-xmlrpc (~> 2.0)
174
+ rubysl-yaml (~> 2.0)
175
+ rubysl-zlib (~> 2.0)
176
+ rubysl-abbrev (2.0.4)
177
+ rubysl-base64 (2.0.0)
178
+ rubysl-benchmark (2.0.1)
179
+ rubysl-bigdecimal (2.0.2)
180
+ rubysl-cgi (2.0.1)
181
+ rubysl-cgi-session (2.1.0)
182
+ rubysl-cmath (2.0.0)
183
+ rubysl-complex (2.0.0)
184
+ rubysl-continuation (2.0.0)
185
+ rubysl-coverage (2.1)
186
+ rubysl-csv (2.0.2)
187
+ rubysl-english (~> 2.0)
188
+ rubysl-curses (2.0.1)
189
+ rubysl-date (2.0.9)
190
+ rubysl-delegate (2.0.1)
191
+ rubysl-digest (2.0.8)
192
+ rubysl-drb (2.0.1)
193
+ rubysl-e2mmap (2.0.0)
194
+ rubysl-english (2.0.0)
195
+ rubysl-enumerator (2.0.0)
196
+ rubysl-erb (2.0.2)
197
+ rubysl-etc (2.0.3)
198
+ ffi2-generators (~> 0.1)
199
+ rubysl-expect (2.0.0)
200
+ rubysl-fcntl (2.0.4)
201
+ ffi2-generators (~> 0.1)
202
+ rubysl-fiber (2.0.0)
203
+ rubysl-fileutils (2.0.3)
204
+ rubysl-find (2.0.1)
205
+ rubysl-forwardable (2.0.1)
206
+ rubysl-getoptlong (2.0.0)
207
+ rubysl-gserver (2.0.0)
208
+ rubysl-socket (~> 2.0)
209
+ rubysl-thread (~> 2.0)
210
+ rubysl-io-console (2.0.0)
211
+ rubysl-io-nonblock (2.0.0)
212
+ rubysl-io-wait (2.0.0)
213
+ rubysl-ipaddr (2.0.0)
214
+ rubysl-irb (2.1.1)
215
+ rubysl-e2mmap (~> 2.0)
216
+ rubysl-mathn (~> 2.0)
217
+ rubysl-thread (~> 2.0)
218
+ rubysl-logger (2.1.0)
219
+ rubysl-mathn (2.0.0)
220
+ rubysl-matrix (2.1.0)
221
+ rubysl-e2mmap (~> 2.0)
222
+ rubysl-mkmf (2.1)
223
+ rubysl-fileutils (~> 2.0)
224
+ rubysl-shellwords (~> 2.0)
225
+ rubysl-monitor (2.1)
226
+ rubysl-mutex_m (2.0.0)
227
+ rubysl-net-ftp (2.0.1)
228
+ rubysl-net-http (2.0.4)
229
+ rubysl-cgi (~> 2.0)
230
+ rubysl-erb (~> 2.0)
231
+ rubysl-singleton (~> 2.0)
232
+ rubysl-net-imap (2.0.1)
233
+ rubysl-net-pop (2.0.1)
234
+ rubysl-net-protocol (2.0.1)
235
+ rubysl-net-smtp (2.0.1)
236
+ rubysl-net-telnet (2.0.0)
237
+ rubysl-nkf (2.0.1)
238
+ rubysl-observer (2.0.0)
239
+ rubysl-open-uri (2.0.0)
240
+ rubysl-open3 (2.0.0)
241
+ rubysl-openssl (2.10)
242
+ rubysl-optparse (2.0.1)
243
+ rubysl-shellwords (~> 2.0)
244
+ rubysl-ostruct (2.1.0)
245
+ rubysl-pathname (2.3)
246
+ rubysl-prettyprint (2.0.3)
247
+ rubysl-prime (2.0.1)
248
+ rubysl-profile (2.0.0)
249
+ rubysl-profiler (2.1)
250
+ rubysl-pstore (2.0.0)
251
+ rubysl-pty (2.0.3)
252
+ rubysl-rational (2.0.1)
253
+ rubysl-resolv (2.1.2)
254
+ rubysl-rexml (2.0.4)
255
+ rubysl-rinda (2.0.1)
256
+ rubysl-rss (2.0.0)
257
+ rubysl-scanf (2.0.0)
258
+ rubysl-securerandom (2.0.0)
259
+ rubysl-set (2.0.1)
260
+ rubysl-shellwords (2.0.0)
261
+ rubysl-singleton (2.0.0)
262
+ rubysl-socket (2.2.1)
263
+ rubysl-fcntl (~> 2.0)
264
+ rubysl-stringio (2.3)
265
+ rubysl-strscan (2.0.0)
266
+ rubysl-sync (2.0.0)
267
+ rubysl-syslog (2.1.0)
268
+ ffi2-generators (~> 0.1)
269
+ rubysl-tempfile (2.0.1)
270
+ rubysl-thread (2.1)
271
+ rubysl-thwait (2.0.0)
272
+ rubysl-time (2.0.3)
273
+ rubysl-timeout (2.0.0)
274
+ rubysl-tmpdir (2.0.1)
275
+ rubysl-tsort (2.0.1)
276
+ rubysl-un (2.0.0)
277
+ rubysl-fileutils (~> 2.0)
278
+ rubysl-optparse (~> 2.0)
279
+ rubysl-unicode_normalize (2.0)
280
+ rubysl-uri (2.0.0)
281
+ rubysl-weakref (2.0.0)
282
+ rubysl-webrick (2.0.0)
283
+ rubysl-xmlrpc (2.0.0)
284
+ rubysl-yaml (2.1.0)
285
+ rubysl-zlib (2.0.1)
286
+ sixarm_ruby_unaccent (1.2.0)
287
+ sort_alphabetical (1.1.0)
288
+ unicode_utils (>= 1.2.2)
289
+ thor (0.20.0)
290
+ thread_safe (0.3.6)
291
+ tzinfo (1.2.5)
292
+ thread_safe (~> 0.1)
293
+ unicode_utils (1.4.0)
294
+ wwtd (1.3.0)
295
+
296
+ PLATFORMS
297
+ ruby
298
+
299
+ DEPENDENCIES
300
+ actionpack (~> 5.2.0)
301
+ country_select!
302
+ pry (~> 0)
303
+ psych
304
+ racc
305
+ railties (~> 5.2.0)
306
+ rake
307
+ rspec (~> 3)
308
+ rubysl (~> 2.0)
309
+ wwtd
310
+
311
+ BUNDLED WITH
312
+ 1.17.1
@@ -1,3 +1,3 @@
1
1
  module CountrySelect
2
- VERSION = "3.1.1"
2
+ VERSION = '4.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: country_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Penner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-20 00:00:00.000000000 Z
11
+ date: 2018-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.0'
89
+ version: '3.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.0'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sort_alphabetical
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -142,6 +142,8 @@ files:
142
142
  - gemfiles/actionpack5.0.gemfile.lock
143
143
  - gemfiles/actionpack5.1.gemfile
144
144
  - gemfiles/actionpack5.1.gemfile.lock
145
+ - gemfiles/actionpack5.2.gemfile
146
+ - gemfiles/actionpack5.2.gemfile.lock
145
147
  - lib/country_select.rb
146
148
  - lib/country_select/country_select_helper.rb
147
149
  - lib/country_select/formats.rb
@@ -171,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
173
  version: '0'
172
174
  requirements: []
173
175
  rubyforge_project: country_select
174
- rubygems_version: 2.6.13
176
+ rubygems_version: 2.7.6
175
177
  signing_key:
176
178
  specification_version: 4
177
179
  summary: Country Select Plugin