administrate-field-nested_has_many 1.1.0 → 1.2.0

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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +28 -0
  3. data/.gitignore +3 -0
  4. data/.ruby-version +1 -1
  5. data/Appraisals +9 -0
  6. data/CHANGELOG.md +16 -0
  7. data/Gemfile +2 -0
  8. data/Rakefile +4 -0
  9. data/administrate-field-nested_has_many.gemspec +8 -3
  10. data/app/views/fields/nested_has_many/_show.html.erb +6 -42
  11. data/app/views/fields/nested_has_many/_show_current.html.erb +44 -0
  12. data/app/views/fields/nested_has_many/_show_old.html.erb +36 -0
  13. data/bin/rails +13 -0
  14. data/config/locales/administrate-field-nested_has_many.pt.yml +7 -0
  15. data/config/locales/administrate-field-nested_has_many.ru.yml +7 -0
  16. data/gemfiles/administrate_0.10.gemfile +8 -0
  17. data/gemfiles/administrate_0.10.gemfile.lock +214 -0
  18. data/gemfiles/administrate_master.gemfile +8 -0
  19. data/gemfiles/administrate_master.gemfile.lock +219 -0
  20. data/lib/administrate/field/nested_has_many.rb +13 -8
  21. data/spec/dummy/.gitignore +3 -0
  22. data/spec/dummy/Rakefile +6 -0
  23. data/spec/dummy/app/assets/config/manifest.js +7 -0
  24. data/spec/dummy/app/assets/images/.keep +0 -0
  25. data/spec/dummy/app/assets/javascripts/application.js +14 -0
  26. data/spec/dummy/app/assets/javascripts/channels/.keep +0 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  28. data/spec/dummy/app/controllers/admin/application_controller.rb +21 -0
  29. data/spec/dummy/app/controllers/admin/foo/students_controller.rb +21 -0
  30. data/spec/dummy/app/controllers/admin/schools_controller.rb +21 -0
  31. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  32. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  33. data/spec/dummy/app/dashboards/foo/student_dashboard.rb +51 -0
  34. data/spec/dummy/app/dashboards/school_dashboard.rb +52 -0
  35. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  36. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  37. data/spec/dummy/app/models/application_record.rb +3 -0
  38. data/spec/dummy/app/models/concerns/.keep +0 -0
  39. data/spec/dummy/app/models/foo/student.rb +3 -0
  40. data/spec/dummy/app/models/school.rb +4 -0
  41. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  42. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  43. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  44. data/spec/dummy/bin/bundle +3 -0
  45. data/spec/dummy/bin/rails +4 -0
  46. data/spec/dummy/bin/rake +4 -0
  47. data/spec/dummy/bin/setup +36 -0
  48. data/spec/dummy/bin/update +31 -0
  49. data/spec/dummy/bin/yarn +11 -0
  50. data/spec/dummy/config.ru +5 -0
  51. data/spec/dummy/config/application.rb +18 -0
  52. data/spec/dummy/config/boot.rb +5 -0
  53. data/spec/dummy/config/cable.yml +10 -0
  54. data/spec/dummy/config/database.yml +12 -0
  55. data/spec/dummy/config/environment.rb +5 -0
  56. data/spec/dummy/config/environments/development.rb +53 -0
  57. data/spec/dummy/config/environments/test.rb +36 -0
  58. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  59. data/spec/dummy/config/initializers/assets.rb +14 -0
  60. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  61. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  62. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  63. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  64. data/spec/dummy/config/initializers/inflections.rb +16 -0
  65. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  66. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  67. data/spec/dummy/config/locales/en.yml +33 -0
  68. data/spec/dummy/config/puma.rb +34 -0
  69. data/spec/dummy/config/routes.rb +9 -0
  70. data/spec/dummy/config/spring.rb +6 -0
  71. data/spec/dummy/config/storage.yml +34 -0
  72. data/spec/dummy/db/migrate/20180907104642_create_schools.rb +9 -0
  73. data/spec/dummy/db/migrate/20180907104703_create_students.rb +10 -0
  74. data/spec/dummy/db/schema.rb +29 -0
  75. data/spec/dummy/lib/assets/.keep +0 -0
  76. data/spec/dummy/package.json +5 -0
  77. data/spec/dummy/public/404.html +67 -0
  78. data/spec/dummy/public/422.html +67 -0
  79. data/spec/dummy/public/500.html +66 -0
  80. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  81. data/spec/dummy/public/apple-touch-icon.png +0 -0
  82. data/spec/dummy/public/favicon.ico +0 -0
  83. data/spec/dummy/storage/.keep +0 -0
  84. data/spec/factories.rb +9 -0
  85. data/spec/features/has_many_spec.rb +41 -0
  86. data/spec/features/landing_spec.rb +10 -0
  87. data/spec/rails_helper.rb +67 -0
  88. data/spec/spec_helper.rb +96 -0
  89. metadata +228 -6
