Skip to content

Commit

Permalink
catching up with a bug fix in rspec 2.12. (see: rspec/rspec-core@f062…
Browse files Browse the repository at this point in the history
  • Loading branch information
natritmeyer committed Dec 6, 2012
1 parent 8fe18ba commit f0369a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ GEM
gherkin (2.11.5)
json (>= 1.4.6)
json (1.7.5)
multi_json (1.3.7)
multi_json (1.4.0)
nokogiri (1.5.5)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.0)
rspec-core (2.12.1)
rspec-expectations (2.12.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/yarjuf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def group_hierarchy_for(example)

def failure_details_for(example)
exception = example.metadata[:execution_result][:exception]
exception.nil? ? "" : "#{exception.message}\n#{format_backtrace(exception.backtrace).join("\n")}"
exception.nil? ? "" : "#{exception.message}\n#{format_backtrace(exception.backtrace, example).join("\n")}"
end

def fail_count_for_suite(suite)
Expand Down
4 changes: 2 additions & 2 deletions yarjuf.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "yarjuf"
s.version = "1.0.2"
s.version = "1.0.3"
s.platform = Gem::Platform::RUBY
s.authors = ["Nat Ritmeyer"]
s.email = ["[email protected]"]
Expand All @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.description = "Yet Another RSpec JUnit Formatter (for Hudson/Jenkins)"
s.files = Dir.glob("lib/**/*") + %w(LICENSE.txt HISTORY.txt README.md)
s.require_path = 'lib'
s.add_dependency('rspec', '>= 2.0.0')
s.add_dependency('rspec', '>= 2.0')
s.add_dependency('builder')
end

0 comments on commit f0369a0

Please sign in to comment.