ruby_rockers_predictor 0.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.
@@ -0,0 +1,27 @@
|
|
1
|
+
module Constants
|
2
|
+
NAMES = ['Amit Kumar',
|
3
|
+
'Yashasree Barve',
|
4
|
+
'Himanshu Joshi',
|
5
|
+
'Manohar Amrutkar',
|
6
|
+
'Prathiba Kn',
|
7
|
+
'Adhiraj Rankhambe',
|
8
|
+
'Gourav Tiwari',
|
9
|
+
'Ashish Upadhayaye',
|
10
|
+
'Manish Puri',
|
11
|
+
'Amit Suryavanshi',
|
12
|
+
'Ankit Gupta',
|
13
|
+
'Atul Patel',
|
14
|
+
'Aaditi Patel',
|
15
|
+
'Ekta Verma',
|
16
|
+
'Ankita Girish Kanitkar',
|
17
|
+
'Manasi Shah',
|
18
|
+
'Ankur Gera',
|
19
|
+
'Amit Thawait',
|
20
|
+
'Amit Suryavanshi',
|
21
|
+
'Rashmi Yadav',
|
22
|
+
'Karan Arora']
|
23
|
+
|
24
|
+
NEXT_LIFE = ['Plumber', 'Scientist','Carpenter','Teacher', 'Google Employee','Bollywood star','Don']
|
25
|
+
SEX = ['Male','Female']
|
26
|
+
|
27
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class String
|
2
|
+
def initial
|
3
|
+
self.split[0][0,1].downcase + self.split[1][0,1].downcase
|
4
|
+
end
|
5
|
+
end
|
6
|
+
|
7
|
+
def msg(*args)
|
8
|
+
"Dear #{args[0]}, In your next life you will be a #{Constants::SEX.sample}!! Your Occupation will be a #{Constants::NEXT_LIFE.sample}!"
|
9
|
+
|
10
|
+
end
|
metadata
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby_rockers_predictor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Ankit gupta
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-26 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Predicts next life for Ruby Rockers.
|
15
|
+
email: ankit.gupta8898@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- lib/ruby_rockers_predictor.rb
|
21
|
+
- lib/ruby_rockers_predictor/constants.rb
|
22
|
+
- lib/ruby_rockers_predictor/helpers.rb
|
23
|
+
homepage: https://github.com/ankit8898/ruby_rockers_predictor
|
24
|
+
licenses: []
|
25
|
+
post_install_message:
|
26
|
+
rdoc_options: []
|
27
|
+
require_paths:
|
28
|
+
- lib
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubyforge_project:
|
43
|
+
rubygems_version: 1.8.10
|
44
|
+
signing_key:
|
45
|
+
specification_version: 3
|
46
|
+
summary: Predicts next life for Ruby Rockers.
|
47
|
+
test_files: []
|