country_select 6.0.0 → 6.1.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
  SHA256:
3
- metadata.gz: b8b7782f33173fbacc77ed71df46cbde8cd8ed125d46968c774f97c5d5bc768a
4
- data.tar.gz: b5ed241b2e15dfc0c7f03126badcec1dacbb6047da45afcbef739e8194a3039b
3
+ metadata.gz: 71ba22546abd291ceafd67c542882513e11e5778a0cf4e51e0afbfbd8d89e8ad
4
+ data.tar.gz: 3d7d7c6cac8302237b651ef47ce0344cb337da19f240cc674e223238099eaa70
5
5
  SHA512:
6
- metadata.gz: f03c36d32ce213c33b3608dc047ee83d5ec86cc4fee676b11c97f3248ab1c27add514c802e1a241141b7d92e7a88463bf4ac8c3bacb37064508be30084ccff39
7
- data.tar.gz: ae90ced4ce2a6d0a973f27da2053695f5f804cd2472d1ab31dc4cbb2fbef1813c677c594e253b694311f5692a30252ec91ce190b6f13d5dcd1656cac58ecab20
6
+ metadata.gz: 599f0e30a41591ded1d11103887341ad9c374250eeee5a6f3e7a6a86f5fb5fa4178a0acdba62ea187527ba9dc1c2c2b08a34bccd3a73534d6717adafe7816981
7
+ data.tar.gz: 37cd7561ad08e569fa3133fcb9e740dce8dcef6c44cebbc26f6348808515e884af430073d5a911482df9695f7ec5867af28ddb4b5c1c578c5eb32dfadfbec470
@@ -0,0 +1,30 @@
1
+ name: build
2
+ on:
3
+ pull_request:
4
+ branches:
5
+ - '*'
6
+ push:
7
+ branches:
8
+ - master
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ ruby: [2.6, 2.7, '3.0', 3.1]
16
+ gemfile: [5.2, '6.0', 6.1, '7.0']
17
+ exclude:
18
+ - ruby: 2.6
19
+ gemfile: head
20
+ - ruby: 2.6
21
+ gemfile: '7.0'
22
+ env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
23
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - uses: ruby/setup-ruby@v1
27
+ with:
28
+ ruby-version: ${{ matrix.ruby }}
29
+ bundler-cache: true
30
+ - run: bundle exec rake
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 6.1.0 2022-01-16
2
+
3
+ * #190 - Upgrade to countries 4.2 (@pmor)
4
+ * #191 - Add Rails 7 + Ruby 3.1 to build (@scudco)
5
+
1
6
  ## 6.0.0 2021-06-28
2
7
 
3
8
  * #186 - Upgrade to countries 4.0.0 (@pmor)
data/Gemfile.lock CHANGED
@@ -1,98 +1,99 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (6.0.0)
5
- countries (~> 4.0)
4
+ country_select (6.1.0)
5
+ countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (6.1.3)
12
- actionview (= 6.1.3)
13
- activesupport (= 6.1.3)
14
- rack (~> 2.0, >= 2.0.9)
11
+ actionpack (7.0.1)
12
+ actionview (= 7.0.1)
13
+ activesupport (= 7.0.1)
14
+ rack (~> 2.0, >= 2.2.0)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (6.1.3)
19
- activesupport (= 6.1.3)
18
+ actionview (7.0.1)
19
+ activesupport (= 7.0.1)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (6.1.3)
24
+ activesupport (7.0.1)
25
25
  concurrent-ruby (~> 1.0, >= 1.0.2)
26
26
  i18n (>= 1.6, < 2)
27
27
  minitest (>= 5.1)
28
28
  tzinfo (~> 2.0)
29
- zeitwerk (~> 2.3)
30
29
  builder (3.2.4)
31
30
  coderay (1.1.3)
32
- concurrent-ruby (1.1.8)
33
- countries (4.0.0)
34
- i18n_data (~> 0.13.0)
31
+ concurrent-ruby (1.1.9)
32
+ countries (4.2.1)
33
+ i18n_data (~> 0.15.0)
35
34
  sixarm_ruby_unaccent (~> 1.1)
36
35
  crass (1.0.6)
37
- diff-lcs (1.4.4)
36
+ diff-lcs (1.5.0)
38
37
  erubi (1.10.0)
39
- i18n (1.8.9)
38
+ i18n (1.8.11)
40
39
  concurrent-ruby (~> 1.0)
41
- i18n_data (0.13.0)
42
- loofah (2.9.0)
40
+ i18n_data (0.15.0)
41
+ simple_po_parser (~> 1.1)
42
+ loofah (2.13.0)
43
43
  crass (~> 1.0.2)
44
44
  nokogiri (>= 1.5.9)
45
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)
46
+ mini_portile2 (2.7.1)
47
+ minitest (5.15.0)
48
+ nokogiri (1.13.1)
49
+ mini_portile2 (~> 2.7.0)
50
50
  racc (~> 1.4)
51
- pry (0.14.0)
51
+ nokogiri (1.13.1-x86_64-linux)
52
+ racc (~> 1.4)
53
+ pry (0.14.1)
52
54
  coderay (~> 1.1)
53
55
  method_source (~> 1.0)
54
- racc (1.5.2)
56
+ racc (1.6.0)
55
57
  rack (2.2.3)
56
58
  rack-test (1.1.0)
57
59
  rack (>= 1.0, < 3)
58
60
  rails-dom-testing (2.0.3)
59
61
  activesupport (>= 4.2.0)
60
62
  nokogiri (>= 1.6)
61
- rails-html-sanitizer (1.3.0)
63
+ rails-html-sanitizer (1.4.2)
62
64
  loofah (~> 2.3)
