country_select 4.0.0 → 8.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +25 -0
  3. data/.github/workflows/codeql-analysis.yml +70 -0
  4. data/CHANGELOG.md +50 -0
  5. data/Gemfile +0 -6
  6. data/Gemfile.lock +61 -272
  7. data/README.md +31 -17
  8. data/Rakefile +29 -3
  9. data/country_select.gemspec +9 -9
  10. data/gemfiles/{actionpack5.2.gemfile → actionpack-5.2.gemfile} +1 -6
  11. data/gemfiles/actionpack-5.2.gemfile.lock +99 -0
  12. data/gemfiles/actionpack-6.0.gemfile +7 -0
  13. data/gemfiles/actionpack-6.0.gemfile.lock +101 -0
  14. data/gemfiles/actionpack-6.1.gemfile +7 -0
  15. data/gemfiles/actionpack-6.1.gemfile.lock +100 -0
  16. data/gemfiles/actionpack-7.0.gemfile +7 -0
  17. data/gemfiles/actionpack-7.0.gemfile.lock +100 -0
  18. data/lib/country_select/country_select_helper.rb +5 -0
  19. data/lib/country_select/defaults.rb +11 -0
  20. data/lib/country_select/formats.rb +3 -1
  21. data/lib/country_select/tag_helper.rb +19 -25
  22. data/lib/country_select/version.rb +1 -1
  23. data/lib/country_select.rb +2 -7
  24. data/spec/country_select_spec.rb +112 -25
  25. metadata +33 -67
  26. data/.travis.yml +0 -41
  27. data/gemfiles/actionpack.edge.gemfile +0 -15
  28. data/gemfiles/actionpack.edge.gemfile.lock +0 -310
  29. data/gemfiles/actionpack3.2.gemfile +0 -11
  30. data/gemfiles/actionpack3.2.gemfile.lock +0 -297
  31. data/gemfiles/actionpack4.0.gemfile +0 -11
  32. data/gemfiles/actionpack4.0.gemfile.lock +0 -286
  33. data/gemfiles/actionpack4.1.gemfile +0 -11
  34. data/gemfiles/actionpack4.1.gemfile.lock +0 -290
  35. data/gemfiles/actionpack4.2.gemfile +0 -14
  36. data/gemfiles/actionpack4.2.gemfile.lock +0 -306
  37. data/gemfiles/actionpack5.0.gemfile +0 -12
  38. data/gemfiles/actionpack5.0.gemfile.lock +0 -311
  39. data/gemfiles/actionpack5.1.gemfile +0 -12
  40. data/gemfiles/actionpack5.1.gemfile.lock +0 -311
  41. data/gemfiles/actionpack5.2.gemfile.lock +0 -312
  42. data/lib/country_select/rails3/country_select_helper.rb +0 -39
  43. data/lib/country_select_without_sort_alphabetical.rb +0 -13
