minitest-spec-rails 6.2.0 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +8 -7
  3. data/Appraisals +5 -12
  4. data/CHANGELOG.md +13 -0
  5. data/README.md +24 -24
  6. data/gemfiles/rails_v6.0.x.gemfile.lock +107 -87
  7. data/gemfiles/{rails_v5.2.x.gemfile → rails_v6.1.x.gemfile} +1 -1
  8. data/gemfiles/rails_v6.1.x.gemfile.lock +175 -0
  9. data/gemfiles/rails_v7.0.x.gemfile +1 -2
  10. data/gemfiles/rails_v7.0.x.gemfile.lock +174 -0
  11. data/gemfiles/rails_v7.1.x.gemfile +9 -0
  12. data/lib/minitest-spec-rails/init/action_cable.rb +28 -0
  13. data/lib/minitest-spec-rails/init/action_view.rb +1 -3
  14. data/lib/minitest-spec-rails/init/active_support.rb +1 -1
  15. data/lib/minitest-spec-rails/railtie.rb +3 -0
  16. data/lib/minitest-spec-rails/version.rb +1 -1
  17. data/minitest-spec-rails.gemspec +4 -2
  18. data/test/cases/action_cable_test.rb +38 -0
  19. data/test/cases/action_controller_test.rb +13 -13
  20. data/test/cases/action_dispatch_test.rb +18 -18
  21. data/test/cases/action_mailer_test.rb +13 -13
  22. data/test/cases/action_view_test.rb +17 -17
  23. data/test/cases/active_job_test.rb +13 -13
  24. data/test/cases/active_support_test.rb +7 -7
  25. data/test/cases/mini_shoulda_test.rb +3 -3
  26. data/test/dummy_app/app/channels/application_cable/channel.rb +4 -0
  27. data/test/dummy_app/app/channels/application_cable/connection.rb +4 -0
  28. data/test/dummy_app/app/controllers/application_controller.rb +1 -1
  29. data/test/dummy_app/app/mailers/user_mailer.rb +1 -1
  30. data/test/dummy_app/init.rb +5 -12
  31. data/test/dummy_app/tmp/development_secret.txt +1 -0
  32. data/test/dummy_tests/application_controller_test.rb +19 -19
  33. data/test/dummy_tests/foos_helper_test.rb +2 -2
  34. data/test/dummy_tests/integration_test.rb +3 -3
  35. data/test/dummy_tests/library_test.rb +3 -3
  36. data/test/dummy_tests/user_mailer_test.rb +20 -21
  37. data/test/dummy_tests/user_test.rb +15 -15
  38. data/test/dummy_tests/users_controller_test.rb +1 -1
  39. data/test/dummy_tests/users_helper_test.rb +15 -15
  40. data/test/support/shared_test_case_behavior.rb +0 -4
  41. data/test/test_helper.rb +1 -1
  42. metadata +49 -12
  43. data/gemfiles/rails_v5.1.x.gemfile +0 -8
  44. data/gemfiles/rails_v5.1.x.gemfile.lock +0 -130
  45. data/gemfiles/rails_v5.2.x.gemfile.lock +0 -136
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41993f64d8b90aa1cc2984e7b50670de5b12f39a86a0a5b646644584308b8dd9
4
- data.tar.gz: 6cefc26e1b9a27ff330e1b864e8906fa3ef02ff6c617816af726cef9d20819df
3
+ metadata.gz: 8a2989f1706a0168c45d78e39ab60653fd2bfa474b35da44baf10a3c96a6bafc
4
+ data.tar.gz: 1bf80ba6ff70170f2ade4032752a119ae50e71c5ef9088d2bb0433801e478ed6
5
5
  SHA512:
6
- metadata.gz: 75b4a8ea89bae06a7700068b84473f514b5366567dc134b2cfdc75a4d28af60952e71246cfa56dd631465b9ebaa00a5b42493f173b661cb743e95cdf0c14789e
7
- data.tar.gz: fbc2400c04af0ddc2118ff803b85fc32204b6ee4930a4abae9db5c31ff22ab1045629f0ebee3f3b4742f94cb3a7514863193d2ae7918773ca56315d1953299d6
6
+ metadata.gz: 69bde3a701acbb80be35241215857814b7dd1511e50a7b83c0035a3c8ee157eee9787271100bb59123cf8906feb0e023d0bbae9dd664ec27f3cd2af45329b8a0
7
+ data.tar.gz: a272548e1b379d1e378e924ad8173986961746678e37a34f390f8543bada37fd4537b9f271e0af735c357f222ee8c805ec4ae477ebc8eb1c07a76a996098fc92
@@ -6,21 +6,22 @@ jobs:
6
6
  strategy:
7
7
  matrix:
8
8
  ruby:
9
- - '2.5.x'
10
- - '2.6.x'
9
+ - "3.0"
10
+ - "3.1"
11
+ - "3.2"
11
12
  rails:
12
- - 'rails_v5.1.x'
13
- - 'rails_v5.2.x'
14
- - 'rails_v6.0.x'
13
+ - "rails_v6.0.x"
14
+ - "rails_v6.1.x"
15
+ - "rails_v7.0.x"
15
16
  steps:
16
17
  - name: Checkout
17
- uses: actions/checkout@v1
18
+ uses: actions/checkout@v3
18
19
  - name: Setup System
19
20
  run: |
20
21
  sudo apt-get install libsqlite3-dev
21
22
  echo "MTSR_RAILS_VERSION=${{ matrix.rails }}" >> $GITHUB_ENV
22
23
  - name: Setup Ruby
23
- uses: actions/setup-ruby@v1
24
+ uses: ruby/setup-ruby@v1
24
25
  with:
25
26
  ruby-version: ${{ matrix.ruby }}
26
27
  - name: Bundle
data/Appraisals CHANGED
@@ -1,22 +1,15 @@
1
1
 
2
- appraise 'rails-v5.1.x' do
3
- gem 'rails', '~> 5.1.0'
4
- # https://github.com/rails/rails/issues/29031
5
- gem 'minitest', '5.10.1'
6
- end
7
-
8
- appraise 'rails-v5.2.x' do
9
- gem 'rails', '~> 5.2.0'
2
+ appraise 'rails_v6.0.x' do
3
+ gem 'rails', '~> 6.0.0'
10
4
  gem 'minitest'
11
5
  end
12
6
 
13
- appraise 'rails_v6.0.x' do
14
- gem 'rails', '~> 6.0.0'
7
+ appraise 'rails_v6.1.x' do
8
+ gem 'rails', '~> 6.1.0'
15
9
  gem 'minitest'
16
10
  end
17
11
 
18
12
  appraise 'rails_v7.0.x' do
19
- gem 'rails', '~> 7.0.0.alpha2'
13
+ gem 'rails', '~> 7.0.0'
20
14
  gem 'minitest'
21
- gem 'view_component', require: 'view_component/engine'
22
15
  end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 7.1.0
2
+
3
+ - Use Minitest instead of MiniTest. Fixes #119. Thanks @evgeni
4
+ - Fix ActionCable::Channel::TestCase support. Fixes #118. Thanks @marcoroth
5
+ - Add support for ActionCable::Channel::TestCase. Fixes #117. Thanks @tijn
6
+
7
+ ## 7.0.0
8
+
9
+ - Add support for ActionCable::Channel::TestCase. Fixed #117. Thanks @tijn
10
+ - Remove automated tests for Rails v5 and Ruby v2.
11
+ - Update all of our tests and examples to use non-global expectations.
12
+ - Remove `Rails.application.reloader.to_prepare` for `ActionViewBehavior`.
13
+
1
14
  ## 6.2.0
2
15
 
3
16
  - Remove 'ENV['RAILS_ENV']=='test' from railtie.rb Fixes #114. Thanks @Qqwy
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  <a href="https://dhh.dk/2012/rails-is-omakase.html"><img src="https://user-images.githubusercontent.com/2381/34084174-246174da-e34a-11e7-9d36-94c9cde7b63d.png" width="233" height="154" /></a>
2
2
 
3
- # Make Rails Use MiniTest::Spec!
3
+ # Make Rails Use Minitest::Spec!
4
4
  ##### https://dhh.dk/2012/rails-is-omakase.html
5
5
 
6
- The minitest-spec-rails gem makes it easy to use the MiniTest::Spec DSL within your existing Rails 2.3, 3.x or 4.x test suite. It does this by forcing ActiveSupport::TestCase to utilize the MiniTest::Spec::DSL.
6
+ The minitest-spec-rails gem makes it easy to use the Minitest::Spec DSL within your existing Rails 2.3, 3.x or 4.x test suite. It does this by forcing ActiveSupport::TestCase to utilize the Minitest::Spec::DSL.
7
7
 