63
- rake (13.0.3)
65
+ rake (13.0.6)
64
66
  rspec (3.10.0)
65
67
  rspec-core (~> 3.10.0)
66
68
  rspec-expectations (~> 3.10.0)
67
69
  rspec-mocks (~> 3.10.0)
68
70
  rspec-core (3.10.1)
69
71
  rspec-support (~> 3.10.0)
70
- rspec-expectations (3.10.1)
72
+ rspec-expectations (3.10.2)
71
73
  diff-lcs (>= 1.2.0, < 2.0)
72
74
  rspec-support (~> 3.10.0)
73
75
  rspec-mocks (3.10.2)
74
76
  diff-lcs (>= 1.2.0, < 2.0)
75
77
  rspec-support (~> 3.10.0)
76
- rspec-support (3.10.2)
78
+ rspec-support (3.10.3)
79
+ simple_po_parser (1.1.5)
77
80
  sixarm_ruby_unaccent (1.2.0)
78
81
  sort_alphabetical (1.1.0)
79
82
  unicode_utils (>= 1.2.2)
80
83
  tzinfo (2.0.4)
81
84
  concurrent-ruby (~> 1.0)
82
85
  unicode_utils (1.4.0)
83
- wwtd (1.4.1)
84
- zeitwerk (2.4.2)
85
86
 
86
87
  PLATFORMS
87
88
  ruby
89
+ x86_64-linux
88
90
 
89
91
  DEPENDENCIES
90
- actionpack (~> 6.1)
92
+ actionpack (~> 7.0)
91
93
  country_select!
92
94
  pry (~> 0)
93
95
  rake (~> 13)
94
96
  rspec (~> 3)
95
- wwtd (~> 1)
96
97
 
97
98
  BUNDLED WITH
