country_select 6.0.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8b7782f33173fbacc77ed71df46cbde8cd8ed125d46968c774f97c5d5bc768a
4
- data.tar.gz: b5ed241b2e15dfc0c7f03126badcec1dacbb6047da45afcbef739e8194a3039b
3
+ metadata.gz: c90fbc7dfe822e709d24caaa9f6ea4aadbc565d056acd04a83881fd456d77d04
4
+ data.tar.gz: b8b38e3f7c4b907df636ecb611db60c26aa95c7e355a102ce9b4b5b0395fc77a
5
5
  SHA512:
6
- metadata.gz: f03c36d32ce213c33b3608dc047ee83d5ec86cc4fee676b11c97f3248ab1c27add514c802e1a241141b7d92e7a88463bf4ac8c3bacb37064508be30084ccff39
7
- data.tar.gz: ae90ced4ce2a6d0a973f27da2053695f5f804cd2472d1ab31dc4cbb2fbef1813c677c594e253b694311f5692a30252ec91ce190b6f13d5dcd1656cac58ecab20
6
+ metadata.gz: 6c467912e59762ce36aecdff5b9ff177b10745a5462437be8d4b3eb283d6e92d1629b3eaa08f1ac2581bb28b212e2b43114bfbcc88ee5118fd0290b596817dd8
7
+ data.tar.gz: c29e2c423c6cbf990ff80de5b1415945e90f1425ca5bc82a8cb819edca7438c22d4bba374fc52a6d467c29bab8b823d53b50ad8e70fe5d28afa8a8069ffff083
@@ -0,0 +1,25 @@
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
@@ -0,0 +1,70 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ master ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ master ]
20
+ schedule:
21
+ - cron: '21 7 * * 5'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Learn more about CodeQL language support at https://git.io/codeql-language-support
38
+
39
+ steps:
40
+ - name: Checkout repository
41
+ uses: actions/checkout@v3
42
+
43
+ # Initializes the CodeQL tools for scanning.
44
+ - name: Initialize CodeQL
45
+ uses: github/codeql-action/init@v1
46
+ with:
47
+ languages: ${{ matrix.language }}
48
+ # If you wish to specify custom queries, you can do so here or in a config file.
49
+ # By default, queries listed here will override any specified in a config file.
50
+ # Prefix the list here with "+" to use these queries and those in the config file.
51
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
52
+
53
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
+ # If this step fails, then you should remove it and run the build manually (see below)
55
+ - name: Autobuild
56
+ uses: github/codeql-action/autobuild@v1
57
+
58
+ # ℹ️ Command-line programs to run using the OS shell.
59
+ # 📚 https://git.io/JvXDl
60
+
61
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62
+ # and modify them (or add more) to build your code if your project
63
+ # uses a compiled language
64
+
65
+ #- run: |
66
+ # make bootstrap
67
+ # make release
68
+
69
+ - name: Perform CodeQL Analysis
70
+ uses: github/codeql-action/analyze@v1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 7.0.0 2022-04-03
2
+
3
+ * #200 - Drop support for Ruby 2.5 and 2.6 (@pmor)
4
+ * #201 - Upgrade countries gem to 5.0.0 (@pmor)
5
+
6
+ ## 6.1.1 2022-01-20
7
+
8
+ * #195 - Fix deprecation warning on find_by_name (@filipemendespi)
9
+
10
+ ## 6.1.0 2022-01-16
11
+
12
+ * #190 - Upgrade to countries 4.2 (@pmor)
13
+ * #191 - Add Rails 7 + Ruby 3.1 to build (@scudco)
14
+
1
15
  ## 6.0.0 2021-06-28
2
16
 
3
17
  * #186 - Upgrade to countries 4.0.0 (@pmor)
data/Gemfile.lock CHANGED
@@ -1,98 +1,94 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (6.0.0)
5
- countries (~> 4.0)
4
+ country_select (6.1.1)
5
+ countries (~> 5.0)
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.2.3)
12
+ actionview (= 7.0.2.3)
13
+ activesupport (= 7.0.2.3)
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.2.3)
19
+ activesupport (= 7.0.2.3)
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.2.3)
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.10)
32
+ countries (5.0.0)
33
+ i18n_data (~> 0.16.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.10.0)
40
39
  concurrent-ruby (~> 1.0)
