adventure_time 0.1.0 → 1.0.0

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
  SHA1:
3
- metadata.gz: 96e6329f6ddea30e82700e773f7b9c9a9b0b92e9
4
- data.tar.gz: cc2dad92ad11151a0c037997b282f3bf46dca64a
3
+ metadata.gz: a02f143acb09c8299117ce62943211003b03a46d
4
+ data.tar.gz: 308b465da42363f949db5ee5fd16063cffd69969
5
5
  SHA512:
6
- metadata.gz: 5b8c308f80e021de780898ac5d933d2b5ee35066a1cd0c6667538b3c608c5d98d95dbe0cc1479aa8df9bc38a42b6c16e12f04da6f80b60acd8da7b4e642a3594
7
- data.tar.gz: 3f52c024f8dcf0f1a2e5033028ec386055d49b03404da7ecbfac9a76bcb90885c15766976a1dd342a0a41b1c3715b5db750273cc3c3ad45caf849548e586aacc
6
+ metadata.gz: 9e3e0664ccc34e69944b320521ecb8dfb5df5c8a3af7ad3b0e10ab7fe83f4b752f9f8779d12223898be504bf919e6320b297960e753ade5d78829c52b3f1be29
7
+ data.tar.gz: 91aa5939d31694da8499cf49d6d097240fc839990a3086f59e19c5736c88c27c52624694d86f678a938f7ad8e997d19a86758e9065b045856dc8c3d1c71fa481
data/README.md CHANGED
@@ -1,26 +1,14 @@
1
1
  # AdventureTime
2
2
 
3
- TODO: Write a gem description
3
+ Adventure Time Soundboard
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'adventure_time'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
7
  $ gem install adventure_time
20
8
 
21
9
  ## Usage
22
10
 
23
- TODO: Write usage instructions here
11
+ $ adventure_time # run with no options for usage information
24
12
 
25
13
  ## Contributing
26
14
 
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
 
24
- spec.add_dependency "sounder", "~> 1.0.2"
24
+ spec.add_dependency "sounder", "~> 1.1.1"
25
25
  end
data/bin/adventure_time CHANGED
@@ -4,8 +4,8 @@ require 'sounder'
4
4
  require 'adventure_time'
5
5
 
6
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',
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
9
  "finn: Dude, let's just kill him" => 'finn-dude_lets_just_kill_him_and_get_the_armor',
10
10
  "finn: Finger protection" => 'finn-finger_protection',
11
11
  "finn: I am complicated" => 'finn-i_am_complicated',
@@ -22,25 +22,7 @@ sounds = {
22
22
  "song: Daddy, why did you eat my fries?" => 'song-daddy_why_did_you_eat_my_fries'
23
23
  }
24
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
25
+ adventure_time_soundboard = Sounder::Soundboard.new sounds: sounds,
26
+ version_info: "adventure_time version #{AdventureTime::VERSION}",
27
+ root: File.expand_path("../../lib/support", __FILE__)
28
+ adventure_time_soundboard.run ARGV
@@ -1,5 +1,2 @@
1
1
  require "adventure_time/version"
2
-
3
- module AdventureTime
4
- # Your code goes here...
5
- end
2
+ require "sounder/soundboard"
@@ -1,3 +1,3 @@
1
1
  module AdventureTime
2
- VERSION = "0.1.0"
2
+ VERSION = "1.0.0"
3
3
  end
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.1.0
4
+ version: 1.0.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-18 00:00:00.000000000 Z
12
+ date: 2014-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 1.0.2
48
+ version: 1.1.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 1.0.2
55
+ version: 1.1.1
56
56
  description: Adventure Time Soundboard
57
57
  email:
58
58
  - adam.zaninovich@gmail.com