@@ -0,0 +1,41 @@
1
+ require "rails_helper"
2
+
3
+ feature "Has many" do
4
+ let!(:school) do
5
+ FactoryBot.create(:school, name: "School of Life")
6
+ end
7
+
8
+ let!(:student) do
9
+ FactoryBot.create(:student, name: "John Doe", school: school)
10
+ end
11
+
12
+ scenario "index" do
13
+ visit admin_schools_path
14
+ expect(page).to have_content("School of Life")
15
+ end
16
+
17
+ scenario "show" do
18
+ visit admin_school_path(school)
19
+ expect(page).to have_content("John Doe")
20
+ end
21
+
22
+ scenario "new" do
23
+ visit new_admin_school_path
24
+ expect(page).to have_content("New Schools")
25
+ end
26
+
27
+ scenario "create", js: true do
28
+ visit new_admin_school_path
29
+ expect(page).to have_content("New Schools")
30
+ expect(page).to have_content("Add Foo/Student")
31
+ fill_in "Name", with: "La Ferme du Bec Hellouin"
32
+ click_link "Add Foo/Student"
33
+ expect(page).to have_content("Remove Foo/Student")
34
+ within(".nested-fields") do
35
+ fill_in "Name", with: "Sébastien"
36
+ end
37
+ click_button "Create School"
38
+ expect(page).to have_text("La Ferme du Bec Hellouin")
39
+ expect(page).to have_text("Sébastien")
40
+ end
41
+ end
@@ -0,0 +1,10 @@
1
+ require "rails_helper"
2
+
3
+ feature "Landing" do
4
+ scenario "Initial admin page" do
5
+ # Just testing that the dummy app works
6
+ visit admin_root_path
7
+ expect(page).to have_content("Schools")
8
+ expect(page).to have_content("Students")
9
+ end
10
+ end
@@ -0,0 +1,67 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ require 'spec_helper'
3
+ ENV['RAILS_ENV'] ||= 'test'
4
+ require File.expand_path('../../spec/dummy/config/environment', __FILE__)
5
+ # Prevent database truncation if the environment is production
6
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
7
+ require 'rspec/rails'
8
+ # Add additional requires below this line. Rails is not loaded until this point!
9
+ require 'factory_bot'
10
+ require_relative './factories'
11
+
12
+ Capybara.server = :webrick
13
+
14
+ # Requires supporting ruby files with custom matchers and macros, etc, in
15
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
16
+ # run as spec files by default. This means that files in spec/support that end
17
+ # in _spec.rb will both be required and run as specs, causing the specs to be
18
+ # run twice. It is recommended that you do not name files matching this glob to
19
+ # end with _spec.rb. You can configure this pattern with the --pattern
20
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
21
+ #
22
+ # The following line is provided for convenience purposes. It has the downside
23
+ # of increasing the boot-up time by auto-requiring all files in the support
24
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
25
+ # require only the support files necessary.
26
+ #
27
+ # Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
28
+
29
+ # Checks for pending migrations and applies them before tests are run.
30
+ # If you are not using ActiveRecord, you can remove these lines.
31
+ begin
32
+ ActiveRecord::Migration.maintain_test_schema!
33
+ rescue ActiveRecord::PendingMigrationError => e
34
+ puts e.to_s.strip
35
+ exit 1
36
+ end
37
+ RSpec.configure do |config|
38
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
39
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
40
+
41
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
42
+ # examples within a transaction, remove the following line or assign false
43
+ # instead of true.
44
+ config.use_transactional_fixtures = true
45
+
46
+ # RSpec Rails can automatically mix in different behaviours to your tests
47
+ # based on their file location, for example enabling you to call `get` and
48
+ # `post` in specs under `spec/controllers`.
49
+ #
50
+ # You can disable this behaviour by removing the line below, and instead
51
+ # explicitly tag your specs with their type, e.g.:
52
+ #
53
+ # RSpec.describe UsersController, :type => :controller do
54
+ # # ...
55
+ # end
56
+ #
57
+ # The different available types are documented in the features, such as in
58
+ # https://relishapp.com/rspec/rspec-rails/docs
59
+ config.infer_spec_type_from_file_location!
60
+
61
+ # Filter lines from Rails gems in backtraces.
62
+ config.filter_rails_from_backtrace!
63
+ # arbitrary gems may also be filtered via:
64
+ # config.filter_gems_from_backtrace("gem name")
65
+
66
+ config.include FactoryBot::Syntax::Methods
67
+ end
@@ -0,0 +1,96 @@
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
4
+ # this file to always be loaded, without a need to explicitly require it in any
5
+ # files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need
13
+ # it.
14
+ #
15
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
16
+ RSpec.configure do |config|
17
+ # rspec-expectations config goes here. You can use an alternate
18
+ # assertion/expectation library such as wrong or the stdlib/minitest
19
+ # assertions if you prefer.
20
+ config.expect_with :rspec do |expectations|
21
+ # This option will default to `true` in RSpec 4. It makes the `description`
22
+ # and `failure_message` of custom matchers include text for helper methods
23
+ # defined using `chain`, e.g.:
24
+ # be_bigger_than(2).and_smaller_than(4).description
25
+ # # => "be bigger than 2 and smaller than 4"
26
+ # ...rather than:
27
+ # # => "be bigger than 2"
28
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
29
+ end
30
+
31
+ # rspec-mocks config goes here. You can use an alternate test double
32
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
33
+ config.mock_with :rspec do |mocks|
34
+ # Prevents you from mocking or stubbing a method that does not exist on
35
+ # a real object. This is generally recommended, and will default to
36
+ # `true` in RSpec 4.
37
+ mocks.verify_partial_doubles = true
38
+ end
39
+
40
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
41
+ # have no way to turn it off -- the option exists only for backwards
42
+ # compatibility in RSpec 3). It causes shared context metadata to be
43
+ # inherited by the metadata hash of host groups and examples, rather than
44
+ # triggering implicit auto-inclusion in groups with matching metadata.
45
+ config.shared_context_metadata_behavior = :apply_to_host_groups
46
+
47
+ # The settings below are suggested to provide a good initial experience
48
+ # with RSpec, but feel free to customize to your heart's content.
49
+ =begin
50
+ # This allows you to limit a spec run to individual examples or groups
51
+ # you care about by tagging them with `:focus` metadata. When nothing
52
+ # is tagged with `:focus`, all examples get run. RSpec also provides
53
+ # aliases for `it`, `describe`, and `context` that include `:focus`
54
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
55
+ config.filter_run_when_matching :focus
56
+
57
+ # Allows RSpec to persist some state between runs in order to support
58
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
59
+ # you configure your source control system to ignore this file.
60
+ config.example_status_persistence_file_path = "spec/examples.txt"
61
+
62
+ # Limits the available syntax to the non-monkey patched syntax that is
63
+ # recommended. For more details, see:
64
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
65
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
66
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
67
+ config.disable_monkey_patching!
68
+
69
+ # Many RSpec users commonly either run the entire suite or an individual
70
+ # file, and it's useful to allow more verbose output when running an
71
+ # individual spec file.
72
+ if config.files_to_run.one?
73
+ # Use the documentation formatter for detailed output,
74
+ # unless a formatter has already been configured
75
+ # (e.g. via a command-line flag).
76
+ config.default_formatter = "doc"
77
+ end
78
+
79
+ # Print the 10 slowest examples and example groups at the
80
+ # end of the spec run, to help surface which specs are running
81
+ # particularly slow.
82
+ config.profile_examples = 10
83
+
84
+ # Run specs in random order to surface order dependencies. If you find an
85
+ # order dependency and want to debug it, you can fix the order by providing
86
+ # the seed, which is printed after each run.
87
+ # --seed 1234
88
+ config.order = :random
89
+
90
+ # Seed global randomization in this process using the `--seed` CLI option.
91
+ # Setting this allows you to use `--seed` to deterministically reproduce
92
+ # test failures related to randomization by passing the same `--seed` value
93
+ # as the one that triggered the failure.
94
+ Kernel.srand config.seed
95
+ =end
96
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-nested_has_many
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Charlton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-12-03 00:00:00.000000000 Z
12
+ date: 2020-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: administrate
@@ -52,7 +52,35 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: 1.2.11
54
54
  - !ruby/object:Gem::Dependency
