starting_blocks-blinky 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,25 +4,6 @@ require "starting_blocks/blinky/version"
4
4
 
5
5
  module StartingBlocks
6
6
  module Blinky
7
+ StartingBlocks::Publisher.subscribers << StartingBlocks::Extensions::BlinkyLighting.new
7
8
  end
8
9
  end
9
-
10
- class GreenOnSuccessRedOnFailure
11
- def receive_results results
12
- if (results[:errors] || 0) > 0
13
- Blinky.new.light.failure!
14
- elsif (results[:failures] || 0) > 0
15
- Blinky.new.light.failure!
16
- elsif (results[:skips] || 0) > 0
17
- Blinky.new.light.building!
18
- else
19
- Blinky.new.light.success!
20
- end
21
- end
22
- end
23
- StartingBlocks::Publisher.subscribers << [GreenOnSuccessRedOnFailure.new]
24
-
25
- at_exit do
26
- sleep(0.5)
27
- Blinky.new.light.off!
28
- end
@@ -1,5 +1,5 @@
1
1
  module StartingBlocks
2
2
  module Blinky
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starting_blocks-blinky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
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-04-29 00:00:00.000000000 Z
12
+ date: 2013-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  segments:
107
107
  - 0
108
- hash: -1699659142531831561
108
+ hash: -3358782714097138065
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  none: false
111
111
  requirements:
@@ -114,10 +114,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  segments:
116
116
  - 0
117
- hash: -1699659142531831561
117
+ hash: -3358782714097138065
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 1.8.25
120
+ rubygems_version: 1.8.24
121
121
  signing_key:
122
122
  specification_version: 3
123
123
  summary: Turn colors when tests are run.