rspec-rails 5.0.0 → 5.0.1
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +4 -3
- data.tar.gz.sig +0 -0
- data/Changelog.md +12 -1
- data/README.md +6 -4
- data/lib/rspec/rails/example/system_example_group.rb +1 -1
- data/lib/rspec/rails/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c53afd5a91c31c506c0f517b1056749e33a3c7849f856799763363084a11357
|
4
|
+
data.tar.gz: f49ce49acf4acc30f23e1126844fa29a15b71280b7222e8f62c956bd2b45c2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e1bbb19ac83f61374ed1620ac2b1d1498c5d563c3e677e19c23f0ab0fa961d6fac103c3792b4543c47d83fb862356c3b7b04433ed3fcbf6be64872d799db3f9
|
7
|
+
data.tar.gz: cf818e3dfbec148def3f7a3e376e5db1316ed5e152ee9beb394ede76291e7671f6a412dfc08b469efa585fe79f17804d7538bdab15a35bc9b6444b7b5d5bac54
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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�� �Mi�)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...
|
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
|
28
|
-
See the [`
|
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
|
36
|
+
# Run against this stable release
|
35
37
|
group :development, :test do
|
36
|
-
gem 'rspec-rails', '~>
|
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, "_")
|
44
|
+
].join("_").tr(CHARS_TO_TRANSLATE.join, "_").byteslice(0...200).scrub("") + "_#{rand(1000)}"
|
45
45
|
end
|
46
46
|
|
47
47
|
# Delegates to `Rails.application`.
|
data/lib/rspec/rails/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|
-
|
3
|
-
|
4
|
-
i��~Ol�p�Uٰ#�:�\g��ӓ��ak2l)�e8#MP���;�5�q�Q���]�a��
|
1
|
+
c�ֹ�!���`O��(&�7��{���#�:��o�3@��"��
|
2
|
+
���V����=z0"/�JtLOL\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΄�oo�P�J�,\����i��=ا���Pm�?�N<8�gr|�t�b]��\#p�
|
3
|
+
Q��<�;{�V����C�>��2gt���--���&
|