jalapeno 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/jalapeno/books.rb +8 -0
- data/lib/jalapeno/movies.rb +8 -0
- data/lib/jalapeno/musics.rb +9 -0
- data/lib/jalapeno/originals.rb +5 -0
- data/lib/jalapeno/version.rb +3 -0
- data/lib/jalapeno.rb +28 -0
- metadata +49 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d7d1c58e0d8a7f810afe21b5b6a269fe4162974c
|
4
|
+
data.tar.gz: e6c66865e5ca629533e81ac8a041a6a12acee66e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 047d07f978a5811a0074e448acf31971fdc1f50f461fcec2a87e547321fa227e0a6c52c57c754b4d607c0ba900a535e8d4f04dfc11fa2768d4a092c669ea08e3
|
7
|
+
data.tar.gz: 03417c19a0e8ddc196e3f35a9c85a68d70ca51b60439e477bd6ecd1566007346911794d3bebc1814dc53f05069e2d8c3ba4569557018979ee947956a992876ea
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module Books
|
2
|
+
quotes = ["Go then, there are other worlds than these", "Not all those who wander are lost",
|
3
|
+
"We could have saved the Earth, but we were too damned cheap", "Men of God and men of war have strange affinities",
|
4
|
+
"We all die. The goal isn't to live forever, the goal is to create something that will",
|
5
|
+
"If you want to know what a man's like, take a good look at how he treats his inferiors, not his equals",
|
6
|
+
"It does not do to dwell on dreams and forget to live", "Beware for I am fearless, and therefore powerful" ]
|
7
|
+
QUOTE = quotes[rand(0..quotes.length - 1)]
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module Movies
|
2
|
+
quotes = ["May the force be with you", "Hasta la vista, baby", "I drink your milkshake!",
|
3
|
+
"These go to 11", "They call it a royale with cheese", "The Dude abides",
|
4
|
+
"Leave the gun. Take the cannoli", "To infinity and beyond!", "Why so serious?!",
|
5
|
+
"The first rule of Fight Club is: you do not talk about Fight Club"
|
6
|
+
]
|
7
|
+
QUOTE = quotes[rand(0..quotes.length - 1)]
|
8
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
module Musics
|
2
|
+
quotes = ["I hurt myself today to see if I still feel. I focus on the pain. The only thing that's real",
|
3
|
+
"If there's a bustle in your hedgerow, Don't be alarmed now, It's just a spring clean for the May Queen",
|
4
|
+
"Nothing's gonna change my world", "The world is a game to be played", "Time takes a cigarette, puts it in your mouth",
|
5
|
+
"Well, I once had the highest score on a South Park pinball machine at a bowling alley. So, I got that going for me at least."
|
6
|
+
]
|
7
|
+
QUOTE = quotes[rand(0..quotes.length - 1)]
|
8
|
+
|
9
|
+
end
|
data/lib/jalapeno.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'jalapeno/version'
|
2
|
+
require 'jalapeno/movies'
|
3
|
+
require 'jalapeno/books'
|
4
|
+
require 'jalapeno/originals'
|
5
|
+
require 'jalapeno/musics'
|
6
|
+
|
7
|
+
module Jalapeno
|
8
|
+
def self.version_string
|
9
|
+
"Jalapeno version #{Jalapeno::VERSION}"
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.movie
|
13
|
+
"#{Movies::QUOTE}"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.book
|
17
|
+
"#{Books::QUOTE}"
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.original
|
21
|
+
"#{Originals::QUOTE}"
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.music
|
25
|
+
"#{Musics::QUOTE}"
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jalapeno
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brent Busby
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Generates a random quote that you can use to display on your site
|
14
|
+
email:
|
15
|
+
- brentbusby86@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- lib/jalapeno.rb
|
21
|
+
- lib/jalapeno/books.rb
|
22
|
+
- lib/jalapeno/movies.rb
|
23
|
+
- lib/jalapeno/musics.rb
|
24
|
+
- lib/jalapeno/originals.rb
|
25
|
+
- lib/jalapeno/version.rb
|
26
|
+
homepage: https://github.com/buzzamus/jalapeno
|
27
|
+
licenses: []
|
28
|
+
metadata: {}
|
29
|
+
post_install_message:
|
30
|
+
rdoc_options: []
|
31
|
+
require_paths:
|
32
|
+
- lib
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
requirements: []
|
44
|
+
rubyforge_project:
|
45
|
+
rubygems_version: 2.6.13
|
46
|
+
signing_key:
|
47
|
+
specification_version: 4
|
48
|
+
summary: Random quote generator
|
49
|
+
test_files: []
|