guard-teabag 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/guard/teabag.rb +9 -1
- data/lib/guard/teabag/version.rb +1 -1
- data/spec/dummy/log/development.log +54 -0
- data/spec/features/guard_teabag_spec.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
data/lib/guard/teabag.rb
CHANGED
@@ -48,8 +48,16 @@ module Guard
|
|
48
48
|
def run_on_changes(original_paths)
|
49
49
|
@resolver.resolve(original_paths)
|
50
50
|
|
51
|
+
failed = false
|
51
52
|
@resolver.suites.each do |suite, files|
|
52
|
-
@runner.run(files, @options[:run_on_changes].merge(suite: suite))
|
53
|
+
failed = @runner.run(files, @options[:run_on_changes].merge(suite: suite))
|
54
|
+
end
|
55
|
+
|
56
|
+
if failed
|
57
|
+
@last_failed = true
|
58
|
+
Notifier.notify("Failed", title: "Teabag Guard", image: :failed)
|
59
|
+
else
|
60
|
+
Notifier.notify("Success", title: "Teabag Guard", image: :success)
|
53
61
|
end
|
54
62
|
|
55
63
|
#original_paths = paths.dup
|
data/lib/guard/teabag/version.rb
CHANGED
@@ -657075,3 +657075,57 @@ Served asset /spec_helper.js - 200 OK (0ms)
|
|
657075
657075
|
|
657076
657076
|
Started GET "/assets/nested/source_tspec.js?body=1" for 127.0.0.1 at 2013-01-26 13:39:21 -0700
|
657077
657077
|
Served asset /nested/source_tspec.js - 200 OK (22ms)
|
657078
|
+
|
657079
|
+
|
657080
|
+
Started GET "/teabag/default" for 127.0.0.1 at 2013-02-16 12:19:33 -0700
|
657081
|
+
Processing by Teabag::SpecController#runner as HTML
|
657082
|
+
Parameters: {"suite"=>"default"}
|
657083
|
+
Rendered /Users/jejacks0n/.rvm/gems/ruby-1.9.3-p194@guard-teabag/gems/teabag-0.5.3/app/views/teabag/spec/runner.html.erb (23.5ms)
|
657084
|
+
Completed 200 OK in 45ms (Views: 45.0ms)
|
657085
|
+
|
657086
|
+
|
657087
|
+
Started GET "/assets/teabag.css?body=1" for 127.0.0.1 at 2013-02-16 12:19:33 -0700
|
657088
|
+
Served asset /teabag.css - 200 OK (1ms)
|
657089
|
+
|
657090
|
+
|
657091
|
+
Started GET "/assets/spec_helper.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:33 -0700
|
657092
|
+
Served asset /spec_helper.js - 200 OK (1ms)
|
657093
|
+
|
657094
|
+
|
657095
|
+
Started GET "/assets/calculator_spec.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:33 -0700
|
657096
|
+
Served asset /calculator_spec.js - 200 OK (2ms)
|
657097
|
+
|
657098
|
+
|
657099
|
+
Started GET "/assets/teabag-jasmine.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:33 -0700
|
657100
|
+
Served asset /teabag-jasmine.js - 200 OK (1ms)
|
657101
|
+
|
657102
|
+
|
657103
|
+
Started GET "/assets/calculator.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:33 -0700
|
657104
|
+
Served asset /calculator.js - 200 OK (0ms)
|
657105
|
+
|
657106
|
+
|
657107
|
+
Started GET "/teabag/targeted" for 127.0.0.1 at 2013-02-16 12:19:34 -0700
|
657108
|
+
Processing by Teabag::SpecController#runner as HTML
|
657109
|
+
Parameters: {"suite"=>"targeted"}
|
657110
|
+
Rendered /Users/jejacks0n/.rvm/gems/ruby-1.9.3-p194@guard-teabag/gems/teabag-0.5.3/app/views/teabag/spec/runner.html.erb (10.5ms)
|
657111
|
+
Completed 200 OK in 33ms (Views: 32.9ms)
|
657112
|
+
|
657113
|
+
|
657114
|
+
Started GET "/assets/teabag.css?body=1" for 127.0.0.1 at 2013-02-16 12:19:34 -0700
|
657115
|
+
Served asset /teabag.css - 200 OK (0ms)
|
657116
|
+
|
657117
|
+
|
657118
|
+
Started GET "/assets/spec_helper.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:34 -0700
|
657119
|
+
Served asset /spec_helper.js - 200 OK (1ms)
|
657120
|
+
|
657121
|
+
|
657122
|
+
Started GET "/assets/teabag-jasmine.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:34 -0700
|
657123
|
+
Served asset /teabag-jasmine.js - 200 OK (0ms)
|
657124
|
+
|
657125
|
+
|
657126
|
+
Started GET "/assets/nested/source.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:34 -0700
|
657127
|
+
Served asset /nested/source.js - 200 OK (1ms)
|
657128
|
+
|
657129
|
+
|
657130
|
+
Started GET "/assets/nested/source_tspec.js?body=1" for 127.0.0.1 at 2013-02-16 12:19:34 -0700
|
657131
|
+
Served asset /nested/source_tspec.js - 200 OK (2ms)
|
@@ -42,7 +42,7 @@ feature "Full setup of an app that can run guard-teabag", aruba: true do
|
|
42
42
|
type("exit")
|
43
43
|
|
44
44
|
# the first time it runs
|
45
|
-
assert_partial_output("Teabag running default suite at
|
45
|
+
assert_partial_output("Teabag running default suite at", all_output)
|
46
46
|
|
47
47
|
# when the file has been modified
|
48
48
|
assert_partial_output("/teabag/default/?file[]=", all_output)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-teabag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -630,7 +630,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
630
630
|
version: '0'
|
631
631
|
segments:
|
632
632
|
- 0
|
633
|
-
hash:
|
633
|
+
hash: -4551144966849044238
|
634
634
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
635
635
|
none: false
|
636
636
|
requirements:
|
@@ -639,7 +639,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
639
639
|
version: '0'
|
640
640
|
segments:
|
641
641
|
- 0
|
642
|
-
hash:
|
642
|
+
hash: -4551144966849044238
|
643
643
|
requirements: []
|
644
644
|
rubyforge_project:
|
645
645
|
rubygems_version: 1.8.24
|