retest 1.6.1 → 1.6.2

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
  SHA256:
3
- metadata.gz: 1574e44c17347c9a6e737481bfcbff782800cf68baef56f7f1dc2e1006f4f5b6
4
- data.tar.gz: abe7fda8889c342859457f87b44a91e6e9e4a8cd0d8c764d6738422a8c9ed087
3
+ metadata.gz: fa89818d98ad713bc6982f8f68b94afe80a09dc1677068dda42dbad1a2300c72
4
+ data.tar.gz: 60206dca5d68cdf634c47424e8712c2b8e4884b543bd85bb55fc0429300b4265
5
5
  SHA512:
6
- metadata.gz: 9732e40769bbdc74ec7783dede4255c6cfb64a2517a8a92cffcbb838b54b714cd71f4244f7c06c6e238ce008facbd4e49f5fd0e6a4c5d73e2c225328254cf427
7
- data.tar.gz: 791f6b3bf4d6b8b1eec931bff738bd6e795d51a41c17263c9ab6c0e47d15e1acfd70d18679387ce40520b871c8aabb184f4298f84a965c8e4c43b0b990465b62
6
+ metadata.gz: 64777879959eed5656066cca23508738deb78566ee87144e67066c9e15e3d6da6dfcce1bd7bac9ff3f66c94cf66976f709663b1b4df3a5242cd9a6a0e6cb9491
7
+ data.tar.gz: bd55fd227c159b11eb7b2389c319e38e931af90ca0b29b0bdc343b5a7ca3996086bebf6d4099fcc67e654da30022bd53797c437911defeda1f98b6196c988ec4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- retest (1.6.0)
4
+ retest (1.6.2)
5
5
  listen (~> 3.2)
6
6
  string-similarity (~> 2.1)
7
7
  tty-option (~> 0.1)
data/exe/retest CHANGED
@@ -16,7 +16,7 @@ command = Retest::Command.for_options(options)
16
16
  runner = Retest::Runners.runner_for(command.to_s)
17
17
  sounds = Retest::Sounds.for(options)
18
18
 
19
- sounds.play(:tests_pass)
19
+ sounds.play(:start)
20
20
  runner.add_observer(sounds)
21
21
 
22
22
  program = Retest::Program.new(
@@ -16,7 +16,7 @@ module Retest
16
16
 
17
17
  log(<<~FILES)
18
18
  Files Selected:
19
- - file: #{changed_file}
19
+ - changed: #{changed_file}
20
20
  - test: #{cached_test_file}
21
21
 
22
22
  FILES
data/lib/retest/sounds.rb CHANGED
@@ -24,6 +24,8 @@ module Retest
24
24
  ['afplay', '/System/Library/Sounds/Sosumi.aiff']
25
25
  when :tests_pass
26
26
  ['afplay', '/System/Library/Sounds/Funk.aiff']
27
+ when :start
28
+ ['afplay', '/System/Library/Sounds/Blow.aiff']
27
29
  else
28
30
  raise ArgumentError.new("No sounds were found for type: #{sound}.")
29
31
  end
@@ -33,4 +35,20 @@ module Retest
33
35
  alias update play
34
36
  end
35
37
  end
36
- end
38
+ end
39
+
40
+ # List of Mac Audio Files:
41
+ # afplay /System/Library/Sounds/Basso.aiff
42
+ # afplay /System/Library/Sounds/Bottle.aiff
43
+ # afplay /System/Library/Sounds/Funk.aiff
44
+ # afplay /System/Library/Sounds/Hero.aiff
45
+ # afplay /System/Library/Sounds/Ping.aiff
46
+ # afplay /System/Library/Sounds/Purr.aiff
47
+ # afplay /System/Library/Sounds/Submarine.aiff
48
+ # afplay /System/Library/Sounds/Blow.aiff
49
+ # afplay /System/Library/Sounds/Frog.aiff
50
+ # afplay /System/Library/Sounds/Glass.aiff
51
+ # afplay /System/Library/Sounds/Morse.aiff
52
+ # afplay /System/Library/Sounds/Pop.aiff
53
+ # afplay /System/Library/Sounds/Sosumi.aiff
54
+ # afplay /System/Library/Sounds/Tink.aiff
@@ -1,3 +1,3 @@
1
1
  module Retest
2
- VERSION = "1.6.1"
2
+ VERSION = "1.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: retest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Barret