rspec-rails 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22120c08322db7d9470240c96bba31832d330976d195338eb507fad8fe2dc354
4
- data.tar.gz: e48c5b5a155a865cf7b5fd2df8697ac3a2ae8378373921a6dea505add670e2a0
3
+ metadata.gz: 7c53afd5a91c31c506c0f517b1056749e33a3c7849f856799763363084a11357
4
+ data.tar.gz: f49ce49acf4acc30f23e1126844fa29a15b71280b7222e8f62c956bd2b45c2bb
5
5
  SHA512:
6
- metadata.gz: c15dd2809fa641a6eb1c67ec9928e6ca49f8c413328f3b4e1040a82b3cb32efb68a0606a77f3bd9be8b453fe37bd77ca6878bed166c87d549e7c8c6e4d4c3519
7
- data.tar.gz: 7edcae51bcb43cbebef28d02aee76aeaf543d4df339ece8d962011e7138430ac950f55a367e71bb456e05425d86dddc30eef2d406d393d072b5317b4bc4905fa
6
+ metadata.gz: 0e1bbb19ac83f61374ed1620ac2b1d1498c5d563c3e677e19c23f0ab0fa961d6fac103c3792b4543c47d83fb862356c3b7b04433ed3fcbf6be64872d799db3f9
7
+ data.tar.gz: cf818e3dfbec148def3f7a3e376e5db1316ed5e152ee9beb394ede76291e7671f6a412dfc08b469efa585fe79f17804d7538bdab15a35bc9b6444b7b5d5bac54
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,4 @@
1
- F�6�3�"������O�s�s�}����h#e�bW��+$�
2
- ~�D������p��7�oKʨ{�����.M_�vj�?�V�`��F���箰��P�~�}rG.���P.��H2�>��J}�DNz���h�~q���J����FmG���k�N�JDG@��4D�óZ�G)c��R�O/򻾽���e3����$��Z�NiIU��#@��AmŤ
3
- "�&g��%Y�8i�sl��c[�1�҃���%��]VW2���po��50�7��D��M���x(�"��v�r�|�\W�a ���w�䅍�!!噧���z8�Η�ݛ'`(5[��y�� ���_�ם��l��_i��n��Ơ���pp�<^u�^��FJ��|��,�F�z�ѕ�iѴ���<e)G~m���$em���q{�|�%WAu�*�k��N�T&�����I�d>�jx
1
+ h+|
2
+ J�l�y�=��h?/p�u�7)KY4ݣż�X ����TpQ�+%H���Wi��/Y�&4:S��Vf¹E!��c��b٫/6ԡn�J�� M޿i�)cf�Bͤ ��bl���l.jlmP���&N �@�y%��E�;����]w���%�c Q6?�
3
+ [�z����П׈�ui02R ��h`� ���L���z E��V
4
+ i1�Q]�[jӍZ�
data.tar.gz.sig CHANGED
Binary file
data/Changelog.md CHANGED
@@ -1,5 +1,16 @@
1
+ ### Development
2
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.1...5-0-maintenance)
3
+
4
+ ### 5.0.1 / 2021-03-18
5
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)
6
+
7
+ Bug Fixes:
8
+
9
+ * Limit multibyte example descriptions when used in system tests for #method_name
10
+ which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
11
+
1
12
  ### 5.0.0 / 2021-03-09
2
- [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...main)
13
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...v5.0.0)
3
14
 
4
15
  Enhancements:
5
16
 
data/README.md CHANGED
@@ -8,6 +8,7 @@ They’re also specifications (or _specs,_ for short):
8
8
  detailed explanations of how the application is supposed to behave,
9
9
  expressed in plain English.
10
10
 
11
+ Use **[`rspec-rails` 4.x][]** for Rails from 5.0 to 6.0.
11
12
  Use **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
12
13
  Use **[`rspec-rails` 1.x][]** for Rails 2.x.
13
14
 
@@ -21,19 +22,20 @@ Use **[`rspec-rails` 1.x][]** for Rails 2.x.
21
22
  [Ruby on Rails]: https://rubyonrails.org/
22
23
  [`rspec-rails` 1.x]: https://github.com/dchelimsky/rspec-rails
23
24
  [`rspec-rails` 3.x]: https://github.com/rspec/rspec-rails/tree/3-9-maintenance
25
+ [`rspec-rails` 4.x]: https://github.com/rspec/rspec-rails/tree/4-1-maintenance
24
26
 
25
27
  ## Installation
26
28
 
27
- **IMPORTANT** This README / branch refers to the current development build.
28
- See the [`4-1-maintenance` branch on Github](https://github.com/rspec/rspec-rails/tree/4-0-maintenance) if you want or require the latest stable release.
29
+ **IMPORTANT** This README / branch refers to the 5.0.x series of releases.
30
+ See the [`main` branch on Github](https://github.com/rspec/rspec-rails/tree/main) for more up to date releases.
29
31
 
30
32
  1. Add `rspec-rails` to **both** the `:development` and `:test` groups
31
33
  of your app’s `Gemfile`:
32
34
 
33
35
  ```ruby
34
- # Run against the latest stable release
36
+ # Run against this stable release
35
37
  group :development, :test do
36
- gem 'rspec-rails', '~> 4.1.0'
38
+ gem 'rspec-rails', '~> 5.0.0'
37
39
  end
38
40
 
39
41
  # Or, run against the main branch
@@ -41,7 +41,7 @@ module RSpec
41
41
  @method_name ||= [
42
42
  self.class.name.underscore,
43
43
  RSpec.current_example.description.underscore
44
- ].join("_").tr(CHARS_TO_TRANSLATE.join, "_")[0...200] + "_#{rand(1000)}"
44
+ ].join("_").tr(CHARS_TO_TRANSLATE.join, "_").byteslice(0...200).scrub("") + "_#{rand(1000)}"
45
45
  end
