administrate-field-nested_has_many 1.3.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +1 -1
  3. data/.ruby-version +1 -1
  4. data/Appraisals +6 -6
  5. data/CHANGELOG.md +31 -0
  6. data/CODE_OF_CONDUCT.md +6 -0
  7. data/CONTRIBUTING.md +38 -0
  8. data/LICENSE.md +21 -0
  9. data/README.md +40 -1
  10. data/SECURITY.md +16 -0
  11. data/administrate-field-nested_has_many.gemspec +2 -3
  12. data/app/assets/javascripts/administrate-field-nested_has_many/application.js +6 -0
  13. data/app/views/fields/nested_has_many/_show.html.erb +35 -6
  14. data/bin/build-changelog +24 -0
  15. data/bin/setup +13 -0
  16. data/config/locales/administrate-field-nested_has_many.de.yml +7 -0
  17. data/config/locales/administrate-field-nested_has_many.fr.yml +7 -0
  18. data/gemfiles/{administrate_0.13.gemfile → administrate_0.19.gemfile} +1 -1
  19. data/gemfiles/administrate_0.19.gemfile.lock +260 -0
  20. data/gemfiles/{administrate_0.10.gemfile → administrate_0.20.gemfile} +1 -1
  21. data/gemfiles/administrate_0.20.gemfile.lock +260 -0
  22. data/gemfiles/{administrate_master.gemfile → administrate_main.gemfile} +1 -1
  23. data/gemfiles/administrate_main.gemfile.lock +266 -0
  24. data/lib/administrate/field/nested_has_many.rb +35 -15
  25. data/spec/dummy/Rakefile +1 -1
  26. data/spec/dummy/app/dashboards/school_dashboard.rb +1 -1
  27. data/spec/dummy/bin/rails +2 -2
  28. data/spec/dummy/bin/rake +2 -2
  29. data/spec/dummy/bin/setup +6 -9
  30. data/spec/dummy/config/application.rb +12 -9
  31. data/spec/dummy/config/boot.rb +1 -1
  32. data/spec/dummy/config/environment.rb +1 -1
  33. data/spec/dummy/config/environments/development.rb +16 -4
  34. data/spec/dummy/config/environments/test.rb +19 -6
  35. data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
  36. data/spec/dummy/config/initializers/content_security_policy.rb +3 -0
  37. data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
  38. data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
  39. data/spec/dummy/config/locales/en.yml +1 -1
  40. data/spec/dummy/config/puma.rb +13 -4
  41. data/spec/dummy/config.ru +2 -1
  42. data/spec/dummy/db/schema.rb +14 -11
  43. data/spec/features/has_many_spec.rb +10 -0
  44. metadata +23 -39
  45. data/app/views/fields/nested_has_many/_show_current.html.erb +0 -44
  46. data/app/views/fields/nested_has_many/_show_old.html.erb +0 -36
  47. data/gemfiles/administrate_0.10.gemfile.lock +0 -214
  48. data/gemfiles/administrate_0.13.gemfile.lock +0 -207
  49. data/gemfiles/administrate_master.gemfile.lock +0 -219
  50. data/spec/dummy/app/mailers/application_mailer.rb +0 -4
  51. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
  52. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
  53. data/spec/dummy/config/cable.yml +0 -10
  54. data/spec/dummy/config/storage.yml +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b4e4495fbe9f39dff627f5b1ddf7d82bc89d5e3a05433cc318f12ab7f02d004
4
- data.tar.gz: f328a1f6dea3d663ee0d80454bf04a4d55530b1d2a520f1c884c1c6d78b714e5
3
+ metadata.gz: feb51647085d39faaf789b625a1c2c32053085e7fb200c26ae79565bb827a07c
4
+ data.tar.gz: 6ebeb4db74cb8a78be2b2d1b0eca9c5d1eb0140a89928e5b6fcaf02b6bc53f8d
5
5
  SHA512:
