lumpy_space_princess 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80901e445a8bd787038ed06721a2cfce34835d5d
4
- data.tar.gz: 7edc0662c824888784cde6aa39a9639c874b621e
3
+ metadata.gz: 2a3a16e21307ed46cf6aea52ea67d2ac1ab79db5
4
+ data.tar.gz: 014287ba61511fae16b298ea00972c34e63a91c2
5
5
  SHA512:
6
- metadata.gz: 32737a85479cfb3fd2898670f08adbbbf0f15d3812282c442adc2e5a803fb78ca775a4782f5bf68a73fa8eb78b67315a61700e221e8e3b60452dbf79d89cb690
7
- data.tar.gz: 1a5ea48f7fa21f731da2b9c6efbe69f06cfe9dc7d45b942f2bade66cac3bf76a9820c89248e47ee767bea5115afa0a57c11b6c9fafacb0fd7493008b83b3c952
6
+ metadata.gz: 9a9c2cf62a8b66b777755149c650bc19cc9e2b6b45f751db840508bd0eb534c2f8b8732e4e7d2f94bb79dbc1e1dc3d82b968061fe4fc7d14cb55616de4f63872
7
+ data.tar.gz: 5942e4dd1c69508a77ccdb0ebc41f60dd603e5dac750fb1dd0ffbee0f4353dab3bab175669ef6582d8931da15cf974716cba7b8f7972fb33c6fe87ede74e0acf
data/bin/lsp CHANGED
@@ -14,28 +14,7 @@ sounds = {
14
14
  'these lumps' => 'these_lumps'
15
15
  }
16
16
 
17
- sound_files = {}
18
- sounds.each do |name, file|
19
- sound_files[name] = File.expand_path("../../lib/support/#{file}.m4a", __FILE__)
20
- end
21
-
22
- lsp = Sounder::SoundGroup.new sound_files
23
-
24
- usage = lsp.usage.map do |line|
25
- " #{line}"
26
- end
27
- usage = ["lsp version #{LumpySpacePrincess::VERSION}","Usage:"] + usage
28
- usage = usage.join "\n"
29
-
30
- if ARGV.size == 1 && ARGV[0] == 'random'
31
- lsp.random
32
- elsif ARGV.size >= 1 && ARGV[0] != '-h' && ARGV[0] != 'help' && ARGV[0] != '--help'
33
- begin
34
- lsp.play ARGV.join ' '
35
- rescue Sounder::UnknownSoundError
36
- puts "Error: \"#{ARGV.join ' '}\" does not match a known sound"
37
- puts usage
38
- end
39
- else
40
- puts usage
41
- end
17
+ lsp_soundboard = Sounder::Soundboard.new sounds: sounds,
18
+ version_info: "lsp version #{LumpySpacePrincess::VERSION}",
19
+ root: File.expand_path("../../lib/support", __FILE__)
20
+ lsp_soundboard.run ARGV
@@ -1,3 +1,3 @@
1
1
  module LumpySpacePrincess
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.6"
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake"
23
23
 
24
- spec.add_dependency "sounder", "~> 1.0.2"
24
+ spec.add_dependency "sounder", "~> 1.2.0"
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumpy_space_princess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2014-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.6'
26
+ version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.2
47
+ version: 1.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.2
54
+ version: 1.2.0
55
55
  description: Lumpy Space Princess Soundboard
56
56
  email:
57
57
  - d3.4n777@gmail.com