55
- name: rake
55
+ name: appraisal
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: capybara
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: selenium-webdriver
56
84
  requirement: !ruby/object:Gem::Requirement
57
85
  requirements:
58
86
  - - ">="
@@ -66,7 +94,7 @@ dependencies:
66
94
  - !ruby/object:Gem::Version
67
95
  version: '0'
68
96
  - !ruby/object:Gem::Dependency
69
- name: rspec
97
+ name: factory_bot
70
98
  requirement: !ruby/object:Gem::Requirement
71
99
  requirements:
72
100
  - - ">="
@@ -93,6 +121,48 @@ dependencies:
93
121
  - - ">="
94
122
  - !ruby/object:Gem::Version
95
123
  version: '0'
124
+ - !ruby/object:Gem::Dependency
125
+ name: rake
126
+ requirement: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ type: :development
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ - !ruby/object:Gem::Dependency
139
+ name: rspec-rails
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ - !ruby/object:Gem::Dependency
153
+ name: sqlite3
154
+ requirement: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
96
166
  description: Plugin for nested has_many forms in Administrate
97
167
  email:
98
168
  - nick@nickcharlton.net
@@ -101,8 +171,10 @@ executables: []
101
171
  extensions: []
102
172
  extra_rdoc_files: []
103
173
  files:
