tdd 2.0.0 → 2.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/tdd +6 -1
  3. data/lib/tdd/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20e79babe2b62d70cb06aae7b1c682df2e11fdf8
4
- data.tar.gz: 564fe1b94cbbbc28b344971933b52dbc95ccf982
3
+ metadata.gz: 5203b3a1ed2e57a34818d6e998723787acee0bee
4
+ data.tar.gz: d5dcf54cfa920ca8d276ad7b1bdf5662f672849f
5
5
  SHA512:
6
- metadata.gz: abf0f3410651e706106d1a949abab7c9899392eeebb7e0ddfd8d39494def645680c94ad5cfd4aa594c1133ea4d947ea59380dfe7d2e202f671c2333ead9d083f
7
- data.tar.gz: ad6bde4cf394d5767ea419cacf465fa67e14e6e9e26daab0e3a0dd717cd2205507ad51ce89414104707b27a2ea104d6c062f7846e5416d197bee876afbf18004
6
+ metadata.gz: 1c1d653371c847a05ac163788d53a373e5434aa1dcdc15f6df636dddb92dff55cd21f4084202eaaf137c49293f1e7fd1a1aae8eca60fedf9e8b53732e68dce02
7
+ data.tar.gz: 86610580a693797f977bcff6e9f14f84d1f0889eaae84ee12675454f86216a8b034cdf8b2cdf7eaa13eeca1396564b7fa1cca4a41daf4843272f87eec608885f
data/bin/tdd CHANGED
@@ -158,10 +158,15 @@ related to a functional or controller test:
158
158
  say("# starting test run #{ n } @ #{ Time.now.strftime('%H:%M:%S') } - #{ cmd }", :color => :magenta)
159
159
  # TODO if blink1 installed - change its color to purple until the tests are over
160
160
  puts
161
- system(cmd)
161
+ tests_pass = system(cmd)
162
162
  puts
163
163
  say("# finished test run #{ n } @ #{ Time.now.strftime('%H:%M:%S') } - #{ $?.exitstatus }", :color => :yellow)
164
164
  # TODO if blink1 installed - change its color to yellow and fade out after 30seconds.
165
+ if tests_pass
166
+ system("command -v blink1-tool && blink1-tool -d0 --rgb 0,255,0 --blink 3 > /dev/null &")
167
+ else
168
+ system("command -v blink1-tool && blink1-tool -d0 --rgb 255,0,0 --blink 3 > /dev/null &")
169
+ end
165
170
  puts
166
171
  n.succ!
167
172
  end
data/lib/tdd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tdd
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Montgomery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-27 00:00:00.000000000 Z
11
+ date: 2013-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: main