listof 0.0.9 → 0.2.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.
- checksums.yaml +4 -4
- data/README.md +3 -47
- data/Rakefile +8 -0
- data/data/authors.txt +525 -0
- data/data/british_actors.txt +702 -0
- data/data/car_companies.txt +65 -0
- data/data/common_animals.txt +136 -0
- data/data/common_words.txt +981 -0
- data/data/dinosaurs.txt +1876 -0
- data/data/dogs.txt +453 -0
- data/data/flowers.txt +64 -0
- data/data/googled_keywords.txt +86 -0
- data/data/human_prefixes.txt +84 -0
- data/data/menu_items.txt +1002 -0
- data/data/newspapers_america.txt +103 -0
- data/data/pizza_toppings.txt +22 -0
- data/data/shakespeare_phrases.txt +160 -0
- data/data/toxic_chemicals.txt +378 -0
- data/data/wwe_wrestlers.txt +95 -0
- data/lib/listof/version.rb +1 -1
- data/test/test_listof.rb +26 -0
- data/upload_new.rb +1 -0
- metadata +20 -5
- data/data/food_trends.txt +0 -11
- data/test/listof.rb +0 -12
@@ -0,0 +1,95 @@
|
|
1
|
+
#image http://res.cloudinary.com/listof-herokuapp-com/image/upload/v1420265571/http_fc05_deviantart_net_fs50_f_2009_291_7_f_WWE_Wallpaper_by_ahmadus_bpecsu.jpg
|
2
|
+
Adam Rose
|
3
|
+
Alberto Del Rio
|
4
|
+
Alexander Rusev
|
5
|
+
Andre the Giant
|
6
|
+
Arn Anderson
|
7
|
+
Bad News Barrett
|
8
|
+
Barry Horowitz
|
9
|
+
Batista
|
10
|
+
Big Boss Man
|
11
|
+
Big E
|
12
|
+
Big Show
|
13
|
+
Billy Gunn
|
14
|
+
Booker T
|
15
|
+
Bray Wyatt
|
16
|
+
Bret "Hitman" Hart
|
17
|
+
Brock Lesnar
|
18
|
+
Brodus Clay
|
19
|
+
Brutus "The Barber" Beefcake
|
20
|
+
Cesaro
|
21
|
+
Christian
|
22
|
+
CM Punk
|
23
|
+
Cody Rhodes
|
24
|
+
Curt Hawkins
|
25
|
+
Curtis Axel
|
26
|
+
Damien Sandow
|
27
|
+
Daniel Bryan
|
28
|
+
Darren Young
|
29
|
+
David Otunga
|
30
|
+
Dean Ambrose
|
31
|
+
Diego
|
32
|
+
Dolph Ziggler
|
33
|
+
Drew McIntyre
|
34
|
+
Dwayne "The Rock" Johnson
|
35
|
+
Erick Rowan
|
36
|
+
Evan Bourne
|
37
|
+
Fernando
|
38
|
+
George "The Animal" Steele
|
39
|
+
Goldust
|
40
|
+
The Great Khali
|
41
|
+
"Hacksaw" Jim Duggan
|
42
|
+
Heath Slater
|
43
|
+
The Honky Tonk Man
|
44
|
+
Hornswoggle
|
45
|
+
Hulk Hogan
|
46
|
+
The Iron Shiek
|
47
|
+
Jack Swagger
|
48
|
+
Jake "The Snake" Roberts
|
49
|
+
Jey Uso
|
50
|
+
Jimmy Uso
|
51
|
+
Jinder Mahal
|
52
|
+
John Cena
|
53
|
+
JTG
|
54
|
+
Junkyard Dog
|
55
|
+
Justin Gabriel
|
56
|
+
Kane
|
57
|
+
Kofi Kingston
|
58
|
+
Koko B. Ware
|
59
|
+
Luke Harper
|
60
|
+
"Macho Man" Randy Savage
|
61
|
+
Mark Henry
|
62
|
+
"The Million Dollar Man" Ted DeBiase
|
63
|
+
The Miz
|
64
|
+
Mr. Perfect
|
65
|
+
Paul "Mr. Wonderful" Orndorff
|
66
|
+
"Nature Boy" Ric Flair
|
67
|
+
R-Truth
|
68
|
+
Randy Orton
|
69
|
+
"Ravishing" Rick Rude
|
70
|
+
Rey Mysterio
|
71
|
+
Ricardo Rodriguez
|
72
|
+
Rob Van Dam
|
73
|
+
Roman Reigns
|
74
|
+
"Rowdy" Roddy Piper
|
75
|
+
Rusev
|
76
|
+
Ryback
|
77
|
+
Santino Marella
|
78
|
+
Seth Rollins
|
79
|
+
Sgt. Slaughter
|
80
|
+
Shawn Michaels
|
81
|
+
Sheamus
|
82
|
+
Sin Cara
|
83
|
+
"Stone Cold" Steve Austin
|
84
|
+
"Superfly" Jimmy Snuka
|
85
|
+
Titus O'Neil
|
86
|
+
Triple H
|
87
|
+
Tugboat
|
88
|
+
Tully Blanchard
|
89
|
+
Tyson Kidd
|
90
|
+
The Undertaker
|
91
|
+
The Ultimate Warrior
|
92
|
+
William Regal
|
93
|
+
Xavier Woods
|
94
|
+
Yoshi Tatsu
|
95
|
+
Zack Ryder
|
data/lib/listof/version.rb
CHANGED
data/test/test_listof.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'listof'
|
2
|
+
require 'minitest/autorun'
|
3
|
+
|
4
|
+
# puts Listof.find("countries")
|
5
|
+
# puts Listof.find("countries").to_json
|
6
|
+
# puts Listof.find("occupations").to_yaml
|
7
|
+
|
8
|
+
# puts Listof.all().to_yaml
|
9
|
+
# puts Listof.find("alphabets").to_yaml
|
10
|
+
# alphabets = Listof.find("alphabets")
|
11
|
+
# puts alphabets['source']
|
12
|
+
# puts alphabets['image']
|
13
|
+
|
14
|
+
# Test on all data
|
15
|
+
class ListofTest < MiniTest::Unit::TestCase
|
16
|
+
def test_all_class
|
17
|
+
assert_equal "Hash", Listof.all().class.to_s
|
18
|
+
end
|
19
|
+
def test_each_class
|
20
|
+
all = Listof.all()
|
21
|
+
all.each do |a|
|
22
|
+
list_title = a[1]
|
23
|
+
assert_equal "Hash", Listof.find(list_title.to_s).class.to_s
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/upload_new.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: listof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pulkit Kathuria
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,26 +80,35 @@ files:
|
|
80
80
|
- Rakefile
|
81
81
|
- data/alphabets.txt
|
82
82
|
- data/animal_stories.txt
|
83
|
+
- data/authors.txt
|
83
84
|
- data/baby_names_male.txt
|
84
85
|
- data/billionaires.txt
|
86
|
+
- data/british_actors.txt
|
85
87
|
- data/buzz_words.txt
|
88
|
+
- data/car_companies.txt
|
86
89
|
- data/chatbots.txt
|
87
90
|
- data/come_backs.txt
|
91
|
+
- data/common_animals.txt
|
92
|
+
- data/common_words.txt
|
88
93
|
- data/countries.txt
|
89
94
|
- data/countries_asia.txt
|
90
95
|
- data/desktop_browsers.txt
|
96
|
+
- data/dinosaurs.txt
|
91
97
|
- data/dog_names_female.txt
|
92
98
|
- data/dog_names_male.txt
|
99
|
+
- data/dogs.txt
|
93
100
|
- data/european_countries.txt
|
94
101
|
- data/facebook_trends.txt
|
95
102
|
- data/fashion_statements.txt
|
96
103
|
- data/fiction_books.txt
|
97
|
-
- data/
|
104
|
+
- data/flowers.txt
|
98
105
|
- data/fruits.txt
|
99
106
|
- data/gadgets.txt
|
100
107
|
- data/girl_names_2014.txt
|
108
|
+
- data/googled_keywords.txt
|
101
109
|
- data/harry_potter_spells.txt
|
102
110
|
- data/hobbies.txt
|
111
|
+
- data/human_prefixes.txt
|
103
112
|
- data/indian_companies.txt
|
104
113
|
- data/iphone_apps.txt
|
105
114
|
- data/jobs.txt
|
@@ -108,19 +117,24 @@ files:
|
|
108
117
|
- data/languages_world.txt
|
109
118
|
- data/last_names.txt
|
110
119
|
- data/medical_breakthroughs.txt
|
120
|
+
- data/menu_items.txt
|
111
121
|
- data/movies_imdb_top_250.txt
|
112
122
|
- data/new_species.txt
|
123
|
+
- data/newspapers_america.txt
|
113
124
|
- data/non_words.txt
|
114
125
|
- data/nonfictional_books.txt
|
115
126
|
- data/occupations.txt
|
116
127
|
- data/phobias.txt
|
128
|
+
- data/pizza_toppings.txt
|
117
129
|
- data/questions.txt
|
118
130
|
- data/rap_artists.txt
|
119
131
|
- data/religions.txt
|
120
132
|
- data/search_engines.txt
|
133
|
+
- data/shakespeare_phrases.txt
|
121
134
|
- data/sports.txt
|
122
135
|
- data/stopwords_en.txt
|
123
136
|
- data/top_movies.txt
|
137
|
+
- data/toxic_chemicals.txt
|
124
138
|
- data/tv_series.txt
|
125
139
|
- data/twitter_moments.txt
|
126
140
|
- data/us_states.txt
|
@@ -128,6 +142,7 @@ files:
|
|
128
142
|
- data/video_games.txt
|
129
143
|
- data/viral_videos.txt
|
130
144
|
- data/weapons.txt
|
145
|
+
- data/wwe_wrestlers.txt
|
131
146
|
- data/xbox_games.txt
|
132
147
|
- data/youtubers.txt
|
133
148
|
- data/zombie_movies.txt
|
@@ -136,7 +151,7 @@ files:
|
|
136
151
|
- lib/listof/thelister.rb
|
137
152
|
- lib/listof/version.rb
|
138
153
|
- listof.gemspec
|
139
|
-
- test/
|
154
|
+
- test/test_listof.rb
|
140
155
|
- upload_new.rb
|
141
156
|
homepage: http://listof.herokuapp.com/api/dog_names_male
|
142
157
|
licenses:
|
@@ -163,4 +178,4 @@ signing_key:
|
|
163
178
|
specification_version: 4
|
164
179
|
summary: List of anything countries, cities, food, allergies, shops
|
165
180
|
test_files:
|
166
|
-
- test/
|
181
|
+
- test/test_listof.rb
|
data/data/food_trends.txt
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
#source http://content.time.com/time/specials/packages/completelist/0,29569,2035319,00.html
|
2
|
-
The New Naturalism
|
3
|
-
Locavores Gone Wild!
|
4
|
-
Lardcore
|
5
|
-
Fast-Food Dada
|
6
|
-
Pop-Up Restaurants
|
7
|
-
The Culinary Hive Mind
|
8
|
-
Dude Food
|
9
|
-
Third-Wave Coffee
|
10
|
-
It's in the Bag
|
11
|
-
Black Market, White Milk
|
data/test/listof.rb
DELETED
@@ -1,12 +0,0 @@
|
|
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
|
-
|
8
|
-
puts Listof.all().to_yaml
|
9
|
-
# puts Listof.find("alphabets").to_yaml
|
10
|
-
alphabets = Listof.find("alphabets")
|
11
|
-
# puts alphabets['source']
|
12
|
-
# puts alphabets['image']
|