country_select 4.0.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +13 -31
  3. data/CHANGELOG.md +21 -0
  4. data/Gemfile +0 -6
  5. data/Gemfile.lock +63 -265
  6. data/README.md +15 -2
  7. data/Rakefile +3 -1
  8. data/country_select.gemspec +7 -9
  9. data/gemfiles/actionpack.edge.gemfile +0 -6
  10. data/gemfiles/actionpack.edge.gemfile.lock +63 -268
  11. data/gemfiles/actionpack5.2.gemfile +2 -8
  12. data/gemfiles/actionpack5.2.gemfile.lock +59 -266
  13. data/gemfiles/actionpack6.0.gemfile +6 -0
  14. data/gemfiles/actionpack6.0.gemfile.lock +107 -0
  15. data/gemfiles/actionpack6.1.gemfile +6 -0
  16. data/gemfiles/actionpack6.1.gemfile.lock +106 -0
  17. data/lib/country_select.rb +2 -6
  18. data/lib/country_select/defaults.rb +10 -0
  19. data/lib/country_select/formats.rb +3 -1
  20. data/lib/country_select/tag_helper.rb +7 -7
  21. data/lib/country_select/version.rb +1 -1
  22. data/lib/country_select_without_sort_alphabetical.rb +2 -6
  23. data/spec/country_select_spec.rb +43 -3
  24. metadata +25 -34
  25. data/gemfiles/actionpack3.2.gemfile +0 -11
  26. data/gemfiles/actionpack3.2.gemfile.lock +0 -297
  27. data/gemfiles/actionpack4.0.gemfile +0 -11
  28. data/gemfiles/actionpack4.0.gemfile.lock +0 -286
  29. data/gemfiles/actionpack4.1.gemfile +0 -11
  30. data/gemfiles/actionpack4.1.gemfile.lock +0 -290
  31. data/gemfiles/actionpack4.2.gemfile +0 -14
  32. data/gemfiles/actionpack4.2.gemfile.lock +0 -306
  33. data/gemfiles/actionpack5.0.gemfile +0 -12
  34. data/gemfiles/actionpack5.0.gemfile.lock +0 -311
  35. data/gemfiles/actionpack5.1.gemfile +0 -12
  36. data/gemfiles/actionpack5.1.gemfile.lock +0 -311
  37. data/lib/country_select/rails3/country_select_helper.rb +0 -39
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e90ff1708be525b5240f5c5925e8fa20d6e9cf059754bc771318d744367f032
4
- data.tar.gz: 40177946a4f9d3a7996e24509d83d2b0b552b946e684344c62f3d0d0e1d6c178
3
+ metadata.gz: b8b7782f33173fbacc77ed71df46cbde8cd8ed125d46968c774f97c5d5bc768a
4
+ data.tar.gz: b5ed241b2e15dfc0c7f03126badcec1dacbb6047da45afcbef739e8194a3039b
5
5
  SHA512:
6
- metadata.gz: '0919c2bbb415b69e38e4f5b24f3a80d630591b98bf51b76ab9002147a6cfa263ed7e22b44ea98a034ae2e3c2e7fc4ce78ea2b050c3ae61e5b0d6a23824180a8f'
7
- data.tar.gz: 2a779b0d4177bd82c45b523bdfc60d9ce949dafc85c3334b57a5a31d6c15e25f35bdc48fd8e7f99fb49bee6979cb23fb3ff9eb87c4f503aa5d53e4692c967bc1
6
+ metadata.gz: f03c36d32ce213c33b3608dc047ee83d5ec86cc4fee676b11c97f3248ab1c27add514c802e1a241141b7d92e7a88463bf4ac8c3bacb37064508be30084ccff39
7
+ data.tar.gz: ae90ced4ce2a6d0a973f27da2053695f5f804cd2472d1ab31dc4cbb2fbef1813c677c594e253b694311f5692a30252ec91ce190b6f13d5dcd1656cac58ecab20
data/.travis.yml CHANGED
@@ -1,41 +1,23 @@
1
- sudo: false
1
+ os: linux
2
2
  cache: bundler
