rspec-core 3.4.0 → 3.4.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
  SHA1:
3
- metadata.gz: f967099cbbb51b6251a6fb9bcf05ba70638552eb
4
- data.tar.gz: d39f0206c2d7d854b9ccf9b6dc445c58ba2b8f73
3
+ metadata.gz: 46e2d99ee5090f5c164222a9a5b2ab24419699aa
4
+ data.tar.gz: 148fdca449079f69f78d4bf4ac5caf0427dcab24
5
5
  SHA512:
6
- metadata.gz: 7053ad7cca8b00f3b74978fd56843ec81669645caf546c0088aab80a5e047383e1be46e688a7882bee80f4de421d9fee78c6c82ce608e1b3abd77b02aa8cf0f4
7
- data.tar.gz: e17b394645c54f8ee66e43620d8aedca1284732ca9f30c5a4de91dc9f17f0c0bb992f1f9c2ce01e825d04baf60f59cf7a6a997983e79aae452df1517d4bdcd49
6
+ metadata.gz: 46c485779addfd4ea66c4ea92afaa436fc4cd5f5a28da5272e60d816263263a82857577ed14476114fceb4a1f7022672c7459c6148bf7735995f2d7359f6e15d
7
+ data.tar.gz: c70dd9ae7bc2b1a5769e4ccfed2272e13d313c2afad581fa083a9b9c0fbabe911347ed35e025734c372cae355e9bf2a85e6548f4dda083237bf4c5b96e673c65
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,11 @@
1
+ ### 3.4.1 / 2015-11-18
2
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.0...v3.4.1)
3
+
4
+ Bug Fixes:
5
+
6
+ * Fix backtrace formatter to handle backtraces that are `nil`.
7
+ (Myron Marston, #2118)
8
+
1
9
  ### 3.4.0 / 2015-11-11
2
10
  [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.2...v3.4.0)
3
11
 
@@ -31,6 +31,7 @@ module RSpec
31
31
  end
32
32
 
33
33
  def format_backtrace(backtrace, options={})
34
+ return [] unless backtrace
34
35
  return backtrace if options[:full_backtrace] || backtrace.empty?
35
36
 
36
37
  backtrace.map { |l| backtrace_line(l) }.compact.
@@ -39,7 +39,7 @@ module RSpec
39
39
  end
40
40
 
41
41
  def bisect_dependency_check_failed(_notification)
42
- output.puts " failure is not order-dependent"
42
+ output.puts " failure(s) do not require any non-failures to run first"
43
43
  end
44
44
 
45
45
  def bisect_round_started(notification, include_trailing_space=true)
@@ -35,7 +35,7 @@ module RSpec
35
35
  end
36
36
 
37
37
  def formatted_backtrace(exception=@exception)
38
- backtrace_formatter.format_backtrace((exception.backtrace || []), example.metadata) +
38
+ backtrace_formatter.format_backtrace(exception.backtrace, example.metadata) +
39
39
  formatted_cause(exception)
40
40
  end
41
41
 
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Core.
4
4
  module Version
5
5
  # Current version of RSpec Core, in semantic versioning format.
6
- STRING = '3.4.0'
6
+ STRING = '3.4.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-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
@@ -46,7 +46,7 @@ cert_chain:
46
46
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
47
47
  F3MdtaDehhjC
48
48
  -----END CERTIFICATE-----
49
- date: 2015-11-12 00:00:00.000000000 Z
49
+ date: 2015-11-19 00:00:00.000000000 Z
50
50
  dependencies:
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: rspec-support
@@ -310,6 +310,6 @@ rubyforge_project:
310
310
  rubygems_version: 2.2.2
311
311
  signing_key:
312
312
  specification_version: 4
313
- summary: rspec-core-3.4.0
313
+ summary: rspec-core-3.4.1
314
314
  test_files: []
315
315
  has_rdoc:
metadata.gz.sig CHANGED
Binary file