country_select 8.0.1 → 8.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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 +6 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +42 -29
- data/README.md +1 -1
- data/Rakefile +10 -13
- data/country_select.gemspec +12 -8
- data/gemfiles/actionpack-5.2.gemfile +6 -4
- data/gemfiles/actionpack-5.2.gemfile.lock +24 -13
- data/gemfiles/actionpack-6.0.gemfile +6 -4
- data/gemfiles/actionpack-6.0.gemfile.lock +34 -23
- data/gemfiles/actionpack-6.1.gemfile +6 -4
- data/gemfiles/actionpack-6.1.gemfile.lock +34 -23
- data/gemfiles/actionpack-7.0.gemfile +6 -4
- data/gemfiles/actionpack-7.0.gemfile.lock +34 -23
- 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 +58 -48
- data/lib/country_select/version.rb +3 -1
- data/lib/country_select.rb +1 -1
- data/spec/country_select_spec.rb +103 -103
- data/spec/spec_helper.rb +7 -3
- metadata +28 -10
- data/.github/workflows/build.yml +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0ab413cfc742ffce2e82b682f27a55857426b0ddfa7f3c8aa8b5d1ffb1714a7
|
4
|
+
data.tar.gz: 42cf3f9594fd3c9a1dc60856c9374937f9903e9f515348e7bf53952c84d1128f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eb1c29bef6dd596bbc38233cf41472293c49027fc9b226b70895e26c8aed0af5d055d9ad4af4ed51cda6c186b47f129327dabb3cefb57b191ddaf7116f58ce1
|
7
|
+
data.tar.gz: 87f2779bd161ca535964364f75afe4eb1ddd064e18628e9901ba01dfaf6a28893de2c7944dfb69ff8e77cc1b3e8f59b60bead3e678999909ed26d21e79620b8d
|
data/.codeclimate.yml
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
version: "2"
|
2
|
+
checks:
|
3
|
+
argument-count:
|
4
|
+
enabled: true
|
5
|
+
config:
|
6
|
+
threshold: 4
|
7
|
+
complex-logic:
|
8
|
+
enabled: true
|
9
|
+
config:
|
10
|
+
threshold: 4
|
11
|
+
file-lines:
|
12
|
+
enabled: true
|
13
|
+
config:
|
14
|
+
threshold: 250
|
15
|
+
method-complexity:
|
16
|
+
enabled: true
|
17
|
+
config:
|
18
|
+
threshold: 5
|
19
|
+
method-count:
|
20
|
+
enabled: true
|
21
|
+
config:
|
22
|
+
threshold: 20
|
23
|
+
method-lines:
|
24
|
+
enabled: true
|
25
|
+
config:
|
26
|
+
threshold: 25
|
27
|
+
nested-control-flow:
|
28
|
+
enabled: true
|
29
|
+
config:
|
30
|
+
threshold: 4
|
31
|
+
return-statements:
|
32
|
+
enabled: true
|
33
|
+
config:
|
34
|
+
threshold: 4
|
35
|
+
plugins:
|
36
|
+
rubocop:
|
37
|
+
enabled: true
|
38
|
+
channel: rubocop-1-48-1
|
39
|
+
reek:
|
40
|
+
enabled: true
|
41
|
+
checks:
|
42
|
+
IrresponsibleModule:
|
43
|
+
enabled: false
|
44
|
+
TooManyStatements:
|
45
|
+
max_statements: 7
|
46
|
+
flog:
|
47
|
+
enabled: true
|
48
|
+
bundler-audit:
|
49
|
+
enabled: true
|
50
|
+
exclude_patterns:
|
51
|
+
- "config/"
|
52
|
+
- "db/"
|
53
|
+
- "dist/"
|
54
|
+
- "features/"
|
55
|
+
- "**/node_modules/"
|
56
|
+
- "script/"
|
57
|
+
- "**/spec/"
|
58
|
+
- "**/test/"
|
59
|
+
- "**/tests/"
|
60
|
+
- "**/vendor/"
|
61
|
+
- "**/*.d.ts"
|
@@ -42,7 +42,7 @@ jobs:
|
|
42
42
|
|
43
43
|
# Initializes the CodeQL tools for scanning.
|
44
44
|
- name: Initialize CodeQL
|
45
|
-
uses: github/codeql-action/init@
|
45
|
+
uses: github/codeql-action/init@v2
|
46
46
|
with:
|
47
47
|
languages: ${{ matrix.language }}
|
48
48
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
@@ -53,7 +53,7 @@ jobs:
|
|
53
53
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
54
54
|
# If this step fails, then you should remove it and run the build manually (see below)
|
55
55
|
- name: Autobuild
|
56
|
-
uses: github/codeql-action/autobuild@
|
56
|
+
uses: github/codeql-action/autobuild@v2
|
57
57
|
|
58
58
|
# ℹ️ Command-line programs to run using the OS shell.
|
59
59
|
# 📚 https://git.io/JvXDl
|
@@ -67,4 +67,4 @@ jobs:
|
|
67
67
|
# make release
|
68
68
|
|
69
69
|
- name: Perform CodeQL Analysis
|
70
|
-
uses: github/codeql-action/analyze@
|
70
|
+
uses: github/codeql-action/analyze@v2
|
@@ -0,0 +1,36 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
paths-ignore:
|
6
|
+
- 'README.md'
|
7
|
+
- 'CHANGELOG.md'
|
8
|
+
push:
|
9
|
+
paths-ignore:
|
10
|
+
- 'README.md'
|
11
|
+
- 'CHANGELOG.md'
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
build:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
strategy:
|
17
|
+
fail-fast: false
|
18
|
+
matrix:
|
19
|
+
ruby: [2.7, '3.0', 3.1, 3.2]
|
20
|
+
gemfile: [5.2, '6.0', 6.1, '7.0', 7.1]
|
21
|
+
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
22
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile
|
23
|
+
CC_TEST_REPORTER_ID: 0d09e6611c01dedd75511b1c60f62329d01729289e06375cfe67cefe67013d9f
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@v3
|
26
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
27
|
+
uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: ${{ matrix.ruby }}
|
30
|
+
bundler-cache: true
|
31
|
+
- name: Run tests
|
32
|
+
|
33
|
+
run: bundle exec rake
|
34
|
+
- name: Publish code coverage
|
35
|
+
uses: paambaati/codeclimate-action@v4.0.0
|
36
|
+
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
AllCops:
|
2
|
+
NewCops: enable
|
3
|
+
TargetRubyVersion: 2.7
|
4
|
+
|
5
|
+
Metrics/MethodLength:
|
6
|
+
Enabled: false
|
7
|
+
|
8
|
+
Layout/LineLength:
|
9
|
+
Max: 120
|
10
|
+
AllowedPatterns: ['^ *# ']
|
11
|
+
|
12
|
+
Style/Documentation:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Bundler/OrderedGems:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Naming/FileName:
|
19
|
+
Exclude:
|
20
|
+
- 'gemfiles/*'
|
21
|
+
|
22
|
+
Metrics/BlockLength:
|
23
|
+
Exclude:
|
24
|
+
- 'spec/**/*'
|
25
|
+
|
26
|
+
Style/MutableConstant:
|
27
|
+
Exclude:
|
28
|
+
- 'lib/country_select/defaults.rb'
|
29
|
+
- 'lib/country_select/formats.rb'
|
30
|
+
|
31
|
+
Style/MethodCallWithoutArgsParentheses:
|
32
|
+
Exclude:
|
33
|
+
- 'lib/country_select/tag_helper.rb'
|
34
|
+
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -7,74 +7,86 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (7.0.
|
11
|
-
actionview (= 7.0.
|
12
|
-
activesupport (= 7.0.
|
13
|
-
rack (~> 2.0, >= 2.2.
|
10
|
+
actionpack (7.0.6)
|
11
|
+
actionview (= 7.0.6)
|
12
|
+
activesupport (= 7.0.6)
|
13
|
+
rack (~> 2.0, >= 2.2.4)
|
14
14
|
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
17
|
-
actionview (7.0.
|
18
|
-
activesupport (= 7.0.
|
17
|
+
actionview (7.0.6)
|
18
|
+
activesupport (= 7.0.6)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
23
|
-
activesupport (7.0.
|
23
|
+
activesupport (7.0.6)
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
25
|
i18n (>= 1.6, < 2)
|
26
26
|
minitest (>= 5.1)
|
27
27
|
tzinfo (~> 2.0)
|
28
28
|
builder (3.2.4)
|
29
29
|
coderay (1.1.3)
|
30
|
-
concurrent-ruby (1.
|
31
|
-
countries (5.
|
30
|
+
concurrent-ruby (1.2.2)
|
31
|
+
countries (5.6.0)
|
32
32
|
unaccent (~> 0.3)
|
33
33
|
crass (1.0.6)
|
34
34
|
diff-lcs (1.5.0)
|
35
|
+
docile (1.4.0)
|
35
36
|
erubi (1.12.0)
|
36
|
-
i18n (1.
|
37
|
+
i18n (1.14.1)
|
37
38
|
concurrent-ruby (~> 1.0)
|
38
|
-
loofah (2.
|
39
|
+
loofah (2.21.3)
|
39
40
|
crass (~> 1.0.2)
|
40
|
-
nokogiri (>= 1.
|
41
|
+
nokogiri (>= 1.12.0)
|
41
42
|
method_source (1.0.0)
|
42
|
-
minitest (5.
|
43
|
-
nokogiri (1.
|
43
|
+
minitest (5.19.0)
|
44
|
+
nokogiri (1.15.3-arm64-darwin)
|
44
45
|
racc (~> 1.4)
|
45
|
-
nokogiri (1.
|
46
|
+
nokogiri (1.15.3-x86_64-darwin)
|
46
47
|
racc (~> 1.4)
|
47
|
-
|
48
|
+
nokogiri (1.15.3-x86_64-linux)
|
49
|
+
racc (~> 1.4)
|
50
|
+
pry (0.14.2)
|
48
51
|
coderay (~> 1.1)
|
49
52
|
method_source (~> 1.0)
|
50
|
-
racc (1.
|
51
|
-
rack (2.2.
|
52
|
-
rack-test (2.0
|
53
|
+
racc (1.7.1)
|
54
|
+
rack (2.2.8)
|
55
|
+
rack-test (2.1.0)
|
53
56
|
rack (>= 1.3)
|
54
|
-
rails-dom-testing (2.
|
55
|
-
activesupport (>=
|
57
|
+
rails-dom-testing (2.1.1)
|
58
|
+
activesupport (>= 5.0.0)
|
59
|
+
minitest
|
56
60
|
nokogiri (>= 1.6)
|
57
|
-
rails-html-sanitizer (1.
|
58
|
-
loofah (~> 2.
|
61
|
+
rails-html-sanitizer (1.6.0)
|
62
|
+
loofah (~> 2.21)
|
63
|
+
nokogiri (~> 1.14)
|
59
64
|
rake (13.0.6)
|
60
65
|
rspec (3.12.0)
|
61
66
|
rspec-core (~> 3.12.0)
|
62
67
|
rspec-expectations (~> 3.12.0)
|
63
68
|
rspec-mocks (~> 3.12.0)
|
64
|
-
rspec-core (3.12.
|
69
|
+
rspec-core (3.12.2)
|
65
70
|
rspec-support (~> 3.12.0)
|
66
|
-
rspec-expectations (3.12.
|
71
|
+
rspec-expectations (3.12.3)
|
67
72
|
diff-lcs (>= 1.2.0, < 2.0)
|
68
73
|
rspec-support (~> 3.12.0)
|
69
|
-
rspec-mocks (3.12.
|
74
|
+
rspec-mocks (3.12.6)
|
70
75
|
diff-lcs (>= 1.2.0, < 2.0)
|
71
76
|
rspec-support (~> 3.12.0)
|
72
|
-
rspec-support (3.12.
|
73
|
-
|
77
|
+
rspec-support (3.12.1)
|
78
|
+
simplecov (0.22.0)
|
79
|
+
docile (~> 1.1)
|
80
|
+
simplecov-html (~> 0.11)
|
81
|
+
simplecov_json_formatter (~> 0.1)
|
82
|
+
simplecov-html (0.12.3)
|
83
|
+
simplecov_json_formatter (0.1.4)
|
84
|
+
tzinfo (2.0.6)
|
74
85
|
concurrent-ruby (~> 1.0)
|
75
86
|
unaccent (0.4.0)
|
76
87
|
|
77
88
|
PLATFORMS
|
89
|
+
arm64-darwin-22
|
78
90
|
x86_64-darwin-22
|
79
91
|
x86_64-linux
|
80
92
|
|
@@ -84,6 +96,7 @@ DEPENDENCIES
|
|
84
96
|
pry (~> 0)
|
85
97
|
rake (~> 13)
|
86
98
|
rspec (~> 3)
|
99
|
+
simplecov (~> 0.22)
|
87
100
|
|
88
101
|
BUNDLED WITH
|
89
|
-
2.4.
|
102
|
+
2.4.12
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Rails – Country Select
|
2
|
-
[![Gem Version](https://badge.fury.io/rb/country_select.svg)](https://badge.fury.io/rb/countries) [![build](https://github.com/countries/country_select/actions/workflows/
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/country_select.svg)](https://badge.fury.io/rb/countries) [![build](https://github.com/countries/country_select/actions/workflows/test.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/test.yml)
|
3
3
|
[![Code Climate](https://codeclimate.com/github/countries/country_select.svg)](https://codeclimate.com/github/countries/country_select)
|
4
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
5
|
|
data/Rakefile
CHANGED
@@ -9,28 +9,25 @@ RSpec::Core::RakeTask.new(:spec)
|
|
9
9
|
|
10
10
|
task default: 'spec'
|
11
11
|
|
12
|
-
|
13
12
|
task :update_gemfiles do
|
14
13
|
require 'pry'
|
15
14
|
Dir.glob('gemfiles/*.gemfile').each do |gemfile|
|
16
15
|
puts "Updating #{gemfile}...\n\n"
|
17
|
-
ENV['BUNDLE_GEMFILE']=gemfile
|
16
|
+
ENV['BUNDLE_GEMFILE'] = gemfile
|
18
17
|
puts `bundle install --gemfile=#{gemfile} --no-cache`
|
19
18
|
puts `bundle update --gemfile=#{gemfile}`
|
20
19
|
|
21
20
|
lockfile = "#{gemfile}.lock"
|
22
21
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
puts ""
|
32
|
-
else
|
33
|
-
raise StandardError.new("Expected #{lockfile} to exist.")
|
22
|
+
raise(StandardError, "Expected #{lockfile} to exist.") unless File.exist?(lockfile)
|
23
|
+
|
24
|
+
parsed_lockfile = Bundler::LockfileParser.new(Bundler.read_file(lockfile))
|
25
|
+
# Ensure lockfile has x86_64-linux
|
26
|
+
if parsed_lockfile.platforms.map(&:to_s).none? { |p| p == 'x86_64-linux' }
|
27
|
+
puts "Adding platform x86_64-linux to #{lockfile}\n\n"
|
28
|
+
puts `bundle lock --add-platform x86_64-linux --gemfile=#{gemfile}`
|
34
29
|
end
|
30
|
+
|
31
|
+
puts ''
|
35
32
|
end
|
36
33
|
end
|
data/country_select.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
3
4
|
require 'country_select/version'
|
4
5
|
|
5
6
|
Gem::Specification.new do |s|
|
@@ -9,16 +10,18 @@ Gem::Specification.new do |s|
|
|
9
10
|
s.authors = ['Stefan Penner']
|
10
11
|
s.email = ['stefan.penner@gmail.com']
|
11
12
|
s.homepage = 'https://github.com/countries/country_select'
|
12
|
-
s.summary =
|
13
|
-
s.description =
|
13
|
+
s.summary = 'Country Select Plugin'
|
14
|
+
s.description = 'Provides a simple helper to get an HTML select list of countries. \
|
15
|
+
The list of countries comes from the ISO 3166 standard. \
|
16
|
+
While it is a relatively neutral source of country names, it will still offend some users.'
|
14
17
|
|
15
18
|
s.metadata = { 'bug_tracker_uri' => 'http://github.com/countries/country_select/issues',
|
16
|
-
'changelog_uri' =>
|
17
|
-
'source_code_uri' =>
|
19
|
+
'changelog_uri' => 'https://github.com/countries/country_select/blob/master/CHANGELOG.md',
|
20
|
+
'source_code_uri' => 'https://github.com/countries/country_select',
|
21
|
+
'rubygems_mfa_required' => 'true' }
|
18
22
|
|
19
23
|
s.files = `git ls-files`.split("\n")
|
20
|
-
s.
|
21
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
24
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
22
25
|
s.require_paths = ['lib']
|
23
26
|
|
24
27
|
s.required_ruby_version = '>= 2.7'
|
@@ -27,6 +30,7 @@ Gem::Specification.new do |s|
|
|
27
30
|
s.add_development_dependency 'pry', '~> 0'
|
28
31
|
s.add_development_dependency 'rake', '~> 13'
|
29
32
|
s.add_development_dependency 'rspec', '~> 3'
|
33
|
+
s.add_development_dependency 'simplecov', '~> 0.22'
|
30
34
|
|
31
35
|
s.add_dependency 'countries', '~> 5.0'
|
32
36
|
end
|
@@ -1,7 +1,9 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
gemspec path: '../'
|
6
|
+
|
7
|
+
gem 'railties', '~> 5.2.0'
|
8
|
+
gem 'actionpack', '~> 5.2.0'
|
7
9
|
gem 'nokogiri', '= 1.14.0.rc1'
|
@@ -27,34 +27,37 @@ GEM
|
|
27
27
|
tzinfo (~> 1.1)
|
28
28
|
builder (3.2.4)
|
29
29
|
coderay (1.1.3)
|
30
|
-
concurrent-ruby (1.
|
31
|
-
countries (5.
|
30
|
+
concurrent-ruby (1.2.2)
|
31
|
+
countries (5.4.0)
|
32
32
|
unaccent (~> 0.3)
|
33
33
|
crass (1.0.6)
|
34
34
|
diff-lcs (1.5.0)
|
35
|
+
docile (1.4.0)
|
35
36
|
erubi (1.12.0)
|
36
|
-
i18n (1.
|
37
|
+
i18n (1.13.0)
|
37
38
|
concurrent-ruby (~> 1.0)
|
38
|
-
loofah (2.
|
39
|
+
loofah (2.20.0)
|
39
40
|
crass (~> 1.0.2)
|
40
41
|
nokogiri (>= 1.5.9)
|
41
42
|
method_source (1.0.0)
|
42
|
-
minitest (5.
|
43
|
+
minitest (5.18.0)
|
44
|
+
nokogiri (1.14.0.rc1-arm64-darwin)
|
45
|
+
racc (~> 1.4)
|
43
46
|
nokogiri (1.14.0.rc1-x86_64-darwin)
|
44
47
|
racc (~> 1.4)
|
45
48
|
nokogiri (1.14.0.rc1-x86_64-linux)
|
46
49
|
racc (~> 1.4)
|
47
|
-
pry (0.14.
|
50
|
+
pry (0.14.2)
|
48
51
|
coderay (~> 1.1)
|
49
52
|
method_source (~> 1.0)
|
50
53
|
racc (1.6.2)
|
51
|
-
rack (2.2.
|
52
|
-
rack-test (2.0
|
54
|
+
rack (2.2.7)
|
55
|
+
rack-test (2.1.0)
|
53
56
|
rack (>= 1.3)
|
54
57
|
rails-dom-testing (2.0.3)
|
55
58
|
activesupport (>= 4.2.0)
|
56
59
|
nokogiri (>= 1.6)
|
57
|
-
rails-html-sanitizer (1.
|
60
|
+
rails-html-sanitizer (1.5.0)
|
58
61
|
loofah (~> 2.19, >= 2.19.1)
|
59
62
|
railties (5.2.8.1)
|
60
63
|
actionpack (= 5.2.8.1)
|
@@ -67,22 +70,29 @@ GEM
|
|
67
70
|
rspec-core (~> 3.12.0)
|
68
71
|
rspec-expectations (~> 3.12.0)
|
69
72
|
rspec-mocks (~> 3.12.0)
|
70
|
-
rspec-core (3.12.
|
73
|
+
rspec-core (3.12.2)
|
71
74
|
rspec-support (~> 3.12.0)
|
72
|
-
rspec-expectations (3.12.
|
75
|
+
rspec-expectations (3.12.3)
|
73
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
74
77
|
rspec-support (~> 3.12.0)
|
75
|
-
rspec-mocks (3.12.
|
78
|
+
rspec-mocks (3.12.5)
|
76
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
80
|
rspec-support (~> 3.12.0)
|
78
81
|
rspec-support (3.12.0)
|
82
|
+
simplecov (0.22.0)
|
83
|
+
docile (~> 1.1)
|
84
|
+
simplecov-html (~> 0.11)
|
85
|
+
simplecov_json_formatter (~> 0.1)
|
86
|
+
simplecov-html (0.12.3)
|
87
|
+
simplecov_json_formatter (0.1.4)
|
79
88
|
thor (1.2.1)
|
80
89
|
thread_safe (0.3.6)
|
81
|
-
tzinfo (1.2.
|
90
|
+
tzinfo (1.2.11)
|
82
91
|
thread_safe (~> 0.1)
|
83
92
|
unaccent (0.4.0)
|
84
93
|
|
85
94
|
PLATFORMS
|
95
|
+
arm64-darwin-22
|
86
96
|
x86_64-darwin-22
|
87
97
|
x86_64-linux
|
88
98
|
|
@@ -94,6 +104,7 @@ DEPENDENCIES
|
|
94
104
|
railties (~> 5.2.0)
|
95
105
|
rake (~> 13)
|
96
106
|
rspec (~> 3)
|
107
|
+
simplecov (~> 0.22)
|
97
108
|
|
98
109
|
BUNDLED WITH
|
99
110
|
2.4.2
|
@@ -1,7 +1,9 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
gemspec path: '../'
|
6
|
+
|
7
|
+
gem 'railties', '~> 6.0.0'
|
8
|
+
gem 'actionpack', '~> 6.0.0'
|
7
9
|
gem 'nokogiri', '= 1.14.0.rc1'
|
@@ -7,20 +7,20 @@ PATH
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (6.0.6)
|
11
|
-
actionview (= 6.0.6)
|
12
|
-
activesupport (= 6.0.6)
|
10
|
+
actionpack (6.0.6.1)
|
11
|
+
actionview (= 6.0.6.1)
|
12
|
+
activesupport (= 6.0.6.1)
|
13
13
|
rack (~> 2.0, >= 2.0.8)
|
14
14
|
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
17
|
-
actionview (6.0.6)
|
18
|
-
activesupport (= 6.0.6)
|
17
|
+
actionview (6.0.6.1)
|
18
|
+
activesupport (= 6.0.6.1)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
23
|
-
activesupport (6.0.6)
|
23
|
+
activesupport (6.0.6.1)
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
25
|
i18n (>= 0.7, < 2)
|
26
26
|
minitest (~> 5.1)
|
@@ -28,38 +28,41 @@ GEM
|
|
28
28
|
zeitwerk (~> 2.2, >= 2.2.2)
|
29
29
|
builder (3.2.4)
|
30
30
|
coderay (1.1.3)
|
31
|
-
concurrent-ruby (1.
|
32
|
-
countries (5.
|
31
|
+
concurrent-ruby (1.2.2)
|
32
|
+
countries (5.4.0)
|
33
33
|
unaccent (~> 0.3)
|
34
34
|
crass (1.0.6)
|
35
35
|
diff-lcs (1.5.0)
|
36
|
+
docile (1.4.0)
|
36
37
|
erubi (1.12.0)
|
37
|
-
i18n (1.
|
38
|
+
i18n (1.13.0)
|
38
39
|
concurrent-ruby (~> 1.0)
|
39
|
-
loofah (2.
|
40
|
+
loofah (2.20.0)
|
40
41
|
crass (~> 1.0.2)
|
41
42
|
nokogiri (>= 1.5.9)
|
42
43
|
method_source (1.0.0)
|
43
|
-
minitest (5.
|
44
|
+
minitest (5.18.0)
|
45
|
+
nokogiri (1.14.0.rc1-arm64-darwin)
|
46
|
+
racc (~> 1.4)
|
44
47
|
nokogiri (1.14.0.rc1-x86_64-darwin)
|
45
48
|
racc (~> 1.4)
|
46
49
|
nokogiri (1.14.0.rc1-x86_64-linux)
|
47
50
|
racc (~> 1.4)
|
48
|
-
pry (0.14.
|
51
|
+
pry (0.14.2)
|
49
52
|
coderay (~> 1.1)
|
50
53
|
method_source (~> 1.0)
|
51
54
|
racc (1.6.2)
|
52
|
-
rack (2.2.
|
53
|
-
rack-test (2.0
|
55
|
+
rack (2.2.7)
|
56
|
+
rack-test (2.1.0)
|
54
57
|
rack (>= 1.3)
|
55
58
|
rails-dom-testing (2.0.3)
|
56
59
|
activesupport (>= 4.2.0)
|
57
60
|
nokogiri (>= 1.6)
|
58
|
-
rails-html-sanitizer (1.
|
61
|
+
rails-html-sanitizer (1.5.0)
|
59
62
|
loofah (~> 2.19, >= 2.19.1)
|
60
|
-
railties (6.0.6)
|
61
|
-
actionpack (= 6.0.6)
|
62
|
-
activesupport (= 6.0.6)
|
63
|
+
railties (6.0.6.1)
|
64
|
+
actionpack (= 6.0.6.1)
|
65
|
+
activesupport (= 6.0.6.1)
|
63
66
|
method_source
|
64
67
|
rake (>= 0.8.7)
|
65
68
|
thor (>= 0.20.3, < 2.0)
|
@@ -68,23 +71,30 @@ GEM
|
|
68
71
|
rspec-core (~> 3.12.0)
|
69
72
|
rspec-expectations (~> 3.12.0)
|
70
73
|
rspec-mocks (~> 3.12.0)
|
71
|
-
rspec-core (3.12.
|
74
|
+
rspec-core (3.12.2)
|
72
75
|
rspec-support (~> 3.12.0)
|
73
|
-
rspec-expectations (3.12.
|
76
|
+
rspec-expectations (3.12.3)
|
74
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
75
78
|
rspec-support (~> 3.12.0)
|
76
|
-
rspec-mocks (3.12.
|
79
|
+
rspec-mocks (3.12.5)
|
77
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
78
81
|
rspec-support (~> 3.12.0)
|
79
82
|
rspec-support (3.12.0)
|
83
|
+
simplecov (0.22.0)
|
84
|
+
docile (~> 1.1)
|
85
|
+
simplecov-html (~> 0.11)
|
86
|
+
simplecov_json_formatter (~> 0.1)
|
87
|
+
simplecov-html (0.12.3)
|
88
|
+
simplecov_json_formatter (0.1.4)
|
80
89
|
thor (1.2.1)
|
81
90
|
thread_safe (0.3.6)
|
82
|
-
tzinfo (1.2.
|
91
|
+
tzinfo (1.2.11)
|
83
92
|
thread_safe (~> 0.1)
|
84
93
|
unaccent (0.4.0)
|
85
|
-
zeitwerk (2.6.
|
94
|
+
zeitwerk (2.6.8)
|
86
95
|
|
87
96
|
PLATFORMS
|
97
|
+
arm64-darwin-22
|
88
98
|
x86_64-darwin-22
|
89
99
|
x86_64-linux
|
90
100
|
|
@@ -96,6 +106,7 @@ DEPENDENCIES
|
|
96
106
|
railties (~> 6.0.0)
|
97
107
|
rake (~> 13)
|
98
108
|
rspec (~> 3)
|
109
|
+
simplecov (~> 0.22)
|
99
110
|
|
100
111
|
BUNDLED WITH
|
101
112
|
2.4.2
|
@@ -1,7 +1,9 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
source 'https://rubygems.org'
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
gemspec path: '../'
|
6
|
+
|
7
|
+
gem 'railties', '~> 6.1.0'
|
8
|
+
gem 'actionpack', '~> 6.1.0'
|
7
9
|
gem 'nokogiri', '= 1.14.0.rc1'
|