top_gun 0.0.1 → 0.1.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.
- data/bin/top_gun +6 -0
- data/lib/top_gun.rb +46 -2
- data/lib/top_gun/version.rb +1 -1
- data/lyrics/playing_with_the_boys.txt +60 -0
- metadata +3 -2
data/bin/top_gun
CHANGED
data/lib/top_gun.rb
CHANGED
@@ -2,11 +2,55 @@ require "top_gun/version"
|
|
2
2
|
|
3
3
|
module TopGun
|
4
4
|
LYRICS_DIR = File.dirname(__FILE__) + '/../lyrics'
|
5
|
+
|
6
|
+
def self.say(opts)
|
7
|
+
commands = []
|
8
|
+
|
9
|
+
if text = opts[:text]
|
10
|
+
commands << text
|
11
|
+
else
|
12
|
+
commands << "-f #{File.join(LYRICS_DIR, opts[:file])}"
|
13
|
+
end
|
14
|
+
|
15
|
+
if voice = opts[:voice]
|
16
|
+
commands << "-v #{voice}"
|
17
|
+
end
|
18
|
+
|
19
|
+
`say #{commands.join(' ')}`
|
20
|
+
end
|
21
|
+
|
5
22
|
def self.danger_zone
|
6
|
-
|
23
|
+
say :file => 'danger_zone.txt'
|
7
24
|
end
|
8
25
|
|
9
26
|
def self.take_my_breath_away
|
10
|
-
|
27
|
+
say :file => 'take_my_breath_away.txt', :voice => :victoria
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.goose
|
31
|
+
say :text => something_awesome(:goose), :voice => :junior
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.mav
|
35
|
+
say :text => something_awesome(:mav), :voice => :bruce
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.playing_with_the_boys
|
39
|
+
say :file => 'playing_with_the_boys.txt'
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.something_awesome(by_who)
|
43
|
+
case by_who
|
44
|
+
when :mav
|
45
|
+
["eyell hit the breaks and he will fly right bye",
|
46
|
+
"Too close for miss els, eyem switching to guns.",
|
47
|
+
"Tower, this is Ghost Rider requesting a flybye",
|
48
|
+
"You don't have time to think up there. If you think, you're dead."]
|
49
|
+
when :goose
|
50
|
+
["Cum on Mav, do some of that pilot shit!",
|
51
|
+
"No, mav, this is not a good idea",
|
52
|
+
"You must have carnal knowledge of a lady this time, on the premises",
|
53
|
+
"Yee ha!! Jesters dead!"]
|
54
|
+
end.sort_by{ rand }.first
|
11
55
|
end
|
12
56
|
end
|
data/lib/top_gun/version.rb
CHANGED
@@ -0,0 +1,60 @@
|
|
1
|
+
I'd say it was the right time
|
2
|
+
To walk away
|
3
|
+
When dreaming takes you nowhere
|
4
|
+
It's time to play
|
5
|
+
Bodies working overtime
|
6
|
+
Your money don't matter
|
7
|
+
Time keeps ticking
|
8
|
+
Someone's on my mind (on my mind)
|
9
|
+
|
10
|
+
I'm moving in slow motion
|
11
|
+
Feels so good
|
12
|
+
It's a strange anticipation
|
13
|
+
Knock, knock, knocking on wood
|
14
|
+
Bodies working overtime
|
15
|
+
It's Man against man
|
16
|
+
All that ever matters
|
17
|
+
Is baby who's ahead in the game
|
18
|
+
Funny but it's always the same
|
19
|
+
|
20
|
+
Playing, playing with the boys
|
21
|
+
Staying, playing with the boys
|
22
|
+
After chasing sunsets
|
23
|
+
One of life's simple joys
|
24
|
+
Is playing with the boys
|
25
|
+
|
26
|
+
She said it was the wrong thing
|
27
|
+
For me to do
|
28
|
+
I said it's just a boys' game
|
29
|
+
That Girls play too
|
30
|
+
My heart is working overtime
|
31
|
+
In this kind of game
|
32
|
+
People get hurt
|
33
|
+
I'm thinkin that the people is me
|
34
|
+
If you want to find me, I'll be
|
35
|
+
|
36
|
+
Playing, playing with the boys
|
37
|
+
Staying, playing with the boys
|
38
|
+
After chasing sunsets
|
39
|
+
One of life's simple joys
|
40
|
+
...is the boys
|
41
|
+
|
42
|
+
I don't want to be the moth around your fire
|
43
|
+
...with the boys
|
44
|
+
I don't want to be obsessed by my desire
|
45
|
+
Your shining, Your smiling
|
46
|
+
I've seen enough
|
47
|
+
...with the boys
|
48
|
+
I'm staying here
|
49
|
+
You play too rough
|
50
|
+
|
51
|
+
Playing, playing with the boys
|
52
|
+
I'll be staying, playing with the boys
|
53
|
+
After chasing sunsets
|
54
|
+
One of life's simple joys
|
55
|
+
Is playing with the boys
|
56
|
+
Playing with the boys
|
57
|
+
Playing
|
58
|
+
Playing
|
59
|
+
Playing
|
60
|
+
Playing
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: top_gun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-08-01 00:00:00.000000000 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
description: Danger Zone
|
@@ -27,6 +27,7 @@ files:
|
|
27
27
|
- lib/top_gun.rb
|
28
28
|
- lib/top_gun/version.rb
|
29
29
|
- lyrics/danger_zone.txt
|
30
|
+
- lyrics/playing_with_the_boys.txt
|
30
31
|
- lyrics/take_my_breath_away.txt
|
31
32
|
- top_gun.gemspec
|
32
33
|
has_rdoc: true
|