3
3
  language: ruby
4
- script: "bundle exec rspec"
4
+ bundler_args: ""
5
5
  rvm:
6
- - 2.0
7
- - 2.1
8
- - 2.2
9
- - 2.3
10
- - 2.4
11
- - 2.5
6
+ - "2.5"
7
+ - "2.6"
8
+ - "2.7"
9
+ - "3.0"
12
10
  - ruby-head
13
11
  gemfile:
14
- - gemfiles/actionpack3.2.gemfile
15
- - gemfiles/actionpack4.0.gemfile
16
- - gemfiles/actionpack4.1.gemfile
17
- - gemfiles/actionpack4.2.gemfile
18
- - gemfiles/actionpack5.0.gemfile
19
- - gemfiles/actionpack5.1.gemfile
20
12
  - gemfiles/actionpack5.2.gemfile
13
+ - gemfiles/actionpack6.0.gemfile
14
+ - gemfiles/actionpack6.1.gemfile
21
15
  - gemfiles/actionpack.edge.gemfile
22
- matrix:
23
- allow_failures:
24
- - rvm: ruby-head
16
+ jobs:
25
17
  exclude:
26
- - rvm: 2.0
18
+ - rvm: "2.5"
27
19
  gemfile: gemfiles/actionpack.edge.gemfile
28
- - rvm: 2.0
29
- gemfile: gemfiles/actionpack5.0.gemfile
30
- - rvm: 2.0
31
- gemfile: gemfiles/actionpack5.1.gemfile
32
- - rvm: 2.0
33
- gemfile: gemfiles/actionpack5.2.gemfile
34
- - rvm: 2.1
20
+ - rvm: "2.6"
35
21
  gemfile: gemfiles/actionpack.edge.gemfile
36
- - rvm: 2.1
37
- gemfile: gemfiles/actionpack5.0.gemfile
38
- - rvm: 2.1
39
- gemfile: gemfiles/actionpack5.1.gemfile
40
- - rvm: 2.1
41
- gemfile: gemfiles/actionpack5.2.gemfile
22
+ allow_failures:
23
+ - rvm: ruby-head
data/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## 6.0.0 2021-06-28
2
+
3
+ * #186 - Upgrade to countries 4.0.0 (@pmor)
4
+
5
+ ## 5.1.0 2021-05-18
6
+
7
+ * #184 - Add ability to configure defaults (@p-wall)
8
+ * Upgrade to countries 3.1.0
9
+
10
+ ## 5.0.1 2021-03-08
11
+
12
+ * #181 - Fix i18n fallback in country translations (@lavaturtle)
13
+
14
+ ## 5.0.0 2021-03-04
15
+
16
+ * #164,#172 - Remove support for EOL versions of Ruby and Ruby on Rails
17
+ * Ruby >= 2.5, Rails >= 5.2
18
+ * #175 - Add Rails 6.1 Support *(@andrehjr)
19
+ * #173 - Fallback even if translations cannot be loaded (@mikepluquin)
20
+ * #164 - Fixup travis build matrix (@olleolleolle)
21
+
1
22
  ## 4.0.0 2018-12-20
2
23
 
3
24
  * #160 - Upgrade to countries 3.0 - @gssbzn