8
8
  [![Gem Version](https://badge.fury.io/rb/minitest-spec-rails.svg)](http://badge.fury.io/rb/minitest-spec-rails)
9
9
  [![CI Status](https://github.com/metaskills/minitest-spec-rails/workflows/CI/badge.svg)](https://launch-editor.github.com/actions?nwo=metaskills%2Fminitest-spec-rails&workflowID=CI)
@@ -12,7 +12,7 @@ The minitest-spec-rails gem makes it easy to use the MiniTest::Spec DSL within y
12
12
 
13
13
  ## Usage
14
14
 
15
- Existing or new Rails applications that use the default Rails testing structure can simply drop in the minitest-spec-gem and start writing their tests in the new spec DSL. Since MiniTest::Spec is built on top of MiniTest::Unit, a replacement for Test::Unit, all of your existing tests will continue to work.
15
+ Existing or new Rails applications that use the default Rails testing structure can simply drop in the minitest-spec-gem and start writing their tests in the new spec DSL. Since Minitest::Spec is built on top of Minitest::Unit, a replacement for Test::Unit, all of your existing tests will continue to work.
16
16
 
17
17
 
18
18
  #### Rails 4.1 to 6.0
@@ -36,9 +36,9 @@ end
36
36
  ```
37
37
 
38
38
 
39
- ### How is this different than MiniTest::Rails?
39
+ ### How is this different than Minitest::Rails?
40
40
 
41
- To start off both Mike Moore (@blowmage) and I have worked together and we both LOVE MiniTest::Spec. Both projects aim to advocate MiniTest and make Rails integration as easy as possible. However, there are a few key differences in our projects. Some of these differences may go away in time too. As always, choose the tool you think fits your needs. So how, is minitest-spec-rails different than [minitest-rails](https://github.com/blowmage/minitest-rails)?
41
+ To start off both Mike Moore (@blowmage) and I have worked together and we both LOVE Minitest::Spec. Both projects aim to advocate Minitest and make Rails integration as easy as possible. However, there are a few key differences in our projects. Some of these differences may go away in time too. As always, choose the tool you think fits your needs. So how, is minitest-spec-rails different than [minitest-rails](https://github.com/blowmage/minitest-rails)?
42
42
 
43
43
  * We aim to leverage existing Rails test directories and files!
44
44
  * No special test helper and/or generators.
@@ -47,7 +47,7 @@ To start off both Mike Moore (@blowmage) and I have worked together and we both
47
47
  * Fully support Ruby 1.8.7 with all legacy Test::Unit behavior.
48
48
  * Compatibility with ActiveSupport::TestCase's setup and teardowns.
49
49
 
50
- So the goal of this project is to make Rails 3 or 4 applications just work as if rails-core had decided to support MiniTest::Spec all along. We believe that eventually that day will come and when it does, all your tests will still work! So bundle up and get started!
50
+ So the goal of this project is to make Rails 3 or 4 applications just work as if rails-core had decided to support Minitest::Spec all along. We believe that eventually that day will come and when it does, all your tests will still work! So bundle up and get started!
51
51
 
52
52
  ```ruby
53
53
  gem 'minitest-spec-rails'
@@ -56,14 +56,14 @@ gem 'minitest-spec-rails'
56
56
 
57
57
  ## Test Styles
58
58
 
59
- This <a href="https://chriskottom.com/freebies/cheatsheets_free.pdf">cheat sheet</a> shows both the MiniTest::Unit assertions along with the MiniTest::Spec assertion syntax. Remember, MiniTest::Spec is built on top of MiniTest::Unit which is a Test::Unit replacement. That means you can mix and match styles as you upgrade from Test::Unit to a more modern style. For example, both of these would work in MiniTest::Spec and are interchangeable.
59
+ This <a href="https://chriskottom.com/freebies/cheatsheets_free.pdf">cheat sheet</a> shows both the Minitest::Unit assertions along with the Minitest::Spec assertion syntax. Remember, Minitest::Spec is built on top of Minitest::Unit which is a Test::Unit replacement. That means you can mix and match styles as you upgrade from Test::Unit to a more modern style. For example, both of these would work in Minitest::Spec and are interchangeable.
60
60
 
61
61
  ```ruby
62
- # MiniTest::Unit Assertion Style:
62
+ # Minitest::Unit Assertion Style:
63
63
  assert_equal 100, foo
64
64
 
65
- # MiniTest::Spec Assertion Style:
66
- foo.must_equal 100
65
+ # Minitest::Spec Assertion Style:
66
+ expect(foo).must_equal 100
67
67
  ```
68
68
 
69
69
 
@@ -72,7 +72,7 @@ require 'test_helper'
72
72
  class UserTest < ActiveSupport::TestCase
73
73
  let(:user_ken) { User.create! :email => 'ken@metaskills.net' }
74
74
  it 'works' do
75
- user_ken.must_be_instance_of User
75
+ expect(user_ken).must_be_instance_of User
76
76
  end
77
77
  end
78
78
  ```
@@ -152,9 +152,9 @@ class ActiveSupportCallbackTest < ActiveSupport::TestCase
152
152
  before { @bat = 'biz' }
153
153
 
154
154
  it 'works' do
155
- @foo.must_equal 'foo'
156
- @bar.must_equal 'bar'
157
- @bat.must_equal 'biz'
155
+ expect(@foo).must_equal 'foo'
156
+ expect(@bar).must_equal 'bar'
157
+ expect(@bat).must_equal 'biz'
158
158
  end
159
159
 
160
160
  private
@@ -191,19 +191,19 @@ class PostTests < ActiveSupport::TestCase
191
191
  end
192
192
  ```
193
193
 
194
- If you prefer the assertions provided by shoulda-context like `assert_same_elements`, then you may want to consider copying them [from here](https://github.com/thoughtbot/shoulda-context/blob/master/lib/shoulda/context/assertions.rb) and including them in `MiniTest::Spec` yourself. I personally recommend just replacing these assertions with something more modern. A few examples are below.
194
+ If you prefer the assertions provided by shoulda-context like `assert_same_elements`, then you may want to consider copying them [from here](https://github.com/thoughtbot/shoulda-context/blob/master/lib/shoulda/context/assertions.rb) and including them in `Minitest::Spec` yourself. I personally recommend just replacing these assertions with something more modern. A few examples are below.
195
195
 
196
196
  ```ruby
197
- assert_same_elements a, b # From
198
- a.sort.must_equal b.sort # To
197
+ assert_same_elements a, b # From
198
+ expect(a.sort).must_equal b.sort # To
199
199
 
200
200
  assert_does_not_contain a, b # From
201
- a.wont_include b # To
201
+ expect(a).wont_include b # To
202
202
  ```
203
203
 
204
204
  ### Matchers
205
205
 
206
- **I highly suggest that you stay away from matchers** since MiniTest::Spec gives you all the tools you need to write good tests. Staying away from matchers will make your code's tests live longer. So my advice is to stay away from things like `.should ==` and just write `.must_equal` instead. However, if matchers are really your thing, I recommend the [minitest-matchers](https://github.com/wojtekmach/minitest-matchers) gem. You can also check out the [valid_attribute](https://github.com/bcardarella/valid_attribute) gem built on top of minitest-matchers.
206
+ **I highly suggest that you stay away from matchers** since Minitest::Spec gives you all the tools you need to write good tests. Staying away from matchers will make your code's tests live longer. So my advice is to stay away from things like `.should ==` and just write `.must_equal` instead. However, if matchers are really your thing, I recommend the [minitest-matchers](https://github.com/wojtekmach/minitest-matchers) gem. You can also check out the [valid_attribute](https://github.com/bcardarella/valid_attribute) gem built on top of minitest-matchers.
207
207
 
208
208
  ```ruby
209
209
  describe Post do
@@ -229,14 +229,14 @@ end
229
229
 
230
230
  ### Assertion Methods
231
231
 
232
- If you are upgrading from Test::Unit, there are a few missing assertions that have been renamed or are no longer available within MiniTest.
232
+ If you are upgrading from Test::Unit, there are a few missing assertions that have been renamed or are no longer available within Minitest.
233
233
 
234
234
  * The method `assert_raise` is renamed `assert_raises`.
235
235
  * There is no method `assert_nothing_raised`. There are good reasons for this on [Ryan's blog entry](http://blog.zenspider.com/blog/2012/01/assert_nothing_tested.html).
236
236
 
237
237
  ### Mocha
238
238
 
239
- If you are using [Mocha](https://github.com/freerange/mocha) for mocking and stubbing, please update to the latest, 0.13.1 or higher so it is compatible with the latest MiniTest. If you do not like the deprecation warnings in older versions of Rails, just add this below the `require 'rails/all'` within your `application.rb` file :)
239
+ If you are using [Mocha](https://github.com/freerange/mocha) for mocking and stubbing, please update to the latest, 0.13.1 or higher so it is compatible with the latest Minitest. If you do not like the deprecation warnings in older versions of Rails, just add this below the `require 'rails/all'` within your `application.rb` file :)
240
240
 
241
241
  ```ruby
242
242
  require 'mocha/deprecation'
@@ -274,9 +274,9 @@ $ bundle exec appraisal rake test
274
274
  We use the [appraisal](https://github.com/thoughtbot/appraisal) gem from Thoughtbot to help us generate the individual gemfiles for each Rails version and to run the tests locally against each generated Gemfile. The `rake appraisal test` command actually runs our test suite against all Rails versions in our `Appraisal` file. If you want to run the tests for a specific Rails version, use `bundle exec appraisal -h` for a list. For example, the following command will run the tests for Rails 4.1 only.
275
275
 
276
276
  ```shell
277
- $ bundle exec appraisal rails-v5.1.x rake test
278
- $ bundle exec appraisal rails-v5.2.x rake test
279
- $ bundle exec appraisal rails-v6.0.x rake test
277
+ $ bundle exec appraisal rails_v6.0.x rake test
278
+ $ bundle exec appraisal rails_v6.1.x rake test
279
+ $ bundle exec appraisal rails_v7.0.x rake test
280
280
  ```
281
281
 
282
282
  We have a few branches for each major Rails version.
@@ -1,152 +1,172 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- minitest-spec-rails (6.1.0)
4
+ minitest-spec-rails (7.1.0)
5
5
  minitest (>= 5.0)
6
6
  railties (>= 4.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.0.3.6)
12
- actionpack (= 6.0.3.6)
11
+ actioncable (6.0.6.1)
12
+ actionpack (= 6.0.6.1)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.0.3.6)
16
- actionpack (= 6.0.3.6)
17
- activejob (= 6.0.3.6)
18
- activerecord (= 6.0.3.6)
19
- activestorage (= 6.0.3.6)
20
- activesupport (= 6.0.3.6)
15
+ actionmailbox (6.0.6.1)
16
+ actionpack (= 6.0.6.1)
17
+ activejob (= 6.0.6.1)
18
+ activerecord (= 6.0.6.1)
19
+ activestorage (= 6.0.6.1)
20
+ activesupport (= 6.0.6.1)
21
21
  mail (>= 2.7.1)
22
- actionmailer (6.0.3.6)
23
- actionpack (= 6.0.3.6)
24
- actionview (= 6.0.3.6)
25
- activejob (= 6.0.3.6)
22
+ actionmailer (6.0.6.1)
23
+ actionpack (= 6.0.6.1)
24
+ actionview (= 6.0.6.1)
25
+ activejob (= 6.0.6.1)
26
26
  mail (~> 2.5, >= 2.5.4)
27
27
  rails-dom-testing (~> 2.0)
28
- actionpack (6.0.3.6)
29
- actionview (= 6.0.3.6)
30
- activesupport (= 6.0.3.6)
28
+ actionpack (6.0.6.1)
29
+ actionview (= 6.0.6.1)
30
+ activesupport (= 6.0.6.1)
31
31
  rack (~> 2.0, >= 2.0.8)
32
32
  rack-test (>= 0.6.3)
33
33
  rails-dom-testing (~> 2.0)
34
34
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
- actiontext (6.0.3.6)
36
- actionpack (= 6.0.3.6)
37
- activerecord (= 6.0.3.6)
38
- activestorage (= 6.0.3.6)
39
- activesupport (= 6.0.3.6)
35
+ actiontext (6.0.6.1)
36
+ actionpack (= 6.0.6.1)
37
+ activerecord (= 6.0.6.1)
38
+ activestorage (= 6.0.6.1)
39
+ activesupport (= 6.0.6.1)
40
40
  nokogiri (>= 1.8.5)
41
- actionview (6.0.3.6)
42
- activesupport (= 6.0.3.6)
41
+ actionview (6.0.6.1)
42
+ activesupport (= 6.0.6.1)
43
43
  builder (~> 3.1)
44
44
  erubi (~> 1.4)
45
45
  rails-dom-testing (~> 2.0)
46
46
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
- activejob (6.0.3.6)
48
- activesupport (= 6.0.3.6)
47
+ activejob (6.0.6.1)
48
+ activesupport (= 6.0.6.1)
49
49
  globalid (>= 0.3.6)
50
- activemodel (6.0.3.6)
51
- activesupport (= 6.0.3.6)
52
- activerecord (6.0.3.6)
53
- activemodel (= 6.0.3.6)
54
- activesupport (= 6.0.3.6)
55
- activestorage (6.0.3.6)
56
- actionpack (= 6.0.3.6)
57
- activejob (= 6.0.3.6)
58
- activerecord (= 6.0.3.6)
59
- marcel (~> 1.0.0)
60
- activesupport (6.0.3.6)
50
+ activemodel (6.0.6.1)
51
+ activesupport (= 6.0.6.1)
52
+ activerecord (6.0.6.1)
53
+ activemodel (= 6.0.6.1)
54
+ activesupport (= 6.0.6.1)
55
+ activestorage (6.0.6.1)
56
+ actionpack (= 6.0.6.1)
57
+ activejob (= 6.0.6.1)
58
+ activerecord (= 6.0.6.1)
59
+ marcel (~> 1.0)
60
+ activesupport (6.0.6.1)
61
61
  concurrent-ruby (~> 1.0, >= 1.0.2)
62
62
  i18n (>= 0.7, < 2)
63
63
  minitest (~> 5.1)
64
64
  tzinfo (~> 1.1)
65
65
  zeitwerk (~> 2.2, >= 2.2.2)
66
- appraisal (2.4.0)
66
+ appraisal (2.4.1)
67
67
  bundler
68
68
  rake
69
69
  thor (>= 0.14.0)
70
70
  builder (3.2.4)
71
- concurrent-ruby (1.1.8)
71
+ coderay (1.1.3)
72
+ concurrent-ruby (1.2.2)
72
73
  crass (1.0.6)
73
- erubi (1.10.0)
74
- globalid (0.4.2)
75
- activesupport (>= 4.2.0)
76
- i18n (1.8.10)
74
+ date (3.3.3)
75
+ erubi (1.12.0)
76
+ globalid (1.1.0)
77
+ activesupport (>= 5.0)
78
+ i18n (1.13.0)
77
79
  concurrent-ruby (~> 1.0)
78
- loofah (2.9.1)
80
+ loofah (2.21.3)
79
81
  crass (~> 1.0.2)
80
- nokogiri (>= 1.5.9)
81
- mail (2.7.1)
82
+ nokogiri (>= 1.12.0)
83
+ mail (2.8.1)
82
84
  mini_mime (>= 0.1.1)
83
- marcel (1.0.1)
85
+ net-imap
86
+ net-pop
87
+ net-smtp
88
+ marcel (1.0.2)
84
89
  method_source (1.0.0)
85
- mini_mime (1.1.0)
86
- mini_portile2 (2.5.1)
87
- minitest (5.14.4)
88
- nio4r (2.5.7)
89
- nokogiri (1.11.3)
90
- mini_portile2 (~> 2.5.0)
90
+ mini_mime (1.1.2)
91
+ minitest (5.18.0)
92
+ minitest-focus (1.3.1)
93
+ minitest (>= 4, < 6)
94
+ net-imap (0.3.4)
95
+ date
96
+ net-protocol
97
+ net-pop (0.1.2)
98
+ net-protocol
99
+ net-protocol (0.2.1)
100
+ timeout
101
+ net-smtp (0.3.3)
102
+ net-protocol
103
+ nio4r (2.5.9)
104
+ nokogiri (1.15.1-arm64-darwin)
91
105
  racc (~> 1.4)
92
- racc (1.5.2)
93
- rack (2.2.3)
94
- rack-test (1.1.0)
95
- rack (>= 1.0, < 3)
96
- rails (6.0.3.6)
97
- actioncable (= 6.0.3.6)
98
- actionmailbox (= 6.0.3.6)
99
- actionmailer (= 6.0.3.6)
100
- actionpack (= 6.0.3.6)
101
- actiontext (= 6.0.3.6)
102
- actionview (= 6.0.3.6)
103
- activejob (= 6.0.3.6)
104
- activemodel (= 6.0.3.6)
105
- activerecord (= 6.0.3.6)
106
- activestorage (= 6.0.3.6)
107
- activesupport (= 6.0.3.6)
106
+ pry (0.14.2)
107
+ coderay (~> 1.1)
108
+ method_source (~> 1.0)
109
+ racc (1.6.2)
110
+ rack (2.2.7)
111
+ rack-test (2.1.0)
112
+ rack (>= 1.3)
113
+ rails (6.0.6.1)
114
+ actioncable (= 6.0.6.1)
115
+ actionmailbox (= 6.0.6.1)
116
+ actionmailer (= 6.0.6.1)
117
+ actionpack (= 6.0.6.1)
118
+ actiontext (= 6.0.6.1)
119
+ actionview (= 6.0.6.1)
120
+ activejob (= 6.0.6.1)
121
+ activemodel (= 6.0.6.1)
122
+ activerecord (= 6.0.6.1)
123
+ activestorage (= 6.0.6.1)
124
+ activesupport (= 6.0.6.1)
108
125
  bundler (>= 1.3.0)
109
- railties (= 6.0.3.6)
126
+ railties (= 6.0.6.1)
110
127
  sprockets-rails (>= 2.0.0)
111
128
  rails-dom-testing (2.0.3)
112
129
  activesupport (>= 4.2.0)
113
130
  nokogiri (>= 1.6)
114
- rails-html-sanitizer (1.3.0)
115
- loofah (~> 2.3)
116
- railties (6.0.3.6)
117
- actionpack (= 6.0.3.6)
118
- activesupport (= 6.0.3.6)
131
+ rails-html-sanitizer (1.5.0)
132
+ loofah (~> 2.19, >= 2.19.1)
133
+ railties (6.0.6.1)
134
+ actionpack (= 6.0.6.1)
135
+ activesupport (= 6.0.6.1)
119
136
  method_source
120
137
  rake (>= 0.8.7)
121
138
  thor (>= 0.20.3, < 2.0)
122
- rake (13.0.3)
123
- sprockets (4.0.2)
139
+ rake (13.0.6)
140
+ sprockets (4.2.0)
124
141
  concurrent-ruby (~> 1.0)
125
- rack (> 1, < 3)
126
- sprockets-rails (3.2.2)
127
- actionpack (>= 4.0)
128
- activesupport (>= 4.0)
142
+ rack (>= 2.2.4, < 4)
143
+ sprockets-rails (3.4.2)
144
+ actionpack (>= 5.2)
145
+ activesupport (>= 5.2)
129
146
  sprockets (>= 3.0.0)
130
- sqlite3 (1.4.2)
131
- thor (1.1.0)
147
+ sqlite3 (1.6.3-arm64-darwin)
148
+ thor (1.2.2)
132
149
  thread_safe (0.3.6)
133
- tzinfo (1.2.9)
150
+ timeout (0.3.2)
151
+ tzinfo (1.2.11)
134
152
  thread_safe (~> 0.1)
135
- websocket-driver (0.7.3)
153
+ websocket-driver (0.7.5)
136
154
  websocket-extensions (>= 0.1.0)
137
155
  websocket-extensions (0.1.5)
138
- zeitwerk (2.4.2)
156
+ zeitwerk (2.6.8)
139
157
 
140
158
  PLATFORMS
141
- ruby
159
+ arm64-darwin-22
142
160
 
143
161
  DEPENDENCIES
144
162
  appraisal
145
163
  minitest
164
+ minitest-focus
146
165
  minitest-spec-rails!
166
+ pry
147
167
  rails (~> 6.0.0)
148
168
  rake
149
169
  sqlite3
150
170
 
151
171
  BUNDLED WITH
152
- 1.17.3
172
+ 2.4.12
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 5.2.0"
5
+ gem "rails", "~> 6.1.0"
6
6
  gem "minitest"
7
7
 
8
8
  gemspec path: "../"
@@ -0,0 +1,175 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ minitest-spec-rails (7.1.0)
5
+ minitest (>= 5.0)
6
+ railties (>= 4.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (6.1.7.3)
12
+ actionpack (= 6.1.7.3)
13
+ activesupport (= 6.1.7.3)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (6.1.7.3)
17
+ actionpack (= 6.1.7.3)
18
+ activejob (= 6.1.7.3)
19
+ activerecord (= 6.1.7.3)
20
+ activestorage (= 6.1.7.3)
21
+ activesupport (= 6.1.7.3)
22
+ mail (>= 2.7.1)
23
+ actionmailer (6.1.7.3)
24
+ actionpack (= 6.1.7.3)
25
+ actionview (= 6.1.7.3)
26
+ activejob (= 6.1.7.3)
27
+ activesupport (= 6.1.7.3)
28
+ mail (~> 2.5, >= 2.5.4)
29
+ rails-dom-testing (~> 2.0)
30
+ actionpack (6.1.7.3)
31
+ actionview (= 6.1.7.3)
32
+ activesupport (= 6.1.7.3)
33
+ rack (~> 2.0, >= 2.0.9)
34
+ rack-test (>= 0.6.3)
35
+ rails-dom-testing (~> 2.0)
36
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
+ actiontext (6.1.7.3)
38
+ actionpack (= 6.1.7.3)
39
+ activerecord (= 6.1.7.3)
40
+ activestorage (= 6.1.7.3)
41
+ activesupport (= 6.1.7.3)
42
+ nokogiri (>= 1.8.5)
43
+ actionview (6.1.7.3)
44
+ activesupport (= 6.1.7.3)
45
+ builder (~> 3.1)
46
+ erubi (~> 1.4)
47
+ rails-dom-testing (~> 2.0)
48
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
+ activejob (6.1.7.3)
50
+ activesupport (= 6.1.7.3)
51
+ globalid (>= 0.3.6)
52
+ activemodel (6.1.7.3)
53
+ activesupport (= 6.1.7.3)
54
+ activerecord (6.1.7.3)
55
+ activemodel (= 6.1.7.3)
56
+ activesupport (= 6.1.7.3)
57
+ activestorage (6.1.7.3)
58
+ actionpack (= 6.1.7.3)
59
+ activejob (= 6.1.7.3)
60
+ activerecord (= 6.1.7.3)
61
+ activesupport (= 6.1.7.3)
62
+ marcel (~> 1.0)
63
+ mini_mime (>= 1.1.0)
64
+ activesupport (6.1.7.3)
65
+ concurrent-ruby (~> 1.0, >= 1.0.2)
66
+ i18n (>= 1.6, < 2)
67
+ minitest (>= 5.1)
68
+ tzinfo (~> 2.0)
69
+ zeitwerk (~> 2.3)
70
+ appraisal (2.4.1)
71
+ bundler
72
+ rake
73
+ thor (>= 0.14.0)
74
+ builder (3.2.4)
75
+ coderay (1.1.3)
76
+ concurrent-ruby (1.2.2)
77
+ crass (1.0.6)
78
+ date (3.3.3)
79
+ erubi (1.12.0)
80
+ globalid (1.1.0)
81
+ activesupport (>= 5.0)
82
+ i18n (1.13.0)
83
+ concurrent-ruby (~> 1.0)
84
+ loofah (2.21.3)
85
+ crass (~> 1.0.2)
86
+ nokogiri (>= 1.12.0)
87
+ mail (2.8.1)
88
+ mini_mime (>= 0.1.1)
89
+ net-imap
90
+ net-pop
91
+ net-smtp
92
+ marcel (1.0.2)
93
+ method_source (1.0.0)
94
+ mini_mime (1.1.2)
95
+ minitest (5.18.0)
96
+ minitest-focus (1.3.1)
97
+ minitest (>= 4, < 6)
98
+ net-imap (0.3.4)
99
+ date
100
+ net-protocol
101
+ net-pop (0.1.2)
102
+ net-protocol
103
+ net-protocol (0.2.1)
104
+ timeout
105
+ net-smtp (0.3.3)
106
+ net-protocol
107
+ nio4r (2.5.9)
108
+ nokogiri (1.15.1-arm64-darwin)
109
+ racc (~> 1.4)
110
+ pry (0.14.2)
111
+ coderay (~> 1.1)
112
+ method_source (~> 1.0)
113
+ racc (1.6.2)
114
+ rack (2.2.7)
115
+ rack-test (2.1.0)
116
+ rack (>= 1.3)
117
+ rails (6.1.7.3)
118
+ actioncable (= 6.1.7.3)
119
+ actionmailbox (= 6.1.7.3)
120
+ actionmailer (= 6.1.7.3)
121
+ actionpack (= 6.1.7.3)
122
+ actiontext (= 6.1.7.3)
123
+ actionview (= 6.1.7.3)
124
+ activejob (= 6.1.7.3)
125
+ activemodel (= 6.1.7.3)
126
+ activerecord (= 6.1.7.3)
127
+ activestorage (= 6.1.7.3)
128
+ activesupport (= 6.1.7.3)
129
+ bundler (>= 1.15.0)
130
+ railties (= 6.1.7.3)
131
+ sprockets-rails (>= 2.0.0)
132
+ rails-dom-testing (2.0.3)
133
+ activesupport (>= 4.2.0)
134
+ nokogiri (>= 1.6)
135
+ rails-html-sanitizer (1.5.0)
136
+ loofah (~> 2.19, >= 2.19.1)
137
+ railties (6.1.7.3)
138
+ actionpack (= 6.1.7.3)
139
+ activesupport (= 6.1.7.3)
140
+ method_source
141
+ rake (>= 12.2)
142
+ thor (~> 1.0)
143
+ rake (13.0.6)
144
+ sprockets (4.2.0)
145
+ concurrent-ruby (~> 1.0)
146
+ rack (>= 2.2.4, < 4)
147
+ sprockets-rails (3.4.2)
148
+ actionpack (>= 5.2)
149
+ activesupport (>= 5.2)
150
+ sprockets (>= 3.0.0)
151
+ sqlite3 (1.6.3-arm64-darwin)
152
+ thor (1.2.2)
153
+ timeout (0.3.2)
154
+ tzinfo (2.0.6)
155
+ concurrent-ruby (~> 1.0)
156
+ websocket-driver (0.7.5)
157
+ websocket-extensions (>= 0.1.0)
158
+ websocket-extensions (0.1.5)
159
+ zeitwerk (2.6.8)
160
+
161
+ PLATFORMS
162
+ arm64-darwin-22
163
+
164
+ DEPENDENCIES
165
+ appraisal
166
+ minitest
167
+ minitest-focus
168
+ minitest-spec-rails!
169
+ pry
170
+ rails (~> 6.1.0)
171
+ rake
172
+ sqlite3
173
+
174
+ BUNDLED WITH
175
+ 2.4.12