98
- 2.2.15
99
+ 2.3.3
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Rails – Country Select
2
- [![Build Status](https://travis-ci.org/stefanpenner/country_select.svg?branch=master)](https://travis-ci.org/stefanpenner/country_select)
2
+ [![build](https://github.com/stefanpenner/country_select/actions/workflows/build.yml/badge.svg)](https://github.com/stefanpenner/country_select/actions/workflows/build.yml)
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', '~> 4.0'
29
+ gem 'country_select', '~> 6.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:
@@ -95,19 +95,19 @@ country_select("user", "country", { priority_countries: ["GB", "FR"], selected:
95
95
  ### Using a custom formatter
96
96
 
97
97
  You can define a custom formatter which will receive an
98
- [`ISO3166::Country`](https://github.com/hexorx/countries/blob/master/lib/countries/country.rb)
98
+ [`ISO3166::Country`](https://github.com/countries/countries/blob/master/lib/countries/country.rb)
99
99
  ```ruby
100
100
  # config/initializers/country_select.rb
101
101
 
102
102
  # Return a string to customize the text in the <option> tag, `value` attribute will remain unchanged
103
103
  CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
104
- "#{country.name} (#{country.alpha2})"
104
+ "#{country.iso_short_name} (#{country.alpha2})"
105
105
  end
106
106
 
107
107
  # Return an array to customize <option> text, `value` and other HTML attributes
108
108
  CountrySelect::FORMATS[:with_data_attrs] = lambda do |country|
109
109
  [
110
- country.name,
110
+ country.iso_short_name,
111
111
  country.alpha2,
112
112
  {
113
113
  'data-country-code' => country.country_code,
@@ -142,7 +142,7 @@ names as display strings. For example, the United States would appear as
142
142
 
143
143
  Country names are automatically localized based on the value of
144
144
  `I18n.locale` thanks to the wonderful
145
- [countries gem](https://github.com/hexorx/countries/).
145
+ [countries gem](https://github.com/countries/countries/).
146
146
 
147
147
  Current translations include:
148
148
 
@@ -177,7 +177,7 @@ class User < ActiveRecord::Base
177
177
  # (usually English) name if no translation is available
178
178
  def country_name
179
179
  country = ISO3166::Country[country_code]
180
- country.translations[I18n.locale.to_s] || country.name
180
+ country.translations[I18n.locale.to_s] || country.iso_short_name
181
181
  end
182
182
 
183
183
  end
data/Rakefile CHANGED
@@ -4,8 +4,6 @@ require 'bundler/setup'
4
4
  require 'rake'
5
5
  require 'bundler/gem_tasks'
6
6
 
7
- require 'wwtd/tasks'
8
-
9
7
  require 'rspec/core/rake_task'
10
8
  RSpec::Core::RakeTask.new(:spec)
11
9
 
@@ -19,12 +19,11 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.required_ruby_version = '>= 2.5'
21
21
 
22
- s.add_development_dependency 'actionpack', '~> 6.1'
22
+ s.add_development_dependency 'actionpack', '~> 7.0'
23
23
  s.add_development_dependency 'pry', '~> 0'
24
24
  s.add_development_dependency 'rake', '~> 13'
25
25
  s.add_development_dependency 'rspec', '~> 3'
26
- s.add_development_dependency 'wwtd', '~> 1'
27
26
 
28
- s.add_dependency 'countries', '~> 4.0'
27
+ s.add_dependency 'countries', '~> 4.2'
29
28
  s.add_dependency 'sort_alphabetical', '~> 1.1'
30
29
  end
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => "../"
4
+
5
+ gem "railties", "~> 5.2"
6
+ gem "actionpack", "~> 5.2"
@@ -1,105 +1,111 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (5.1.0)
5
- countries (~> 4.0)
4
+ country_select (6.1.0)
5
+ countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (5.2.4.5)
12
- actionview (= 5.2.4.5)
13
- activesupport (= 5.2.4.5)
11
+ actionpack (5.2.6)
12
+ actionview (= 5.2.6)
13
+ activesupport (= 5.2.6)
14
14
  rack (~> 2.0, >= 2.0.8)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
- actionview (5.2.4.5)
19
- activesupport (= 5.2.4.5)
18
+ actionview (5.2.6)
19
+ activesupport (= 5.2.6)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
- activesupport (5.2.4.5)
24
+ activesupport (5.2.6)
25
25
  concurrent-ruby (~> 1.0, >= 1.0.2)
26
26
  i18n (>= 0.7, < 2)
27
27
  minitest (~> 5.1)
28
28
  tzinfo (~> 1.1)
29
29
  builder (3.2.4)
30
30
  coderay (1.1.3)
31
- concurrent-ruby (1.1.8)
32
- countries (4.0.0)
33
- i18n_data (~> 0.13.0)
31
+ concurrent-ruby (1.1.9)
32
+ countries (4.2.1)
33
+ i18n_data (~> 0.15.0)
34
34
  sixarm_ruby_unaccent (~> 1.1)
35
35
  crass (1.0.6)
36
- diff-lcs (1.4.4)
36
+ diff-lcs (1.5.0)
37
37
  erubi (1.10.0)
38
- i18n (1.8.9)
38
+ i18n (1.8.11)
39
39
  concurrent-ruby (~> 1.0)
40
- i18n_data (0.13.0)
41
- loofah (2.9.0)
40
+ i18n_data (0.15.0)
41
+ simple_po_parser (~> 1.1)
42
+ loofah (2.13.0)
42
43
  crass (~> 1.0.2)
43
44
  nokogiri (>= 1.5.9)
44
45
  method_source (1.0.0)
45
- mini_portile2 (2.5.0)
46
- minitest (5.14.4)
47
- nokogiri (1.11.1)
48
- mini_portile2 (~> 2.5.0)
46
+ mini_portile2 (2.7.1)
47
+ minitest (5.15.0)
48
+ nokogiri (1.13.1)
49
+ mini_portile2 (~> 2.7.0)
49
50
  racc (~> 1.4)
50
- pry (0.14.0)
51
+ nokogiri (1.13.1-arm64-darwin)
52
+ racc (~> 1.4)
53
+ nokogiri (1.13.1-x86_64-linux)
54
+ racc (~> 1.4)
55
+ pry (0.14.1)
51
56
  coderay (~> 1.1)
52
57
  method_source (~> 1.0)
53
- racc (1.5.2)
58
+ racc (1.6.0)
54
59
  rack (2.2.3)
55
60
  rack-test (1.1.0)
56
61
  rack (>= 1.0, < 3)
57
62
  rails-dom-testing (2.0.3)
58
63
  activesupport (>= 4.2.0)
59
64
  nokogiri (>= 1.6)
60
- rails-html-sanitizer (1.3.0)
65
+ rails-html-sanitizer (1.4.2)
61
66
  loofah (~> 2.3)
62
- railties (5.2.4.5)
63
- actionpack (= 5.2.4.5)
64
- activesupport (= 5.2.4.5)
67
+ railties (5.2.6)
68
+ actionpack (= 5.2.6)
69
+ activesupport (= 5.2.6)
65
70
  method_source
66
71
  rake (>= 0.8.7)
67
72
  thor (>= 0.19.0, < 2.0)
68
- rake (13.0.3)
73
+ rake (13.0.6)
69
74
  rspec (3.10.0)
70
75
  rspec-core (~> 3.10.0)
71
76
  rspec-expectations (~> 3.10.0)
72
77
  rspec-mocks (~> 3.10.0)
73
78
  rspec-core (3.10.1)
74
79
  rspec-support (~> 3.10.0)
75
- rspec-expectations (3.10.1)
80
+ rspec-expectations (3.10.2)
76
81
  diff-lcs (>= 1.2.0, < 2.0)
77
82
  rspec-support (~> 3.10.0)
78
83
  rspec-mocks (3.10.2)
79
84
  diff-lcs (>= 1.2.0, < 2.0)
80
85
  rspec-support (~> 3.10.0)
81
- rspec-support (3.10.2)
86
+ rspec-support (3.10.3)
87
+ simple_po_parser (1.1.5)
82
88
  sixarm_ruby_unaccent (1.2.0)
83
89
  sort_alphabetical (1.1.0)
84
90
  unicode_utils (>= 1.2.2)
85
- thor (1.1.0)
91
+ thor (1.2.1)
86
92
  thread_safe (0.3.6)
87
93
  tzinfo (1.2.9)
88
94
  thread_safe (~> 0.1)
89
95
  unicode_utils (1.4.0)
90
- wwtd (1.4.1)
91
96
 
92
97
  PLATFORMS
98
+ arm64-darwin-21
93
99
  ruby
100
+ x86_64-linux
94
101
 
95
102
  DEPENDENCIES
96
- actionpack (~> 5.2.4)
103
+ actionpack (~> 5.2)
97
104
  country_select!
98
105
  pry (~> 0)
99
- railties (~> 5.2.4)
106
+ railties (~> 5.2)
100
107
  rake (~> 13)
101
108
  rspec (~> 3)
102
- wwtd (~> 1)
103
109
 
104
110
  BUNDLED WITH
105
- 2.2.15
111
+ 2.3.3
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => "../"
4
+
5
+ gem "railties", "~> 6.0"
6
+ gem "actionpack", "~> 6.0"
@@ -1,27 +1,27 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (5.1.0)
5
- countries (~> 4.0)
4
+ country_select (6.1.0)
5
+ countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (6.1.3)
12
- actionview (= 6.1.3)
13
- activesupport (= 6.1.3)
11
+ actionpack (6.1.4.4)
12
+ actionview (= 6.1.4.4)
13
+ activesupport (= 6.1.4.4)
14
14
  rack (~> 2.0, >= 2.0.9)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (6.1.3)
19
- activesupport (= 6.1.3)
18
+ actionview (6.1.4.4)
19
+ activesupport (= 6.1.4.4)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (6.1.3)
24
+ activesupport (6.1.4.4)
25
25
  concurrent-ruby (~> 1.0, >= 1.0.2)
26
26
  i18n (>= 1.6, < 2)
27
27
  minitest (>= 5.1)
@@ -29,78 +29,84 @@ GEM
29
29
  zeitwerk (~> 2.3)
30
30
  builder (3.2.4)
31
31
  coderay (1.1.3)
32
- concurrent-ruby (1.1.8)
33
- countries (4.0.0)
34
- i18n_data (~> 0.13.0)
32
+ concurrent-ruby (1.1.9)
33
+ countries (4.2.1)
34
+ i18n_data (~> 0.15.0)
35
35
  sixarm_ruby_unaccent (~> 1.1)
36
36
  crass (1.0.6)
37
- diff-lcs (1.4.4)
37
+ diff-lcs (1.5.0)
38
38
  erubi (1.10.0)
39
- i18n (1.8.9)
39
+ i18n (1.8.11)
40
40
  concurrent-ruby (~> 1.0)
41
- i18n_data (0.13.0)
42
- loofah (2.9.0)
41
+ i18n_data (0.15.0)
42
+ simple_po_parser (~> 1.1)
43
+ loofah (2.13.0)
43
44
  crass (~> 1.0.2)
44
45
  nokogiri (>= 1.5.9)
45
46
  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)
47
+ mini_portile2 (2.7.1)
48
+ minitest (5.15.0)
49
+ nokogiri (1.13.1)
50
+ mini_portile2 (~> 2.7.0)
50
51
  racc (~> 1.4)
51
- pry (0.14.0)
52
+ nokogiri (1.13.1-arm64-darwin)
53
+ racc (~> 1.4)
54
+ nokogiri (1.13.1-x86_64-linux)
55
+ racc (~> 1.4)
56
+ pry (0.14.1)
52
57
  coderay (~> 1.1)
53
58
  method_source (~> 1.0)
54
- racc (1.5.2)
59
+ racc (1.6.0)
55
60
  rack (2.2.3)
56
61
  rack-test (1.1.0)
57
62
  rack (>= 1.0, < 3)
58
63
  rails-dom-testing (2.0.3)
59
64
  activesupport (>= 4.2.0)
60
65
  nokogiri (>= 1.6)
61
- rails-html-sanitizer (1.3.0)
66
+ rails-html-sanitizer (1.4.2)
62
67
  loofah (~> 2.3)
63
- railties (6.1.3)
64
- actionpack (= 6.1.3)
65
- activesupport (= 6.1.3)
68
+ railties (6.1.4.4)
69
+ actionpack (= 6.1.4.4)
70
+ activesupport (= 6.1.4.4)
66
71
  method_source
67
- rake (>= 0.8.7)
72
+ rake (>= 0.13)
68
73
  thor (~> 1.0)
69
- rake (13.0.3)
74
+ rake (13.0.6)
70
75
  rspec (3.10.0)
71
76
  rspec-core (~> 3.10.0)
72
77
  rspec-expectations (~> 3.10.0)
73
78
  rspec-mocks (~> 3.10.0)
74
79
  rspec-core (3.10.1)
75
80
  rspec-support (~> 3.10.0)
76
- rspec-expectations (3.10.1)
81
+ rspec-expectations (3.10.2)
77
82
  diff-lcs (>= 1.2.0, < 2.0)
78
83
  rspec-support (~> 3.10.0)
79
84
  rspec-mocks (3.10.2)
80
85
  diff-lcs (>= 1.2.0, < 2.0)
81
86
  rspec-support (~> 3.10.0)
82
- rspec-support (3.10.2)
87
+ rspec-support (3.10.3)
88
+ simple_po_parser (1.1.5)
83
89
  sixarm_ruby_unaccent (1.2.0)
84
90
  sort_alphabetical (1.1.0)
85
91
  unicode_utils (>= 1.2.2)
86
- thor (1.1.0)
92
+ thor (1.2.1)
87
93
  tzinfo (2.0.4)
88
94
  concurrent-ruby (~> 1.0)
89
95
  unicode_utils (1.4.0)
90
- wwtd (1.4.1)
91
- zeitwerk (2.4.2)
96
+ zeitwerk (2.5.3)
92
97
 
93
98
  PLATFORMS
99
+ arm64-darwin-21
94
100
  ruby
101
+ x86_64-linux
95
102
 
96
103
  DEPENDENCIES
97
- actionpack (~> 6.1.0)
104
+ actionpack (~> 6.0)
98
105
  country_select!
99
106
  pry (~> 0)
100
- railties (~> 6.1.0)
107
+ railties (~> 6.0)
101
108
  rake (~> 13)
102
109
  rspec (~> 3)
103
- wwtd (~> 1)
104
110
 
105
111
  BUNDLED WITH
106
- 2.2.15
112
+ 2.3.3
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => "../"
4
+
5
+ gem "railties", "~> 6.1"
6
+ gem "actionpack", "~> 6.1"
@@ -0,0 +1,112 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ country_select (6.1.0)
5
+ countries (~> 4.2)
6
+ sort_alphabetical (~> 1.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (6.1.4.4)
12
+ actionview (= 6.1.4.4)
13
+ activesupport (= 6.1.4.4)
14
+ rack (~> 2.0, >= 2.0.9)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
+ actionview (6.1.4.4)
19
+ activesupport (= 6.1.4.4)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
+ activesupport (6.1.4.4)
25
+ concurrent-ruby (~> 1.0, >= 1.0.2)
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.9)
33
+ countries (4.2.1)
34
+ i18n_data (~> 0.15.0)
35
+ sixarm_ruby_unaccent (~> 1.1)
36
+ crass (1.0.6)
37
+ diff-lcs (1.5.0)
38
+ erubi (1.10.0)
39
+ i18n (1.8.11)
40
+ concurrent-ruby (~> 1.0)
41
+ i18n_data (0.15.0)
42
+ simple_po_parser (~> 1.1)
43
+ loofah (2.13.0)
44
+ crass (~> 1.0.2)
45
+ nokogiri (>= 1.5.9)
46
+ method_source (1.0.0)
47
+ mini_portile2 (2.7.1)
48
+ minitest (5.15.0)
49
+ nokogiri (1.13.1)
50
+ mini_portile2 (~> 2.7.0)
51
+ racc (~> 1.4)
52
+ nokogiri (1.13.1-arm64-darwin)
53
+ racc (~> 1.4)
54
+ nokogiri (1.13.1-x86_64-linux)
55
+ racc (~> 1.4)
56
+ pry (0.14.1)
57
+ coderay (~> 1.1)
58
+ method_source (~> 1.0)
59
+ racc (1.6.0)
60
+ rack (2.2.3)
61
+ rack-test (1.1.0)
62
+ rack (>= 1.0, < 3)
63
+ rails-dom-testing (2.0.3)
64
+ activesupport (>= 4.2.0)
65
+ nokogiri (>= 1.6)
66
+ rails-html-sanitizer (1.4.2)
67
+ loofah (~> 2.3)
68
+ railties (6.1.4.4)
69
+ actionpack (= 6.1.4.4)
70
+ activesupport (= 6.1.4.4)
71
+ method_source
72
+ rake (>= 0.13)
73
+ thor (~> 1.0)
74
+ rake (13.0.6)
75
+ rspec (3.10.0)
76
+ rspec-core (~> 3.10.0)
77
+ rspec-expectations (~> 3.10.0)
78
+ rspec-mocks (~> 3.10.0)
79
+ rspec-core (3.10.1)
80
+ rspec-support (~> 3.10.0)
81
+ rspec-expectations (3.10.2)
82
+ diff-lcs (>= 1.2.0, < 2.0)
83
+ rspec-support (~> 3.10.0)
84
+ rspec-mocks (3.10.2)
85
+ diff-lcs (>= 1.2.0, < 2.0)
86
+ rspec-support (~> 3.10.0)
87
+ rspec-support (3.10.3)
88
+ simple_po_parser (1.1.5)
89
+ sixarm_ruby_unaccent (1.2.0)
90
+ sort_alphabetical (1.1.0)
91
+ unicode_utils (>= 1.2.2)
92
+ thor (1.2.1)
93
+ tzinfo (2.0.4)
94
+ concurrent-ruby (~> 1.0)
95
+ unicode_utils (1.4.0)
96
+ zeitwerk (2.5.3)
97
+
98
+ PLATFORMS
99
+ arm64-darwin-21
100
+ ruby
101
+ x86_64-linux
102
+
103
+ DEPENDENCIES
104
+ actionpack (~> 6.1)
105
+ country_select!
106
+ pry (~> 0)
107
+ railties (~> 6.1)
108
+ rake (~> 13)
109
+ rspec (~> 3)
110
+
111
+ BUNDLED WITH
112
+ 2.3.3
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => "../"
4
+
5
+ gem "railties", "~> 7.0"
6
+ gem "actionpack", "~> 7.0"
@@ -1,107 +1,112 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (5.1.0)
5
- countries (~> 4.0)
4
+ country_select (6.1.0)
5
+ countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (6.0.3.5)
12
- actionview (= 6.0.3.5)
13
- activesupport (= 6.0.3.5)
14
- rack (~> 2.0, >= 2.0.8)
11
+ actionpack (7.0.1)
12
+ actionview (= 7.0.1)
13
+ activesupport (= 7.0.1)
14
+ rack (~> 2.0, >= 2.2.0)
15
15
  rack-test (>= 0.6.3)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (6.0.3.5)
19
- activesupport (= 6.0.3.5)
18
+ actionview (7.0.1)
19
+ activesupport (= 7.0.1)
20
20
  builder (~> 3.1)
21
21
  erubi (~> 1.4)
22
22
  rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (6.0.3.5)
24
+ activesupport (7.0.1)
25
25
  concurrent-ruby (~> 1.0, >= 1.0.2)
26
- i18n (>= 0.7, < 2)
27
- minitest (~> 5.1)
28
- tzinfo (~> 1.1)
29
- zeitwerk (~> 2.2, >= 2.2.2)
26
+ i18n (>= 1.6, < 2)
27
+ minitest (>= 5.1)
28
+ tzinfo (~> 2.0)
30
29
  builder (3.2.4)
31
30
  coderay (1.1.3)
32
- concurrent-ruby (1.1.8)
33
- countries (4.0.0)
34
- i18n_data (~> 0.13.0)
31
+ concurrent-ruby (1.1.9)
32
+ countries (4.2.1)
33
+ i18n_data (~> 0.15.0)
35
34
  sixarm_ruby_unaccent (~> 1.1)
36
35
  crass (1.0.6)
37
- diff-lcs (1.4.4)
36
+ diff-lcs (1.5.0)
38
37
  erubi (1.10.0)
39
- i18n (1.8.9)
38
+ i18n (1.8.11)
40
39
  concurrent-ruby (~> 1.0)
41
- i18n_data (0.13.0)
42
- loofah (2.9.0)
40
+ i18n_data (0.15.0)
41
+ simple_po_parser (~> 1.1)
42
+ loofah (2.13.0)
43
43
  crass (~> 1.0.2)
44
44
  nokogiri (>= 1.5.9)
45
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)
46
+ mini_portile2 (2.7.1)
47
+ minitest (5.15.0)
48
+ nokogiri (1.13.1)
49
+ mini_portile2 (~> 2.7.0)
50
50
  racc (~> 1.4)
51
- pry (0.14.0)
51
+ nokogiri (1.13.1-arm64-darwin)
52
+ racc (~> 1.4)
53
+ nokogiri (1.13.1-x86_64-linux)
54
+ racc (~> 1.4)
55
+ pry (0.14.1)
52
56
  coderay (~> 1.1)
53
57
  method_source (~> 1.0)
54
- racc (1.5.2)
58
+ racc (1.6.0)
55
59
  rack (2.2.3)
56
60
  rack-test (1.1.0)
57
61
  rack (>= 1.0, < 3)
58
62
  rails-dom-testing (2.0.3)
59
63
  activesupport (>= 4.2.0)
60
64
  nokogiri (>= 1.6)
61
- rails-html-sanitizer (1.3.0)
65
+ rails-html-sanitizer (1.4.2)
62
66
  loofah (~> 2.3)
63
- railties (6.0.3.5)
64
- actionpack (= 6.0.3.5)
65
- activesupport (= 6.0.3.5)
67
+ railties (7.0.1)
68
+ actionpack (= 7.0.1)
69
+ activesupport (= 7.0.1)
66
70
  method_source
67
- rake (>= 0.8.7)
68
- thor (>= 0.20.3, < 2.0)
69
- rake (13.0.3)
71
+ rake (>= 12.2)
72
+ thor (~> 1.0)
73
+ zeitwerk (~> 2.5)
74
+ rake (13.0.6)
70
75
  rspec (3.10.0)
71
76
  rspec-core (~> 3.10.0)
72
77
  rspec-expectations (~> 3.10.0)
73
78
  rspec-mocks (~> 3.10.0)
74
79
  rspec-core (3.10.1)
75
80
  rspec-support (~> 3.10.0)
76
- rspec-expectations (3.10.1)
81
+ rspec-expectations (3.10.2)
77
82
  diff-lcs (>= 1.2.0, < 2.0)
78
83
  rspec-support (~> 3.10.0)
79
84
  rspec-mocks (3.10.2)
80
85
  diff-lcs (>= 1.2.0, < 2.0)
81
86
  rspec-support (~> 3.10.0)
82
- rspec-support (3.10.2)
87
+ rspec-support (3.10.3)
88
+ simple_po_parser (1.1.5)
83
89
  sixarm_ruby_unaccent (1.2.0)
84
90
  sort_alphabetical (1.1.0)
85
91
  unicode_utils (>= 1.2.2)
86
- thor (1.1.0)
87
- thread_safe (0.3.6)
88
- tzinfo (1.2.9)
89
- thread_safe (~> 0.1)
92
+ thor (1.2.1)
93
+ tzinfo (2.0.4)
94
+ concurrent-ruby (~> 1.0)
90
95
  unicode_utils (1.4.0)
91
- wwtd (1.4.1)
92
- zeitwerk (2.4.2)
96
+ zeitwerk (2.5.3)
93
97
 
94
98
  PLATFORMS
99
+ arm64-darwin-21
95
100
  ruby
101
+ x86_64-linux
96
102
 
97
103
  DEPENDENCIES
98
- actionpack (~> 6.0.2)
104
+ actionpack (~> 7.0)
99
105
  country_select!
100
106
  pry (~> 0)
101
- railties (~> 6.0.2)
107
+ railties (~> 7.0)
102
108
  rake (~> 13)
103
109
  rspec (~> 3)
104
- wwtd (~> 1)
105
110
 
106
111
  BUNDLED WITH
107
- 2.2.15
112
+ 2.3.3
@@ -1,32 +1,31 @@
1
1
  GIT
2
2
  remote: https://github.com/rails/rails.git
3
- revision: a34d64d82e213a4054fbb69ad5cd7a5137a5a252
3
+ revision: 83a4fa414bc9e5008825f47857fdd80e85c82033
4
4
  specs:
5
- actionpack (7.0.0.alpha)
6
- actionview (= 7.0.0.alpha)
7
- activesupport (= 7.0.0.alpha)
8
- rack (~> 2.0, >= 2.0.9)
5
+ actionpack (7.1.0.alpha)
6
+ actionview (= 7.1.0.alpha)
7
+ activesupport (= 7.1.0.alpha)
8
+ rack (~> 2.0, >= 2.2.0)
9
9
  rack-test (>= 0.6.3)
10
10
  rails-dom-testing (~> 2.0)
11
11
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
12
- actionview (7.0.0.alpha)
13
- activesupport (= 7.0.0.alpha)
12
+ actionview (7.1.0.alpha)
13
+ activesupport (= 7.1.0.alpha)
14
14
  builder (~> 3.1)
15
15
  erubi (~> 1.4)
16
16
  rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
18
- activesupport (7.0.0.alpha)
18
+ activesupport (7.1.0.alpha)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
20
  i18n (>= 1.6, < 2)
21
21
  minitest (>= 5.1)
22
22
  tzinfo (~> 2.0)
23
- zeitwerk (~> 2.3)
24
23
 
25
24
  PATH
26
25
  remote: ..
27
26
  specs:
28
- country_select (5.1.0)
29
- countries (~> 4.0)
27
+ country_select (6.1.0)
28
+ countries (~> 4.2)
30
29
  sort_alphabetical (~> 1.1)
31
30
 
32
31
  GEM
@@ -34,62 +33,68 @@ GEM
34
33
  specs:
35
34
  builder (3.2.4)
36
35
  coderay (1.1.3)
37
- concurrent-ruby (1.1.8)
38
- countries (4.0.0)
39
- i18n_data (~> 0.13.0)
36
+ concurrent-ruby (1.1.9)
37
+ countries (4.2.1)
38
+ i18n_data (~> 0.15.0)
40
39
  sixarm_ruby_unaccent (~> 1.1)
41
40
  crass (1.0.6)
42
- diff-lcs (1.4.4)
41
+ diff-lcs (1.5.0)
43
42
  erubi (1.10.0)
44
- i18n (1.8.9)
43
+ i18n (1.8.11)
45
44
  concurrent-ruby (~> 1.0)
46
- i18n_data (0.13.0)
47
- loofah (2.9.0)
45
+ i18n_data (0.15.0)
46
+ simple_po_parser (~> 1.1)
47
+ loofah (2.13.0)
48
48
  crass (~> 1.0.2)
49
49
  nokogiri (>= 1.5.9)
50
50
  method_source (1.0.0)
51
- mini_portile2 (2.5.0)
52
- minitest (5.14.4)
53
- nokogiri (1.11.1)
54
- mini_portile2 (~> 2.5.0)
51
+ mini_portile2 (2.7.1)
52
+ minitest (5.15.0)
53
+ nokogiri (1.13.1)
54
+ mini_portile2 (~> 2.7.0)
55
55
  racc (~> 1.4)
56
- pry (0.14.0)
56
+ nokogiri (1.13.1-arm64-darwin)
57
+ racc (~> 1.4)
58
+ nokogiri (1.13.1-x86_64-linux)
59
+ racc (~> 1.4)
60
+ pry (0.14.1)
57
61
  coderay (~> 1.1)
58
62
  method_source (~> 1.0)
59
- racc (1.5.2)
63
+ racc (1.6.0)
60
64
  rack (2.2.3)
61
65
  rack-test (1.1.0)
62
66
  rack (>= 1.0, < 3)
63
67
  rails-dom-testing (2.0.3)
64
68
  activesupport (>= 4.2.0)
65
69
  nokogiri (>= 1.6)
66
- rails-html-sanitizer (1.3.0)
70
+ rails-html-sanitizer (1.4.2)
67
71
  loofah (~> 2.3)
68
- rake (13.0.3)
72
+ rake (13.0.6)
69
73
  rspec (3.10.0)
70
74
  rspec-core (~> 3.10.0)
71
75
  rspec-expectations (~> 3.10.0)
72
76
  rspec-mocks (~> 3.10.0)
73
77
  rspec-core (3.10.1)
74
78
  rspec-support (~> 3.10.0)
75
- rspec-expectations (3.10.1)
79
+ rspec-expectations (3.10.2)
76
80
  diff-lcs (>= 1.2.0, < 2.0)
77
81
  rspec-support (~> 3.10.0)
78
82
  rspec-mocks (3.10.2)
79
83
  diff-lcs (>= 1.2.0, < 2.0)
80
84
  rspec-support (~> 3.10.0)
81
- rspec-support (3.10.2)
85
+ rspec-support (3.10.3)
86
+ simple_po_parser (1.1.5)
82
87
  sixarm_ruby_unaccent (1.2.0)
83
88
  sort_alphabetical (1.1.0)
84
89
  unicode_utils (>= 1.2.2)
85
90
  tzinfo (2.0.4)
86
91
  concurrent-ruby (~> 1.0)
87
92
  unicode_utils (1.4.0)
88
- wwtd (1.4.1)
89
- zeitwerk (2.4.2)
90
93
 
91
94
  PLATFORMS
95
+ arm64-darwin-21
92
96
  ruby
97
+ x86_64-linux
93
98
 
94
99
  DEPENDENCIES
95
100
  actionpack!
@@ -99,7 +104,6 @@ DEPENDENCIES
99
104
  pry (~> 0)
100
105
  rake (~> 13)
101
106
  rspec (~> 3)
102
- wwtd (~> 1)
103
107
 
104
108
  BUNDLED WITH
105
- 2.2.15
109
+ 2.3.3
@@ -4,6 +4,6 @@ module CountrySelect
4
4
  FORMATS[:default] = lambda do |country|
5
5
  # Need to use :[] specifically, not :dig, because country.translations is a
6
6
  # ISO3166::Translations object, which overrides :[] to support i18n locale fallbacks
7
- country.translations&.send(:[], I18n.locale.to_s) || country.name
7
+ country.translations&.send(:[], I18n.locale.to_s) || country.iso_short_name
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module CountrySelect
2
- VERSION = '6.0.0'
2
+ VERSION = '6.1.0'
3
3
  end
@@ -255,7 +255,7 @@ describe "CountrySelect" do
255
255
  describe "custom formats" do
256
256
  it "accepts a custom formatter" do
257
257
  ::CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
258
- "#{country.name} (#{country.alpha2})"
258
+ "#{country.iso_short_name} (#{country.alpha2})"
259
259
  end
260
260
 
261
261
  tag = options_for_select([['United States of America (US)', 'US']], 'US')
@@ -267,7 +267,7 @@ describe "CountrySelect" do
267
267
 
268
268
  it "accepts an array for formatter" do
269
269
  ::CountrySelect::FORMATS[:with_alpha3] = lambda do |country|
270
- [country.name, country.alpha3]
270
+ [country.iso_short_name, country.alpha3]
271
271
  end
272
272
 
273
273
  tag = options_for_select([['United States of America', 'USA']], 'USA')
@@ -278,7 +278,7 @@ describe "CountrySelect" do
278
278
 
279
279
  it "accepts an array for formatter + custom formatter" do
280
280
  ::CountrySelect::FORMATS[:with_alpha3] = lambda do |country|
281
- ["#{country.name} (#{country.alpha2})", country.alpha3]
281
+ ["#{country.iso_short_name} (#{country.alpha2})", country.alpha3]
282
282
  end
283
283
 
284
284
  tag = options_for_select([['United States of America (US)', 'USA']], 'USA')
@@ -289,7 +289,7 @@ describe "CountrySelect" do
289
289
 
290
290
  it "marks priority countries as selected only once" do
291
291
  ::CountrySelect::FORMATS[:with_alpha3] = lambda do |country|
292
- [country.name, country.alpha3]
292
+ [country.iso_short_name, country.alpha3]
293
293
  end
294
294
 
295
295
  tag = options_for_select([['United States of America', 'USA']], 'USA')
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: 6.0.0
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Penner
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-28 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.1'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,34 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3'
69
- - !ruby/object:Gem::Dependency
70
- name: wwtd
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: countries
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '4.0'
75
+ version: '4.2'
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '4.0'
82
+ version: '4.2'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: sort_alphabetical
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -117,9 +103,9 @@ executables: []
117
103
  extensions: []
118
104
  extra_rdoc_files: []
119
105
  files:
106
+ - ".github/workflows/build.yml"
120
107
  - ".gitignore"
121
108
  - ".rspec"
122
- - ".travis.yml"
123
109
  - CHANGELOG.md
124
110
  - Gemfile
125
111
  - Gemfile.lock
@@ -128,14 +114,16 @@ files:
128
114
  - Rakefile
129
115
  - UPGRADING.md
130
116
  - country_select.gemspec
131
- - gemfiles/actionpack.edge.gemfile
132
- - gemfiles/actionpack.edge.gemfile.lock
133
- - gemfiles/actionpack5.2.gemfile
134
- - gemfiles/actionpack5.2.gemfile.lock
135
- - gemfiles/actionpack6.0.gemfile
136
- - gemfiles/actionpack6.0.gemfile.lock
137
- - gemfiles/actionpack6.1.gemfile
138
- - gemfiles/actionpack6.1.gemfile.lock
117
+ - gemfiles/actionpack-5.2.gemfile
118
+ - gemfiles/actionpack-5.2.gemfile.lock
119
+ - gemfiles/actionpack-6.0.gemfile
120
+ - gemfiles/actionpack-6.0.gemfile.lock
121
+ - gemfiles/actionpack-6.1.gemfile
122
+ - gemfiles/actionpack-6.1.gemfile.lock
123
+ - gemfiles/actionpack-7.0.gemfile
124
+ - gemfiles/actionpack-7.0.gemfile.lock
125
+ - gemfiles/actionpack-head.gemfile
126
+ - gemfiles/actionpack-head.gemfile.lock
139
127
  - lib/country_select.rb
140
128
  - lib/country_select/country_select_helper.rb
141
129
  - lib/country_select/defaults.rb
@@ -149,7 +137,7 @@ homepage: https://github.com/stefanpenner/country_select
149
137
  licenses:
150
138
  - MIT
151
139
  metadata: {}
152
- post_install_message:
140
+ post_install_message:
153
141
  rdoc_options: []
154
142
  require_paths:
155
143
  - lib
@@ -164,8 +152,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
152
  - !ruby/object:Gem::Version
165
153
  version: '0'
166
154
  requirements: []
167
- rubygems_version: 3.2.13
168
- signing_key:
155
+ rubygems_version: 3.3.3
156
+ signing_key:
169
157
  specification_version: 4
170
158
  summary: Country Select Plugin
171
159
  test_files:
data/.travis.yml DELETED
@@ -1,23 +0,0 @@
1
- os: linux
2
- cache: bundler
3
- language: ruby
4
- bundler_args: ""
5
- rvm:
6
- - "2.5"
7
- - "2.6"
8
- - "2.7"
9
- - "3.0"
10
- - ruby-head
11
- gemfile:
12
- - gemfiles/actionpack5.2.gemfile
13
- - gemfiles/actionpack6.0.gemfile
14
- - gemfiles/actionpack6.1.gemfile
15
- - gemfiles/actionpack.edge.gemfile
16
- jobs:
17
- exclude:
18
- - rvm: "2.5"
19
- gemfile: gemfiles/actionpack.edge.gemfile
20
- - rvm: "2.6"
21
- gemfile: gemfiles/actionpack.edge.gemfile
22
- allow_failures:
23
- - rvm: ruby-head
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => "../"
4
-
5
- gem "railties", "~> 5.2.4"
6
- gem "actionpack", "~> 5.2.4"
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => "../"
4
-
5
- gem "railties", "~> 6.0.2"
6
- gem "actionpack", "~> 6.0.2"
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => "../"
4
-
5
- gem "railties", "~> 6.1.0"
6
- gem "actionpack", "~> 6.1.0"