@@ -1,311 +0,0 @@
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.1.2)
12
- actionview (= 5.1.2)
13
- activesupport (= 5.1.2)
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.1.2)
19
- activesupport (= 5.1.2)
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.1.2)
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.1)
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
- diff-lcs (1.3)
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)
42
- nokogiri (>= 1.5.9)
43
- method_source (0.8.2)
44
- mini_portile2 (2.2.0)
45
- minitest (5.10.2)
46
- nokogiri (1.8.0)
47
- mini_portile2 (~> 2.2.0)
48
- pry (0.10.4)
49
- coderay (~> 1.1.0)
50
- method_source (~> 0.8.1)
51
- slop (~> 3.4)
52
- psych (2.2.4)
53
- racc (1.4.14)
54
- rack (2.0.3)
55
- rack-test (0.6.3)
56
- rack (>= 1.0)
57
- rails-dom-testing (2.0.3)
58
- activesupport (>= 4.2.0)
59
- nokogiri (>= 1.6)
60
- rails-html-sanitizer (1.0.3)
61
- loofah (~> 2.0)
62
- railties (5.1.2)
63
- actionpack (= 5.1.2)
64
- activesupport (= 5.1.2)
65
- method_source
66
- rake (>= 0.8.7)
67
- thor (>= 0.18.1, < 2.0)
68
- rake (12.0.0)
69
- rspec (3.6.0)
70
- rspec-core (~> 3.6.0)
71
- rspec-expectations (~> 3.6.0)
72
- rspec-mocks (~> 3.6.0)
73
- rspec-core (3.6.0)
74
- rspec-support (~> 3.6.0)
75
- rspec-expectations (3.6.0)
76
- diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.6.0)
78
- rspec-mocks (3.6.0)
79
- diff-lcs (>= 1.2.0, < 2.0)
80
- rspec-support (~> 3.6.0)
81
- rspec-support (3.6.0)
82
- rubysl (2.2.0)
83
- rubysl-abbrev (~> 2.0)
84
- rubysl-base64 (~> 2.0)
85
- rubysl-benchmark (~> 2.0)
86
- rubysl-bigdecimal (~> 2.0)
87
- rubysl-cgi (~> 2.0)
88
- rubysl-cgi-session (~> 2.0)
89
- rubysl-cmath (~> 2.0)
90
- rubysl-complex (~> 2.0)
91
- rubysl-continuation (~> 2.0)
92
- rubysl-coverage (~> 2.0)
93
- rubysl-csv (~> 2.0)
94
- rubysl-curses (~> 2.0)
95
- rubysl-date (~> 2.0)
96
- rubysl-delegate (~> 2.0)
97
- rubysl-digest (~> 2.0)
98
- rubysl-drb (~> 2.0)
99
- rubysl-e2mmap (~> 2.0)
100
- rubysl-english (~> 2.0)
101
- rubysl-enumerator (~> 2.0)
102
- rubysl-erb (~> 2.0)
103
- rubysl-etc (~> 2.0)
104
- rubysl-expect (~> 2.0)
105
- rubysl-fcntl (~> 2.0)
106
- rubysl-fiber (~> 2.0)
107
- rubysl-fileutils (~> 2.0)
108
- rubysl-find (~> 2.0)
109
- rubysl-forwardable (~> 2.0)
110
- rubysl-getoptlong (~> 2.0)
111
- rubysl-gserver (~> 2.0)
112
- rubysl-io-console (~> 2.0)
113
- rubysl-io-nonblock (~> 2.0)
114
- rubysl-io-wait (~> 2.0)
115
- rubysl-ipaddr (~> 2.0)
116
- rubysl-irb (~> 2.1)
117
- rubysl-logger (~> 2.0)
118
- rubysl-mathn (~> 2.0)
119
- rubysl-matrix (~> 2.0)
120
- rubysl-mkmf (~> 2.0)
121
- rubysl-monitor (~> 2.0)
122
- rubysl-mutex_m (~> 2.0)
123
- rubysl-net-ftp (~> 2.0)
124
- rubysl-net-http (~> 2.0)
125
- rubysl-net-imap (~> 2.0)
126
- rubysl-net-pop (~> 2.0)
127
- rubysl-net-protocol (~> 2.0)
128
- rubysl-net-smtp (~> 2.0)
129
- rubysl-net-telnet (~> 2.0)
130
- rubysl-nkf (~> 2.0)
131
- rubysl-observer (~> 2.0)
132
- rubysl-open-uri (~> 2.0)
133
- rubysl-open3 (~> 2.0)
134
- rubysl-openssl (~> 2.0)
135
- rubysl-optparse (~> 2.0)
136
- rubysl-ostruct (~> 2.0)
137
- rubysl-pathname (~> 2.0)
138
- rubysl-prettyprint (~> 2.0)
139
- rubysl-prime (~> 2.0)
140
- rubysl-profile (~> 2.0)
141
- rubysl-profiler (~> 2.0)
142
- rubysl-pstore (~> 2.0)
143
- rubysl-pty (~> 2.0)
144
- rubysl-rational (~> 2.0)
145
- rubysl-resolv (~> 2.0)
146
- rubysl-rexml (~> 2.0)
147
- rubysl-rinda (~> 2.0)
148
- rubysl-rss (~> 2.0)
149
- rubysl-scanf (~> 2.0)
150
- rubysl-securerandom (~> 2.0)
151
- rubysl-set (~> 2.0)
152
- rubysl-shellwords (~> 2.0)
153
- rubysl-singleton (~> 2.0)
154
- rubysl-socket (~> 2.0)
155
- rubysl-stringio (~> 2.0)
156
- rubysl-strscan (~> 2.0)
157
- rubysl-sync (~> 2.0)
158
- rubysl-syslog (~> 2.0)
159
- rubysl-tempfile (~> 2.0)
160
- rubysl-thread (~> 2.0)
161
- rubysl-thwait (~> 2.0)
162
- rubysl-time (~> 2.0)
163
- rubysl-timeout (~> 2.0)
164
- rubysl-tmpdir (~> 2.0)
165
- rubysl-tsort (~> 2.0)
166
- rubysl-un (~> 2.0)
167
- rubysl-unicode_normalize (~> 2.0)
168
- rubysl-uri (~> 2.0)
169
- rubysl-weakref (~> 2.0)
170
- rubysl-webrick (~> 2.0)
171
- rubysl-xmlrpc (~> 2.0)
172
- rubysl-yaml (~> 2.0)
173
- rubysl-zlib (~> 2.0)
174
- rubysl-abbrev (2.0.4)
175
- rubysl-base64 (2.0.0)
176
- rubysl-benchmark (2.0.1)
177
- rubysl-bigdecimal (2.0.2)
178
- rubysl-cgi (2.0.1)
179
- rubysl-cgi-session (2.1.0)
180
- rubysl-cmath (2.0.0)
181
- rubysl-complex (2.0.0)
182
- rubysl-continuation (2.0.0)
183
- rubysl-coverage (2.1)
184
- rubysl-csv (2.0.2)
185
- rubysl-english (~> 2.0)
186
- rubysl-curses (2.0.1)
187
- rubysl-date (2.0.9)
188
- rubysl-delegate (2.0.1)
189
- rubysl-digest (2.0.8)
190
- rubysl-drb (2.0.1)
191
- rubysl-e2mmap (2.0.0)
192
- rubysl-english (2.0.0)
193
- rubysl-enumerator (2.0.0)
194
- rubysl-erb (2.0.2)
195
- rubysl-etc (2.0.3)
196
- ffi2-generators (~> 0.1)
197
- rubysl-expect (2.0.0)
198
- rubysl-fcntl (2.0.4)
199
- ffi2-generators (~> 0.1)
200
- rubysl-fiber (2.0.0)
201
- rubysl-fileutils (2.0.3)
202
- rubysl-find (2.0.1)
203
- rubysl-forwardable (2.0.1)
204
- rubysl-getoptlong (2.0.0)
205
- rubysl-gserver (2.0.0)
206
- rubysl-socket (~> 2.0)
207
- rubysl-thread (~> 2.0)
208
- rubysl-io-console (2.0.0)
209
- rubysl-io-nonblock (2.0.0)
210
- rubysl-io-wait (2.0.0)
211
- rubysl-ipaddr (2.0.0)
212
- rubysl-irb (2.1.1)
213
- rubysl-e2mmap (~> 2.0)
214
- rubysl-mathn (~> 2.0)
215
- rubysl-thread (~> 2.0)
216
- rubysl-logger (2.1.0)
217
- rubysl-mathn (2.0.0)
218
- rubysl-matrix (2.1.0)
219
- rubysl-e2mmap (~> 2.0)
220
- rubysl-mkmf (2.1)
221
- rubysl-fileutils (~> 2.0)
222
- rubysl-shellwords (~> 2.0)
223
- rubysl-monitor (2.0.0)
224
- rubysl-mutex_m (2.0.0)
225
- rubysl-net-ftp (2.0.1)
226
- rubysl-net-http (2.0.4)
227
- rubysl-cgi (~> 2.0)
228
- rubysl-erb (~> 2.0)
229
- rubysl-singleton (~> 2.0)
230
- rubysl-net-imap (2.0.1)
231
- rubysl-net-pop (2.0.1)
232
- rubysl-net-protocol (2.0.1)
233
- rubysl-net-smtp (2.0.1)
234
- rubysl-net-telnet (2.0.0)
235
- rubysl-nkf (2.0.1)
236
- rubysl-observer (2.0.0)
237
- rubysl-open-uri (2.0.0)
238
- rubysl-open3 (2.0.0)
239
- rubysl-openssl (2.9)
240
- rubysl-optparse (2.0.1)
241
- rubysl-shellwords (~> 2.0)
242
- rubysl-ostruct (2.1.0)
243
- rubysl-pathname (2.3)
244
- rubysl-prettyprint (2.0.3)
245
- rubysl-prime (2.0.1)
246
- rubysl-profile (2.0.0)
247
- rubysl-profiler (2.1)
248
- rubysl-pstore (2.0.0)
249
- rubysl-pty (2.0.3)
250
- rubysl-rational (2.0.1)
251
- rubysl-resolv (2.1.2)
252
- rubysl-rexml (2.0.4)
253
- rubysl-rinda (2.0.1)
254
- rubysl-rss (2.0.0)
255
- rubysl-scanf (2.0.0)
256
- rubysl-securerandom (2.0.0)
257
- rubysl-set (2.0.1)
258
- rubysl-shellwords (2.0.0)
259
- rubysl-singleton (2.0.0)
260
- rubysl-socket (2.2.1)
261
- rubysl-fcntl (~> 2.0)
262
- rubysl-stringio (2.1)
263
- rubysl-strscan (2.0.0)
264
- rubysl-sync (2.0.0)
265
- rubysl-syslog (2.1.0)
266
- ffi2-generators (~> 0.1)
267
- rubysl-tempfile (2.0.1)
268
- rubysl-thread (2.0.3)
269
- rubysl-thwait (2.0.0)
270
- rubysl-time (2.0.3)
271
- rubysl-timeout (2.0.0)
272
- rubysl-tmpdir (2.0.1)
273
- rubysl-tsort (2.0.1)
274
- rubysl-un (2.0.0)
275
- rubysl-fileutils (~> 2.0)
276
- rubysl-optparse (~> 2.0)
277
- rubysl-unicode_normalize (2.0)
278
- rubysl-uri (2.0.0)
279
- rubysl-weakref (2.0.0)
280
- rubysl-webrick (2.0.0)
281
- rubysl-xmlrpc (2.0.0)
282
- rubysl-yaml (2.1.0)
283
- rubysl-zlib (2.0.1)
284
- sixarm_ruby_unaccent (1.2.0)
285
- slop (3.6.0)
286
- sort_alphabetical (1.1.0)
287
- unicode_utils (>= 1.2.2)
288
- thor (0.19.4)
289
- thread_safe (0.3.6)
290
- tzinfo (1.2.3)
291
- thread_safe (~> 0.1)
292
- unicode_utils (1.4.0)
293
- wwtd (1.3.0)
294
-
295
- PLATFORMS
296
- ruby
297
-
298
- DEPENDENCIES
299
- actionpack (~> 5.1.1)
300
- country_select!
301
- pry (~> 0)
302
- psych
303
- racc
304
- railties (~> 5.1.1)
305
- rake
306
- rspec (~> 3)
307
- rubysl (~> 2.0)
308
- wwtd
309
-
310
- BUNDLED WITH
311
- 1.17.1
@@ -1,312 +0,0 @@
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,39 +0,0 @@
1
- module ActionView
2
- module Helpers
3
- class FormBuilder
4
- def country_select(method, priority_or_options = {}, options = {}, html_options = {})
5
- if Hash === priority_or_options
6
- html_options = options
7
- options = priority_or_options
8
- else
9
- options[:priority_countries] = priority_or_options
10
- end
11
-
12
- @template.country_select(@object_name, method, objectify_options(options), @default_options.merge(html_options))
13
- end
14
- end
15
-
16
- module FormOptionsHelper
17
- def country_select(object, method, options = {}, html_options = {})
18
- CountrySelect.new(object, method, self, options.delete(:object)).render(options, html_options)
19
- end
20
- end
21
-
22
- class CountrySelect < InstanceTag
23
- include ::CountrySelect::TagHelper
24
-
25
- def render(options, html_options)
26
- @options = options
27
- @html_options = html_options
28
-
29
- if self.respond_to?(:select_content_tag)
30
- select_content_tag(country_option_tags, @options, @html_options)
31
- else
32
- html_options = @html_options.stringify_keys
33
- add_default_name_and_id(html_options)
34
- content_tag(:select, add_options(country_option_tags, options, value(object)), html_options)
35
- end
36
- end
37
- end
38
- end
39
- end
@@ -1,13 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'countries'
4
-
5
- require 'country_select/version'
6
- require 'country_select/formats'
7
- require 'country_select/tag_helper'
8
-
9
- if defined?(ActionView::Helpers::Tags::Base)
10
- require 'country_select/country_select_helper'
11
- else
12
- require 'country_select/rails3/country_select_helper'
13
- end