country_select 8.0.0 → 8.0.2
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 +4 -4
- data/.codeclimate.yml +61 -0
- data/.github/workflows/codeql-analysis.yml +3 -3
- data/.github/workflows/test.yml +36 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +34 -0
- data/CHANGELOG.md +14 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +56 -40
- data/README.md +2 -8
- data/Rakefile +11 -14
- data/country_select.gemspec +12 -8
- data/gemfiles/actionpack-5.2.gemfile +7 -4
- data/gemfiles/actionpack-5.2.gemfile.lock +52 -40
- data/gemfiles/actionpack-6.0.gemfile +7 -4
- data/gemfiles/actionpack-6.0.gemfile.lock +53 -41
- data/gemfiles/actionpack-6.1.gemfile +7 -4
- data/gemfiles/actionpack-6.1.gemfile.lock +53 -41
- data/gemfiles/actionpack-7.0.gemfile +7 -4
- data/gemfiles/actionpack-7.0.gemfile.lock +53 -41
- data/gemfiles/actionpack-7.1.gemfile +9 -0
- data/gemfiles/actionpack-7.1.gemfile.lock +133 -0
- data/lib/country_select/country_select_helper.rb +10 -3
- data/lib/country_select/defaults.rb +3 -1
- data/lib/country_select/formats.rb +2 -0
- data/lib/country_select/tag_helper.rb +59 -50
- data/lib/country_select/version.rb +3 -1
- data/lib/country_select.rb +1 -1
- data/spec/country_select_spec.rb +114 -96
- data/spec/spec_helper.rb +7 -3
- metadata +28 -10
- data/.github/workflows/build.yml +0 -25
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: 8.0.
|
4
|
+
version: 8.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Penner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.22'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.22'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: countries
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,19 +94,22 @@ dependencies:
|
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '5.0'
|
83
|
-
description:
|
84
|
-
|
85
|
-
|
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.
|
86
101
|
email:
|
87
102
|
- stefan.penner@gmail.com
|
88
103
|
executables: []
|
89
104
|
extensions: []
|
90
105
|
extra_rdoc_files: []
|
91
106
|
files:
|
92
|
-
- ".
|
107
|
+
- ".codeclimate.yml"
|
93
108
|
- ".github/workflows/codeql-analysis.yml"
|
109
|
+
- ".github/workflows/test.yml"
|
94
110
|
- ".gitignore"
|
95
111
|
- ".rspec"
|
112
|
+
- ".rubocop.yml"
|
96
113
|
- CHANGELOG.md
|
97
114
|
- Gemfile
|
98
115
|
- Gemfile.lock
|
@@ -109,6 +126,8 @@ files:
|
|
109
126
|
- gemfiles/actionpack-6.1.gemfile.lock
|
110
127
|
- gemfiles/actionpack-7.0.gemfile
|
111
128
|
- gemfiles/actionpack-7.0.gemfile.lock
|
129
|
+
- gemfiles/actionpack-7.1.gemfile
|
130
|
+
- gemfiles/actionpack-7.1.gemfile.lock
|
112
131
|
- lib/country_select.rb
|
113
132
|
- lib/country_select/country_select_helper.rb
|
114
133
|
- lib/country_select/defaults.rb
|
@@ -124,6 +143,7 @@ metadata:
|
|
124
143
|
bug_tracker_uri: http://github.com/countries/country_select/issues
|
125
144
|
changelog_uri: https://github.com/countries/country_select/blob/master/CHANGELOG.md
|
126
145
|
source_code_uri: https://github.com/countries/country_select
|
146
|
+
rubygems_mfa_required: 'true'
|
127
147
|
post_install_message:
|
128
148
|
rdoc_options: []
|
129
149
|
require_paths:
|
@@ -139,10 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
159
|
- !ruby/object:Gem::Version
|
140
160
|
version: '0'
|
141
161
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
162
|
+
rubygems_version: 3.4.12
|
143
163
|
signing_key:
|
144
164
|
specification_version: 4
|
145
165
|
summary: Country Select Plugin
|
146
|
-
test_files:
|
147
|
-
- spec/country_select_spec.rb
|
148
|
-
- spec/spec_helper.rb
|
166
|
+
test_files: []
|
data/.github/workflows/build.yml
DELETED
@@ -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
|