sw2at-ui 0.0.5 → 0.0.6

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: 5360d3760837456d8e76566dedc26f5d356b365e
4
- data.tar.gz: 5d69f01c3a0c16d4578bd36135d4680103584cc6
3
+ metadata.gz: a1d9628ec4a25ec7fb995563f2fe6f61ae45fb50
4
+ data.tar.gz: c62d486a93e9b1ca57f4050e20384fbce66c682c
5
5
  SHA512:
6
- metadata.gz: 4a189d17535d17df4a6a350e7b1813b4394e73f1514d636343b4b89ac7b4312de1b722de0e2e280e147efe46414326d6545fd38393a2bcda125c57575863e704
7
- data.tar.gz: 80e45453d3496014e053c2989b24dce2f4b8885c05f571416f6dae4a0ff84516d6136db7015a4b771d2b2fbbb1b593967f53b476b6f4d7e681fce825980e6949
6
+ metadata.gz: 637a7d3990a6f638bf7d5e2416d1f1044e0e732d0701cc0b4db7be7dd5acddf4eecb264faa4b6c352130192eb4753f15b2d7094785160dcc879de156ca979f98
7
+ data.tar.gz: b0a79e331583ae51fa1127272f7b9d7b7da9faeb178001aac0bbea47df5f78fa6e46eeed5d8ed108f08a178761653efeac6e0dbc807f4b2c569bcf3a9c2171bb
data/Gemfile CHANGED
@@ -7,10 +7,8 @@ gem 'slim-rails'
7
7
  gem 'sass-rails'
8
8
  gem 'coffee-rails'
9
9
  gem 'bootstrap-sass'
10
-
11
10
  gem 'tarvit-helpers'
12
11
 
13
-
14
12
  group :development do
15
13
  gem 'shoulda', '>= 0'
16
14
  gem 'rdoc', '~> 3.12'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -46,12 +46,14 @@ class Revision < Fire::SingleNestedModel
46
46
  end
47
47
 
48
48
  def collect_ended_thread(rspec_notification, data)
49
+ fails = rspec_notification.failure_notifications.map{|fn|fn.example.metadata[:execution_result].exception}
50
+ total_time = rspec_notification.examples.map{|ex| ex.metadata[:execution_result].run_time }.inject(:+)
49
51
  rspec_data = {
50
52
  total_examples: rspec_notification.examples.count,
51
53
  failed_examples: rspec_notification.failed_examples.count,
52
54
  pending_examples: rspec_notification.pending_examples.count,
53
- formatted_fails: rspec_notification.fully_formatted_failed_examples,
54
- total_runtime: rspec_notification.examples.map{|ex| ex.metadata[:execution_result].run_time }.inject(:+)
55
+ failure_notifications: fails,
56
+ total_runtime: total_time,
55
57
  }
56
58
  object = rspec_data.merge(data)
57
59
  add_to_threads(object)
data/lib/swat/engine.rb CHANGED
@@ -1,4 +1,11 @@
1
1
  module Swat
2
+ require 'slim-rails'
3
+ require 'sass-rails'
4
+ require 'coffee-rails'
5
+ require 'bootstrap-sass'
6
+
7
+ gem 'tarvit-helpers'
8
+
2
9
  class Engine < ::Rails::Engine
3
10
  isolate_namespace Swat
4
11
  end
data/sw2at-ui.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: sw2at-ui 0.0.5 ruby lib
5
+ # stub: sw2at-ui 0.0.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "sw2at-ui"
9
- s.version = "0.0.5"
9
+ s.version = "0.0.6"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sw2at-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitaly Tarasenko