6
- metadata.gz: 5c1a6222bc8d033f871610444425f7c90b015f5b05c9ff2c47187d1f96b0a787a75dbf4f4442335c5f24788713c33f0f67e5e1d6d2677952e5970524366578d1
7
- data.tar.gz: cc1b62f1e2eb55ca307c7ed7e1f41d5e6f172d604a8e8a986c98d05c0fa3115bdd3f2603d2a339af8c726a6c7404689fed09c4a483e56a24d513b91e0f733f18
6
+ metadata.gz: 710bc9657b9ae57b88d603630501c31ec70426cdc3e52146d5476cb244c934638101d868965b526d6ec0a72a8a677f8d1c8e9bc85c35e4728a9ae847db10ef28
7
+ data.tar.gz: 4927cfc5a2a2ff047080ec64a41b69e2a0c02df507f9a683d75cbb921c5cc5c50867c962f935b0267ec456086094de9f9f84b4ecf242abf4a7e7c6ed4cfa26c7
data/.circleci/config.yml CHANGED
@@ -4,7 +4,7 @@ jobs:
4
4
  build:
5
5
  working_directory: ~/administrate-field-nested_has_many
6
6
  docker:
7
- - image: circleci/ruby:2.7.0-node-browsers
7
+ - image: cimg/ruby:3.3-browsers
8
8
  environment:
9
9
  PGHOST: localhost
10
10
  PGUSER: administrate-field-nested_has_many
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7.0
1
+ ruby-3.3.0
data/Appraisals CHANGED
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- appraise "administrate-0.10" do
4
- gem "administrate", "0.10.0"
3
+ appraise "administrate-0.19" do
4
+ gem "administrate", "0.19.0"
5
5
  end
6
6
 
7
- appraise "administrate-0.13" do
8
- gem "administrate", "0.13.0"
7
+ appraise "administrate-0.20" do
8
+ gem "administrate", "0.20.0"
9
9
  end
10
10
 
11
- appraise "administrate-master" do
12
- gem "administrate", git: "https://github.com/thoughtbot/administrate", branch: "master"
11
+ appraise "administrate-main" do
12
+ gem "administrate", git: "https://github.com/thoughtbot/administrate", branch: "main"
13
13
  end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.1.0
