country_select 2.3.0 → 2.4.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
2
  SHA1:
3
- metadata.gz: d7d31ad272c6336aa0a415ad32bdb421bbe33a6d
4
- data.tar.gz: 64e1071b675fe599b8f99fb2b6832ce016b49221
3
+ metadata.gz: c25c2955271e8fbd4bb6322345e3d6423aef6b81
4
+ data.tar.gz: 30ebb36ee4543916ccdc64b328b7ef175a780ba9
5
5
  SHA512:
6
- metadata.gz: 164c0d398827142767be0edf6a7a51bfa81779981a8b0d71ac97fda68583069912fca91308393438ab012120bae238b74763dc738f87fb47e3d69b5d5914b5f6
7
- data.tar.gz: efc072970197346ffc68a40357b4efc4b4266a5fd18f03b1103e946649c7204677b270b0991bcfab18d527654b736761031def0c8a9f733ba90caf092e9cdef4
6
+ metadata.gz: dc7d816a59ed387cbfc65aa4a02d9f6e6f21431f3d2071c7b0b872c580c4bbaab3b4c7e90b3cf374fc0ebe3b2708bff17a6a499ec3deda94cf845e31840bb784
7
+ data.tar.gz: 3937c5ac6193a55d8194641fd8ed7c22ced03d31c39821846bd59ec003c697de60725c6459d4cb7d871985ef217cc4a4d6e8d78d95986c9438ee1c26f48b4934
@@ -1,3 +1,7 @@
1
+ ## 2.4.0 2015-08-25
2
+
3
+ * #111 - Update countries gem to ~> v1.1.0
4
+
1
5
  ## 2.3.0 2015-08-25
2
6
 