174
+ - ".circleci/config.yml"
104
175
  - ".gitignore"
105
176
  - ".ruby-version"
177
+ - Appraisals
106
178
  - CHANGELOG.md
107
179
  - Gemfile
108
180
  - README.md
@@ -115,12 +187,92 @@ files:
115
187
  - app/views/fields/nested_has_many/_form.html.erb
116
188
  - app/views/fields/nested_has_many/_index.html.erb
117
189
  - app/views/fields/nested_has_many/_show.html.erb
190
+ - app/views/fields/nested_has_many/_show_current.html.erb
191
+ - app/views/fields/nested_has_many/_show_old.html.erb
192
+ - bin/rails
118
193
  - config/i18n-tasks.yml
119
194
  - config/locales/administrate-field-nested_has_many.en.yml
120
195
  - config/locales/administrate-field-nested_has_many.ja.yml
196
+ - config/locales/administrate-field-nested_has_many.pt.yml
197
+ - config/locales/administrate-field-nested_has_many.ru.yml
198
+ - gemfiles/administrate_0.10.gemfile
199
+ - gemfiles/administrate_0.10.gemfile.lock
200
+ - gemfiles/administrate_master.gemfile
201
+ - gemfiles/administrate_master.gemfile.lock
121
202
  - lib/administrate/field/nested_has_many.rb