46
46
 
47
47
  # Delegates to `Rails.application`.
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Rails.
4
4
  module Version
5
5
  # Current version of RSpec Rails, in semantic versioning format.
6
- STRING = '5.0.0'
6
+ STRING = '5.0.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chelimsky
@@ -44,7 +44,7 @@ cert_chain:
44
44
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
45
45
  F3MdtaDehhjC
46
46
  -----END CERTIFICATE-----
47
- date: 2021-03-09 00:00:00.000000000 Z
47
+ date: 2021-03-18 00:00:00.000000000 Z
48
48
  dependencies:
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: actionpack
@@ -296,7 +296,7 @@ licenses:
296
296
  - MIT
297
297
  metadata:
298
298
  bug_tracker_uri: https://github.com/rspec/rspec-rails/issues
299
- changelog_uri: https://github.com/rspec/rspec-rails/blob/v5.0.0/Changelog.md
299
+ changelog_uri: https://github.com/rspec/rspec-rails/blob/v5.0.1/Changelog.md
300
300
  documentation_uri: https://rspec.info/documentation/
301
301
  mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
302
302
  source_code_uri: https://github.com/rspec/rspec-rails
metadata.gz.sig CHANGED
@@ -1,4 +1,3 @@
1
-
2
- �y`�FﴄQ��|S65/�k��w cR^J!1XC����?
3
- k��9YSs�����W�q�i�@kr�"��R�&<-`��(I�[Ri"W,�@}o_i8!ě�+O�k� ���a�#����L�DD�X<���/*q��m��'��%�F��[�8ɺ�k��d���c�������Nt�_*���E�u� 5a����}�͜A��OyȈÈ6���eŬ�!��]Fmu+30o͍���t�yL���������d��(fI�^n�,X��R��7Xb�����){%�gcJ�$�x'��&m��=�y��o ƅhlE���@"v
4
- i��~Ol�p�Uٰ#�:�\g�� ӓ��ak2l)�e8#MP���;�5�q�Q���]�a��
1
+ c�ֹ�!���`O��(& �7��{���#�:��o�3@��"��
2
+ ���V����=z0"/�JtL OL\oY��B���^�:�%�֖�����!�3�j#krC�1R(̾8u�����E�UY��{�a�y��z��{�ma�ݢ<��o�=��f��?�d�u���A��eP�e�$I�)oЪ�5o|8��iA�賾`�����w��;�� ��\oK���.� �.�Ȏ����Qѫ������e|�b���������Nx���78k΄�ooP�J�,\���� i ��=ا���Pm�?�N<8gr|�t�b]��\#p�
3
+ Q��<�;{�V����C�>��2gt���--���&