paul_dix_thundergod 0.0.8 → 0.0.9

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.
@@ -2,4 +2,4 @@
2
2
 
3
3
  require 'paul_dix_thundergod'
4
4
 
5
- PaulDixThundergod.play
5
+ PaulDixThundergod.play
@@ -9,4 +9,14 @@ module PaulDixThundergod
9
9
  end
10
10
  end
11
11
  end
12
+
13
+ def self.rollback
14
+ COMMANDS_TO_TRY.each do |command|
15
+ if system("which #{command}")
16
+ `#{command} #{File.dirname(__FILE__)}/paul_dix_thundergod/support/rollback_sound.mp3 &`
17
+ break
18
+ end
19
+ end
20
+ end
21
+
12
22
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paul_dix_thundergod
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Trotter Cashion
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-12-10 00:00:00 -05:00
21
+ date: 2011-03-06 00:00:00 -05:00
22
22
  default_executable:
23
23
  dependencies: []
24
24
 
@@ -34,6 +34,7 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - bin/paul_dix_thundergod
36
36
  - lib/paul_dix_thundergod/support/deploy_sound.mp3
37
+ - lib/paul_dix_thundergod/support/rollback_sound.mp3
37
38
  - lib/paul_dix_thundergod/support/thundergod.png
38
39
  - lib/paul_dix_thundergod.rb
39
40
  has_rdoc: true