203
+ - spec/dummy/.gitignore
204
+ - spec/dummy/Rakefile
205
+ - spec/dummy/app/assets/config/manifest.js
206
+ - spec/dummy/app/assets/images/.keep
207
+ - spec/dummy/app/assets/javascripts/application.js
208
+ - spec/dummy/app/assets/javascripts/channels/.keep
209
+ - spec/dummy/app/assets/stylesheets/application.css
210
+ - spec/dummy/app/controllers/admin/application_controller.rb
211
+ - spec/dummy/app/controllers/admin/foo/students_controller.rb
212
+ - spec/dummy/app/controllers/admin/schools_controller.rb
213
+ - spec/dummy/app/controllers/application_controller.rb
214
+ - spec/dummy/app/controllers/concerns/.keep
215
+ - spec/dummy/app/dashboards/foo/student_dashboard.rb
216
+ - spec/dummy/app/dashboards/school_dashboard.rb
217
+ - spec/dummy/app/helpers/application_helper.rb
218
+ - spec/dummy/app/mailers/application_mailer.rb
219
+ - spec/dummy/app/models/application_record.rb
220
+ - spec/dummy/app/models/concerns/.keep
221
+ - spec/dummy/app/models/foo/student.rb
222
+ - spec/dummy/app/models/school.rb
223
+ - spec/dummy/app/views/layouts/application.html.erb
224
+ - spec/dummy/app/views/layouts/mailer.html.erb
225
+ - spec/dummy/app/views/layouts/mailer.text.erb
226
+ - spec/dummy/bin/bundle
227
+ - spec/dummy/bin/rails
228
+ - spec/dummy/bin/rake
229
+ - spec/dummy/bin/setup
230
+ - spec/dummy/bin/update
231
+ - spec/dummy/bin/yarn
232
+ - spec/dummy/config.ru
233
+ - spec/dummy/config/application.rb
234
+ - spec/dummy/config/boot.rb
235
+ - spec/dummy/config/cable.yml
236
+ - spec/dummy/config/database.yml
237
+ - spec/dummy/config/environment.rb
238
+ - spec/dummy/config/environments/development.rb
239
+ - spec/dummy/config/environments/test.rb
240
+ - spec/dummy/config/initializers/application_controller_renderer.rb
241
+ - spec/dummy/config/initializers/assets.rb
242
+ - spec/dummy/config/initializers/backtrace_silencers.rb
243
+ - spec/dummy/config/initializers/content_security_policy.rb
244
+ - spec/dummy/config/initializers/cookies_serializer.rb
245
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
246
+ - spec/dummy/config/initializers/inflections.rb
247
+ - spec/dummy/config/initializers/mime_types.rb
248
+ - spec/dummy/config/initializers/wrap_parameters.rb
249
+ - spec/dummy/config/locales/en.yml
250
+ - spec/dummy/config/puma.rb
251
+ - spec/dummy/config/routes.rb
252
+ - spec/dummy/config/spring.rb
253
+ - spec/dummy/config/storage.yml
254
+ - spec/dummy/db/migrate/20180907104642_create_schools.rb
255
+ - spec/dummy/db/migrate/20180907104703_create_students.rb
256
+ - spec/dummy/db/schema.rb
257
+ - spec/dummy/lib/assets/.keep
258
+ - spec/dummy/log/.keep
259
+ - spec/dummy/package.json
260
+ - spec/dummy/public/404.html
261
+ - spec/dummy/public/422.html
262
+ - spec/dummy/public/500.html
263
+ - spec/dummy/public/apple-touch-icon-precomposed.png
264
+ - spec/dummy/public/apple-touch-icon.png
265
+ - spec/dummy/public/favicon.ico
266
+ - spec/dummy/storage/.keep
267
+ - spec/dummy/tmp/.keep
268
+ - spec/dummy/tmp/storage/.keep
269
+ - spec/factories.rb
270
+ - spec/features/has_many_spec.rb
271
+ - spec/features/landing_spec.rb
122
272
  - spec/i18n_spec.rb
123
273
  - spec/lib/administrate/field/nested_has_many_spec.rb
274
+ - spec/rails_helper.rb
275
+ - spec/spec_helper.rb
124
276
  homepage: https://github.com/nickcharlton/administrate-field-nested_has_many
125
277
  licenses:
126
278
  - MIT
@@ -140,11 +292,81 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
292
  - !ruby/object:Gem::Version
141
293
  version: '0'
142
294
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.6
295
+ rubygems_version: 3.0.3
145
296
  signing_key:
146
297
  specification_version: 4
147
298
  summary: Plugin for nested has_many forms in Administrate
148
299
  test_files:
300
+ - spec/dummy/.gitignore
301
+ - spec/dummy/Rakefile
302
+ - spec/dummy/app/assets/config/manifest.js
303
+ - spec/dummy/app/assets/images/.keep
304
+ - spec/dummy/app/assets/javascripts/application.js
305
+ - spec/dummy/app/assets/javascripts/channels/.keep
306
+ - spec/dummy/app/assets/stylesheets/application.css
307
+ - spec/dummy/app/controllers/admin/application_controller.rb
308
+ - spec/dummy/app/controllers/admin/foo/students_controller.rb
309
+ - spec/dummy/app/controllers/admin/schools_controller.rb
310
+ - spec/dummy/app/controllers/application_controller.rb
311
+ - spec/dummy/app/controllers/concerns/.keep
312
+ - spec/dummy/app/dashboards/foo/student_dashboard.rb
313
+ - spec/dummy/app/dashboards/school_dashboard.rb
314
+ - spec/dummy/app/helpers/application_helper.rb
315
+ - spec/dummy/app/mailers/application_mailer.rb
316
+ - spec/dummy/app/models/application_record.rb
317
+ - spec/dummy/app/models/concerns/.keep
318
+ - spec/dummy/app/models/foo/student.rb
319
+ - spec/dummy/app/models/school.rb
320
+ - spec/dummy/app/views/layouts/application.html.erb
321
+ - spec/dummy/app/views/layouts/mailer.html.erb
322
+ - spec/dummy/app/views/layouts/mailer.text.erb
323
+ - spec/dummy/bin/bundle
324
+ - spec/dummy/bin/rails
325
+ - spec/dummy/bin/rake
326
+ - spec/dummy/bin/setup
327
+ - spec/dummy/bin/update
328
+ - spec/dummy/bin/yarn
329
+ - spec/dummy/config.ru
330
+ - spec/dummy/config/application.rb
331
+ - spec/dummy/config/boot.rb
332
+ - spec/dummy/config/cable.yml
333
+ - spec/dummy/config/database.yml
334
+ - spec/dummy/config/environment.rb
335
+ - spec/dummy/config/environments/development.rb
336
+ - spec/dummy/config/environments/test.rb
337
+ - spec/dummy/config/initializers/application_controller_renderer.rb
338
+ - spec/dummy/config/initializers/assets.rb
339
+ - spec/dummy/config/initializers/backtrace_silencers.rb
340
+ - spec/dummy/config/initializers/content_security_policy.rb
341
+ - spec/dummy/config/initializers/cookies_serializer.rb
342
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
343
+ - spec/dummy/config/initializers/inflections.rb
344
+ - spec/dummy/config/initializers/mime_types.rb
345
+ - spec/dummy/config/initializers/wrap_parameters.rb
346
+ - spec/dummy/config/locales/en.yml
347
+ - spec/dummy/config/puma.rb
348
+ - spec/dummy/config/routes.rb
349
+ - spec/dummy/config/spring.rb
350
+ - spec/dummy/config/storage.yml
351
+ - spec/dummy/db/migrate/20180907104642_create_schools.rb
352
+ - spec/dummy/db/migrate/20180907104703_create_students.rb
353
+ - spec/dummy/db/schema.rb
354
+ - spec/dummy/lib/assets/.keep
355
+ - spec/dummy/log/.keep
356
+ - spec/dummy/package.json
357
+ - spec/dummy/public/404.html
358
+ - spec/dummy/public/422.html
359
+ - spec/dummy/public/500.html
360
+ - spec/dummy/public/apple-touch-icon-precomposed.png
361
+ - spec/dummy/public/apple-touch-icon.png
362
+ - spec/dummy/public/favicon.ico
363
+ - spec/dummy/storage/.keep
364
+ - spec/dummy/tmp/.keep
365
+ - spec/dummy/tmp/storage/.keep
366
+ - spec/factories.rb
367
+ - spec/features/has_many_spec.rb
368
+ - spec/features/landing_spec.rb
149
369
  - spec/i18n_spec.rb
150
370
  - spec/lib/administrate/field/nested_has_many_spec.rb
371
+ - spec/rails_helper.rb
372
+ - spec/spec_helper.rb