4
+
5
+ * Add support for attribute grouping ([#79][])
6
+ * Add Selectize support for the select boxes ([#64][])
7
+
8
+ [#79]: https://github.com/nickcharlton/administrate-field-nested_has_many/pull/79
9
+ [#64]: https://github.com/nickcharlton/administrate-field-nested_has_many/pull/64
10
+
11
+ ## 2.0.0
12
+
13
+ * Add CONTRIBUTING (#78)
14
+ * Add the thoughtbot CoC (#76)
15
+ * Add SECURITY (#77)
16
+ * Add LICENSE (#75)
17
+ * Add a script to build the changelog (#74)
18
+ * Add a bin/setup script (#73)
19
+ * Drop Administrate support below v0.19.0 (#72)
20
+ * Upgrade Ruby to v3.3.0 (#67)
21
+ * Drop SQLite development dependency (#70)
22
+ * Refresh Appraisals (properly) (#71)
23
+ * Refresh Appraisals (#69)
24
+ * Pin Administrate below 0.20.0 (#68)
25
+ * Add German locale (#53)
26
+ * Align #show pagination with 0.16.0 (#52)
27
+ * Let Administrate figure out the associations (#44)
28
+ * Avoid having to add assets to the host manifest (#45)
29
+ * Add French locale (#51)
30
+ * Fix build to work with Rails 6.1 (#47)
31
+ * Remove old compatibility (#46)
32
+ * Remind users to declare accepts_nested_attributes_for (#48)
33
+
3
34
  ## 1.3.0
4
35
 
5
36
  * Cover more test cases ([#43][])
@@ -0,0 +1,6 @@
1
+ # Code of conduct
2
+
3
+ By participating in this project, you agree to abide by the
4
+ [thoughtbot code of conduct][1].
5
+
6
+ [1]: https://thoughtbot.com/open-source-code-of-conduct
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,38 @@
1
+ # Contributing Guide
2
+
3
+ ## Code of Conduct
4
+
5
+ We welcome pull requests from everyone. By participating in this project, you
6
+ agree to abide by the thoughtbot [code of conduct].
7
+
8
+ We expect everyone to follow the code of conduct anywhere in thoughtbot's
9
+ project codebases, issue trackers, chat-rooms, and mailing lists.
10
+
11
+ [code of conduct]: https://thoughtbot.com/open-source-code-of-conduct
12
+
13
+ ## Getting Started
14
+
15
+ `administrate-field-nested_has_many` is a field plugin for [Administrate][],
16
+ that allows for nested `has_many` forms.
17
+
18
+ To maintain compatibility with different dependency versions, we use
19
+ [Appraisal][].
20
+
21
+ [Administrate]: https://github.com/thoughtbot/administrate
22
+ [Appraisal]: https://github.com/thoughtbot/appraisal
23
+
24
+ ### Opening a PR
25
+
26
+ 1. Fork the repo,
27
+ 2. Run `./bin/setup` to install the base dependencies and setup a local
28
+ database,
29
+ 3. Run the test suite: `bundle exec rspec && bundle exec appraisal rspec`,
30
+ 4. Make your changes,
31
+ 5. Push your fork and open a pull request.
32
+
33
+ A good PR will solve the smallest problem it possibly can, have good test
34
+ coverage and (where necessary) have internationalisation support.
35
+
36
+ ## Security
37
+
38
+ See the [security policy](./SECURITY.md).
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-2024 thoughtbot, inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  A plugin for nested has_many forms in [Administrate].
4
4
 
5
+ [Administrate]: https://github.com/thoughtbot/administrate
6
+
7
+ ## Compatibility
8
+
9
+ This gem depends on Administrate APIs that may change over time. For this reason,
10
+ some versions of this gem will be compatible only with some versions of Administrate.
11
+
12
+ This is a table of known compatibilities. It is accurate to the best of our knowledge.
13
+ Please let us know if you detect other incompatibilities:
14
+
15
+ | `nested_has_many` | Administrate |
16
+ |-------------------|---------------|
17
+ | v2.1.0 | v0.20.0 |
18
+ | v2.0.0 | up to v0.19 |
19
+ | v1.3.0 | up to v0.15 |
20
+ | `#726d8gc` | from v0.16 |
21
+ | `master` | up to v0.19.0 |
22
+
5
23
  ## Usage
6
24
 
7
25
  Add to your `Gemfile`:
@@ -35,4 +53,25 @@ Otherwise, Administrate will try to render a field
35
53
  for the order's `:customer` attribute,
36
54
  which breaks the nested form logic.
37
55
 
38
- [Administrate]: https://github.com/thoughtbot/administrate
56
+ ## Troubleshooting
57
+
58
+ ### `undefined method 'new_record?' for nil:NilClass`
59
+
60
+ This field assumes that your models are setup for nested assignment as per
61
+ Rails conventions. For example, if you have a `Recipe` that
62
+ `has_many :ingredients`, you would have something like this:
63
+
64
+ ```ruby
65
+ class Recipe < ApplicationRecord
66
+ has_many :ingredients
67
+
68
+ accepts_nested_attributes_for(
69
+ :ingredients,
70
+ reject_if: :all_blank,
71
+ allow_destroy: true
72
+ )
73
+ end
74
+ ```
75
+
76
+ Specifically, you'll see this `new_record?` error if you forget the
77
+ `accepts_nested_attributes_for` declaration.
data/SECURITY.md ADDED
@@ -0,0 +1,16 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ We only expect to support the latest version of Administrate (and it's related
6
+ projects) as a given time. If you find a security issue with an older version,
7
+ please try updating to the latest version first.
8
+
9
+ If for some reason you can't update to the latest version, please let us know
10
+ your reasons so that we can have a better understanding of your situation.
11
+
12
+ ## Reporting a Vulnerability
13
+
14
+ For security inquiries or vulnerability reports, please email
15
+ <security@thoughtbot.com>.
16
+ If you'd like, you can use our PGP key when reporting vulnerabilities.
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "administrate-field-nested_has_many"
5
- gem.version = "1.3.0"
5
+ gem.version = "2.1.0"
6
6
  gem.authors = ["Nick Charlton", "Grayson Wright"]
7
7
  gem.email = ["nick@nickcharlton.net", "wright.grayson@gmail.com"]
8
8
  gem.homepage = "https://github.com/nickcharlton/" \
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.files = `git ls-files`.split("\n")
16
16
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
 
18
- gem.add_dependency "administrate", "> 0.8", "< 1"
18
+ gem.add_dependency "administrate", ">= 0.19", "< 1"
19
19
  gem.add_dependency "cocoon", "~> 1.2", ">= 1.2.11"
20
20
 
21
21
  gem.add_development_dependency "appraisal"
@@ -25,5 +25,4 @@ Gem::Specification.new do |gem|
25
25
  gem.add_development_dependency "i18n-tasks"
26
26
  gem.add_development_dependency "rake"
27
27
  gem.add_development_dependency "rspec-rails"
28
- gem.add_development_dependency "sqlite3"
29
28
  end
@@ -1 +1,7 @@
1
1
  //= require cocoon
2
+ $(document).on('ready page:load turbolinks:load turbo:load cocoon:after-insert', function() {
3
+ $('.field-unit--select select').selectize({});
4
+ $('.field-unit--belongs-to select').selectize({});
5
+ $(".field-unit--has-many select").selectize({});
6
+ $('.field-unit--polymorphic select').selectize({});
7
+ });
@@ -1,9 +1,38 @@
1
- <%
2
- current = Gem::Version.new(Administrate::VERSION)
3
- v0_10 = Gem::Version.new("0.10")
1
+ <%#
2
+ # HasMany Show Partial
3
+
4
+ This partial renders a has_many relationship,
5
+ to be displayed on a resource's show page.
6
+
7
+ By default, the relationship is rendered
8
+ as a table of the first few associated resources.
9
+ The columns of the table are taken
10
+ from the associated resource class's dashboard.
11
+
12
+ ## Local variables:
13
+
14
+ - `field`:
15
+ An instance of [Administrate::Field::HasMany][1].
16
+ Contains methods to help display a table of associated resources.
17
+
18
+ [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/HasMany
4
19
  %>
5
- <% if current <= v0_10 %>
6
- <%= render "fields/nested_has_many/show_old", **local_assigns %>
20
+
21
+ <% if field.resources.any? %>
22
+ <% order = field.order_from_params(params.fetch(field.name, {})) %>
23
+ <% page_number = params.fetch(field.name, {}).fetch(:page, nil) %>
24
+ <%= render(
25
+ "collection",
26
+ collection_presenter: field.associated_collection(order),
27
+ collection_field_name: field.name,
28
+ page: page,
29
+ resources: field.resources(page_number, order),
30
+ table_title: field.name,
31
+ ) %>
32
+
33
+ <% if field.more_than_limit? %>
34
+ <%= paginate field.resources(page_number), param_name: "#{field.name}[page]" %>
35
+ <% end %>
7
36
  <% else %>
8
- <%= render "fields/nested_has_many/show_current", **local_assigns %>
37
+ <%= t("administrate.fields.has_many.none", default: "–") %>
9
38
  <% end %>
@@ -0,0 +1,24 @@
1
+ #!/bin/sh
2
+
3
+ set -e
4
+
5
+ if ! command -v gh > /dev/null; then
6
+ echo "Please install the GitHub CLI: https://cli.github.com/"
7
+ exit 1
8
+ fi
9
+
10
+ last_release=$(git describe --tag --abbrev=0)
11
+
12
+ revision_range="${last_release}..origin/main"
13
+ commit_format="--pretty=tformat:%h %s"
14
+ commits_since=$(git log --author="^(?!dependabot).*$" --perl-regexp "${revision_range}" "${commit_format}")
15
+
16
+ echo "$commits_since" | while read -r line; do
17
+ sha=$(echo "${line}" | awk '{print $1}')
18
+ commit_message=$(echo "${line}" | awk '{print substr($0, index($0, " ")+1)}')
19
+
20
+ pr_number=$(gh pr list --search "$sha" --state merged --json number --jq '.[].number')
21
+ trimmed_commit=$(echo "${commit_message}"| sed "s/ (\#$pr_number)//g")
22
+
23
+ echo "* ${trimmed_commit} (#${pr_number})"
24
+ done
data/bin/setup ADDED
@@ -0,0 +1,13 @@
1
+ #!/bin/sh
2
+
3
+ set -e
4
+
5
+ gem install bundler --conservative
6
+ bundle check || bundle install
7
+
8
+ bundle exec appraisal install
9
+
10
+ bundle exec rake db:setup
11
+
12
+ # Add binstubs to PATH via export PATH=".git/safe/../../bin:$PATH" in ~/.zshenv
13
+ mkdir -p .git/safe
@@ -0,0 +1,7 @@
1
+ ---
2
+ de:
3
+ administrate:
4
+ fields:
5
+ nested_has_many:
6
+ add: "%{resource} hinzufügen"
7
+ remove: "%{resource} entfernen"
@@ -0,0 +1,7 @@
1
+ ---
2
+ fr:
3
+ administrate:
4
+ fields:
5
+ nested_has_many:
6
+ add: Ajouter %{resource}
7
+ remove: Supprimer %{resource}
@@ -3,6 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "pg"
6
- gem "administrate", "0.13.0"
6
+ gem "administrate", "0.19.0"
7
7
 
8
8
  gemspec path: "../"
@@ -0,0 +1,260 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ administrate-field-nested_has_many (2.1.0)
5
+ administrate (>= 0.19, < 1)
6
+ cocoon (~> 1.2, >= 1.2.11)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (7.1.3)
12
+ actionview (= 7.1.3)
13
+ activesupport (= 7.1.3)
14
+ nokogiri (>= 1.8.5)
15
+ racc
16
+ rack (>= 2.2.4)
17
+ rack-session (>= 1.0.1)
18
+ rack-test (>= 0.6.3)
19
+ rails-dom-testing (~> 2.2)
20
+ rails-html-sanitizer (~> 1.6)
21
+ actionview (7.1.3)
22
+ activesupport (= 7.1.3)
23
+ builder (~> 3.1)
24
+ erubi (~> 1.11)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6)
27
+ activemodel (7.1.3)
28
+ activesupport (= 7.1.3)
29
+ activerecord (7.1.3)
30
+ activemodel (= 7.1.3)
31
+ activesupport (= 7.1.3)
32
+ timeout (>= 0.4.0)
33
+ activesupport (7.1.3)
34
+ base64
35
+ bigdecimal
36
+ concurrent-ruby (~> 1.0, >= 1.0.2)
37
+ connection_pool (>= 2.2.5)
38
+ drb
39
+ i18n (>= 1.6, < 2)
40
+ minitest (>= 5.1)
41
+ mutex_m
42
+ tzinfo (~> 2.0)
43
+ addressable (2.8.6)
44
+ public_suffix (>= 2.0.2, < 6.0)
45
+ administrate (0.19.0)
46
+ actionpack (>= 5.0)
47
+ actionview (>= 5.0)
48
+ activerecord (>= 5.0)
49
+ jquery-rails (>= 4.0)
50
+ kaminari (>= 1.0)
51
+ sassc-rails (~> 2.1)
52
+ selectize-rails (~> 0.6)
53
+ appraisal (2.5.0)
54
+ bundler
55
+ rake
56
+ thor (>= 0.14.0)
57
+ ast (2.4.2)
58
+ base64 (0.2.0)
59
+ better_html (2.0.2)
60
+ actionview (>= 6.0)
61
+ activesupport (>= 6.0)
62
+ ast (~> 2.0)
63
+ erubi (~> 1.4)
64
+ parser (>= 2.4)
65
+ smart_properties
66
+ bigdecimal (3.1.6)
67
+ builder (3.2.4)
68
+ capybara (3.39.2)
69
+ addressable
70
+ matrix
71
+ mini_mime (>= 0.1.3)
72
+ nokogiri (~> 1.8)
73
+ rack (>= 1.6.0)
74
+ rack-test (>= 0.6.3)
75
+ regexp_parser (>= 1.5, < 3.0)
76
+ xpath (~> 3.2)
77
+ cocoon (1.2.15)
78
+ concurrent-ruby (1.2.3)
79
+ connection_pool (2.4.1)
80
+ crass (1.0.6)
81
+ diff-lcs (1.5.0)
82
+ drb (2.2.0)
83
+ ruby2_keywords
84
+ erubi (1.12.0)
85
+ factory_bot (6.4.5)
86
+ activesupport (>= 5.0.0)
87
+ ffi (1.16.3)
88
+ highline (3.0.1)
89
+ i18n (1.14.1)
90
+ concurrent-ruby (~> 1.0)
91
+ i18n-tasks (1.0.13)
92
+ activesupport (>= 4.0.2)
93
+ ast (>= 2.1.0)
94
+ better_html (>= 1.0, < 3.0)
95
+ erubi
96
+ highline (>= 2.0.0)
97
+ i18n
98
+ parser (>= 3.2.2.1)
99
+ rails-i18n
100
+ rainbow (>= 2.2.2, < 4.0)
101
+ terminal-table (>= 1.5.1)
102
+ io-console (0.7.2)
103
+ irb (1.11.1)
104
+ rdoc
105
+ reline (>= 0.4.2)
106
+ jquery-rails (4.6.0)
107
+ rails-dom-testing (>= 1, < 3)
108
+ railties (>= 4.2.0)
109
+ thor (>= 0.14, < 2.0)
110
+ kaminari (1.2.2)
111
+ activesupport (>= 4.1.0)
112
+ kaminari-actionview (= 1.2.2)
113
+ kaminari-activerecord (= 1.2.2)
114
+ kaminari-core (= 1.2.2)
115
+ kaminari-actionview (1.2.2)
116
+ actionview
117
+ kaminari-core (= 1.2.2)
118
+ kaminari-activerecord (1.2.2)
119
+ activerecord
120
+ kaminari-core (= 1.2.2)
121
+ kaminari-core (1.2.2)
122
+ loofah (2.22.0)
123
+ crass (~> 1.0.2)
124
+ nokogiri (>= 1.12.0)
125
+ matrix (0.4.2)
126
+ mini_mime (1.1.5)
127
+ minitest (5.21.2)
128
+ mutex_m (0.2.0)
129
+ nokogiri (1.16.0-aarch64-linux)
130
+ racc (~> 1.4)
131
+ nokogiri (1.16.0-arm-linux)
132
+ racc (~> 1.4)
133
+ nokogiri (1.16.0-arm64-darwin)
134
+ racc (~> 1.4)
135
+ nokogiri (1.16.0-x86-linux)
136
+ racc (~> 1.4)
137
+ nokogiri (1.16.0-x86_64-darwin)
138
+ racc (~> 1.4)
139
+ nokogiri (1.16.0-x86_64-linux)
140
+ racc (~> 1.4)
141
+ parser (3.3.0.5)
142
+ ast (~> 2.4.1)
143
+ racc
144
+ pg (1.5.4)
145
+ psych (5.1.2)
146
+ stringio
147
+ public_suffix (5.0.4)
148
+ racc (1.7.3)
149
+ rack (3.0.8)
150
+ rack-session (2.0.0)
151
+ rack (>= 3.0.0)
152
+ rack-test (2.1.0)
153
+ rack (>= 1.3)
154
+ rackup (2.1.0)
155
+ rack (>= 3)
156
+ webrick (~> 1.8)
157
+ rails-dom-testing (2.2.0)
158
+ activesupport (>= 5.0.0)
159
+ minitest
160
+ nokogiri (>= 1.6)
161
+ rails-html-sanitizer (1.6.0)
162
+ loofah (~> 2.21)
163
+ nokogiri (~> 1.14)
164
+ rails-i18n (7.0.8)
165
+ i18n (>= 0.7, < 2)
166
+ railties (>= 6.0.0, < 8)
167
+ railties (7.1.3)
168
+ actionpack (= 7.1.3)
169
+ activesupport (= 7.1.3)
170
+ irb
171
+ rackup (>= 1.0.0)
172
+ rake (>= 12.2)
173
+ thor (~> 1.0, >= 1.2.2)
174
+ zeitwerk (~> 2.6)
175
+ rainbow (3.1.1)
176
+ rake (13.1.0)
177
+ rdoc (6.6.2)
178
+ psych (>= 4.0.0)
179
+ regexp_parser (2.9.0)
180
+ reline (0.4.2)
181
+ io-console (~> 0.5)
182
+ rexml (3.2.6)
183
+ rspec-core (3.12.2)
184
+ rspec-support (~> 3.12.0)
185
+ rspec-expectations (3.12.3)
186
+ diff-lcs (>= 1.2.0, < 2.0)
187
+ rspec-support (~> 3.12.0)
188
+ rspec-mocks (3.12.6)
189
+ diff-lcs (>= 1.2.0, < 2.0)
190
+ rspec-support (~> 3.12.0)
191
+ rspec-rails (6.1.1)
192
+ actionpack (>= 6.1)
193
+ activesupport (>= 6.1)
194
+ railties (>= 6.1)
195
+ rspec-core (~> 3.12)
196
+ rspec-expectations (~> 3.12)
197
+ rspec-mocks (~> 3.12)
198
+ rspec-support (~> 3.12)
199
+ rspec-support (3.12.1)
200
+ ruby2_keywords (0.0.5)
201
+ rubyzip (2.3.2)
202
+ sassc (2.4.0)
203
+ ffi (~> 1.9)
204
+ sassc-rails (2.1.2)
205
+ railties (>= 4.0.0)
206
+ sassc (>= 2.0)
207
+ sprockets (> 3.0)
208
+ sprockets-rails
209
+ tilt
210
+ selectize-rails (0.12.6)
211
+ selenium-webdriver (4.17.0)
212
+ base64 (~> 0.2)
213
+ rexml (~> 3.2, >= 3.2.5)
214
+ rubyzip (>= 1.2.2, < 3.0)
215
+ websocket (~> 1.0)
216
+ smart_properties (1.17.0)
217
+ sprockets (4.2.1)
218
+ concurrent-ruby (~> 1.0)
219
+ rack (>= 2.2.4, < 4)
220
+ sprockets-rails (3.4.2)
221
+ actionpack (>= 5.2)
222
+ activesupport (>= 5.2)
223
+ sprockets (>= 3.0.0)
224
+ stringio (3.1.0)
225
+ terminal-table (3.0.2)
226
+ unicode-display_width (>= 1.1.1, < 3)
227
+ thor (1.3.0)
228
+ tilt (2.3.0)
229
+ timeout (0.4.1)
230
+ tzinfo (2.0.6)
231
+ concurrent-ruby (~> 1.0)
232
+ unicode-display_width (2.5.0)
233
+ webrick (1.8.1)
234
+ websocket (1.2.10)
235
+ xpath (3.2.0)
236
+ nokogiri (~> 1.8)
237
+ zeitwerk (2.6.12)
238
+
239
+ PLATFORMS
240
+ aarch64-linux
241
+ arm-linux
242
+ arm64-darwin
243
+ x86-linux
244
+ x86_64-darwin
245
+ x86_64-linux
246
+
247
+ DEPENDENCIES
248
+ administrate (= 0.19.0)
249
+ administrate-field-nested_has_many!
250
+ appraisal
251
+ capybara
252
+ factory_bot
253
+ i18n-tasks
254
+ pg
255
+ rake
256
+ rspec-rails
257
+ selenium-webdriver
258
+
259
+ BUNDLED WITH
260
+ 2.5.3
@@ -3,6 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "pg"
6
- gem "administrate", "0.10.0"
6
+ gem "administrate", "0.20.0"
7
7
 
8
8
  gemspec path: "../"