randomuser-local-rails 0.4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +34 -0
- data/app/assets/images/randomuser_local/portraits/men/0.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/1.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/10.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/11.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/12.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/13.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/14.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/15.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/16.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/17.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/18.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/19.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/2.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/20.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/21.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/22.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/23.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/24.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/25.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/26.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/27.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/28.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/29.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/3.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/30.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/31.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/32.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/33.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/34.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/35.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/36.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/37.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/38.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/39.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/4.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/40.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/41.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/42.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/43.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/44.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/45.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/46.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/47.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/48.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/49.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/5.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/50.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/51.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/52.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/53.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/54.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/55.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/56.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/57.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/58.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/59.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/6.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/60.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/61.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/62.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/63.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/64.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/65.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/66.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/67.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/68.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/69.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/7.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/70.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/71.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/72.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/73.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/74.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/75.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/76.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/77.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/78.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/79.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/8.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/80.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/81.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/82.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/83.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/84.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/85.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/86.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/87.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/88.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/89.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/9.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/90.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/91.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/92.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/93.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/94.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/95.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/96.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/97.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/98.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/men/99.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/0.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/1.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/10.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/11.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/12.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/13.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/14.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/15.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/16.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/17.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/18.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/19.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/2.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/20.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/21.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/22.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/23.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/24.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/25.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/26.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/27.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/28.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/29.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/3.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/30.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/31.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/32.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/33.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/34.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/35.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/36.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/37.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/38.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/39.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/4.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/40.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/41.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/42.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/43.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/44.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/45.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/46.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/47.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/48.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/49.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/5.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/50.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/51.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/52.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/53.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/54.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/55.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/56.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/57.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/58.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/59.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/6.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/60.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/61.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/62.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/63.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/64.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/65.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/66.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/67.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/68.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/69.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/7.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/70.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/71.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/72.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/73.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/74.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/75.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/76.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/77.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/78.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/79.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/8.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/80.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/81.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/82.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/83.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/84.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/85.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/86.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/87.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/88.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/89.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/9.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/90.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/91.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/92.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/93.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/94.jpg +0 -0
- data/app/assets/images/randomuser_local/portraits/women/95.jpg +0 -0
- data/config/routes.rb +2 -0
- data/lib/randomuser_local.rb +59 -0
- data/lib/randomuser_local/data/US/city_names.txt +142 -0
- data/lib/randomuser_local/data/US/female_first_names.txt +332 -0
- data/lib/randomuser_local/data/US/last_names.txt +303 -0
- data/lib/randomuser_local/data/US/male_first_names.txt +332 -0
- data/lib/randomuser_local/data/US/phone.txt +2 -0
- data/lib/randomuser_local/data/US/states.txt +50 -0
- data/lib/randomuser_local/data/US/street_names.txt +100 -0
- data/lib/randomuser_local/data/general/README.md +1 -0
- data/lib/randomuser_local/data/general/passwords.txt +7766 -0
- data/lib/randomuser_local/data/general/username_part_1.txt +20 -0
- data/lib/randomuser_local/data/general/username_part_2.txt +25 -0
- data/lib/randomuser_local/engine.rb +4 -0
- data/lib/randomuser_local/version.rb +3 -0
- data/lib/tasks/randomuser_local_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +82 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +562 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/093a242df49c18f4101cce9c2506aba9 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c28925e476eb0b661548aea1e645a495 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c7d1bdfc4a81f56f39e08eb800015cd2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dc8c2fe7cf7ca4544c171d92532a34e0 +0 -0
- data/test/integration/navigation_test.rb +16 -0
- data/test/randomuser_local_test.rb +47 -0
- data/test/test_helper.rb +15 -0
- metadata +371 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class NavigationTest < ActionDispatch::IntegrationTest
|
4
|
+
|
5
|
+
test "male headshots are served with the asset pipeline" do
|
6
|
+
get "/assets/randomuser_local/portraits/men/9.jpg"
|
7
|
+
assert_response :success
|
8
|
+
end
|
9
|
+
|
10
|
+
test "female headshots are served with the asset pipeline" do
|
11
|
+
get "/assets/randomuser_local/portraits/women/9.jpg"
|
12
|
+
assert_response :success
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'minitest/autorun'
|
3
|
+
|
4
|
+
describe RandomuserLocal do
|
5
|
+
|
6
|
+
describe '#generate' do
|
7
|
+
|
8
|
+
describe 'with no arguments' do
|
9
|
+
|
10
|
+
let(:user) { RandomuserLocal.generate }
|
11
|
+
|
12
|
+
it 'returns a user hash' do
|
13
|
+
user.is_a?(Hash).must_equal true
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'when passed a number' do
|
19
|
+
it 'returns an array of user hashes' do
|
20
|
+
users = RandomuserLocal.generate(3)
|
21
|
+
users.is_a?(Array).must_equal true
|
22
|
+
users.count.must_equal 3
|
23
|
+
users.first.is_a?(Hash).must_equal true
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
describe '#generate_female' do
|
30
|
+
let(:user) { RandomuserLocal.generate_female }
|
31
|
+
|
32
|
+
it 'returns a female headshot path' do
|
33
|
+
user[:picture].must_match /^\/assets\/randomuser_local\/portraits\/women/
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
|
38
|
+
describe '#generate_male' do
|
39
|
+
let(:user) { RandomuserLocal.generate_male }
|
40
|
+
|
41
|
+
it 'returns a male headshot path' do
|
42
|
+
user[:picture].must_match /^\/assets\/randomuser_local\/portraits\/men/
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,371 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: randomuser-local-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Henry Poydar
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.1.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.1.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
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
|
+
description:
|
42
|
+
email:
|
43
|
+
- hpoydar@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- MIT-LICENSE
|
49
|
+
- Rakefile
|
50
|
+
- app/assets/images/randomuser_local/portraits/men/0.jpg
|
51
|
+
- app/assets/images/randomuser_local/portraits/men/1.jpg
|
52
|
+
- app/assets/images/randomuser_local/portraits/men/10.jpg
|
53
|
+
- app/assets/images/randomuser_local/portraits/men/11.jpg
|
54
|
+
- app/assets/images/randomuser_local/portraits/men/12.jpg
|
55
|
+
- app/assets/images/randomuser_local/portraits/men/13.jpg
|
56
|
+
- app/assets/images/randomuser_local/portraits/men/14.jpg
|
57
|
+
- app/assets/images/randomuser_local/portraits/men/15.jpg
|
58
|
+
- app/assets/images/randomuser_local/portraits/men/16.jpg
|
59
|
+
- app/assets/images/randomuser_local/portraits/men/17.jpg
|
60
|
+
- app/assets/images/randomuser_local/portraits/men/18.jpg
|
61
|
+
- app/assets/images/randomuser_local/portraits/men/19.jpg
|
62
|
+
- app/assets/images/randomuser_local/portraits/men/2.jpg
|
63
|
+
- app/assets/images/randomuser_local/portraits/men/20.jpg
|
64
|
+
- app/assets/images/randomuser_local/portraits/men/21.jpg
|
65
|
+
- app/assets/images/randomuser_local/portraits/men/22.jpg
|
66
|
+
- app/assets/images/randomuser_local/portraits/men/23.jpg
|
67
|
+
- app/assets/images/randomuser_local/portraits/men/24.jpg
|
68
|
+
- app/assets/images/randomuser_local/portraits/men/25.jpg
|
69
|
+
- app/assets/images/randomuser_local/portraits/men/26.jpg
|
70
|
+
- app/assets/images/randomuser_local/portraits/men/27.jpg
|
71
|
+
- app/assets/images/randomuser_local/portraits/men/28.jpg
|
72
|
+
- app/assets/images/randomuser_local/portraits/men/29.jpg
|
73
|
+
- app/assets/images/randomuser_local/portraits/men/3.jpg
|
74
|
+
- app/assets/images/randomuser_local/portraits/men/30.jpg
|
75
|
+
- app/assets/images/randomuser_local/portraits/men/31.jpg
|
76
|
+
- app/assets/images/randomuser_local/portraits/men/32.jpg
|
77
|
+
- app/assets/images/randomuser_local/portraits/men/33.jpg
|
78
|
+
- app/assets/images/randomuser_local/portraits/men/34.jpg
|
79
|
+
- app/assets/images/randomuser_local/portraits/men/35.jpg
|
80
|
+
- app/assets/images/randomuser_local/portraits/men/36.jpg
|
81
|
+
- app/assets/images/randomuser_local/portraits/men/37.jpg
|
82
|
+
- app/assets/images/randomuser_local/portraits/men/38.jpg
|
83
|
+
- app/assets/images/randomuser_local/portraits/men/39.jpg
|
84
|
+
- app/assets/images/randomuser_local/portraits/men/4.jpg
|
85
|
+
- app/assets/images/randomuser_local/portraits/men/40.jpg
|
86
|
+
- app/assets/images/randomuser_local/portraits/men/41.jpg
|
87
|
+
- app/assets/images/randomuser_local/portraits/men/42.jpg
|
88
|
+
- app/assets/images/randomuser_local/portraits/men/43.jpg
|
89
|
+
- app/assets/images/randomuser_local/portraits/men/44.jpg
|
90
|
+
- app/assets/images/randomuser_local/portraits/men/45.jpg
|
91
|
+
- app/assets/images/randomuser_local/portraits/men/46.jpg
|
92
|
+
- app/assets/images/randomuser_local/portraits/men/47.jpg
|
93
|
+
- app/assets/images/randomuser_local/portraits/men/48.jpg
|
94
|
+
- app/assets/images/randomuser_local/portraits/men/49.jpg
|
95
|
+
- app/assets/images/randomuser_local/portraits/men/5.jpg
|
96
|
+
- app/assets/images/randomuser_local/portraits/men/50.jpg
|
97
|
+
- app/assets/images/randomuser_local/portraits/men/51.jpg
|
98
|
+
- app/assets/images/randomuser_local/portraits/men/52.jpg
|
99
|
+
- app/assets/images/randomuser_local/portraits/men/53.jpg
|
100
|
+
- app/assets/images/randomuser_local/portraits/men/54.jpg
|
101
|
+
- app/assets/images/randomuser_local/portraits/men/55.jpg
|
102
|
+
- app/assets/images/randomuser_local/portraits/men/56.jpg
|
103
|
+
- app/assets/images/randomuser_local/portraits/men/57.jpg
|
104
|
+
- app/assets/images/randomuser_local/portraits/men/58.jpg
|
105
|
+
- app/assets/images/randomuser_local/portraits/men/59.jpg
|
106
|
+
- app/assets/images/randomuser_local/portraits/men/6.jpg
|
107
|
+
- app/assets/images/randomuser_local/portraits/men/60.jpg
|
108
|
+
- app/assets/images/randomuser_local/portraits/men/61.jpg
|
109
|
+
- app/assets/images/randomuser_local/portraits/men/62.jpg
|
110
|
+
- app/assets/images/randomuser_local/portraits/men/63.jpg
|
111
|
+
- app/assets/images/randomuser_local/portraits/men/64.jpg
|
112
|
+
- app/assets/images/randomuser_local/portraits/men/65.jpg
|
113
|
+
- app/assets/images/randomuser_local/portraits/men/66.jpg
|
114
|
+
- app/assets/images/randomuser_local/portraits/men/67.jpg
|
115
|
+
- app/assets/images/randomuser_local/portraits/men/68.jpg
|
116
|
+
- app/assets/images/randomuser_local/portraits/men/69.jpg
|
117
|
+
- app/assets/images/randomuser_local/portraits/men/7.jpg
|
118
|
+
- app/assets/images/randomuser_local/portraits/men/70.jpg
|
119
|
+
- app/assets/images/randomuser_local/portraits/men/71.jpg
|
120
|
+
- app/assets/images/randomuser_local/portraits/men/72.jpg
|
121
|
+
- app/assets/images/randomuser_local/portraits/men/73.jpg
|
122
|
+
- app/assets/images/randomuser_local/portraits/men/74.jpg
|
123
|
+
- app/assets/images/randomuser_local/portraits/men/75.jpg
|
124
|
+
- app/assets/images/randomuser_local/portraits/men/76.jpg
|
125
|
+
- app/assets/images/randomuser_local/portraits/men/77.jpg
|
126
|
+
- app/assets/images/randomuser_local/portraits/men/78.jpg
|
127
|
+
- app/assets/images/randomuser_local/portraits/men/79.jpg
|
128
|
+
- app/assets/images/randomuser_local/portraits/men/8.jpg
|
129
|
+
- app/assets/images/randomuser_local/portraits/men/80.jpg
|
130
|
+
- app/assets/images/randomuser_local/portraits/men/81.jpg
|
131
|
+
- app/assets/images/randomuser_local/portraits/men/82.jpg
|
132
|
+
- app/assets/images/randomuser_local/portraits/men/83.jpg
|
133
|
+
- app/assets/images/randomuser_local/portraits/men/84.jpg
|
134
|
+
- app/assets/images/randomuser_local/portraits/men/85.jpg
|
135
|
+
- app/assets/images/randomuser_local/portraits/men/86.jpg
|
136
|
+
- app/assets/images/randomuser_local/portraits/men/87.jpg
|
137
|
+
- app/assets/images/randomuser_local/portraits/men/88.jpg
|
138
|
+
- app/assets/images/randomuser_local/portraits/men/89.jpg
|
139
|
+
- app/assets/images/randomuser_local/portraits/men/9.jpg
|
140
|
+
- app/assets/images/randomuser_local/portraits/men/90.jpg
|
141
|
+
- app/assets/images/randomuser_local/portraits/men/91.jpg
|
142
|
+
- app/assets/images/randomuser_local/portraits/men/92.jpg
|
143
|
+
- app/assets/images/randomuser_local/portraits/men/93.jpg
|
144
|
+
- app/assets/images/randomuser_local/portraits/men/94.jpg
|
145
|
+
- app/assets/images/randomuser_local/portraits/men/95.jpg
|
146
|
+
- app/assets/images/randomuser_local/portraits/men/96.jpg
|
147
|
+
- app/assets/images/randomuser_local/portraits/men/97.jpg
|
148
|
+
- app/assets/images/randomuser_local/portraits/men/98.jpg
|
149
|
+
- app/assets/images/randomuser_local/portraits/men/99.jpg
|
150
|
+
- app/assets/images/randomuser_local/portraits/women/0.jpg
|
151
|
+
- app/assets/images/randomuser_local/portraits/women/1.jpg
|
152
|
+
- app/assets/images/randomuser_local/portraits/women/10.jpg
|
153
|
+
- app/assets/images/randomuser_local/portraits/women/11.jpg
|
154
|
+
- app/assets/images/randomuser_local/portraits/women/12.jpg
|
155
|
+
- app/assets/images/randomuser_local/portraits/women/13.jpg
|
156
|
+
- app/assets/images/randomuser_local/portraits/women/14.jpg
|
157
|
+
- app/assets/images/randomuser_local/portraits/women/15.jpg
|
158
|
+
- app/assets/images/randomuser_local/portraits/women/16.jpg
|
159
|
+
- app/assets/images/randomuser_local/portraits/women/17.jpg
|
160
|
+
- app/assets/images/randomuser_local/portraits/women/18.jpg
|
161
|
+
- app/assets/images/randomuser_local/portraits/women/19.jpg
|
162
|
+
- app/assets/images/randomuser_local/portraits/women/2.jpg
|
163
|
+
- app/assets/images/randomuser_local/portraits/women/20.jpg
|
164
|
+
- app/assets/images/randomuser_local/portraits/women/21.jpg
|
165
|
+
- app/assets/images/randomuser_local/portraits/women/22.jpg
|
166
|
+
- app/assets/images/randomuser_local/portraits/women/23.jpg
|
167
|
+
- app/assets/images/randomuser_local/portraits/women/24.jpg
|
168
|
+
- app/assets/images/randomuser_local/portraits/women/25.jpg
|
169
|
+
- app/assets/images/randomuser_local/portraits/women/26.jpg
|
170
|
+
- app/assets/images/randomuser_local/portraits/women/27.jpg
|
171
|
+
- app/assets/images/randomuser_local/portraits/women/28.jpg
|
172
|
+
- app/assets/images/randomuser_local/portraits/women/29.jpg
|
173
|
+
- app/assets/images/randomuser_local/portraits/women/3.jpg
|
174
|
+
- app/assets/images/randomuser_local/portraits/women/30.jpg
|
175
|
+
- app/assets/images/randomuser_local/portraits/women/31.jpg
|
176
|
+
- app/assets/images/randomuser_local/portraits/women/32.jpg
|
177
|
+
- app/assets/images/randomuser_local/portraits/women/33.jpg
|
178
|
+
- app/assets/images/randomuser_local/portraits/women/34.jpg
|
179
|
+
- app/assets/images/randomuser_local/portraits/women/35.jpg
|
180
|
+
- app/assets/images/randomuser_local/portraits/women/36.jpg
|
181
|
+
- app/assets/images/randomuser_local/portraits/women/37.jpg
|
182
|
+
- app/assets/images/randomuser_local/portraits/women/38.jpg
|
183
|
+
- app/assets/images/randomuser_local/portraits/women/39.jpg
|
184
|
+
- app/assets/images/randomuser_local/portraits/women/4.jpg
|
185
|
+
- app/assets/images/randomuser_local/portraits/women/40.jpg
|
186
|
+
- app/assets/images/randomuser_local/portraits/women/41.jpg
|
187
|
+
- app/assets/images/randomuser_local/portraits/women/42.jpg
|
188
|
+
- app/assets/images/randomuser_local/portraits/women/43.jpg
|
189
|
+
- app/assets/images/randomuser_local/portraits/women/44.jpg
|
190
|
+
- app/assets/images/randomuser_local/portraits/women/45.jpg
|
191
|
+
- app/assets/images/randomuser_local/portraits/women/46.jpg
|
192
|
+
- app/assets/images/randomuser_local/portraits/women/47.jpg
|
193
|
+
- app/assets/images/randomuser_local/portraits/women/48.jpg
|
194
|
+
- app/assets/images/randomuser_local/portraits/women/49.jpg
|
195
|
+
- app/assets/images/randomuser_local/portraits/women/5.jpg
|
196
|
+
- app/assets/images/randomuser_local/portraits/women/50.jpg
|
197
|
+
- app/assets/images/randomuser_local/portraits/women/51.jpg
|
198
|
+
- app/assets/images/randomuser_local/portraits/women/52.jpg
|
199
|
+
- app/assets/images/randomuser_local/portraits/women/53.jpg
|
200
|
+
- app/assets/images/randomuser_local/portraits/women/54.jpg
|
201
|
+
- app/assets/images/randomuser_local/portraits/women/55.jpg
|
202
|
+
- app/assets/images/randomuser_local/portraits/women/56.jpg
|
203
|
+
- app/assets/images/randomuser_local/portraits/women/57.jpg
|
204
|
+
- app/assets/images/randomuser_local/portraits/women/58.jpg
|
205
|
+
- app/assets/images/randomuser_local/portraits/women/59.jpg
|
206
|
+
- app/assets/images/randomuser_local/portraits/women/6.jpg
|
207
|
+
- app/assets/images/randomuser_local/portraits/women/60.jpg
|
208
|
+
- app/assets/images/randomuser_local/portraits/women/61.jpg
|
209
|
+
- app/assets/images/randomuser_local/portraits/women/62.jpg
|
210
|
+
- app/assets/images/randomuser_local/portraits/women/63.jpg
|
211
|
+
- app/assets/images/randomuser_local/portraits/women/64.jpg
|
212
|
+
- app/assets/images/randomuser_local/portraits/women/65.jpg
|
213
|
+
- app/assets/images/randomuser_local/portraits/women/66.jpg
|
214
|
+
- app/assets/images/randomuser_local/portraits/women/67.jpg
|
215
|
+
- app/assets/images/randomuser_local/portraits/women/68.jpg
|
216
|
+
- app/assets/images/randomuser_local/portraits/women/69.jpg
|
217
|
+
- app/assets/images/randomuser_local/portraits/women/7.jpg
|
218
|
+
- app/assets/images/randomuser_local/portraits/women/70.jpg
|
219
|
+
- app/assets/images/randomuser_local/portraits/women/71.jpg
|
220
|
+
- app/assets/images/randomuser_local/portraits/women/72.jpg
|
221
|
+
- app/assets/images/randomuser_local/portraits/women/73.jpg
|
222
|
+
- app/assets/images/randomuser_local/portraits/women/74.jpg
|
223
|
+
- app/assets/images/randomuser_local/portraits/women/75.jpg
|
224
|
+
- app/assets/images/randomuser_local/portraits/women/76.jpg
|
225
|
+
- app/assets/images/randomuser_local/portraits/women/77.jpg
|
226
|
+
- app/assets/images/randomuser_local/portraits/women/78.jpg
|
227
|
+
- app/assets/images/randomuser_local/portraits/women/79.jpg
|
228
|
+
- app/assets/images/randomuser_local/portraits/women/8.jpg
|
229
|
+
- app/assets/images/randomuser_local/portraits/women/80.jpg
|
230
|
+
- app/assets/images/randomuser_local/portraits/women/81.jpg
|
231
|
+
- app/assets/images/randomuser_local/portraits/women/82.jpg
|
232
|
+
- app/assets/images/randomuser_local/portraits/women/83.jpg
|
233
|
+
- app/assets/images/randomuser_local/portraits/women/84.jpg
|
234
|
+
- app/assets/images/randomuser_local/portraits/women/85.jpg
|
235
|
+
- app/assets/images/randomuser_local/portraits/women/86.jpg
|
236
|
+
- app/assets/images/randomuser_local/portraits/women/87.jpg
|
237
|
+
- app/assets/images/randomuser_local/portraits/women/88.jpg
|
238
|
+
- app/assets/images/randomuser_local/portraits/women/89.jpg
|
239
|
+
- app/assets/images/randomuser_local/portraits/women/9.jpg
|
240
|
+
- app/assets/images/randomuser_local/portraits/women/90.jpg
|
241
|
+
- app/assets/images/randomuser_local/portraits/women/91.jpg
|
242
|
+
- app/assets/images/randomuser_local/portraits/women/92.jpg
|
243
|
+
- app/assets/images/randomuser_local/portraits/women/93.jpg
|
244
|
+
- app/assets/images/randomuser_local/portraits/women/94.jpg
|
245
|
+
- app/assets/images/randomuser_local/portraits/women/95.jpg
|
246
|
+
- config/routes.rb
|
247
|
+
- lib/randomuser_local.rb
|
248
|
+
- lib/randomuser_local/data/US/city_names.txt
|
249
|
+
- lib/randomuser_local/data/US/female_first_names.txt
|
250
|
+
- lib/randomuser_local/data/US/last_names.txt
|
251
|
+
- lib/randomuser_local/data/US/male_first_names.txt
|
252
|
+
- lib/randomuser_local/data/US/phone.txt
|
253
|
+
- lib/randomuser_local/data/US/states.txt
|
254
|
+
- lib/randomuser_local/data/US/street_names.txt
|
255
|
+
- lib/randomuser_local/data/general/README.md
|
256
|
+
- lib/randomuser_local/data/general/passwords.txt
|
257
|
+
- lib/randomuser_local/data/general/username_part_1.txt
|
258
|
+
- lib/randomuser_local/data/general/username_part_2.txt
|
259
|
+
- lib/randomuser_local/engine.rb
|
260
|
+
- lib/randomuser_local/version.rb
|
261
|
+
- lib/tasks/randomuser_local_tasks.rake
|
262
|
+
- test/dummy/README.rdoc
|
263
|
+
- test/dummy/Rakefile
|
264
|
+
- test/dummy/app/assets/javascripts/application.js
|
265
|
+
- test/dummy/app/assets/stylesheets/application.css
|
266
|
+
- test/dummy/app/controllers/application_controller.rb
|
267
|
+
- test/dummy/app/helpers/application_helper.rb
|
268
|
+
- test/dummy/app/views/layouts/application.html.erb
|
269
|
+
- test/dummy/bin/bundle
|
270
|
+
- test/dummy/bin/rails
|
271
|
+
- test/dummy/bin/rake
|
272
|
+
- test/dummy/config.ru
|
273
|
+
- test/dummy/config/application.rb
|
274
|
+
- test/dummy/config/boot.rb
|
275
|
+
- test/dummy/config/database.yml
|
276
|
+
- test/dummy/config/environment.rb
|
277
|
+
- test/dummy/config/environments/development.rb
|
278
|
+
- test/dummy/config/environments/production.rb
|
279
|
+
- test/dummy/config/environments/test.rb
|
280
|
+
- test/dummy/config/initializers/assets.rb
|
281
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
282
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
283
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
284
|
+
- test/dummy/config/initializers/inflections.rb
|
285
|
+
- test/dummy/config/initializers/mime_types.rb
|
286
|
+
- test/dummy/config/initializers/session_store.rb
|
287
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
288
|
+
- test/dummy/config/locales/en.yml
|
289
|
+
- test/dummy/config/routes.rb
|
290
|
+
- test/dummy/config/secrets.yml
|
291
|
+
- test/dummy/db/test.sqlite3
|
292
|
+
- test/dummy/log/test.log
|
293
|
+
- test/dummy/public/404.html
|
294
|
+
- test/dummy/public/422.html
|
295
|
+
- test/dummy/public/500.html
|
296
|
+
- test/dummy/public/favicon.ico
|
297
|
+
- test/dummy/tmp/cache/assets/test/sprockets/093a242df49c18f4101cce9c2506aba9
|
298
|
+
- test/dummy/tmp/cache/assets/test/sprockets/c28925e476eb0b661548aea1e645a495
|
299
|
+
- test/dummy/tmp/cache/assets/test/sprockets/c7d1bdfc4a81f56f39e08eb800015cd2
|
300
|
+
- test/dummy/tmp/cache/assets/test/sprockets/dc8c2fe7cf7ca4544c171d92532a34e0
|
301
|
+
- test/integration/navigation_test.rb
|
302
|
+
- test/randomuser_local_test.rb
|
303
|
+
- test/test_helper.rb
|
304
|
+
homepage: https://github.com/hpoydar/randomuser-local-rails
|
305
|
+
licenses:
|
306
|
+
- MIT
|
307
|
+
metadata: {}
|
308
|
+
post_install_message:
|
309
|
+
rdoc_options: []
|
310
|
+
require_paths:
|
311
|
+
- lib
|
312
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
313
|
+
requirements:
|
314
|
+
- - ">="
|
315
|
+
- !ruby/object:Gem::Version
|
316
|
+
version: '0'
|
317
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
318
|
+
requirements:
|
319
|
+
- - ">="
|
320
|
+
- !ruby/object:Gem::Version
|
321
|
+
version: '0'
|
322
|
+
requirements: []
|
323
|
+
rubyforge_project:
|
324
|
+
rubygems_version: 2.2.2
|
325
|
+
signing_key:
|
326
|
+
specification_version: 4
|
327
|
+
summary: Provides most of the functionality of http://api.randomuser.me without an
|
328
|
+
external API call for Rails applications
|
329
|
+
test_files:
|
330
|
+
- test/dummy/app/assets/javascripts/application.js
|
331
|
+
- test/dummy/app/assets/stylesheets/application.css
|
332
|
+
- test/dummy/app/controllers/application_controller.rb
|
333
|
+
- test/dummy/app/helpers/application_helper.rb
|
334
|
+
- test/dummy/app/views/layouts/application.html.erb
|
335
|
+
- test/dummy/bin/bundle
|
336
|
+
- test/dummy/bin/rails
|
337
|
+
- test/dummy/bin/rake
|
338
|
+
- test/dummy/config/application.rb
|
339
|
+
- test/dummy/config/boot.rb
|
340
|
+
- test/dummy/config/database.yml
|
341
|
+
- test/dummy/config/environment.rb
|
342
|
+
- test/dummy/config/environments/development.rb
|
343
|
+
- test/dummy/config/environments/production.rb
|
344
|
+
- test/dummy/config/environments/test.rb
|
345
|
+
- test/dummy/config/initializers/assets.rb
|
346
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
347
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
348
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
349
|
+
- test/dummy/config/initializers/inflections.rb
|
350
|
+
- test/dummy/config/initializers/mime_types.rb
|
351
|
+
- test/dummy/config/initializers/session_store.rb
|
352
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
353
|
+
- test/dummy/config/locales/en.yml
|
354
|
+
- test/dummy/config/routes.rb
|
355
|
+
- test/dummy/config/secrets.yml
|
356
|
+
- test/dummy/config.ru
|
357
|
+
- test/dummy/db/test.sqlite3
|
358
|
+
- test/dummy/log/test.log
|
359
|
+
- test/dummy/public/404.html
|
360
|
+
- test/dummy/public/422.html
|
361
|
+
- test/dummy/public/500.html
|
362
|
+
- test/dummy/public/favicon.ico
|
363
|
+
- test/dummy/Rakefile
|
364
|
+
- test/dummy/README.rdoc
|
365
|
+
- test/dummy/tmp/cache/assets/test/sprockets/093a242df49c18f4101cce9c2506aba9
|
366
|
+
- test/dummy/tmp/cache/assets/test/sprockets/c28925e476eb0b661548aea1e645a495
|
367
|
+
- test/dummy/tmp/cache/assets/test/sprockets/c7d1bdfc4a81f56f39e08eb800015cd2
|
368
|
+
- test/dummy/tmp/cache/assets/test/sprockets/dc8c2fe7cf7ca4544c171d92532a34e0
|
369
|
+
- test/integration/navigation_test.rb
|
370
|
+
- test/randomuser_local_test.rb
|
371
|
+
- test/test_helper.rb
|