rspec-support 3.7.0 → 3.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97a8c3ef5bd62597387905254a288976a0c64c7a
4
- data.tar.gz: b43e05200a5722ac6b8df8f6e34b1e7b2a30804a
3
+ metadata.gz: 0fe50cb7f542a64bbfaf228bf0d4222210131c9c
4
+ data.tar.gz: 3252ea5991d2b3583a042f16843f81195ea60ffb
5
5
  SHA512:
6
- metadata.gz: fb1cfe9e1c326894f7a44d40df99e09ae579a39c2dac9dbe2af2e4996e76521d37bb7950f764f16c6a0c5864c384725042df706b9e22d3476628a0384bf47616
7
- data.tar.gz: 8638d927462d2555d0ad2eba87dd5b0abfd3c2379d28430da87d447cccbc0630c75466438b250547994b95da13de042ae688830f109d8d9b6958de8a0ce84faa
6
+ metadata.gz: 505b60919c61f1615270f98a9c6cdafcb8553eef14661423a1ca32bef71bd7bd1aae7e9f8fef6da4cd6de0c207cf666aa429e525915b41310b1f7195d1703932
7
+ data.tar.gz: 2a8d7ffcd478cd7e9dfd90dd97daf14e9296b32fad88e39391d60e785c9326c02db0940b47873ba04dcb98c252dca9535171f9a56633992fbfe7e0930042fc60
@@ -1,3 +1 @@
1
- �&�]aӒ`��GT4����^af���B���4_��G|]W��~;c��>48��] �����X.0��&^�hȇ�,��UtnB��c
2
- ��RB(��0Jw�Fw�{s��Gt*�x-b AJ�yĨS{�hd@�B�����b�'[E�k�F�7��BK��I;�(���æ ����1h��mB����}zɍ�r�m����̭ ������]�NEm�
3
- 5Z��)�m�/��^H�t�{����ȼ���d��M�
1
+ X+�ӄ��kʕH���|��Ǫձ�(+��4'��i.���tI����DM���٢ ii���b�n�����0����(YQds��!�sA�֒�� $ ��b�Oy��TV�{ϒ=�߂fDg��s�1�<"�.~w����T{�5x\�� wGݿ�����=��4�ϐ�@J��Z��{��k��t�6�e�`�P�|^k��{C~I6��۵�?�#���
data.tar.gz.sig CHANGED
@@ -1,7 +1 @@
1
- �x%�����ᡢ�x�Bv3kDx0p)�j�ȫ��tyw�����tgS��`��7
2
- ����\��cFQ�OuT����U��HI`���Eg���_D�j�ӬL�7��b_.�I�Ҳ(�a� ���x��c�@��`�%a_S�W����D\�Z��R�#�����h�'}z�"|s��TJF[Eص�vUKo/�i)ٖ�
3
- d`�N�f1M����'4��.�1^�!`Nz'h��y��
4
- ��$�e�8�#X��>���)5���'%J �
5
- ���|�C��աd��I9} �$���<Z�ډ*�����a���H=���m��(�Ic�
6
- ߞ�q� He�R*],�v�H�;i�/���������
7
- �_��Ns���׍�G����F��Ot�@��3�>4\T�<��i`�.�9����| ��y?9p�C�p�]��&�F ]�O "�k,�9�B�T�v�i��< `��+O�Y�L�&�W�9f����*�.���WL���[��d
1
+ ���؊�� ��}7�0���S��*�?���ܞ����e=��.�O0d0c�>��15�tZO�}b����z����'�E&rO���#�]@E�u�ۢ� q�Y�����W�E��7ہɧaM�d*ͯ����.�rڹ=y��kQ52D��PJKP����.�ӄ>�dh�6�x��;?���6k-��1��V��MXQ�Ч?JD������4n~���7�ߑZ�z�2�\�#h���x=�����(��RHkj�У��Ͼ�dk�Ô<��P�~�tt5=4G4^�!�Xy����\��Ԋ�#����R�ܶrxBD�.K��l /U<^�m����}h��AcjIm���PibvKv}�����+��NuzW;�x��ʀ=���,��K�$Um��E�>�Ϝ��`y>��� ooqT"��s��<^�Rb5%�8��'"><�|���0��[?�*ce@o��d����nea6�I��ƈ�dg����]�e��a�ÒO�Dno��gC�
@@ -1,7 +1,12 @@
1
- ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.0...master)
1
+ ### 3.7.1 / 2018-01-29
2
+ [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.0...v3.7.1)
3
3
 
4
- ### 3.7.0 / 2017-05-04
4
+ Bug Fixes:
5
+
6
+ * Fix source extraction logic so that it does not trigger a `SystemStackError`
7
+ when processing deeply nested example groups. (Craig Bass, #343)
8
+
9
+ ### 3.7.0 / 2017-10-17
5
10
  [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.6.0...v3.7.0)
6
11
 
7
12
  Enhancements:
@@ -45,13 +45,16 @@ module RSpec
45
45
  @location ||= args.find { |arg| arg.is_a?(Location) }
46
46
  end
47
47
 
48
- def each(&block)
48
+ # We use a loop here (instead of recursion) to prevent SystemStackError
49
+ def each
49
50
  return to_enum(__method__) unless block_given?
50
51
 
51
- yield self
52
+ node_queue = []
53
+ node_queue << self
52
54
 
53
- children.each do |child|
54
- child.each(&block)
55
+ while (current_node = node_queue.shift)
56
+ yield current_node
57
+ node_queue.concat(current_node.children)
55
58
  end
56
59
  end
57
60
 
@@ -1,7 +1,7 @@
1
1
  module RSpec
2
2
  module Support
3
3
  module Version
4
- STRING = '3.7.0'
4
+ STRING = '3.7.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chelimsky
@@ -48,7 +48,7 @@ cert_chain:
48
48
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
49
49
  F3MdtaDehhjC
50
50
  -----END CERTIFICATE-----
51
- date: 2017-10-17 00:00:00.000000000 Z
51
+ date: 2018-01-30 00:00:00.000000000 Z
52
52
  dependencies:
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
@@ -153,8 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.6.14
156
+ rubygems_version: 2.6.13
157
157
  signing_key:
158
158
  specification_version: 4
159
- summary: rspec-support-3.7.0
159
+ summary: rspec-support-3.7.1
160
160
  test_files: []
metadata.gz.sig CHANGED
Binary file