rspec-support 3.12.2 → 3.13.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: 7e32b81777527bad6ef4855860ca53dca983f5d75d369f60e0c9e53fd6a26bdc
4
- data.tar.gz: aceab698cb5dc8d00631a4abbdaccfeecdcc6dc5c4b79b5a706f231d3d86d25c
3
+ metadata.gz: 92bef00902f2274e73ead3711ea3c341a34b07eb11cdf647a8d737e1d0c11382
4
+ data.tar.gz: 90317d4ebccad5e6da2abb4e2af56a1dbb217bd9961d3dc68ea80ff824f8117e
5
5
  SHA512:
6
- metadata.gz: 51ddfd24163bd5dd4cbd3e43dd6fe440246db96bcd4ae83460fa72d79e63f54ba36b7de5d3cf5ee323e30893803031260311b775387c6d4e430886afd2c0f5c7
7
- data.tar.gz: 075cbdf1f30acf75e081f2852067de798f2d93b3d5a89b5391180ea0f10fb21e9bd25d2af6900c647640e9b7e8ca6fa3918c7af037690c2f00b5ac1a360894f5
6
+ metadata.gz: 025c00e2292a341c12cc2001f83a174749afa81802cc9df491563e9743ebcb3020c2d7c3743ddf5da43c127c7c5803e98d1640ebacd8ac6b5f4ccd51aa2b13e4
7
+ data.tar.gz: '0209a2909369b4da3fa8164bf47249455f69607019a7813fb598be8987dec613c3f3707484f767222b91b5b586a0eb05f63c783287284a314531736fc293264f'
checksums.yaml.gz.sig CHANGED
Binary file
data/Changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.2...3-12-maintenance)
2
+ [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.13.1...main)
3
+
4
+ ### 3.13.1 / 2024-02-23
5
+ [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.13.0...v3.13.1)
6
+
7
+ Bug Fixes:
8
+
9
+ * Exclude ruby internal require warnings from `RSpec::Support::CallerFilter#first_non_rspec_line`.
10
+ (Jon Rowe, #593)
11
+
12
+ ### 3.13.0 / 2024-02-04
13
+ [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.2...v3.13.0)
14
+
15
+ Enchancements
16
+
17
+ * Add `RubyFeatures#supports_syntax_suggest?`. (Jon Rowe, #571)
3
18
 
4
19
  ### 3.12.2 / 2024-02-04
5
20
  [Full Changelog](http://github.com/rspec/rspec-support/compare/v3.12.1...v3.12.2)
@@ -27,7 +27,7 @@ module RSpec
27
27
  # when `CallerFilter.first_non_rspec_line` is called from the top level of a required
28
28
  # file, but it depends on if rubygems is loaded or not. We don't want to have to deal
29
29
  # with this complexity in our `RSpec.deprecate` calls, so we ignore it here.
30
- IGNORE_REGEX = Regexp.union(LIB_REGEX, "rubygems/core_ext/kernel_require.rb", "<internal:")
30
+ IGNORE_REGEX = Regexp.union(LIB_REGEX, "rubygems/core_ext/kernel_require.rb", "<internal:", %r{/lib/ruby/[^/]+/bundled_gems\.rb})
31
31
 
32
32
  if RSpec::Support::RubyFeatures.caller_locations_supported?
33
33
  # This supports args because it's more efficient when the caller specifies
@@ -96,6 +96,16 @@ module RSpec
96
96
  end
97
97
  end
98
98
 
99
+ if RUBY_VERSION.to_f >= 3.2
100
+ def supports_syntax_suggest?
101
+ true
102
+ end
103
+ else
104
+ def supports_syntax_suggest?
105
+ false
106
+ end
107
+ end
108
+
99
109
  if RUBY_VERSION.to_f >= 3.0
100
110
  # https://rubyreferences.github.io/rubychanges/3.0.html#keyword-arguments-are-now-fully-separated-from-positional-arguments
101
111
  def kw_arg_separation?
@@ -3,7 +3,7 @@
3
3
  module RSpec
4
4
  module Support
5
5
  module Version
6
- STRING = '3.12.2'
6
+ STRING = '3.13.1'
7
7
  end
8
8
  end
9
9
  end
data.tar.gz.sig CHANGED
Binary file
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.12.2
4
+ version: 3.13.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: 2024-02-04 00:00:00.000000000 Z
51
+ date: 2024-02-23 00:00:00.000000000 Z
52
52
  dependencies:
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rake
@@ -125,7 +125,7 @@ licenses:
125
125
  - MIT
126
126
  metadata:
127
127
  bug_tracker_uri: https://github.com/rspec/rspec-support/issues
128
- changelog_uri: https://github.com/rspec/rspec-support/blob/v3.12.2/Changelog.md
128
+ changelog_uri: https://github.com/rspec/rspec-support/blob/v3.13.1/Changelog.md
129
129
  documentation_uri: https://rspec.info/documentation/
130
130
  mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
131
131
  source_code_uri: https://github.com/rspec/rspec-support
@@ -145,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.4.10
148
+ rubygems_version: 3.5.6
149
149
  signing_key:
150
150
  specification_version: 4
151
- summary: rspec-support-3.12.2
151
+ summary: rspec-support-3.13.1
152
152
  test_files: []
metadata.gz.sig CHANGED
Binary file