adventure_time 0.0.1 → 0.1.0

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: 97b5bf2939f3568e948fa85afe040432b0343b13
4
- data.tar.gz: bc39dc007afcdf159db5beff6874959f02d9ff25
3
+ metadata.gz: 96e6329f6ddea30e82700e773f7b9c9a9b0b92e9
4
+ data.tar.gz: cc2dad92ad11151a0c037997b282f3bf46dca64a
5
5
  SHA512:
6
- metadata.gz: 6b65005667986acd4e1a71831332ef172ae8a994b2bfea6f853fa54ec9e0146e6f8a2b0182bc30dba5c967e59242eb2959bfa67791ea1c274bb9b3e96295fabf
7
- data.tar.gz: 36d29c8e2273cd5c3babf0d70606f26a659e32b6b35c0326a0950690b50d06b244ac2def0e864545a35886d2e7e114c94d23e55b0f902b326cf3685e5faf836f
6
+ metadata.gz: 5b8c308f80e021de780898ac5d933d2b5ee35066a1cd0c6667538b3c608c5d98d95dbe0cc1479aa8df9bc38a42b6c16e12f04da6f80b60acd8da7b4e642a3594
7
+ data.tar.gz: 3f52c024f8dcf0f1a2e5033028ec386055d49b03404da7ecbfac9a76bcb90885c15766976a1dd342a0a41b1c3715b5db750273cc3c3ad45caf849548e586aacc
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'sounder'
4
+ require 'adventure_time'
5
+
6
+ sounds = {
7
+ 'bmo: I am quieter now' => 'bmo-i_am_quieter_now',
8
+ 'bmo: It goes in my butt' => 'bmo-it_goes_in_my_butt',
9
+ "finn: Dude, let's just kill him" => 'finn-dude_lets_just_kill_him_and_get_the_armor',
10
+ "finn: Finger protection" => 'finn-finger_protection',
11
+ "finn: I am complicated" => 'finn-i_am_complicated',
12
+ "finn: No more games, no more pajamas" => 'finn-no_more_games_no_more_pajamas',
13
+ "finn: Stealing is wrong, doofus" => 'finn-stealing_is_wrong_doofus',
14
+ "finn: This is radical" => 'finn-this_is_radical',
15
+ "finn & jake: Interesting smells" => 'finn_jake-interesing_smells_in_poop',
16
+ "finn & jake: Responsible" => 'finn_jake-responsible',
17
+ "finn & jake: Skadow" => 'finn_jake-skadow',
18
+ "jake: Ya killed her" => 'jake-ahp_ya_killed_her',
19
+ "jake: Laugh" => 'jake-laugh',
20
+ "jake: That's like math!" => 'jake-thats_like_math',
21
+ "lsp: Luscious Lips" => 'lsp-luscious_lips',
22
+ "song: Daddy, why did you eat my fries?" => 'song-daddy_why_did_you_eat_my_fries'
23
+ }
24
+
25
+ at = Sounder::SoundGroup.new Hash[sounds.map do |name, file|
26
+ [name, File.expand_path("../../lib/support/#{file}.m4a", __FILE__)]
27
+ end]
28
+
29
+ usage = at.usage.map do |line|
30
+ " #{line}"
31
+ end
32
+ usage = ["adventure_time version #{AdventureTime::VERSION}","Usage:"] + usage
33
+ usage = usage.join "\n"
34
+
35
+ if ARGV.size == 1 && ARGV[0] == 'random'
36
+ at.random
37
+ elsif ARGV.size >= 1 && ARGV[0] != '-h' && ARGV[0] != 'help' && ARGV[0] != '--help'
38
+ begin
39
+ at.play ARGV.join ' '
40
+ rescue Sounder::UnknownSoundError
41
+ puts "Error: \"#{ARGV.join ' '}\" does not match a known sound"
42
+ puts usage
43
+ end
44
+ else
45
+ puts usage
46
+ end
@@ -1,3 +1,3 @@
1
1
  module AdventureTime
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adventure_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Zaninovich
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-17 00:00:00.000000000 Z
12
+ date: 2014-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -57,7 +57,8 @@ description: Adventure Time Soundboard
57
57
  email:
58
58
  - adam.zaninovich@gmail.com
59
59
  - d3.4n777@gmail.com
60
- executables: []
60
+ executables:
61
+ - adventure_time
61
62
  extensions: []
62
63
  extra_rdoc_files: []
63
64
  files:
@@ -67,8 +68,25 @@ files:
67
68
  - README.md
68
69
  - Rakefile
69
70
  - adventure_time.gemspec
71
+ - bin/adventure_time
70
72
  - lib/adventure_time.rb
71
73
  - lib/adventure_time/version.rb
74
+ - lib/support/bmo-i_am_quieter_now.m4a
75
+ - lib/support/bmo-it_goes_in_my_butt.m4a
76
+ - lib/support/finn-dude_lets_just_kill_him_and_get_the_armor.m4a
77
+ - lib/support/finn-finger_protection.m4a
78
+ - lib/support/finn-i_am_complicated.m4a
79
+ - lib/support/finn-no_more_games_no_more_pajamas.m4a
80
+ - lib/support/finn-stealing_is_wrong_doofus.m4a
81
+ - lib/support/finn-this_is_radical.m4a
82
+ - lib/support/finn_jake-interesing_smells_in_poop.m4a
83
+ - lib/support/finn_jake-responsible.m4a
84
+ - lib/support/finn_jake-skadow.m4a
85
+ - lib/support/jake-ahp_ya_killed_her.m4a
86
+ - lib/support/jake-laugh.m4a
87
+ - lib/support/jake-thats_like_math.m4a
88
+ - lib/support/lsp-luscious_lips.m4a
89
+ - lib/support/song-daddy_why_did_you_eat_my_fries.m4a
72
90
  homepage: ''
73
91
  licenses:
74
92
  - MIT