country_select 7.0.0 → 8.0.3

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.
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: 7.0.0
4
+ version: 8.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Penner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-03 00:00:00.000000000 Z
11
+ date: 2023-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -67,46 +67,49 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3'
69
69
  - !ruby/object:Gem::Dependency
70
- name: countries
70
+ name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5.0'
76
- type: :runtime
75
+ version: '0.22'
76
+ type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5.0'
82
+ version: '0.22'
83
83
  - !ruby/object:Gem::Dependency
84
- name: sort_alphabetical
84
+ name: countries
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.1'
89
+ version: '5.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.1'
97
- description: Provides a simple helper to get an HTML select list of countries. The
98
- list of countries comes from the ISO 3166 standard. While it is a relatively neutral
99
- source of country names, it will still offend some users.
96
+ version: '5.0'
97
+ description: |-
98
+ Provides a simple helper to get an HTML select list of countries. \
99
+ The list of countries comes from the ISO 3166 standard. \
100
+ While it is a relatively neutral source of country names, it will still offend some users.
100
101
  email:
101
102
  - stefan.penner@gmail.com
102
103
  executables: []
103
104
  extensions: []
104
105
  extra_rdoc_files: []
105
106
  files:
106
- - ".github/workflows/build.yml"
107
+ - ".codeclimate.yml"
107
108
  - ".github/workflows/codeql-analysis.yml"
109
+ - ".github/workflows/test.yml"
108
110
  - ".gitignore"
109
111
  - ".rspec"
112
+ - ".rubocop.yml"
110
113
  - CHANGELOG.md
111
114
  - Gemfile
112
115
  - Gemfile.lock
@@ -115,23 +118,18 @@ files:
115
118
  - Rakefile
116
119
  - UPGRADING.md
117
120
  - country_select.gemspec
118
- - gemfiles/actionpack-5.2.gemfile
119
- - gemfiles/actionpack-5.2.gemfile.lock
120
- - gemfiles/actionpack-6.0.gemfile
121
- - gemfiles/actionpack-6.0.gemfile.lock
122
121
  - gemfiles/actionpack-6.1.gemfile
123
122
  - gemfiles/actionpack-6.1.gemfile.lock
124
123
  - gemfiles/actionpack-7.0.gemfile
125
124
  - gemfiles/actionpack-7.0.gemfile.lock
126
- - gemfiles/actionpack-head.gemfile
127
- - gemfiles/actionpack-head.gemfile.lock
125
+ - gemfiles/actionpack-7.1.gemfile
126
+ - gemfiles/actionpack-7.1.gemfile.lock
128
127
  - lib/country_select.rb
129
128
  - lib/country_select/country_select_helper.rb
130
129
  - lib/country_select/defaults.rb
131
130
  - lib/country_select/formats.rb
132
131
  - lib/country_select/tag_helper.rb
133
132
  - lib/country_select/version.rb
134
- - lib/country_select_without_sort_alphabetical.rb
135
133
  - spec/country_select_spec.rb
136
134
  - spec/spec_helper.rb
137
135
  homepage: https://github.com/countries/country_select
@@ -141,6 +139,7 @@ metadata:
141
139
  bug_tracker_uri: http://github.com/countries/country_select/issues
142
140
  changelog_uri: https://github.com/countries/country_select/blob/master/CHANGELOG.md
143
141
  source_code_uri: https://github.com/countries/country_select
142
+ rubygems_mfa_required: 'true'
144
143
  post_install_message:
145
144
  rdoc_options: []
146
145
  require_paths:
@@ -156,10 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
155
  - !ruby/object:Gem::Version
157
156
  version: '0'
158
157
  requirements: []
159
- rubygems_version: 3.3.7
158
+ rubygems_version: 3.4.19
160
159
  signing_key:
161
160
  specification_version: 4
162
161
  summary: Country Select Plugin
