adventure_time 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -14
- data/adventure_time.gemspec +1 -1
- data/bin/adventure_time +6 -24
- data/lib/adventure_time.rb +1 -4
- data/lib/adventure_time/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a02f143acb09c8299117ce62943211003b03a46d
|
4
|
+
data.tar.gz: 308b465da42363f949db5ee5fd16063cffd69969
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e3e0664ccc34e69944b320521ecb8dfb5df5c8a3af7ad3b0e10ab7fe83f4b752f9f8779d12223898be504bf919e6320b297960e753ade5d78829c52b3f1be29
|
7
|
+
data.tar.gz: 91aa5939d31694da8499cf49d6d097240fc839990a3086f59e19c5736c88c27c52624694d86f678a938f7ad8e997d19a86758e9065b045856dc8c3d1c71fa481
|
data/README.md
CHANGED
@@ -1,26 +1,14 @@
|
|
1
1
|
# AdventureTime
|
2
2
|
|
3
|
-
|
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
|
-
|
11
|
+
$ adventure_time # run with no options for usage information
|
24
12
|
|
25
13
|
## Contributing
|
26
14
|
|
data/adventure_time.gemspec
CHANGED
data/bin/adventure_time
CHANGED
@@ -4,8 +4,8 @@ require 'sounder'
|
|
4
4
|
require 'adventure_time'
|
5
5
|
|
6
6
|
sounds = {
|
7
|
-
|
8
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
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
|
data/lib/adventure_time.rb
CHANGED
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:
|
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-
|
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.
|
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.
|
55
|
+
version: 1.1.1
|
56
56
|
description: Adventure Time Soundboard
|
57
57
|
email:
|
58
58
|
- adam.zaninovich@gmail.com
|