lemurick 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +6 -0
- data/Rakefile +7 -0
- data/bin/lemurick +12 -0
- data/lemurick.gemspec +25 -0
- data/lib/lemurick/lemurick.rb +11 -0
- data/lib/lemurick/lemurs/aaron.rb +4 -0
- data/lib/lemurick/lemurs/aldric.rb +29 -0
- data/lib/lemurick/lemurs/alisha.rb +4 -0
- data/lib/lemurick/lemurs/amanda.rb +4 -0
- data/lib/lemurick/lemurs/anderson.rb +4 -0
- data/lib/lemurick/lemurs/andrew.rb +20 -0
- data/lib/lemurick/lemurs/annie.rb +4 -0
- data/lib/lemurick/lemurs/bae.rb +4 -0
- data/lib/lemurick/lemurs/carson.rb +4 -0
- data/lib/lemurick/lemurs/christian.rb +4 -0
- data/lib/lemurick/lemurs/conrad.rb +4 -0
- data/lib/lemurick/lemurs/dave.rb +4 -0
- data/lib/lemurick/lemurs/denise.rb +4 -0
- data/lib/lemurick/lemurs/edward.rb +4 -0
- data/lib/lemurick/lemurs/evan.rb +4 -0
- data/lib/lemurick/lemurs/gray.rb +4 -0
- data/lib/lemurick/lemurs/ian.rb +4 -0
- data/lib/lemurick/lemurs/isul.rb +4 -0
- data/lib/lemurick/lemurs/james.rb +4 -0
- data/lib/lemurick/lemurs/john.rb +4 -0
- data/lib/lemurick/lemurs/karynn.rb +4 -0
- data/lib/lemurick/lemurs/manini.rb +4 -0
- data/lib/lemurick/lemurs/matt.rb +4 -0
- data/lib/lemurick/lemurs/michael.rb +4 -0
- data/lib/lemurick/lemurs/mike.rb +4 -0
- data/lib/lemurick/lemurs/palermo.rb +4 -0
- data/lib/lemurick/lemurs/peter.rb +4 -0
- data/lib/lemurick/lemurs/thareef.rb +4 -0
- data/lib/lemurick/lemurs/thomas.rb +4 -0
- data/lib/lemurick/lemurs/vadim.rb +4 -0
- data/lib/lemurick/lemurs/yaniv.rb +23 -0
- data/lib/lemurick/version.rb +3 -0
- data/lib/lemurick.rb +15 -0
- data/spec/lemurick_spec.rb +8 -0
- data/spec/lemurs_spec.rb +23 -0
- data/spec/spec_helper.rb +2 -0
- metadata +135 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a2408839be5356416ac186b4a712a003e4cd2c58
|
4
|
+
data.tar.gz: d1834cf6851331d91564b61bedac1d53cb14206f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9d9b39308f5245efff346658fcff77b1919a7480aeecc3b8483c07475b95fed5637ba69b04e0d6d7f4dda934bde9e2d3d4f27494d061531a1cf3cbbee4620d84
|
7
|
+
data.tar.gz: c3a524459eee59a9c09fadef3d179533f525ac6b516ee7baf1be0317c666b6c79c34ac333b56f4ce19c38bcf1ebc2f9fb239d65df2b5eb10235d872b6a084db5
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 amadden80
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
data/bin/lemurick
ADDED
data/lemurick.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'lemurick/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "lemurick"
|
8
|
+
spec.version = Lemurick::VERSION
|
9
|
+
spec.authors = ["amadden80"]
|
10
|
+
spec.email = ["amadden80@gmail.com"]
|
11
|
+
spec.summary = %q{Fun quoatations}
|
12
|
+
spec.description = %q{Your favorite lemurs speak... as they are objects}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
# spec.executables = ['lemurick']
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "rspec"
|
25
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Lemurick
|
2
|
+
class Aldric
|
3
|
+
def speak
|
4
|
+
quotes.sample
|
5
|
+
end
|
6
|
+
|
7
|
+
def quotes
|
8
|
+
[
|
9
|
+
'How fascinating!',
|
10
|
+
'I am a god among men!',
|
11
|
+
'Given enough eyeballs, all bugs are shallow (originally a quote by Linus Torvalds)',
|
12
|
+
'Nothing is more important in a database than integrity',
|
13
|
+
'Spike it',
|
14
|
+
'It\'s magic. (Not really)',
|
15
|
+
'Test-driven development or, as I like calling it, Wish-driven development',
|
16
|
+
'The best thing about UDP jokes is that I don\'t care if you get them.',
|
17
|
+
'RTFM: read the friendly manual',
|
18
|
+
'see —> do —> see',
|
19
|
+
'Did you commit?',
|
20
|
+
'No output is good output',
|
21
|
+
'There are two hard problems in programming. Naming, caching, and off-by-one errors',
|
22
|
+
'SHIP IT.',
|
23
|
+
'Ye olde guide to debugging/adding a feature to Rails: route, controller, action, layout, view, model, data, database',
|
24
|
+
'Fail fast',
|
25
|
+
'Never use tabs when writing code (unless you are writing a Makefile)',
|
26
|
+
]
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Lemurick
|
2
|
+
class Andrew
|
3
|
+
def speak
|
4
|
+
quotes.sample
|
5
|
+
end
|
6
|
+
|
7
|
+
def quotes
|
8
|
+
[
|
9
|
+
'Keep your tenor high!',
|
10
|
+
'Good or great?',
|
11
|
+
'You haven\'t lived until you\'ve spent all day looking for a comma.',
|
12
|
+
'WOAH! Did you feel that? I think someone touched a Gemile... guess I\'ll bundle',
|
13
|
+
'I don\'t know it YET.',
|
14
|
+
'Undefined? Did I mean to define it? ... Where do I think I defined it?',
|
15
|
+
'The best time ever? or only one of them?',
|
16
|
+
'I am an object. I have attributes... like my name... and abilities like the ability to tell you my name... if you ask.'
|
17
|
+
]
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Lemurick
|
2
|
+
class Yaniv
|
3
|
+
|
4
|
+
def speak
|
5
|
+
quotes.sample
|
6
|
+
end
|
7
|
+
|
8
|
+
def quotes
|
9
|
+
[
|
10
|
+
'Have you tried binding.pry yet?',
|
11
|
+
'Heugh?',
|
12
|
+
'Good morning, lemurs!',
|
13
|
+
'Handlebars, guys. Handlebars!',
|
14
|
+
'Questions? Thoughts? Comments?',
|
15
|
+
'Sweet, double digits! (inside joke with the ~9 students in class by 9am)',
|
16
|
+
'Walk us through it.',
|
17
|
+
'Killin\' it!',
|
18
|
+
'...a panini. Sorry, a pah-ni-ni.'
|
19
|
+
]
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
data/lib/lemurick.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# require File.expand_path("../lemurick/version", __FILE__)
|
2
|
+
# require File.expand_path("../lemurick/lemurick", __FILE__)
|
3
|
+
require "lemurick/version"
|
4
|
+
require "lemurick/lemurick"
|
5
|
+
|
6
|
+
LEMURS = %w(Andrew Matt Aldric Yaniv Amanda Thareef Christian Edward James Isul Ian Anderson Annie Bae Peter Evan Karynn Michael Denise Aaron Palermo Vadim Conrad Dave John Alisha Thomas Manini Mike Carson Gray)
|
7
|
+
|
8
|
+
LEMURS.each do |lem|
|
9
|
+
require "lemurick/lemurs/#{lem.downcase}"
|
10
|
+
end
|
11
|
+
|
12
|
+
|
13
|
+
module Lemurick
|
14
|
+
# Your code goes here...
|
15
|
+
end
|
data/spec/lemurs_spec.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
lemurs = %w(Andrew Aldric Matt Yaniv Amanda Thareef Christian Edward James Isul Ian Anderson Annie Bae Peter Evan Karynn Michael Denise Aaron Palermo Vadim Conrad Dave John Alisha Thomas Manini Mike Carson Gray)
|
4
|
+
|
5
|
+
lemurs.each do |lemur|
|
6
|
+
|
7
|
+
lemur_class = eval("Lemurick::" + lemur)
|
8
|
+
|
9
|
+
RSpec.describe lemur_class do
|
10
|
+
it 'has quotes' do
|
11
|
+
expect(subject.quotes).to be_instance_of Array
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'can speak' do
|
15
|
+
expect(subject.speak).to be_instance_of String
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'says something it is supposed to say' do
|
19
|
+
expect(subject.quotes).to include(subject.speak)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lemurick
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- amadden80
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Your favorite lemurs speak... as they are objects
|
56
|
+
email:
|
57
|
+
- amadden80@gmail.com
|
58
|
+
executables:
|
59
|
+
- lemurick
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- ".travis.yml"
|
65
|
+
- Gemfile
|
66
|
+
- LICENSE.txt
|
67
|
+
- README.md
|
68
|
+
- Rakefile
|
69
|
+
- bin/lemurick
|
70
|
+
- lemurick.gemspec
|
71
|
+
- lib/lemurick.rb
|
72
|
+
- lib/lemurick/lemurick.rb
|
73
|
+
- lib/lemurick/lemurs/aaron.rb
|
74
|
+
- lib/lemurick/lemurs/aldric.rb
|
75
|
+
- lib/lemurick/lemurs/alisha.rb
|
76
|
+
- lib/lemurick/lemurs/amanda.rb
|
77
|
+
- lib/lemurick/lemurs/anderson.rb
|
78
|
+
- lib/lemurick/lemurs/andrew.rb
|
79
|
+
- lib/lemurick/lemurs/annie.rb
|
80
|
+
- lib/lemurick/lemurs/bae.rb
|
81
|
+
- lib/lemurick/lemurs/carson.rb
|
82
|
+
- lib/lemurick/lemurs/christian.rb
|
83
|
+
- lib/lemurick/lemurs/conrad.rb
|
84
|
+
- lib/lemurick/lemurs/dave.rb
|
85
|
+
- lib/lemurick/lemurs/denise.rb
|
86
|
+
- lib/lemurick/lemurs/edward.rb
|
87
|
+
- lib/lemurick/lemurs/evan.rb
|
88
|
+
- lib/lemurick/lemurs/gray.rb
|
89
|
+
- lib/lemurick/lemurs/ian.rb
|
90
|
+
- lib/lemurick/lemurs/isul.rb
|
91
|
+
- lib/lemurick/lemurs/james.rb
|
92
|
+
- lib/lemurick/lemurs/john.rb
|
93
|
+
- lib/lemurick/lemurs/karynn.rb
|
94
|
+
- lib/lemurick/lemurs/manini.rb
|
95
|
+
- lib/lemurick/lemurs/matt.rb
|
96
|
+
- lib/lemurick/lemurs/michael.rb
|
97
|
+
- lib/lemurick/lemurs/mike.rb
|
98
|
+
- lib/lemurick/lemurs/palermo.rb
|
99
|
+
- lib/lemurick/lemurs/peter.rb
|
100
|
+
- lib/lemurick/lemurs/thareef.rb
|
101
|
+
- lib/lemurick/lemurs/thomas.rb
|
102
|
+
- lib/lemurick/lemurs/vadim.rb
|
103
|
+
- lib/lemurick/lemurs/yaniv.rb
|
104
|
+
- lib/lemurick/version.rb
|
105
|
+
- spec/lemurick_spec.rb
|
106
|
+
- spec/lemurs_spec.rb
|
107
|
+
- spec/spec_helper.rb
|
108
|
+
homepage: ''
|
109
|
+
licenses:
|
110
|
+
- MIT
|
111
|
+
metadata: {}
|
112
|
+
post_install_message:
|
113
|
+
rdoc_options: []
|
114
|
+
require_paths:
|
115
|
+
- lib
|
116
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
requirements: []
|
127
|
+
rubyforge_project:
|
128
|
+
rubygems_version: 2.2.2
|
129
|
+
signing_key:
|
130
|
+
specification_version: 4
|
131
|
+
summary: Fun quoatations
|
132
|
+
test_files:
|
133
|
+
- spec/lemurick_spec.rb
|
134
|
+
- spec/lemurs_spec.rb
|
135
|
+
- spec/spec_helper.rb
|