3
7
  * #107,#108 - Update countries gem to ~> v1.0.0
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (2.2.0)
5
- countries (~> 1.0.0)
4
+ country_select (2.3.0)
5
+ countries (~> 1.1.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (3.2.19)
12
- activemodel (= 3.2.19)
13
- activesupport (= 3.2.19)
11
+ actionpack (3.2.22)
12
+ activemodel (= 3.2.22)
13
+ activesupport (= 3.2.22)
14
14
  builder (~> 3.0.0)
15
15
  erubis (~> 2.7.0)
16
16
  journey (~> 1.0.4)
@@ -18,15 +18,15 @@ GEM
18
18
  rack-cache (~> 1.2)
19
19
  rack-test (~> 0.6.1)
20
20
  sprockets (~> 2.2.1)
21
- activemodel (3.2.19)
22
- activesupport (= 3.2.19)
21
+ activemodel (3.2.22)
22
+ activesupport (= 3.2.22)
23
23
  builder (~> 3.0.0)
24
- activesupport (3.2.19)
24
+ activesupport (3.2.22)
25
25
  i18n (~> 0.6, >= 0.6.4)
26
26
  multi_json (~> 1.0)
27
27
  builder (3.0.4)
28
28
  coderay (1.1.0)
29
- countries (1.0.0)
29
+ countries (1.1.0)
30
30
  currencies (~> 0.4.2)
31
31
  i18n_data (~> 0.7.0)
32
32
  currencies (0.4.2)
@@ -34,36 +34,37 @@ GEM
34
34
  erubis (2.7.0)
35
35
  ffi2-generators (0.1.1)
36
36
  hike (1.2.3)
37
- i18n (0.6.11)
37
+ i18n (0.7.0)
38
38
  i18n_data (0.7.0)
39
39
  journey (1.0.4)
40
40
  method_source (0.8.2)
41
- multi_json (1.10.1)
41
+ multi_json (1.11.2)
42
42
  pry (0.10.1)
43
43
  coderay (~> 1.1.0)
44
44
  method_source (~> 0.8.1)
45
45
  slop (~> 3.4)
46
- psych (2.0.5)
46
+ psych (2.0.15)
47
47
  racc (1.4.12)
48
- rack (1.4.5)
48
+ rack (1.4.7)
49
49
  rack-cache (1.2)
50
50
  rack (>= 0.4)
51
- rack-test (0.6.2)
51
+ rack-test (0.6.3)
52
52
  rack (>= 1.0)
53
- rake (10.3.2)
54
- rspec (3.1.0)
55
- rspec-core (~> 3.1.0)
56
- rspec-expectations (~> 3.1.0)
57
- rspec-mocks (~> 3.1.0)
58
- rspec-core (3.1.1)
59
- rspec-support (~> 3.1.0)
60
- rspec-expectations (3.1.0)
53
+ rake (10.4.2)
54
+ rspec (3.3.0)
55
+ rspec-core (~> 3.3.0)
56
+ rspec-expectations (~> 3.3.0)
57
+ rspec-mocks (~> 3.3.0)
58
+ rspec-core (3.3.2)
59
+ rspec-support (~> 3.3.0)
60
+ rspec-expectations (3.3.1)
61
61
  diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (~> 3.1.0)
63
- rspec-mocks (3.1.0)
64
- rspec-support (~> 3.1.0)
65
- rspec-support (3.1.0)
66
- rubysl (2.0.15)
62
+ rspec-support (~> 3.3.0)
63
+ rspec-mocks (3.3.2)
64
+ diff-lcs (>= 1.2.0, < 2.0)
65
+ rspec-support (~> 3.3.0)
66
+ rspec-support (3.3.0)
67
+ rubysl (2.1.0)
67
68
  rubysl-abbrev (~> 2.0)
68
69
  rubysl-base64 (~> 2.0)
69
70
  rubysl-benchmark (~> 2.0)
@@ -97,7 +98,7 @@ GEM
97
98
  rubysl-io-nonblock (~> 2.0)
98
99
  rubysl-io-wait (~> 2.0)
99
100
  rubysl-ipaddr (~> 2.0)
100
- rubysl-irb (~> 2.0)
101
+ rubysl-irb (~> 2.1)
101
102
  rubysl-logger (~> 2.0)
102
103
  rubysl-mathn (~> 2.0)
103
104
  rubysl-matrix (~> 2.0)
@@ -126,7 +127,6 @@ GEM
126
127
  rubysl-pstore (~> 2.0)
127
128
  rubysl-pty (~> 2.0)
128
129
  rubysl-rational (~> 2.0)
129
- rubysl-readline (~> 2.0)
130
130
  rubysl-resolv (~> 2.0)
131
131
  rubysl-rexml (~> 2.0)
132
132
  rubysl-rinda (~> 2.0)
@@ -168,14 +168,14 @@ GEM
168
168
  rubysl-csv (2.0.2)
169
169
  rubysl-english (~> 2.0)
170
170
  rubysl-curses (2.0.1)
171
- rubysl-date (2.0.8)
171
+ rubysl-date (2.0.9)
172
172
  rubysl-delegate (2.0.1)
173
- rubysl-digest (2.0.3)
173
+ rubysl-digest (2.0.8)
174
174
  rubysl-drb (2.0.1)
175
175
  rubysl-e2mmap (2.0.0)
176
176
  rubysl-english (2.0.0)
177
177
  rubysl-enumerator (2.0.0)
178
- rubysl-erb (2.0.1)
178
+ rubysl-erb (2.0.2)
179
179
  rubysl-etc (2.0.3)
180
180
  ffi2-generators (~> 0.1)
181
181
  rubysl-expect (2.0.0)
@@ -193,12 +193,11 @@ GEM
193
193
  rubysl-io-nonblock (2.0.0)
194
194
  rubysl-io-wait (2.0.0)
195
195
  rubysl-ipaddr (2.0.0)
196
- rubysl-irb (2.0.4)
196
+ rubysl-irb (2.1.1)
197
197
  rubysl-e2mmap (~> 2.0)
198
198
  rubysl-mathn (~> 2.0)
199
- rubysl-readline (~> 2.0)
200
199
  rubysl-thread (~> 2.0)
201
- rubysl-logger (2.0.0)
200
+ rubysl-logger (2.1.0)
202
201
  rubysl-mathn (2.0.0)
203
202
  rubysl-matrix (2.1.0)
204
203
  rubysl-e2mmap (~> 2.0)
@@ -221,21 +220,20 @@ GEM
221
220
  rubysl-observer (2.0.0)
222
221
  rubysl-open-uri (2.0.0)
223
222
  rubysl-open3 (2.0.0)
224
- rubysl-openssl (2.1.0)
223
+ rubysl-openssl (2.3.0)
225
224
  rubysl-optparse (2.0.1)
226
225
  rubysl-shellwords (~> 2.0)
227
226
  rubysl-ostruct (2.0.4)
228
- rubysl-pathname (2.0.0)
227
+ rubysl-pathname (2.1.0)
229
228
  rubysl-prettyprint (2.0.3)
230
229
  rubysl-prime (2.0.1)
231
230
  rubysl-profile (2.0.0)
232
231
  rubysl-profiler (2.0.1)
233
232
  rubysl-pstore (2.0.0)
234
- rubysl-pty (2.0.2)
233
+ rubysl-pty (2.0.3)
235
234
  rubysl-rational (2.0.1)
236
- rubysl-readline (2.0.2)
237
- rubysl-resolv (2.1.0)
238
- rubysl-rexml (2.0.2)
235
+ rubysl-resolv (2.1.2)
236
+ rubysl-rexml (2.0.4)
239
237
  rubysl-rinda (2.0.1)
240
238
  rubysl-rss (2.0.0)
241
239
  rubysl-scanf (2.0.0)
@@ -247,10 +245,10 @@ GEM
247
245
  rubysl-stringio (2.0.0)
248
246
  rubysl-strscan (2.0.0)
249
247
  rubysl-sync (2.0.0)
250
- rubysl-syslog (2.0.1)
248
+ rubysl-syslog (2.1.0)
251
249
  ffi2-generators (~> 0.1)
252
250
  rubysl-tempfile (2.0.1)
253
- rubysl-thread (2.0.2)
251
+ rubysl-thread (2.0.3)
254
252
  rubysl-thwait (2.0.0)
255
253
  rubysl-time (2.0.3)
256
254
  rubysl-timeout (2.0.0)
@@ -263,19 +261,19 @@ GEM
263
261
  rubysl-weakref (2.0.0)
264
262
  rubysl-webrick (2.0.0)
265
263
  rubysl-xmlrpc (2.0.0)
266
- rubysl-yaml (2.0.4)
264
+ rubysl-yaml (2.1.0)
267
265
  rubysl-zlib (2.0.1)
268
266
  slop (3.6.0)
269
267
  sort_alphabetical (1.0.2)
270
268
  unicode_utils (>= 1.2.2)
271
- sprockets (2.2.2)
269
+ sprockets (2.2.3)
272
270
  hike (~> 1.2)
273
271
  multi_json (~> 1.0)
274
272
  rack (~> 1.0)
275
273
  tilt (~> 1.1, != 1.3.0)
276
274
  tilt (1.4.1)
277
275
  unicode_utils (1.4.0)
278
- wwtd (0.5.5)
276
+ wwtd (1.1.1)
279
277
 
280
278
  PLATFORMS
281
279
  ruby
@@ -290,3 +288,6 @@ DEPENDENCIES
290
288
  rspec (~> 3)
291
289
  rubysl (~> 2.0)
292
290
  wwtd
291
+
292
+ BUNDLED WITH
293
+ 1.10.6
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Rails – Country Select
2
- [![Build Status](https://travis-ci.org/stefanpenner/country_select.png?branch=master)](https://travis-ci.org/stefanpenner/country_select)
2
+ [![Build Status](https://travis-ci.org/stefanpenner/country_select.svg)](https://travis-ci.org/stefanpenner/country_select)
3
3
 
4
4
  Provides a simple helper to get an HTML select list of countries using the
5
5
  [ISO 3166-1 standard](https://en.wikipedia.org/wiki/ISO_3166-1).
@@ -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', github: 'stefanpenner/country_select'
29
+ gem 'country_select'
30
30
  ```
31
31
 
32
32
  ## Usage
@@ -136,11 +136,25 @@ An example Rails application demonstrating the different options is
136
136
  available at [scudco/country_select_test](https://github.com/scudco/country_select_test).
137
137
  The relevant view files live [here](https://github.com/scudco/country_select_test/tree/master/app/views/welcome).
138
138
 
139
- ## Tests
139
+ ## Contributing
140
+
141
+ ### Tests
140
142
 
141
143
  ```shell
142
144
  bundle
143
145
  bundle exec rake
144
146
  ```
145
147
 
148
+ ### Updating gemfiles
149
+ The default rake task will run the tests against multiple versions of
150
+ Rails. That means the gemfiles need occasional updating, especially when
151
+ changing the dependencies in the gemspec.
152
+
153
+ ```shell
154
+ for i in gemfiles/*.gemfile
155
+ do
156
+ BUNDLE_GEMFILE=$i bundle install --no-deployment
157
+ done
158
+ ```
159
+
146
160
  Copyright (c) 2008 Michael Koziarski, released under the MIT license
@@ -25,6 +25,6 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency 'rspec', '~> 3'
26
26
  s.add_development_dependency 'wwtd'
27
27
 
28
- s.add_dependency 'countries', '~> 1.0.0'
28
+ s.add_dependency 'countries', '~> 1.1.0'
29
29
  s.add_dependency 'sort_alphabetical', '~> 1.0'
30
30
  end
@@ -26,7 +26,7 @@ PATH
26
26
  remote: ../
27
27
  specs:
28
28
  country_select (2.3.0)
29
- countries (~> 1.0.0)
29
+ countries (~> 1.1.0)
30
30
  sort_alphabetical (~> 1.0)
31
31
 
32
32
  GEM
@@ -34,7 +34,7 @@ GEM
34
34
  specs:
35
35
  builder (3.2.2)
36
36
  coderay (1.1.0)
37
- countries (1.0.0)
37
+ countries (1.1.0)
38
38
  currencies (~> 0.4.2)
39
39
  i18n_data (~> 0.7.0)
40
40
  currencies (0.4.2)
@@ -304,3 +304,6 @@ DEPENDENCIES
304
304
  rspec (~> 3)
305
305
  rubysl (~> 2.0)
306
306
  wwtd
307
+
308
+ BUNDLED WITH
309
+ 1.10.6
@@ -2,7 +2,7 @@ PATH
2
2
  remote: ../
3
3
  specs:
4
4
  country_select (2.3.0)
5
- countries (~> 1.0.0)
5
+ countries (~> 1.1.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -26,7 +26,7 @@ GEM
26
26
  multi_json (~> 1.0)
27
27
  builder (3.0.4)
28
28
  coderay (1.1.0)
29
- countries (1.0.0)
29
+ countries (1.1.0)
30
30
  currencies (~> 0.4.2)
31
31
  i18n_data (~> 0.7.0)
32
32
  currencies (0.4.2)
@@ -287,3 +287,6 @@ DEPENDENCIES
287
287
  rspec (~> 3)
288
288
  rubysl (~> 2.0)
289
289
  wwtd
290
+
291
+ BUNDLED WITH
292
+ 1.10.6
@@ -2,7 +2,7 @@ PATH
2
2
  remote: ../
3
3
  specs:
4
4
  country_select (2.3.0)
5
- countries (~> 1.0.0)
5
+ countries (~> 1.1.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -22,7 +22,7 @@ GEM
22
22
  tzinfo (~> 0.3.37)
23
23
  builder (3.1.4)
24
24
  coderay (1.1.0)
25
- countries (1.0.0)
25
+ countries (1.1.0)
26
26
  currencies (~> 0.4.2)
27
27
  i18n_data (~> 0.7.0)
28
28
  currencies (0.4.2)
@@ -276,3 +276,6 @@ DEPENDENCIES
276
276
  rspec (~> 3)
277
277
  rubysl (~> 2.0)
278
278
  wwtd
279
+
280
+ BUNDLED WITH
281
+ 1.10.6
@@ -2,7 +2,7 @@ PATH
2
2
  remote: ../
3
3
  specs:
4
4
  country_select (2.3.0)
5
- countries (~> 1.0.0)
5
+ countries (~> 1.1.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -25,7 +25,7 @@ GEM
25
25
  tzinfo (~> 1.1)
26
26
  builder (3.2.2)
27
27
  coderay (1.1.0)
28
- countries (1.0.0)
28
+ countries (1.1.0)
29
29
  currencies (~> 0.4.2)
30
30
  i18n_data (~> 0.7.0)
31
31
  currencies (0.4.2)
@@ -280,3 +280,6 @@ DEPENDENCIES
280
280
  rspec (~> 3)
281
281
  rubysl (~> 2.0)
282
282
  wwtd
283
+
284
+ BUNDLED WITH
285
+ 1.10.6
@@ -2,7 +2,7 @@ PATH
2
2
  remote: ../
3
3
  specs:
4
4
  country_select (2.3.0)
5
- countries (~> 1.0.0)
5
+ countries (~> 1.1.0)
6
6
  sort_alphabetical (~> 1.0)
7
7
 
8
8
  GEM
@@ -29,7 +29,7 @@ GEM
29
29
  tzinfo (~> 1.1)
30
30
  builder (3.2.2)
31
31
  coderay (1.1.0)
32
- countries (1.0.0)
32
+ countries (1.1.0)
33
33
  currencies (~> 0.4.2)
34
34
  i18n_data (~> 0.7.0)
35
35
  currencies (0.4.2)
@@ -304,3 +304,6 @@ DEPENDENCIES
304
304
  rspec (~> 3)
305
305
  rubysl (~> 2.0)
306
306
  wwtd
307
+
308
+ BUNDLED WITH
309
+ 1.10.6
@@ -1,3 +1,3 @@
1
1
  module CountrySelect
2
- VERSION = "2.3.0"
2
+ VERSION = "2.4.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: 2.3.0
4
+ version: 2.4.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: 2015-08-25 00:00:00.000000000 Z
11
+ date: 2015-09-21 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: 1.0.0
89
+ version: 1.1.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: 1.0.0
96
+ version: 1.1.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sort_alphabetical
99
99
  requirement: !ruby/object:Gem::Requirement