listof 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +40 -0
- data/Rakefile +1 -0
- data/data/a/alphabets.txt +26 -0
- data/data/b/baby_names_male.txt +900 -0
- data/data/c/countries.txt +196 -0
- data/data/c/countries_asia.txt +47 -0
- data/data/d/dog_names_female.txt +50 -0
- data/data/d/dog_names_male.txt +50 -0
- data/data/e/european_countries.txt +50 -0
- data/data/f/fruits.txt +86 -0
- data/data/g/girl_names_2014.txt +100 -0
- data/data/h/hobbies.txt +9 -0
- data/data/i/indian_companies.txt +500 -0
- data/data/j/jobs.txt +51 -0
- data/data/k/kanji_three_strokes.txt +31 -0
- data/data/l/last_names.txt +1002 -0
- data/data/m/movies_imdb_top_250.txt +250 -0
- data/data/n/non_words.txt +1570 -0
- data/data/o/occupations.txt +51 -0
- data/data/p/phobias.txt +538 -0
- data/data/q/questions.txt +793 -0
- data/data/r/religions.txt +33 -0
- data/data/s/sports.txt +128 -0
- data/data/t/top_movies.txt +251 -0
- data/data/u/us_states.txt +47 -0
- data/data/v/vegetables.txt +117 -0
- data/data/w/weapons.txt +139 -0
- data/data/x/xbox_games.txt +62 -0
- data/data/y/youtubers.txt +100 -0
- data/data/z/zombie_movies.txt +101 -0
- data/lib/listof/thelister.rb +55 -0
- data/lib/listof/version.rb +3 -0
- data/lib/listof.rb +6 -0
- data/listof.gemspec +23 -0
- data/test/listof.rb +12 -0
- metadata +139 -0
@@ -0,0 +1,62 @@
|
|
1
|
+
RBI Baseball 14
|
2
|
+
Valiant Hearts: The Great War
|
3
|
+
Guacamelee! Super Turbo Championship Edition
|
4
|
+
Sniper Elite 3
|
5
|
+
Madden NFL 15
|
6
|
+
Destiny
|
7
|
+
NHL 15
|
8
|
+
FIFA 15
|
9
|
+
Never Alone
|
10
|
+
LEGO Batman 3: Beyond Gotham
|
11
|
+
Fenix Rage
|
12
|
+
Disney Infinity: Marvel Super Heroes
|
13
|
+
Another World: 20th Anniversary Edition
|
14
|
+
Tetris Ultimate
|
15
|
+
PGA Tour 15
|
16
|
+
Chariot
|
17
|
+
Ori and The Blind Forest
|
18
|
+
Skylanders Trap Team
|
19
|
+
NBA Live 15
|
20
|
+
NBA 2K15
|
21
|
+
Middle-earth: Shadow of Mordor
|
22
|
+
Alien: Isolation
|
23
|
+
The Evil Within
|
24
|
+
Evolve
|
25
|
+
Battlefield Hardline
|
26
|
+
Just Dance 2015
|
27
|
+
Sunset Overdrive
|
28
|
+
WWE 2K15
|
29
|
+
Assassin's Creed Unity
|
30
|
+
Grand Theft Auto V
|
31
|
+
Costume Quest 2
|
32
|
+
Call of Duty: Advanced Warfare
|
33
|
+
The Crew
|
34
|
+
Far Cry 4
|
35
|
+
Hyper Light Drifter
|
36
|
+
Elder Scrolls Online
|
37
|
+
Lords of the Fallen
|
38
|
+
The Walking Dead: A Telltale Game Series -- Season One
|
39
|
+
Warframe
|
40
|
+
Transformers: Rise of the Dark Spark
|
41
|
+
Energy Hook
|
42
|
+
Lara Croft and the Temple of Osiris
|
43
|
+
Shoot Many Robots
|
44
|
+
Awesomenauts Assemble
|
45
|
+
Magic 2015 -- Duels of the Planewalkers
|
46
|
+
Volgarr The Viking
|
47
|
+
Plague Inc. Evolved
|
48
|
+
QUBE: Director's Cut
|
49
|
+
Pinball FX 2
|
50
|
+
CastleStorm: Definitive Edition
|
51
|
+
Divekick
|
52
|
+
Lovers in a Dangerous Spacetime
|
53
|
+
Cuphead
|
54
|
+
Fantasia: Music Evolved
|
55
|
+
KickBeat: Special Edition
|
56
|
+
Final Fantasy XV
|
57
|
+
The Wolf Among Us
|
58
|
+
Terraria
|
59
|
+
Rugby 15
|
60
|
+
Shape Up
|
61
|
+
Aztez
|
62
|
+
Roundabout
|
@@ -0,0 +1,100 @@
|
|
1
|
+
PewDiePie
|
2
|
+
DisneyCollectorBR
|
3
|
+
TheFineBros
|
4
|
+
getmovies
|
5
|
+
DisneyCarToys
|
6
|
+
smosh
|
7
|
+
skydoesminecraft
|
8
|
+
IGNentertainment
|
9
|
+
blucollection
|
10
|
+
calvinharrisvevo
|
11
|
+
ERB
|
12
|
+
aviciiofficialvevo
|
13
|
+
RoosterTeeth
|
14
|
+
collegehumor
|
15
|
+
theRadBrad
|
16
|
+
machinima
|
17
|
+
elrubiusOMG
|
18
|
+
toysandfunnykids
|
19
|
+
SSundee
|
20
|
+
smoshgames
|
21
|
+
thewillyrex
|
22
|
+
ksiolajidebt
|
23
|
+
BlueXephos
|
24
|
+
SurpriseToys
|
25
|
+
FueledByRamen
|
26
|
+
UnboxingSurpriseEgg
|
27
|
+
CaptainSparklez
|
28
|
+
TheBajanCanadian
|
29
|
+
teamcoco
|
30
|
+
DrossRotzank
|
31
|
+
boyceavenue
|
32
|
+
potemi926
|
33
|
+
EvanTubeHD
|
34
|
+
ZackScottGames
|
35
|
+
letsplay
|
36
|
+
TheYoungTurks
|
37
|
+
ianrphillips
|
38
|
+
realannoyingorange
|
39
|
+
fixiki
|
40
|
+
teremoktv
|
41
|
+
MattyBRaps
|
42
|
+
tvsmeshariki
|
43
|
+
Matroix
|
44
|
+
theatlanticcraft
|
45
|
+
werecordsgmm
|
46
|
+
RomanAtwood
|
47
|
+
FluffyJetProductions
|
48
|
+
warnerbrosrecords
|
49
|
+
lindseystomp
|
50
|
+
MachinimaRealm
|
51
|
+
TobyGames
|
52
|
+
alltime10s
|
53
|
+
barelypolitical
|
54
|
+
TheSyndicateProject
|
55
|
+
JustForLaughsTV
|
56
|
+
AustinMVEVO
|
57
|
+
nigahiga
|
58
|
+
willyrex
|
59
|
+
leokimvideo
|
60
|
+
AwesomenessTV
|
61
|
+
jeromeasf
|
62
|
+
TMZ
|
63
|
+
tonightshownbc
|
64
|
+
VitalyzdTv
|
65
|
+
iHasCupquake
|
66
|
+
Genierock
|
67
|
+
PrankvsPrank
|
68
|
+
BFvsGF
|
69
|
+
UberHaxorNova
|
70
|
+
comedycentral
|
71
|
+
MashaMedvedTV
|
72
|
+
BartBaKer
|
73
|
+
vice
|
74
|
+
break
|
75
|
+
DisneyMovieTrailers
|
76
|
+
SHAYTARDS
|
77
|
+
kapukikanuki
|
78
|
+
itowngameplay
|
79
|
+
vegetta777
|
80
|
+
MichellePhan
|
81
|
+
redbull
|
82
|
+
KurtHugoSchneider
|
83
|
+
WarnerBrosPictures
|
84
|
+
2NE1
|
85
|
+
CrazyRussianHacker
|
86
|
+
UltraRecords
|
87
|
+
markiplierGAME
|
88
|
+
BIGBANG
|
89
|
+
edsheeran
|
90
|
+
gamegrumps
|
91
|
+
lady16makeup
|
92
|
+
BritainsGotTalent09
|
93
|
+
speedyw03
|
94
|
+
h2odelirious
|
95
|
+
COMEDYshortsgamer
|
96
|
+
iamOTHER
|
97
|
+
MovieclipsCOMINGSOON
|
98
|
+
werevertumorro
|
99
|
+
JennaMarbles
|
100
|
+
AtlanticVideos
|
@@ -0,0 +1,101 @@
|
|
1
|
+
Dawn of the Dead
|
2
|
+
Night of the Living Dead
|
3
|
+
Shaun of the Dead
|
4
|
+
Zombieland
|
5
|
+
Re-Animator
|
6
|
+
Day of the Dead
|
7
|
+
The Return of the Living Dead
|
8
|
+
Dead Alive
|
9
|
+
Army of Darkness
|
10
|
+
The Walking Dead
|
11
|
+
Dawn of the Dead
|
12
|
+
Planet Terror
|
13
|
+
The Evil Dead
|
14
|
+
Evil Dead II
|
15
|
+
Cemetery Man
|
16
|
+
Night of the Living Dead
|
17
|
+
28 Weeks Later
|
18
|
+
28 Days Later...
|
19
|
+
[Rec]
|
20
|
+
Dead Snow
|
21
|
+
Dead Set
|
22
|
+
Fido
|
23
|
+
The Serpent and the Rainbow
|
24
|
+
Resident Evil
|
25
|
+
Slither
|
26
|
+
Let Sleeping Corpses Lie
|
27
|
+
The Beyond
|
28
|
+
Zombie Beach
|
29
|
+
Night of the Creeps
|
30
|
+
Zombie
|
31
|
+
Dead & Buried
|
32
|
+
The Midnight Hour
|
33
|
+
Revenge of the Dead
|
34
|
+
Versus
|
35
|
+
Death Valley
|
36
|
+
Pet Sematary
|
37
|
+
Rabid
|
38
|
+
Bio-Zombie
|
39
|
+
Night of the Comet
|
40
|
+
Dead of Night
|
41
|
+
Doghouse
|
42
|
+
City of the Living Dead
|
43
|
+
Wild Zero
|
44
|
+
Creepshow
|
45
|
+
Resident Evil: Apocalypse
|
46
|
+
[Rec] 2
|
47
|
+
Tombs of the Blind Dead
|
48
|
+
Pontypool
|
49
|
+
Bride of Re-Animator
|
50
|
+
We're Going to Eat You
|
51
|
+
The Book of Zombie
|
52
|
+
I Sell the Dead
|
53
|
+
Land of the Dead
|
54
|
+
Reel Zombies
|
55
|
+
Resident Evil: Extinction
|
56
|
+
Juan of the Dead
|
57
|
+
Germ
|
58
|
+
Quarantine
|
59
|
+
House
|
60
|
+
DeadHeads
|
61
|
+
Masters of Horror
|
62
|
+
Homecoming</a> (2005)</
|
63
|
+
The Grapes of Death
|
64
|
+
Messiah of Evil
|
65
|
+
The Dead
|
66
|
+
Cockneys vs Zombies
|
67
|
+
Zombie Farm
|
68
|
+
Sars Wars
|
69
|
+
Resident Evil: Afterlife
|
70
|
+
The Horde
|
71
|
+
Harold's Going Stiff
|
72
|
+
Office of the Dead
|
73
|
+
The Video Dead
|
74
|
+
Hard Rock Zombies
|
75
|
+
Rocktober Blood
|
76
|
+
Colin
|
77
|
+
Plaga zombie: Zona mutante
|
78
|
+
Dead Meat
|
79
|
+
Biker Zombies from Detroit
|
80
|
+
Brain Dead
|
81
|
+
Tokyo Zombie
|
82
|
+
Mutants
|
83
|
+
Rammbock
|
84
|
+
Zombie Honeymoon
|
85
|
+
Zombie Killer
|
86
|
+
Evilution
|
87
|
+
Devil's Playground
|
88
|
+
Virus Undead
|
89
|
+
Dead Air
|
90
|
+
American Zombie
|
91
|
+
Day of the Dead
|
92
|
+
Diary of the Dead
|
93
|
+
I Am Legend
|
94
|
+
The Zombie Diaries
|
95
|
+
Nightmare City
|
96
|
+
White Zombie
|
97
|
+
House of the Dead
|
98
|
+
Night of the Zombies
|
99
|
+
Zombie Night
|
100
|
+
Awakening
|
101
|
+
Zombie Town
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'find'
|
2
|
+
require 'json'
|
3
|
+
require 'yaml'
|
4
|
+
module Thelister
|
5
|
+
module ClassMethods
|
6
|
+
DATA_PATH = File.dirname(File.dirname(File.dirname(__FILE__))) + '/data/'
|
7
|
+
DOT_EXTENSION = ".txt"
|
8
|
+
def find(query)
|
9
|
+
@query = query
|
10
|
+
contents_hash = {}
|
11
|
+
if File.file?(file_for_query)
|
12
|
+
f = File.open(file_for_query)
|
13
|
+
f.each_line.with_index do |line, lineno = 1|
|
14
|
+
line = line.strip
|
15
|
+
if !line.start_with?("#") and line.length >= 1
|
16
|
+
contents_hash[lineno] = line
|
17
|
+
else
|
18
|
+
contents_hash['source'] = line.sub("#","")
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
contents_hash
|
23
|
+
end
|
24
|
+
|
25
|
+
def file_for_query
|
26
|
+
"#{in_folder}/#{@query}#{DOT_EXTENSION}"
|
27
|
+
end
|
28
|
+
def in_folder
|
29
|
+
"#{DATA_PATH}#{@query[0]}"
|
30
|
+
end
|
31
|
+
def by_alphabet(query)
|
32
|
+
@query = query
|
33
|
+
contents_hash = {}
|
34
|
+
Dir["#{in_folder}/*.txt"].each_with_index do |path, index = 1|
|
35
|
+
contents_hash[index] = File.basename(path, DOT_EXTENSION)
|
36
|
+
end
|
37
|
+
contents_hash
|
38
|
+
end
|
39
|
+
def all()
|
40
|
+
contents_hash = {}
|
41
|
+
Dir.glob("#{DATA_PATH}/**/*#{DOT_EXTENSION}").each_with_index do |path, index|
|
42
|
+
contents_hash[index] = File.basename(path, DOT_EXTENSION)
|
43
|
+
end
|
44
|
+
contents_hash
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
module InstanceMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.included(receiver)
|
52
|
+
receiver.extend ClassMethods
|
53
|
+
receiver.send :include, InstanceMethods
|
54
|
+
end
|
55
|
+
end
|
data/lib/listof.rb
ADDED
data/listof.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
require File.expand_path('../lib/listof/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = "listof"
|
6
|
+
spec.version = Listof::VERSION
|
7
|
+
spec.authors = ["Pulkit Kathuria"]
|
8
|
+
spec.email = ["kevincobain2000@gmail.com"]
|
9
|
+
spec.description = %q{List me up}
|
10
|
+
spec.summary = %q{List of anything countries, cities, food, allergies, shops}
|
11
|
+
spec.homepage = ""
|
12
|
+
spec.license = "MIT"
|
13
|
+
|
14
|
+
spec.files = `git ls-files`.split($/)
|
15
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
16
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
|
19
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
20
|
+
spec.add_development_dependency "rake"
|
21
|
+
spec.add_development_dependency "json"
|
22
|
+
spec.add_development_dependency "yaml"
|
23
|
+
end
|
data/test/listof.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# ait add .;gem build listof.gemspec ;gem install listof;ruby test/listof.rb
|
2
|
+
require 'listof'
|
3
|
+
|
4
|
+
# puts Listof.find("countries")
|
5
|
+
# puts Listof.find("countries").to_json
|
6
|
+
# puts Listof.find("occupations").to_yaml
|
7
|
+
# puts Listof.find("indian_companies").to_yaml
|
8
|
+
# puts Listof.find("kanji_three_strokes").to_yaml
|
9
|
+
# puts Listof.by_alphabet("c")
|
10
|
+
# puts Listof.all().to_yaml
|
11
|
+
puts Listof.find("top_movies").to_yaml
|
12
|
+
puts Listof.find("top_movies").to_json
|
metadata
ADDED
@@ -0,0 +1,139 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: listof
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pulkit Kathuria
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-22 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.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json
|
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
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: yaml
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: List me up
|
70
|
+
email:
|
71
|
+
- kevincobain2000@gmail.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- .gitignore
|
77
|
+
- Gemfile
|
78
|
+
- LICENSE.txt
|
79
|
+
- README.md
|
80
|
+
- Rakefile
|
81
|
+
- data/a/alphabets.txt
|
82
|
+
- data/b/baby_names_male.txt
|
83
|
+
- data/c/countries.txt
|
84
|
+
- data/c/countries_asia.txt
|
85
|
+
- data/d/dog_names_female.txt
|
86
|
+
- data/d/dog_names_male.txt
|
87
|
+
- data/e/european_countries.txt
|
88
|
+
- data/f/fruits.txt
|
89
|
+
- data/g/girl_names_2014.txt
|
90
|
+
- data/h/hobbies.txt
|
91
|
+
- data/i/indian_companies.txt
|
92
|
+
- data/j/jobs.txt
|
93
|
+
- data/k/kanji_three_strokes.txt
|
94
|
+
- data/l/last_names.txt
|
95
|
+
- data/m/movies_imdb_top_250.txt
|
96
|
+
- data/n/non_words.txt
|
97
|
+
- data/o/occupations.txt
|
98
|
+
- data/p/phobias.txt
|
99
|
+
- data/q/questions.txt
|
100
|
+
- data/r/religions.txt
|
101
|
+
- data/s/sports.txt
|
102
|
+
- data/t/top_movies.txt
|
103
|
+
- data/u/us_states.txt
|
104
|
+
- data/v/vegetables.txt
|
105
|
+
- data/w/weapons.txt
|
106
|
+
- data/x/xbox_games.txt
|
107
|
+
- data/y/youtubers.txt
|
108
|
+
- data/z/zombie_movies.txt
|
109
|
+
- lib/listof.rb
|
110
|
+
- lib/listof/thelister.rb
|
111
|
+
- lib/listof/version.rb
|
112
|
+
- listof.gemspec
|
113
|
+
- test/listof.rb
|
114
|
+
homepage: ''
|
115
|
+
licenses:
|
116
|
+
- MIT
|
117
|
+
metadata: {}
|
118
|
+
post_install_message:
|
119
|
+
rdoc_options: []
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
requirements: []
|
133
|
+
rubyforge_project:
|
134
|
+
rubygems_version: 2.0.3
|
135
|
+
signing_key:
|
136
|
+
specification_version: 4
|
137
|
+
summary: List of anything countries, cities, food, allergies, shops
|
138
|
+
test_files:
|
139
|
+
- test/listof.rb
|