data/Gemfile CHANGED
@@ -1,9 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- platforms :rbx do
6
- gem 'racc'
7
- gem 'rubysl', '~> 2.0'
8
- gem 'psych'
9
- end
data/Gemfile.lock CHANGED
@@ -1,300 +1,98 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (4.0.0)
5
- countries (~> 3.0)
6
- sort_alphabetical (~> 1.0)
4
+ country_select (6.0.0)
5
+ countries (~> 4.0)
6
+ sort_alphabetical (~> 1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (5.1.4)
12
- actionview (= 5.1.4)
13
- activesupport (= 5.1.4)
14
- rack (~> 2.0)
11
+ actionpack (6.1.3)
12
+ actionview (= 6.1.3)
13
+ activesupport (= 6.1.3)
14
+ rack (~> 2.0, >= 2.0.9)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
- actionview (5.1.4)
19
- activesupport (= 5.1.4)
17
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
+ actionview (6.1.3)
19
+ activesupport (= 6.1.3)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
- activesupport (5.1.4)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
+ activesupport (6.1.3)
25
25
  concurrent-ruby (~> 1.0, >= 1.0.2)
26
- i18n (~> 0.7)
27
- minitest (~> 5.1)
28
- tzinfo (~> 1.1)
29
- builder (3.2.3)
30
- coderay (1.1.0)
31
- concurrent-ruby (1.0.5)
32
- countries (3.0.0)
33
- i18n_data (~> 0.8.0)
26
+ i18n (>= 1.6, < 2)
27
+ minitest (>= 5.1)
28
+ tzinfo (~> 2.0)
29
+ zeitwerk (~> 2.3)
30
+ builder (3.2.4)
31
+ coderay (1.1.3)
32
+ concurrent-ruby (1.1.8)
33
+ countries (4.0.0)
34
+ i18n_data (~> 0.13.0)
34
35
  sixarm_ruby_unaccent (~> 1.1)
35
- unicode_utils (~> 1.4)
36
- diff-lcs (1.2.5)
37
- erubi (1.6.1)
38
- ffi2-generators (0.1.1)
39
- i18n (0.8.6)
40
- i18n_data (0.8.0)
41
- loofah (2.0.3)
36
+ crass (1.0.6)
37
+ diff-lcs (1.4.4)
38
+ erubi (1.10.0)
39
+ i18n (1.8.9)
40
+ concurrent-ruby (~> 1.0)
41
+ i18n_data (0.13.0)
42
+ loofah (2.9.0)
43
+ crass (~> 1.0.2)
42
44
  nokogiri (>= 1.5.9)
43
- method_source (0.8.2)
44
- mini_portile2 (2.3.0)
45
- minitest (5.10.3)
46
- nokogiri (1.8.1)
47
- mini_portile2 (~> 2.3.0)
48
- pry (0.10.1)
49
- coderay (~> 1.1.0)
50
- method_source (~> 0.8.1)
51
- slop (~> 3.4)
52
- psych (2.0.15)
53
- racc (1.4.12)
54
- rack (2.0.3)
55
- rack-test (0.7.0)
45
+ method_source (1.0.0)
46
+ mini_portile2 (2.5.0)
47
+ minitest (5.14.4)
48
+ nokogiri (1.11.1)
49
+ mini_portile2 (~> 2.5.0)
50
+ racc (~> 1.4)
51
+ pry (0.14.0)
52
+ coderay (~> 1.1)
53
+ method_source (~> 1.0)
54
+ racc (1.5.2)
55
+ rack (2.2.3)
56
+ rack-test (1.1.0)
56
57
  rack (>= 1.0, < 3)
57
58
  rails-dom-testing (2.0.3)
58
59
  activesupport (>= 4.2.0)
59
60
  nokogiri (>= 1.6)
60
- rails-html-sanitizer (1.0.3)
61
- loofah (~> 2.0)
62
- rake (10.4.2)
63
- rspec (3.3.0)
64
- rspec-core (~> 3.3.0)
65
- rspec-expectations (~> 3.3.0)
66
- rspec-mocks (~> 3.3.0)
67
- rspec-core (3.3.2)
68
- rspec-support (~> 3.3.0)
69
- rspec-expectations (3.3.1)
61
+ rails-html-sanitizer (1.3.0)
62
+ loofah (~> 2.3)
63
+ rake (13.0.3)
64
+ rspec (3.10.0)
65
+ rspec-core (~> 3.10.0)
66
+ rspec-expectations (~> 3.10.0)
67
+ rspec-mocks (~> 3.10.0)
68
+ rspec-core (3.10.1)
69
+ rspec-support (~> 3.10.0)
70
+ rspec-expectations (3.10.1)
70
71
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.3.0)
72
- rspec-mocks (3.3.2)
72
+ rspec-support (~> 3.10.0)
73
+ rspec-mocks (3.10.2)
73
74
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.3.0)
75
- rspec-support (3.3.0)
76
- rubysl (2.1.0)
77
- rubysl-abbrev (~> 2.0)
78
- rubysl-base64 (~> 2.0)
79
- rubysl-benchmark (~> 2.0)
80
- rubysl-bigdecimal (~> 2.0)
81
- rubysl-cgi (~> 2.0)
82
- rubysl-cgi-session (~> 2.0)
83
- rubysl-cmath (~> 2.0)
84
- rubysl-complex (~> 2.0)
85
- rubysl-continuation (~> 2.0)
86
- rubysl-coverage (~> 2.0)
87
- rubysl-csv (~> 2.0)
88
- rubysl-curses (~> 2.0)
89
- rubysl-date (~> 2.0)
90
- rubysl-delegate (~> 2.0)
91
- rubysl-digest (~> 2.0)
92
- rubysl-drb (~> 2.0)
93
- rubysl-e2mmap (~> 2.0)
94
- rubysl-english (~> 2.0)
95
- rubysl-enumerator (~> 2.0)
96
- rubysl-erb (~> 2.0)
97
- rubysl-etc (~> 2.0)
98
- rubysl-expect (~> 2.0)
99
- rubysl-fcntl (~> 2.0)
100
- rubysl-fiber (~> 2.0)
101
- rubysl-fileutils (~> 2.0)
102
- rubysl-find (~> 2.0)
103
- rubysl-forwardable (~> 2.0)
104
- rubysl-getoptlong (~> 2.0)
105
- rubysl-gserver (~> 2.0)
106
- rubysl-io-console (~> 2.0)
107
- rubysl-io-nonblock (~> 2.0)
108
- rubysl-io-wait (~> 2.0)
109
- rubysl-ipaddr (~> 2.0)
110
- rubysl-irb (~> 2.1)
111
- rubysl-logger (~> 2.0)
112
- rubysl-mathn (~> 2.0)
113
- rubysl-matrix (~> 2.0)
114
- rubysl-mkmf (~> 2.0)
115
- rubysl-monitor (~> 2.0)
116
- rubysl-mutex_m (~> 2.0)
117
- rubysl-net-ftp (~> 2.0)
118
- rubysl-net-http (~> 2.0)
119
- rubysl-net-imap (~> 2.0)
120
- rubysl-net-pop (~> 2.0)
121
- rubysl-net-protocol (~> 2.0)
122
- rubysl-net-smtp (~> 2.0)
123
- rubysl-net-telnet (~> 2.0)
124
- rubysl-nkf (~> 2.0)
125
- rubysl-observer (~> 2.0)
126
- rubysl-open-uri (~> 2.0)
127
- rubysl-open3 (~> 2.0)
128
- rubysl-openssl (~> 2.0)
129
- rubysl-optparse (~> 2.0)
130
- rubysl-ostruct (~> 2.0)
131
- rubysl-pathname (~> 2.0)
132
- rubysl-prettyprint (~> 2.0)
133
- rubysl-prime (~> 2.0)
134
- rubysl-profile (~> 2.0)
135
- rubysl-profiler (~> 2.0)
136
- rubysl-pstore (~> 2.0)
137
- rubysl-pty (~> 2.0)
138
- rubysl-rational (~> 2.0)
139
- rubysl-resolv (~> 2.0)
140
- rubysl-rexml (~> 2.0)
141
- rubysl-rinda (~> 2.0)
142
- rubysl-rss (~> 2.0)
143
- rubysl-scanf (~> 2.0)
144
- rubysl-securerandom (~> 2.0)
145
- rubysl-set (~> 2.0)
146
- rubysl-shellwords (~> 2.0)
147
- rubysl-singleton (~> 2.0)
148
- rubysl-socket (~> 2.0)
149
- rubysl-stringio (~> 2.0)
150
- rubysl-strscan (~> 2.0)
151
- rubysl-sync (~> 2.0)
152
- rubysl-syslog (~> 2.0)
153
- rubysl-tempfile (~> 2.0)
154
- rubysl-thread (~> 2.0)
155
- rubysl-thwait (~> 2.0)
156
- rubysl-time (~> 2.0)
157
- rubysl-timeout (~> 2.0)
158
- rubysl-tmpdir (~> 2.0)
159
- rubysl-tsort (~> 2.0)
160
- rubysl-un (~> 2.0)
161
- rubysl-uri (~> 2.0)
162
- rubysl-weakref (~> 2.0)
163
- rubysl-webrick (~> 2.0)
164
- rubysl-xmlrpc (~> 2.0)
165
- rubysl-yaml (~> 2.0)
166
- rubysl-zlib (~> 2.0)
167
- rubysl-abbrev (2.0.4)
168
- rubysl-base64 (2.0.0)
169
- rubysl-benchmark (2.0.1)
170
- rubysl-bigdecimal (2.0.2)
171
- rubysl-cgi (2.0.1)
172
- rubysl-cgi-session (2.0.1)
173
- rubysl-cmath (2.0.0)
174
- rubysl-complex (2.0.0)
175
- rubysl-continuation (2.0.0)
176
- rubysl-coverage (2.0.3)
177
- rubysl-csv (2.0.2)
178
- rubysl-english (~> 2.0)
179
- rubysl-curses (2.0.1)
180
- rubysl-date (2.0.9)
181
- rubysl-delegate (2.0.1)
182
- rubysl-digest (2.0.8)
183
- rubysl-drb (2.0.1)
184
- rubysl-e2mmap (2.0.0)
185
- rubysl-english (2.0.0)
186
- rubysl-enumerator (2.0.0)
187
- rubysl-erb (2.0.2)
188
- rubysl-etc (2.0.3)
189
- ffi2-generators (~> 0.1)
190
- rubysl-expect (2.0.0)
191
- rubysl-fcntl (2.0.4)
192
- ffi2-generators (~> 0.1)
193
- rubysl-fiber (2.0.0)
194
- rubysl-fileutils (2.0.3)
195
- rubysl-find (2.0.1)
196
- rubysl-forwardable (2.0.1)
197
- rubysl-getoptlong (2.0.0)
198
- rubysl-gserver (2.0.0)
199
- rubysl-socket (~> 2.0)
200
- rubysl-thread (~> 2.0)
201
- rubysl-io-console (2.0.0)
202
- rubysl-io-nonblock (2.0.0)
203
- rubysl-io-wait (2.0.0)
204
- rubysl-ipaddr (2.0.0)
205
- rubysl-irb (2.1.1)
206
- rubysl-e2mmap (~> 2.0)
207
- rubysl-mathn (~> 2.0)
208
- rubysl-thread (~> 2.0)
209
- rubysl-logger (2.1.0)
210
- rubysl-mathn (2.0.0)
211
- rubysl-matrix (2.1.0)
212
- rubysl-e2mmap (~> 2.0)
213
- rubysl-mkmf (2.0.1)
214
- rubysl-fileutils (~> 2.0)
215
- rubysl-shellwords (~> 2.0)
216
- rubysl-monitor (2.0.0)
217
- rubysl-mutex_m (2.0.0)
218
- rubysl-net-ftp (2.0.1)
219
- rubysl-net-http (2.0.4)
220
- rubysl-cgi (~> 2.0)
221
- rubysl-erb (~> 2.0)
222
- rubysl-singleton (~> 2.0)
223
- rubysl-net-imap (2.0.1)
224
- rubysl-net-pop (2.0.1)
225
- rubysl-net-protocol (2.0.1)
226
- rubysl-net-smtp (2.0.1)
227
- rubysl-net-telnet (2.0.0)
228
- rubysl-nkf (2.0.1)
229
- rubysl-observer (2.0.0)
230
- rubysl-open-uri (2.0.0)
231
- rubysl-open3 (2.0.0)
232
- rubysl-openssl (2.3.0)
233
- rubysl-optparse (2.0.1)
234
- rubysl-shellwords (~> 2.0)
235
- rubysl-ostruct (2.0.4)
236
- rubysl-pathname (2.1.0)
237
- rubysl-prettyprint (2.0.3)
238
- rubysl-prime (2.0.1)
239
- rubysl-profile (2.0.0)
240
- rubysl-profiler (2.0.1)
241
- rubysl-pstore (2.0.0)
242
- rubysl-pty (2.0.3)
243
- rubysl-rational (2.0.1)
244
- rubysl-resolv (2.1.2)
245
- rubysl-rexml (2.0.4)
246
- rubysl-rinda (2.0.1)
247
- rubysl-rss (2.0.0)
248
- rubysl-scanf (2.0.0)
249
- rubysl-securerandom (2.0.0)
250
- rubysl-set (2.0.1)
251
- rubysl-shellwords (2.0.0)
252
- rubysl-singleton (2.0.0)
253
- rubysl-socket (2.0.1)
254
- rubysl-stringio (2.0.0)
255
- rubysl-strscan (2.0.0)
256
- rubysl-sync (2.0.0)
257
- rubysl-syslog (2.1.0)
258
- ffi2-generators (~> 0.1)
259
- rubysl-tempfile (2.0.1)
260
- rubysl-thread (2.0.3)
261
- rubysl-thwait (2.0.0)
262
- rubysl-time (2.0.3)
263
- rubysl-timeout (2.0.0)
264
- rubysl-tmpdir (2.0.1)
265
- rubysl-tsort (2.0.1)
266
- rubysl-un (2.0.0)
267
- rubysl-fileutils (~> 2.0)
268
- rubysl-optparse (~> 2.0)
269
- rubysl-uri (2.0.0)
270
- rubysl-weakref (2.0.0)
271
- rubysl-webrick (2.0.0)
272
- rubysl-xmlrpc (2.0.0)
273
- rubysl-yaml (2.1.0)
274
- rubysl-zlib (2.0.1)
75
+ rspec-support (~> 3.10.0)
76
+ rspec-support (3.10.2)
275
77
  sixarm_ruby_unaccent (1.2.0)
276
- slop (3.6.0)
277
78
  sort_alphabetical (1.1.0)
278
79
  unicode_utils (>= 1.2.2)
279
- thread_safe (0.3.6)
280
- tzinfo (1.2.3)
281
- thread_safe (~> 0.1)
80
+ tzinfo (2.0.4)
81
+ concurrent-ruby (~> 1.0)
282
82
  unicode_utils (1.4.0)
283
- wwtd (1.1.1)
83
+ wwtd (1.4.1)
84
+ zeitwerk (2.4.2)
284
85
 
285
86
  PLATFORMS
286
87
  ruby
287
88
 
288
89
  DEPENDENCIES
289
- actionpack (~> 5)
90
+ actionpack (~> 6.1)
290
91
  country_select!
291
92
  pry (~> 0)
292
- psych
293
- racc
294
- rake
93
+ rake (~> 13)
295
94
  rspec (~> 3)
296
- rubysl (~> 2.0)
297
- wwtd
95
+ wwtd (~> 1)
298
96
 
299
97
  BUNDLED WITH
300
- 1.17.1
98
+ 2.2.15