librails 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +28 -0
- data/Rakefile +5 -34
- data/app/assets/config/librails_manifest.js +1 -0
- data/app/assets/stylesheets/librails/application.css +3 -3
- data/app/controllers/librails/application_controller.rb +0 -1
- data/app/jobs/librails/application_job.rb +4 -0
- data/app/mailers/librails/application_mailer.rb +6 -0
- data/app/models/librails/application_record.rb +5 -0
- data/app/views/layouts/librails/application.html.erb +3 -2
- data/lib/librails/version.rb +1 -1
- data/lib/librails.rb +2 -1
- metadata +17 -288
- data/app/assets/javascripts/librails/application.js +0 -13
- data/app/helpers/librails/db_utils.rb +0 -5
- data/app/models/librails/form_param.rb +0 -15
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/Rakefile +0 -6
- data/test/dummy/app/assets/javascripts/application.js +0 -13
- data/test/dummy/app/assets/javascripts/books.js +0 -2
- data/test/dummy/app/assets/stylesheets/application.css +0 -15
- data/test/dummy/app/assets/stylesheets/books.css +0 -4
- data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/controllers/books_controller.rb +0 -58
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/helpers/books_helper.rb +0 -2
- data/test/dummy/app/models/book.rb +0 -2
- data/test/dummy/app/views/books/_form.html.erb +0 -29
- data/test/dummy/app/views/books/edit.html.erb +0 -6
- data/test/dummy/app/views/books/index.html.erb +0 -31
- data/test/dummy/app/views/books/new.html.erb +0 -5
- data/test/dummy/app/views/books/show.html.erb +0 -19
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/bin/setup +0 -29
- data/test/dummy/config/application.rb +0 -26
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -41
- data/test/dummy/config/environments/production.rb +0 -79
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/inflections.rb +0 -16
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -23
- data/test/dummy/config/routes.rb +0 -5
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/config.ru +0 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20161025052813_create_books.rb +0 -11
- data/test/dummy/db/schema.rb +0 -24
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -125
- data/test/dummy/log/test.log +0 -929
- data/test/dummy/public/404.html +0 -67
- data/test/dummy/public/422.html +0 -67
- data/test/dummy/public/500.html +0 -66
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-a/-a5ntVe_0-JosKC_U-LV0kALRyUIgn03H0eVSdQ8pAo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2x/2xVmM6jHrzDyP1lp_LjSNgXh8HYZQ7UMeLoN7wQO2uM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4J/4JwVVgJQeLQmk-x6jORqWPEH5TYtWgMF-4GJupuMreM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4P/4Po6Zxf1klgk64Tw6mYOWnTGXYt4fqfrgbM_aUJwGpw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4Q/4Qo2DjyziGCKkz1oJV2GVlh8wX1CcV8pAS46Q7Qm7hI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/98/98JB3RlDHR57hBl-xqETG_I6j8A_Nq0odiAq7v00Myk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9h/9hWcOzybQOFoTeNjwVlrLZ5CFSgHv2mFQz1iT7DZsAM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9l/9lRpyWJfT2I3m8gijV7lkjQFoXhOKRq-qrktmY8jwqQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9y/9y8VxpdidE2YHBhtV16bnLrhPEyaw00uRH9rGQrGiYo.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/AN/ANELt8DAvX3T4rWiL73ZyAs9akz2xqaJ8oSTkjC8F4E.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/B0/B0yDuvt2bL4_VgHHUwn0DSCgUg_Ubj4YjHffaiGCAL0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/CU/CUUNfrG7P9ppFhzKGMMhyineSvfddDpmm193O8hqWn8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gr/Gr9XYAo8GbcW54Sm4tf2EnAzEUrmUcF3x29iJGtBs-A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/H4/H4oToPWSBBLRPAut47gvhtagG-ZlAjMvULFS1IlsDSQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HB/HB4_lJeXGMv1qlxwZfwDD0DQt9v9D3uJfs5M8Kgu3iw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HE/HEA-bEdudX8qzqty72VsU6YCvuJV2OkyzRXpsXLoxFA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HV/HVshoeO2Vki70_9KjCtwERcw7ODKGOGVYYDQIANp2UM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3W61RA7E9U8gY3VOReLJalzQzVrSopciuNv6qcYmng.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ic/IcuhBgC-nw3u2yhN8hnjRD6Qmzw3DbcuIBUqovrS6Hc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JS/JSjnVos6CVam_6IKJcXZEgVG5kHcAauxq-yHnTn4mxE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ki/KifnWePy2kuI6EoY35NBONt3SPPPXzXWFUzy7YS0AXg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ld/LdOU9kh2e1UyWAH9vMD_vrJTydu8vLyj9RZRdtWZJJE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ms/MsWDjQABzh2_2l9wZzvXwvwaDXCKRqC_CHFqwpF3vfA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NP/NPTKYje_vsxbdQIwHZm4GQ9ctgNfDx_dGpmUY09mUQw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oo/OopMIscaD_StAXIYnIlx8woMEjgZf2uDXh17312pc5w.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZM2O0pn21R_wlGR30OX0pQ4-zThf7ZxUhXihEKAcxM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q0/Q0pvcN-Uyq45X4gQ1IIsx2hW2l933XYAVm66Lt-CcMg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QY4eYMS1Fh5SL6cZCo_OpPSZGx9e7vjDlEpwXT0AaRI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Un/Un1edWzWIIMQo9Q1V4Y3p58MSmZMO3ccQIABeCzt-es.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/WJ/WJndgy_O4Z4_vIJzVJV49Oj7pXcrXAM2WToimOqHi94.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBmLL8rNkJ9wDjR63wHcnw4HPQ2zc4_sUHBnCwCHmV8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YO/YOQwG9qoTCWsQaEUYqC2eU6VMwJ8eY5az9PWEg0YBVY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YZ/YZ5lr9CWjxm17X4Z6whrpsqGepK7FMkaMYke2pZeJkY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z0/Z0v-Clv1RmCtHcZgsHm2Efklg2cOj1_vvXGxSZJYGmU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9CMcRWEr_aXxa0Z54LL_mihjvWtKKhXEkjYUf1jbYg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/az/azSFX09wOk1dDEk1xyUuhOvndGRfhAQw7X3bhVUvbqk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4wesegfvp3YOFFSsjDTtaqlTJT4wu9TEQwmOabiGBE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/di/diq4wNwLuxlJAo-1sx9AH3-mub_Z63HbEaidoP-u9LQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dj/djpYduQfWsseWdaOi5NPjqzRTg-mdM1AuAl5fgbfRLI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dv/dvTANT0eJS1VHnH7LFBvahPvuDEVWCsoCxbVYEyZhzs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ek/ek29x0Bv7htoVKBJsvqHHHd4qD1hqohET5SJ3GHUe3c.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gI/gIcGEFwVb02r2Kvp4JojiRH9FmhmT2W3zpbokUikgTM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jR/jRlfgMuDhdJ9DeARm8C34EzijHiSAEZi9IumOi8d8co.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/je/jeF02OPMeSNXwtMncDIYKtOsYCK80N9cMVBag1DQcTU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jy/jyTlR0GRNS7XsvnoGBrqht7VoF8JHgPAhzzlPSI38Lg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kf/kff_5LRygUIEBDA1u6MXzK09UFf90uCaOsLtaBgyGUQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ll/lllxIh8TmYST5iT3pMMqEiiW2kVnV46e8apjHYV4NwQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/lt/ltZ12Hb1MIwQ_x5JJ3RSyPYvs7uKQ6sobTXErisPSIo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4PDLvfn6lwFaBlngbSJXSB_eLt6iyL5y4mX1QPdp40.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nF/nFDSlhA0quhrqhaq_7tpg8xL130zYnfh0fSgdoKjyxs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/om/omT5fdYWQly0TYwKCjLTSkd4KnkiW3DBI7u_9iwQujM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pV/pVjei3DOBfiSnjFhJoxc5fnuoqkyxSZXVaXL-PtQOnM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qom3M3JruFGz9uj1CmP-jbPFnMOFh2r2KESBsGzKqSQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rA/rAUGcozHSiZ93hwuQ5Ez0-DFNvpIp1pMSFzJDL6j5t0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rG/rGuMNcIUBp03kbJ6EzyYnC3CRj5goxzKZBmJYdmHAZQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sU/sU3oqz4lk5ZBEidbxhSyI-aEf0xo5cuP8154BPYzRSQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sZ/sZS3zy1fxZQjAPA_1FJ3AowfYeZce2J_6g44pGwLUm0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sj16ZRag8S_gxUTofHpRMDlBfQtRrkOCTHE4XkpqTIw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/so/sor5uSsm2pcLDkIB_nEyeFtyH3H9JfHraQ06BUgKQDI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tO/tOhfPNHfUCZMMbxsrZ8QFkHIS4Kvl5n2uOQFyrtP8sg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vA/vASpagKbFH0ZvwZExZpP6xUozv_LZDLv2ChvkXLH9bM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vG/vGFQZSHgo_Z1jtdt-4UDi4Cq_rLRNs3NgVSnCC-00tk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtPqYC4VZKO69pxoohTrsnCI_qisEoAEF_0a0cchBOs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xw-pJ8PwbGRKiqJ9PyoPiRt1qJ2tGDRaVKQr5L83M24.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/zh/zhG0AnNGbV5bRFlZI647Ycb4OP62cNjN9sCGP2XSmLY.cache +0 -0
- data/test/fixtures/books.yml +0 -11
- data/test/integration/books_controller_test.rb +0 -51
- data/test/integration/navigation_test.rb +0 -8
- data/test/lib/librails_test.rb +0 -18
- data/test/lib/misc_utils_test.rb +0 -8
- data/test/lib/model_utils_test.rb +0 -62
- data/test/models/book_test.rb +0 -8
- data/test/test_helper.rb +0 -21
data/test/dummy/public/404.html
DELETED
@@ -1,67 +0,0 @@
|
|
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>
|
data/test/dummy/public/422.html
DELETED
@@ -1,67 +0,0 @@
|
|
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>
|
data/test/dummy/public/500.html
DELETED
@@ -1,66 +0,0 @@
|
|
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
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/-a/-a5ntVe_0-JosKC_U-LV0kALRyUIgn03H0eVSdQ8pAo.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/books.css?type=text/css&pipeline=self&id=6ddb9baaa5e73c80478780d4446ccc131dfaa3134da1a947c02569887e560515:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/2x/2xVmM6jHrzDyP1lp_LjSNgXh8HYZQ7UMeLoN7wQO2uM.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=7fbf6269d9c881cd9ada2c139333c6130fe9c49e9bd23c90de583f3ff2b1b8fa:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/4J/4JwVVgJQeLQmk-x6jORqWPEH5TYtWgMF-4GJupuMreM.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/4P/4Po6Zxf1klgk64Tw6mYOWnTGXYt4fqfrgbM_aUJwGpw.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/4Q/4Qo2DjyziGCKkz1oJV2GVlh8wX1CcV8pAS46Q7Qm7hI.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/98/98JB3RlDHR57hBl-xqETG_I6j8A_Nq0odiAq7v00Myk.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=fb9b4cfd49b685bf84cfaf0706aa3668a43bf1a510888eda25a1b2670737122b:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/9h/9hWcOzybQOFoTeNjwVlrLZ5CFSgHv2mFQz1iT7DZsAM.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/9l/9lRpyWJfT2I3m8gijV7lkjQFoXhOKRq-qrktmY8jwqQ.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/javascripts/librails/application.js?type=application/javascript&id=552e04581ff8b673d89f8e69af4032a9d279702b04d6a9ce8e36ca8431412fd1:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/AN/ANELt8DAvX3T4rWiL73ZyAs9akz2xqaJ8oSTkjC8F4E.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/B0/B0yDuvt2bL4_VgHHUwn0DSCgUg_Ubj4YjHffaiGCAL0.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/CU/CUUNfrG7P9ppFhzKGMMhyineSvfddDpmm193O8hqWn8.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%Ѱč@�����6H�uZoX�Z�gbh0W��V
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"?processors:type=text/css&file_type=text/css&pipeline=debug;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"3file-digest://app/assets/stylesheets/books.css;TTI"6file-digest://app/assets/stylesheets/scaffold.css;TTI")file-digest://app/assets/stylesheets;TTF
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gr/Gr9XYAo8GbcW54Sm4tf2EnAzEUrmUcF3x29iJGtBs-A.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/H4/H4oToPWSBBLRPAut47gvhtagG-ZlAjMvULFS1IlsDSQ.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/javascripts/librails/application.js?type=application/javascript&pipeline=self&id=e2734fc48d01bc3dd133443856c5f095a8e53a9cf7b283e2c825f2623532a5d2:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/HB/HB4_lJeXGMv1qlxwZfwDD0DQt9v9D3uJfs5M8Kgu3iw.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/HE/HEA-bEdudX8qzqty72VsU6YCvuJV2OkyzRXpsXLoxFA.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/HV/HVshoeO2Vki70_9KjCtwERcw7ODKGOGVYYDQIANp2UM.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3W61RA7E9U8gY3VOReLJalzQzVrSopciuNv6qcYmng.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ic/IcuhBgC-nw3u2yhN8hnjRD6Qmzw3DbcuIBUqovrS6Hc.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/JS/JSjnVos6CVam_6IKJcXZEgVG5kHcAauxq-yHnTn4mxE.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=b4da165c597cad3ea80cf8599e348de788168f70ec54b3cf5138b0e9df7ea3e5:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ki/KifnWePy2kuI6EoY35NBONt3SPPPXzXWFUzy7YS0AXg.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/stylesheets/librails/application.css?type=text/css&id=3f1f324302d469758e637926398f9f44698efa1f5f9b60b3455cf6f314477786:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ld/LdOU9kh2e1UyWAH9vMD_vrJTydu8vLyj9RZRdtWZJJE.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=debug&id=444ff6b0f6fab3f99882d114c1853b5060ec69a3534f2e74f40f887e1f4c6b0b:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ms/MsWDjQABzh2_2l9wZzvXwvwaDXCKRqC_CHFqwpF3vfA.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&id=b656d0aa0340510070ec3e8abde492e6b822bb93799f02d2bcfa6847511f520b:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/NP/NPTKYje_vsxbdQIwHZm4GQ9ctgNfDx_dGpmUY09mUQw.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oo/OopMIscaD_StAXIYnIlx8woMEjgZf2uDXh17312pc5w.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/stylesheets/librails/application.css?type=text/css&id=21b87b5f10b272e6d0a3c06bf88e5eb1877d496401e3dc2a8f71eead3b60b242:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/PZ/PZM2O0pn21R_wlGR30OX0pQ4-zThf7ZxUhXihEKAcxM.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/books.js?type=application/javascript&pipeline=self&id=208a588def0a6037b3aabaac779723acc13348c03e587396313ec5f2f25e5e1a:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q0/Q0pvcN-Uyq45X4gQ1IIsx2hW2l933XYAVm66Lt-CcMg.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/QY/QY4eYMS1Fh5SL6cZCo_OpPSZGx9e7vjDlEpwXT0AaRI.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%Ѱč@�����6H�uZoX�Z�gbh0W��V
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Un/Un1edWzWIIMQo9Q1V4Y3p58MSmZMO3ccQIABeCzt-es.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%�/�h�!`�绩�ܠ,�����u2��7E@�s�
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/WJ/WJndgy_O4Z4_vIJzVJV49Oj7pXcrXAM2WToimOqHi94.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBmLL8rNkJ9wDjR63wHcnw4HPQ2zc4_sUHBnCwCHmV8.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"}app/assets/stylesheets/application.css?type=text/css&id=50bb834b071b476d9d9baa0d909eec2acd08d57d056ad6997115e47798b9f9b8:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/YO/YOQwG9qoTCWsQaEUYqC2eU6VMwJ8eY5az9PWEg0YBVY.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/books.css?type=text/css&pipeline=self&id=a5bf544d4ad32ae8397f63ed51d4388e10163e4656fbece12ef99ec596f02305:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/YZ/YZ5lr9CWjxm17X4Z6whrpsqGepK7FMkaMYke2pZeJkY.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z0/Z0v-Clv1RmCtHcZgsHm2Efklg2cOj1_vvXGxSZJYGmU.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9CMcRWEr_aXxa0Z54LL_mihjvWtKKhXEkjYUf1jbYg.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/az/azSFX09wOk1dDEk1xyUuhOvndGRfhAQw7X3bhVUvbqk.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/c4/c4wesegfvp3YOFFSsjDTtaqlTJT4wu9TEQwmOabiGBE.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/di/diq4wNwLuxlJAo-1sx9AH3-mub_Z63HbEaidoP-u9LQ.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/dj/djpYduQfWsseWdaOi5NPjqzRTg-mdM1AuAl5fgbfRLI.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=9a60075754cf406f0fb5aa43cce9c5b57f79b4cf5bfa8ab7652a7c8257f5de3a:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/dv/dvTANT0eJS1VHnH7LFBvahPvuDEVWCsoCxbVYEyZhzs.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/ek/ek29x0Bv7htoVKBJsvqHHHd4qD1hqohET5SJ3GHUe3c.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/books.js?type=application/javascript&pipeline=self&id=2406b7492b67edca92186495db44b7638731556d409ca004e3a3d716745b9d6a:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/gI/gIcGEFwVb02r2Kvp4JojiRH9FmhmT2W3zpbokUikgTM.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%֧�NTZq�בH�L��#p3��Jg!��)
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/jR/jRlfgMuDhdJ9DeARm8C34EzijHiSAEZi9IumOi8d8co.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/javascripts/librails/application.js?type=application/javascript&pipeline=self&id=f77631f3a32fe4f761d712228a3dd596bdb277047c72e3a7ab2a3ab532051365:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/je/jeF02OPMeSNXwtMncDIYKtOsYCK80N9cMVBag1DQcTU.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/stylesheets/librails/application.css?type=text/css&pipeline=self&id=2669c306996a7f603133ce35435a6c4bbfe75f9b3ed4a3031d7e3e233e647667:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/jy/jyTlR0GRNS7XsvnoGBrqht7VoF8JHgPAhzzlPSI38Lg.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/kf/kff_5LRygUIEBDA1u6MXzK09UFf90uCaOsLtaBgyGUQ.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/ll/lllxIh8TmYST5iT3pMMqEiiW2kVnV46e8apjHYV4NwQ.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/lt/ltZ12Hb1MIwQ_x5JJ3RSyPYvs7uKQ6sobTXErisPSIo.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"}app/assets/stylesheets/application.css?type=text/css&id=cf61c88dcd1777e6527e95a4bb2192162d49d30d67f2997cdc5034fb54b8a26f:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4PDLvfn6lwFaBlngbSJXSB_eLt6iyL5y4mX1QPdp40.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/nF/nFDSlhA0quhrqhaq_7tpg8xL130zYnfh0fSgdoKjyxs.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&id=10815f827465b5648bf1419a3d68fa6f70fea5189d3d0065e831538b7559684a:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/om/omT5fdYWQly0TYwKCjLTSkd4KnkiW3DBI7u_9iwQujM.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/scaffold.css?type=text/css&pipeline=self&id=07811827b1dd7ae830c1184c865bbe5c082b4a0f10b89a79079f9e838a1714cf:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/pV/pVjei3DOBfiSnjFhJoxc5fnuoqkyxSZXVaXL-PtQOnM.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/stylesheets/librails/application.css?type=text/css&pipeline=self&id=d4cea784cb02d9f5baafa768b74b06913299832413ca97aa67af9d6c0fb393ee:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qom3M3JruFGz9uj1CmP-jbPFnMOFh2r2KESBsGzKqSQ.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%�W\�yho9S���ƫ˥��)|�~���(���
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/rA/rAUGcozHSiZ93hwuQ5Ez0-DFNvpIp1pMSFzJDL6j5t0.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%�`=2%O����f� ��D�E'WM'BWW\u-�
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/rG/rGuMNcIUBp03kbJ6EzyYnC3CRj5goxzKZBmJYdmHAZQ.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/sU/sU3oqz4lk5ZBEidbxhSyI-aEf0xo5cuP8154BPYzRSQ.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/sZ/sZS3zy1fxZQjAPA_1FJ3AowfYeZce2J_6g44pGwLUm0.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/sj/sj16ZRag8S_gxUTofHpRMDlBfQtRrkOCTHE4XkpqTIw.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=66484f0f59f37feff2b119985889c727d9e936c4e405f90f9a7e70ebcc027c0c:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/so/sor5uSsm2pcLDkIB_nEyeFtyH3H9JfHraQ06BUgKQDI.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%��A�I8���߅�u7�!��H���j���\��|x
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/tO/tOhfPNHfUCZMMbxsrZ8QFkHIS4Kvl5n2uOQFyrtP8sg.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/sora/work/librails/app/assets/javascripts/librails/application.js?type=application/javascript&id=fd3a3dffe0dc76fc027bf2cd803c7b39450aa72393a52bf242d32869809e4ce8:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/vA/vASpagKbFH0ZvwZExZpP6xUozv_LZDLv2ChvkXLH9bM.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/scaffold.css?type=text/css&pipeline=self&id=4de553f4ae2203dbcb4ae32795f76bc5e0721af8ce04589d9a3e624826e4b728:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/vG/vGFQZSHgo_Z1jtdt-4UDi4Cq_rLRNs3NgVSnCC-00tk.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/wt/wtPqYC4VZKO69pxoohTrsnCI_qisEoAEF_0a0cchBOs.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"%�W\�yho9S���ƫ˥��)|�~���(���
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xw-pJ8PwbGRKiqJ9PyoPiRt1qJ2tGDRaVKQr5L83M24.cache
DELETED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/zh/zhG0AnNGbV5bRFlZI647Ycb4OP62cNjN9sCGP2XSmLY.cache
DELETED
Binary file
|
data/test/fixtures/books.yml
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class BooksControllerTest < ActionController::TestCase
|
4
|
-
fixtures :all
|
5
|
-
|
6
|
-
setup do
|
7
|
-
@book = books(:one)
|
8
|
-
end
|
9
|
-
|
10
|
-
test "should get index" do
|
11
|
-
get :index
|
12
|
-
assert_response :success
|
13
|
-
assert_not_nil assigns(:books)
|
14
|
-
end
|
15
|
-
#
|
16
|
-
# test "should get new" do
|
17
|
-
# get :new
|
18
|
-
# assert_response :success
|
19
|
-
# end
|
20
|
-
#
|
21
|
-
# test "should create book" do
|
22
|
-
# assert_difference('Book.count') do
|
23
|
-
# post :create, book: { author: @book.author, summary: @book.summary, title: @book.title }
|
24
|
-
# end
|
25
|
-
#
|
26
|
-
# assert_redirected_to book_path(assigns(:book))
|
27
|
-
# end
|
28
|
-
#
|
29
|
-
# test "should show book" do
|
30
|
-
# get :show, id: @book
|
31
|
-
# assert_response :success
|
32
|
-
# end
|
33
|
-
#
|
34
|
-
# test "should get edit" do
|
35
|
-
# get :edit, id: @book
|
36
|
-
# assert_response :success
|
37
|
-
# end
|
38
|
-
#
|
39
|
-
# test "should update book" do
|
40
|
-
# patch :update, id: @book, book: { author: @book.author, summary: @book.summary, title: @book.title }
|
41
|
-
# assert_redirected_to book_path(assigns(:book))
|
42
|
-
# end
|
43
|
-
#
|
44
|
-
# test "should destroy book" do
|
45
|
-
# assert_difference('Book.count', -1) do
|
46
|
-
# delete :destroy, id: @book
|
47
|
-
# end
|
48
|
-
#
|
49
|
-
# assert_redirected_to books_path
|
50
|
-
# end
|
51
|
-
end
|
data/test/lib/librails_test.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class LibrailsTest < ActiveSupport::TestCase
|
4
|
-
# test "truth" do
|
5
|
-
# assert_kind_of Module, Librails
|
6
|
-
# end
|
7
|
-
include Librails::ViewHelper
|
8
|
-
|
9
|
-
def test_hello
|
10
|
-
assert_equal('Hello World!2', hello_method2)
|
11
|
-
end
|
12
|
-
|
13
|
-
def test_rescue_mysql2_error
|
14
|
-
e = RuntimeError.new("Incorrect string value:")
|
15
|
-
puts e.message
|
16
|
-
Librails::MiscUtils.rescue_mysql2_error(e)
|
17
|
-
end
|
18
|
-
end
|
data/test/lib/misc_utils_test.rb
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class ModelUtilsTest < ActiveSupport::TestCase
|
4
|
-
class DummyItem
|
5
|
-
attr_accessor :id, :disp_order
|
6
|
-
end
|
7
|
-
|
8
|
-
def create_dummy_items
|
9
|
-
i1 = DummyItem.new
|
10
|
-
i1.id = 10
|
11
|
-
i2 = DummyItem.new
|
12
|
-
i2.id = 20
|
13
|
-
i3 = DummyItem.new
|
14
|
-
i3.id = 30
|
15
|
-
i4 = DummyItem.new
|
16
|
-
i4.id = 40
|
17
|
-
[i1, i2, i3, i4]
|
18
|
-
end
|
19
|
-
|
20
|
-
def dummy_items_to_s(items)
|
21
|
-
items.collect{|item| item.id.to_s + '-' + item.disp_order.to_s}.join(',')
|
22
|
-
end
|
23
|
-
|
24
|
-
def test_reorder_forward
|
25
|
-
# 前方へ入れ替え
|
26
|
-
hash = {
|
27
|
-
'10' => {'disp_order' => '1'},
|
28
|
-
'20' => {'disp_order' => '2'},
|
29
|
-
'30' => {'disp_order' => '1'},
|
30
|
-
'40' => {'disp_order' => '4'},
|
31
|
-
}
|
32
|
-
items = create_dummy_items
|
33
|
-
Librails::ModelUtils.reorder(items, hash)
|
34
|
-
assert_equal('30-1,10-2,20-3,40-4', dummy_items_to_s(items))
|
35
|
-
end
|
36
|
-
|
37
|
-
def test_reorder_backward
|
38
|
-
# 後方へ入れ替え
|
39
|
-
hash = {
|
40
|
-
'10' => {'disp_order' => '2'},
|
41
|
-
'20' => {'disp_order' => '2'},
|
42
|
-
'30' => {'disp_order' => '3'},
|
43
|
-
'40' => {'disp_order' => '4'},
|
44
|
-
}
|
45
|
-
items = create_dummy_items
|
46
|
-
Librails::ModelUtils.reorder(items, hash)
|
47
|
-
assert_equal('20-1,10-2,30-3,40-4', dummy_items_to_s(items))
|
48
|
-
end
|
49
|
-
|
50
|
-
def test_reorder_forward_two
|
51
|
-
# 前方へ2つ入れ替え
|
52
|
-
hash = {
|
53
|
-
'10' => {'disp_order' => '1'},
|
54
|
-
'20' => {'disp_order' => '2'},
|
55
|
-
'30' => {'disp_order' => '2'},
|
56
|
-
'40' => {'disp_order' => '1'},
|
57
|
-
}
|
58
|
-
items = create_dummy_items
|
59
|
-
Librails::ModelUtils.reorder(items, hash)
|
60
|
-
assert_equal('40-1,30-2,10-3,20-4', dummy_items_to_s(items))
|
61
|
-
end
|
62
|
-
end
|
data/test/models/book_test.rb
DELETED
data/test/test_helper.rb
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# Configure Rails Environment
|
2
|
-
ENV["RAILS_ENV"] = "test"
|
3
|
-
|
4
|
-
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
-
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
6
|
-
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
7
|
-
require "rails/test_help"
|
8
|
-
|
9
|
-
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
10
|
-
# to be shown.
|
11
|
-
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
12
|
-
|
13
|
-
# Load support files
|
14
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
15
|
-
|
16
|
-
# Load fixtures from the engine
|
17
|
-
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
18
|
-
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
19
|
-
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
20
|
-
ActiveSupport::TestCase.fixtures :all
|
21
|
-
end
|