41
- i18n_data (0.13.0)
42
- loofah (2.9.0)
40
+ i18n_data (0.16.0)
41
+ simple_po_parser (~> 1.1)
42
+ loofah (2.16.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
+ minitest (5.15.0)
47
+ nokogiri (1.13.3-x86_64-darwin)
50
48
  racc (~> 1.4)
51
- pry (0.14.0)
49
+ pry (0.14.1)
52
50
  coderay (~> 1.1)
53
51
  method_source (~> 1.0)
54
- racc (1.5.2)
52
+ racc (1.6.0)
55
53
  rack (2.2.3)
56
54
  rack-test (1.1.0)
57
55
  rack (>= 1.0, < 3)
58
56
  rails-dom-testing (2.0.3)
59
57
  activesupport (>= 4.2.0)
60
58
  nokogiri (>= 1.6)
61
- rails-html-sanitizer (1.3.0)
59
+ rails-html-sanitizer (1.4.2)
62
60
  loofah (~> 2.3)
63
- rake (13.0.3)
64
- rspec (3.10.0)
65
- rspec-core (~> 3.10.0)
66
- rspec-expectations (~> 3.10.0)
67
- rspec-mocks (~> 3.10.0)
68
- rspec-core (3.10.1)
69
- rspec-support (~> 3.10.0)
70
- rspec-expectations (3.10.1)
61
+ rake (13.0.6)
62
+ rspec (3.11.0)
63
+ rspec-core (~> 3.11.0)
64
+ rspec-expectations (~> 3.11.0)
65
+ rspec-mocks (~> 3.11.0)
66
+ rspec-core (3.11.0)
67
+ rspec-support (~> 3.11.0)
68
+ rspec-expectations (3.11.0)
71
69
  diff-lcs (>= 1.2.0, < 2.0)
72
- rspec-support (~> 3.10.0)
73
- rspec-mocks (3.10.2)
70
+ rspec-support (~> 3.11.0)
71
+ rspec-mocks (3.11.1)
74
72
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.10.0)
76
- rspec-support (3.10.2)
73
+ rspec-support (~> 3.11.0)
74
+ rspec-support (3.11.0)
75
+ simple_po_parser (1.1.6)
77
76
  sixarm_ruby_unaccent (1.2.0)
78
77
  sort_alphabetical (1.1.0)
79
78
  unicode_utils (>= 1.2.2)
80
79
  tzinfo (2.0.4)
81
80
  concurrent-ruby (~> 1.0)
82
81
  unicode_utils (1.4.0)
83
- wwtd (1.4.1)
84
- zeitwerk (2.4.2)
85
82
 
86
83
  PLATFORMS
87
- ruby
84
+ x86_64-darwin-21
88
85
 
89
86
  DEPENDENCIES
90
- actionpack (~> 6.1)
87
+ actionpack (~> 7.0)
91
88
  country_select!
92
89
  pry (~> 0)
93
90
  rake (~> 13)
94
91
  rspec (~> 3)
95
- wwtd (~> 1)
96
92
 
97
93
  BUNDLED WITH