163
- test_files:
164
- - spec/country_select_spec.rb
165
- - spec/spec_helper.rb
162
+ test_files: []
@@ -1,25 +0,0 @@
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.7, '3.0', 3.1]
16
- gemfile: [5.2, '6.0', 6.1, '7.0']
17
- env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
18
- BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile
19
- steps:
20
- - uses: actions/checkout@v2
21
- - uses: ruby/setup-ruby@v1
22
- with:
23
- ruby-version: ${{ matrix.ruby }}
24
- bundler-cache: true
25
- - run: bundle exec rake
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => "../"
4
-
5
- gem "railties", "~> 5.2"
6
- gem "actionpack", "~> 5.2"
@@ -1,106 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- country_select (7.0.0)
5
- countries (~> 5.0)
6
- sort_alphabetical (~> 1.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (5.2.7)
12
- actionview (= 5.2.7)
13
- activesupport (= 5.2.7)
14
- rack (~> 2.0, >= 2.0.8)
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.7)
19
- activesupport (= 5.2.7)
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.7)
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.4)
30
- coderay (1.1.3)
31
- concurrent-ruby (1.1.10)
32
- countries (5.0.0)
33
- i18n_data (~> 0.16.0)
34
- sixarm_ruby_unaccent (~> 1.1)
35
- crass (1.0.6)
36
- diff-lcs (1.5.0)
37
- erubi (1.10.0)
38
- i18n (1.10.0)
39
- concurrent-ruby (~> 1.0)
40
- i18n_data (0.16.0)
41
- simple_po_parser (~> 1.1)
42
- loofah (2.16.0)
43
- crass (~> 1.0.2)
44
- nokogiri (>= 1.5.9)
45
- method_source (1.0.0)
46
- minitest (5.15.0)
47
- nokogiri (1.13.3-x86_64-darwin)
48
- racc (~> 1.4)
49
- nokogiri (1.13.3-x86_64-linux)
50
- racc (~> 1.4)
51
- pry (0.14.1)
52
- coderay (~> 1.1)
53
- method_source (~> 1.0)
54
- racc (1.6.0)
55
- rack (2.2.3)
56
- rack-test (1.1.0)
57
- rack (>= 1.0, < 3)
58
- rails-dom-testing (2.0.3)
59
- activesupport (>= 4.2.0)
60
- nokogiri (>= 1.6)
61
- rails-html-sanitizer (1.4.2)
62
- loofah (~> 2.3)
63
- railties (5.2.7)
64
- actionpack (= 5.2.7)
65
- activesupport (= 5.2.7)
66
- method_source
67
- rake (>= 0.8.7)
68
- thor (>= 0.19.0, < 2.0)
69
- rake (13.0.6)
70
- rspec (3.11.0)
71
- rspec-core (~> 3.11.0)
72
- rspec-expectations (~> 3.11.0)
73
- rspec-mocks (~> 3.11.0)
74
- rspec-core (3.11.0)
75
- rspec-support (~> 3.11.0)
76
- rspec-expectations (3.11.0)
77
- diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.11.0)
79
- rspec-mocks (3.11.1)
80
- diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.11.0)
82
- rspec-support (3.11.0)
83
- simple_po_parser (1.1.6)
84
- sixarm_ruby_unaccent (1.2.0)
85
- sort_alphabetical (1.1.0)
86
- unicode_utils (>= 1.2.2)
87
- thor (1.2.1)
88
- thread_safe (0.3.6)
89
- tzinfo (1.2.9)
90
- thread_safe (~> 0.1)
91
- unicode_utils (1.4.0)
92
-
93
- PLATFORMS
94
- x86_64-darwin-21
95
- x86_64-linux
96
-
97
- DEPENDENCIES
98
- actionpack (~> 5.2)
99
- country_select!
100
- pry (~> 0)
101
- railties (~> 5.2)
102
- rake (~> 13)
103
- rspec (~> 3)
104
-
105
- BUNDLED WITH
106
- 2.3.10
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => "../"
4
-
5
- gem "railties", "~> 6.0"
6
- gem "actionpack", "~> 6.0"
@@ -1,107 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- country_select (7.0.0)
5
- countries (~> 5.0)
6
- sort_alphabetical (~> 1.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (6.1.4.6)
12
- actionview (= 6.1.4.6)
13
- activesupport (= 6.1.4.6)
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.6)
19
- activesupport (= 6.1.4.6)
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.6)
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.10)
33
- countries (5.0.0)
34
- i18n_data (~> 0.16.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.10.0)
40
- concurrent-ruby (~> 1.0)
41
- i18n_data (0.16.0)
42
- simple_po_parser (~> 1.1)
43
- loofah (2.16.0)
44
- crass (~> 1.0.2)
45
- nokogiri (>= 1.5.9)
46
- method_source (1.0.0)
47
- minitest (5.15.0)
48
- nokogiri (1.13.3-x86_64-darwin)
49
- racc (~> 1.4)
50
- nokogiri (1.13.3-x86_64-linux)
51
- racc (~> 1.4)
52
- pry (0.14.1)
53
- coderay (~> 1.1)
54
- method_source (~> 1.0)
55
- racc (1.6.0)
56
- rack (2.2.3)
57
- rack-test (1.1.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.4.2)
63
- loofah (~> 2.3)
64
- railties (6.1.4.6)
65
- actionpack (= 6.1.4.6)
66
- activesupport (= 6.1.4.6)
67
- method_source
68
- rake (>= 0.13)
69
- thor (~> 1.0)
70
- rake (13.0.6)
71
- rspec (3.11.0)
72
- rspec-core (~> 3.11.0)
73
- rspec-expectations (~> 3.11.0)
74
- rspec-mocks (~> 3.11.0)
75
- rspec-core (3.11.0)
76
- rspec-support (~> 3.11.0)
77
- rspec-expectations (3.11.0)
78
- diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.11.0)
80
- rspec-mocks (3.11.1)
81
- diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.11.0)
83
- rspec-support (3.11.0)
84
- simple_po_parser (1.1.6)
85
- sixarm_ruby_unaccent (1.2.0)
86
- sort_alphabetical (1.1.0)
87
- unicode_utils (>= 1.2.2)
88
- thor (1.2.1)
89
- tzinfo (2.0.4)
90
- concurrent-ruby (~> 1.0)
91
- unicode_utils (1.4.0)
92
- zeitwerk (2.5.4)
93
-
94
- PLATFORMS
95
- x86_64-darwin-21
96
- x86_64-linux
97
-
98
- DEPENDENCIES
99
- actionpack (~> 6.0)
100
- country_select!
101
- pry (~> 0)
102
- railties (~> 6.0)
103
- rake (~> 13)
104
- rspec (~> 3)
105
-
106
- BUNDLED WITH
107
- 2.3.10
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec :path => "../"
4
-
5
- git "https://github.com/rails/rails.git" do
6
- gem "actionpack"
7
- gem "actionview"
8
- gem "activesupport"
9
- end
@@ -1,104 +0,0 @@
1
- GIT
2
- remote: https://github.com/rails/rails.git
3
- revision: bb4a8a91884f3eff2b22d4deb3727d3cc267ddc4
4
- specs:
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
- rack-test (>= 0.6.3)
10
- rails-dom-testing (~> 2.0)
11
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
12
- actionview (7.1.0.alpha)
13
- activesupport (= 7.1.0.alpha)
14
- builder (~> 3.1)
15
- erubi (~> 1.4)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
18
- activesupport (7.1.0.alpha)
19
- concurrent-ruby (~> 1.0, >= 1.0.2)
20
- i18n (>= 1.6, < 2)
21
- minitest (>= 5.1)
22
- tzinfo (~> 2.0)
23
-
24
- PATH
25
- remote: ..
26
- specs:
27
- country_select (7.0.0)
28
- countries (~> 5.0)
29
- sort_alphabetical (~> 1.1)
30
-
31
- GEM
32
- remote: https://rubygems.org/
33
- specs:
34
- builder (3.2.4)
35
- coderay (1.1.3)
36
- concurrent-ruby (1.1.10)
37
- countries (5.0.0)
38
- i18n_data (~> 0.16.0)
39
- sixarm_ruby_unaccent (~> 1.1)
40
- crass (1.0.6)
41
- diff-lcs (1.5.0)
42
- erubi (1.10.0)
43
- i18n (1.10.0)
44
- concurrent-ruby (~> 1.0)
45
- i18n_data (0.16.0)
46
- simple_po_parser (~> 1.1)
47
- loofah (2.16.0)
48
- crass (~> 1.0.2)
49
- nokogiri (>= 1.5.9)
50
- method_source (1.0.0)
51
- minitest (5.15.0)
52
- nokogiri (1.13.3-x86_64-darwin)
53
- racc (~> 1.4)
54
- nokogiri (1.13.3-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
- rake (13.0.6)
69
- rspec (3.11.0)
70
- rspec-core (~> 3.11.0)
71
- rspec-expectations (~> 3.11.0)
72
- rspec-mocks (~> 3.11.0)
73
- rspec-core (3.11.0)
74
- rspec-support (~> 3.11.0)
75
- rspec-expectations (3.11.0)
76
- diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.11.0)
78
- rspec-mocks (3.11.1)
79
- diff-lcs (>= 1.2.0, < 2.0)
80
- rspec-support (~> 3.11.0)
81
- rspec-support (3.11.0)
82
- simple_po_parser (1.1.6)
83
- sixarm_ruby_unaccent (1.2.0)
84
- sort_alphabetical (1.1.0)
85
- unicode_utils (>= 1.2.2)
86
- tzinfo (2.0.4)
87
- concurrent-ruby (~> 1.0)
88
- unicode_utils (1.4.0)
89
-
90
- PLATFORMS
91
- x86_64-darwin-21
92
- x86_64-linux
93
-
94
- DEPENDENCIES
95
- actionpack!
96
- actionview!
97
- activesupport!
98
- country_select!
99
- pry (~> 0)
100
- rake (~> 13)
101
- rspec (~> 3)
102
-
103
- BUNDLED WITH
104
- 2.3.10
@@ -1,9 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'countries'
4
-
5
- require 'country_select/version'
6
- require 'country_select/defaults'
7
- require 'country_select/formats'
8
- require 'country_select/tag_helper'
9
- require 'country_select/country_select_helper'