98
- 2.2.15
94
+ 2.3.10
data/README.md CHANGED
@@ -1,5 +1,8 @@
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/countries/country_select/actions/workflows/build.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/build.yml)
3
+ [![Code Climate](https://codeclimate.com/github/countries/country_select.svg)](https://codeclimate.com/github/countries/country_select)
4
+ [![CodeQL](https://github.com/countries/country_select/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/codeql-analysis.yml)
5
+
3
6
 
4
7
  Provides a simple helper to get an HTML select list of countries using the
5
8
  [ISO 3166-1 standard](https://en.wikipedia.org/wiki/ISO_3166-1).
@@ -14,7 +17,7 @@ to evaluate the suitability of this list given their user base.
14
17
 
15
18
  ## Reporting issues
16
19
 
17
- Open an issue on the [issue tracker](https://github.com/stefanpenner/country_select/issues/new). Ideally provide versions used, and code example that demonstrates the issue.
20
+ Open an issue on the [issue tracker](https://github.com/countries/country_select/issues/new). Ideally provide versions used, and code example that demonstrates the issue.
18
21
 
19
22
  ## Installation
20
23
 
@@ -26,7 +29,7 @@ gem install country_select
26
29
  Or put the following in your Gemfile
27
30
 
28
31
  ```ruby
29
- gem 'country_select', '~> 4.0'
32
+ gem 'country_select', '~> 6.0'
30
33
  ```
31
34
 
32
35
  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 +98,19 @@ country_select("user", "country", { priority_countries: ["GB", "FR"], selected:
95
98
  ### Using a custom formatter
96
99
 
97
100
  You can define a custom formatter which will receive an
98
- [`ISO3166::Country`](https://github.com/hexorx/countries/blob/master/lib/countries/country.rb)
101
+ [`ISO3166::Country`](https://github.com/countries/countries/blob/master/lib/countries/country.rb)
99
102
  ```ruby
100
103
  # config/initializers/country_select.rb
101
104
 
102
105
  # Return a string to customize the text in the <option> tag, `value` attribute will remain unchanged
103
106
  CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
104
- "#{country.name} (#{country.alpha2})"
107
+ "#{country.iso_short_name} (#{country.alpha2})"
105
108
  end
106
109
 
107
110
  # Return an array to customize <option> text, `value` and other HTML attributes
108
111
  CountrySelect::FORMATS[:with_data_attrs] = lambda do |country|
109
112
  [
110
- country.name,
113
+ country.iso_short_name,
111
114
  country.alpha2,
112
115
  {
113
116
  'data-country-code' => country.country_code,
@@ -142,7 +145,7 @@ names as display strings. For example, the United States would appear as
142
145
 
143
146
  Country names are automatically localized based on the value of
144
147
  `I18n.locale` thanks to the wonderful
145
- [countries gem](https://github.com/hexorx/countries/).
148
+ [countries gem](https://github.com/countries/countries/).
146
149
 
147
150
  Current translations include:
148
151
 
@@ -177,7 +180,7 @@ class User < ActiveRecord::Base
177
180
  # (usually English) name if no translation is available
178
181
  def country_name
179
182
  country = ISO3166::Country[country_code]
180
- country.translations[I18n.locale.to_s] || country.name
183
+ country.translations[I18n.locale.to_s] || country.common_name || country.iso_short_name
181
184
  end
182
185
 
183
186
  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
 
@@ -8,23 +8,26 @@ Gem::Specification.new do |s|
8
8
  s.licenses = ['MIT']
9
9
  s.authors = ['Stefan Penner']
10
10
  s.email = ['stefan.penner@gmail.com']
11
- s.homepage = 'https://github.com/stefanpenner/country_select'
11
+ s.homepage = 'https://github.com/countries/country_select'
12
12
  s.summary = %q{Country Select Plugin}
13
13
  s.description = %q{Provides a simple helper to get an HTML select list of countries. The list of countries comes from the ISO 3166 standard. While it is a relatively neutral source of country names, it will still offend some users.}
14
14
 
15
+ s.metadata = { 'bug_tracker_uri' => 'http://github.com/countries/country_select/issues',
16
+ 'changelog_uri' => 'https://github.com/countries/country_select/blob/master/CHANGELOG.md',
17
+ 'source_code_uri' => 'https://github.com/countries/country_select' }
18
+
15
19
  s.files = `git ls-files`.split("\n")
16
20
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
21
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
22
  s.require_paths = ['lib']
19
23
 
20
- s.required_ruby_version = '>= 2.5'
24
+ s.required_ruby_version = '>= 2.7'
21
25
 
22
- s.add_development_dependency 'actionpack', '~> 6.1'
26
+ s.add_development_dependency 'actionpack', '~> 7.0'
23
27
  s.add_development_dependency 'pry', '~> 0'
24
28
  s.add_development_dependency 'rake', '~> 13'
25
29
  s.add_development_dependency 'rspec', '~> 3'
26
- s.add_development_dependency 'wwtd', '~> 1'
27
30
 
28
- s.add_dependency 'countries', '~> 4.0'
31
+ s.add_dependency 'countries', '~> 5.0'
29
32
  s.add_dependency 'sort_alphabetical', '~> 1.1'
30
33
  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,106 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (5.1.0)
5
- countries (~> 4.0)
4
+ country_select (7.0.0)
5
+ countries (~> 5.0)
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.7)
12
+ actionview (= 5.2.7)
13
+ activesupport (= 5.2.7)
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.7)
19
+ activesupport (= 5.2.7)
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.7)
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.10)
32
+ countries (5.0.0)
33
+ i18n_data (~> 0.16.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.10.0)
39
39
  concurrent-ruby (~> 1.0)
40
- i18n_data (0.13.0)
41
- loofah (2.9.0)
40
+ i18n_data (0.16.0)
41
+ simple_po_parser (~> 1.1)
42
+ loofah (2.16.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
+ minitest (5.15.0)
47
+ nokogiri (1.13.3-x86_64-darwin)
49
48
  racc (~> 1.4)
50
- pry (0.14.0)
49
+ nokogiri (1.13.3-x86_64-linux)
50
+ racc (~> 1.4)
51
+ pry (0.14.1)
51
52
  coderay (~> 1.1)
52
53
  method_source (~> 1.0)
53
- racc (1.5.2)
54
+ racc (1.6.0)
54
55
  rack (2.2.3)
55
56
  rack-test (1.1.0)
56
57
  rack (>= 1.0, < 3)
57
58
  rails-dom-testing (2.0.3)
58
59
  activesupport (>= 4.2.0)
59
60
  nokogiri (>= 1.6)
60
- rails-html-sanitizer (1.3.0)
61
+ rails-html-sanitizer (1.4.2)
61
62
  loofah (~> 2.3)
62
- railties (5.2.4.5)
63
- actionpack (= 5.2.4.5)
64
- activesupport (= 5.2.4.5)
63
+ railties (5.2.7)
64
+ actionpack (= 5.2.7)
65
+ activesupport (= 5.2.7)
65
66
  method_source
66
67
  rake (>= 0.8.7)
67
68
  thor (>= 0.19.0, < 2.0)
68
- rake (13.0.3)
69
- rspec (3.10.0)
70
- rspec-core (~> 3.10.0)
71
- rspec-expectations (~> 3.10.0)
72
- rspec-mocks (~> 3.10.0)
73
- rspec-core (3.10.1)
74
- rspec-support (~> 3.10.0)
75
- rspec-expectations (3.10.1)
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)
76
77
  diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.10.0)
78
- rspec-mocks (3.10.2)
78
+ rspec-support (~> 3.11.0)
79
+ rspec-mocks (3.11.1)
79
80
  diff-lcs (>= 1.2.0, < 2.0)
80
- rspec-support (~> 3.10.0)
81
- rspec-support (3.10.2)
81
+ rspec-support (~> 3.11.0)
82
+ rspec-support (3.11.0)
83
+ simple_po_parser (1.1.6)
82
84
  sixarm_ruby_unaccent (1.2.0)
83
85
  sort_alphabetical (1.1.0)
84
86
  unicode_utils (>= 1.2.2)
85
- thor (1.1.0)
87
+ thor (1.2.1)
86
88
  thread_safe (0.3.6)
87
89
  tzinfo (1.2.9)
88
90
  thread_safe (~> 0.1)
89
91
  unicode_utils (1.4.0)
90
- wwtd (1.4.1)
91
92
 
92
93
  PLATFORMS
93
- ruby
94
+ x86_64-darwin-21
95
+ x86_64-linux
94
96
 
95
97
  DEPENDENCIES
96
- actionpack (~> 5.2.4)
98
+ actionpack (~> 5.2)
97
99
  country_select!
98
100
  pry (~> 0)
99
- railties (~> 5.2.4)
101
+ railties (~> 5.2)
100
102
  rake (~> 13)
101
103
  rspec (~> 3)
102
- wwtd (~> 1)
103
104
 
104
105
  BUNDLED WITH
105
- 2.2.15
106
+ 2.3.10
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec :path => "../"
4
+
5
+ gem "railties", "~> 6.0"
6
+ gem "actionpack", "~> 6.0"