hyper_admin 0.1.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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +3 -0
- data/Rakefile +20 -0
- data/app/assets/javascripts/hyper_admin/application.js +0 -0
- data/app/assets/stylesheets/hyper_admin/application.css +0 -0
- data/app/controllers/hyper_admin/application_controller.rb +4 -0
- data/app/helpers/hyper_admin/application_helper.rb +4 -0
- data/app/views/layouts/hyper_admin/application.html.erb +16 -0
- data/config/routes.rb +2 -0
- data/config/spring.rb +1 -0
- data/lib/hyper_admin/engine.rb +5 -0
- data/lib/hyper_admin/version.rb +3 -0
- data/lib/hyper_admin.rb +4 -0
- data/spec/controllers/hyper_admin/application_controller_spec.rb +6 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +16 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +77262 -0
- data/spec/dummy/log/test.log +30 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9e456cee4bd5ae2c5d0cc761be2251d8df6c08d6/application.css.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9e456cee4bd5ae2c5d0cc761be2251d8df6c08d6/forms.css.sassc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/01924c706dd1b7de217f342099dcfa3f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/037881c9cd634433914abb719c10a5c5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/06f8c2a573a416251bf5e507d716a2e1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0f187a2ccdd305e6d153597ecd00bf3b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/125ec787290ff1586c163c0ca12ba62f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/129ae300cd13764786ea4b5704c0503c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1390e33dca626e5abb05f08e99b336ef +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/181ff869ecf91699a37ef2c5bf5adb61 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/182fae6bb2ded49fb9e1a2fb6b0ed5be +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1a17fb3abd9919e28b6af53bad5cfcd6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1f2d024064a1603f3d45f322414e3eb6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1f9d2e324ff8491fae3c73ad41e07c94 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/20533c55869299ed9aa5b4c019517dc8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/210dc54df072ff8aa801be4a5cfaa52c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/22282a54aa58df7a70e3177452e4013a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/233eb26722587b9bedfea4efdb95844d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/23a4f398d80bde9bcadceefe0213037f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/246cd7d124c2b5c489c92ff0c1db047d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/265e1b8b1f67b586e82cf68693d6000b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2aa9269bc07919114bffba5e9c919561 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2b9b2182b16b5a4c3c5d1560df5de0d0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/30a5c1dbe092e168fe430bbb41f374de +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/31e25d39e4c17797d201e2a4243efb4a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3359accba5cc1fb307a5afbefc314c99 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3573ffec5cfea33d5fee73862c72234b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/36b7ac26ce8d497f663785ede3b1069e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/36e5b3d779b93cb69f60386bbc521bc0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/39ea58cc47a7d940d43a0e7613fe067e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3a89445fd816e24e5e7c863fdc42b675 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3d8764a7279799826e72bb55e4fafe26 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3dfce56bcf85a8a70d6306eace2b2e0e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4143364cc108fcecd6281314d82d47f4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/41bb46727f2d6c961f664ec0bab005af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/45f0889ff048a64505d5206b7b33ead1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/481acac6eeb5c92456356785e900be1a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/49437706323ed3c6250b7e6b2d4ca84a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4cc704d7bdd419b79bf65609f24a8ca0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5742d73362b0aa851f1078aa701f130e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5817d714b843218e26feb1bbf2c64a4a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5d2d334072610a8b33f89e1c1e3b09f1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5dda74c0c8b6f1468aae30b26a2de87c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5e0bb4ec4d880a8d13aa3fb4f56f8dba +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/62f93a3bdbe098f4c6d495ad2a2a9e54 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6b2211be110fb2e55b3c112d41e62a67 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/750defd195c7e34d0b8ff410451e164f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/76db8861208428afff99184b4b87410a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/784c7dd0c978c9ae2fed3c19d26b40f3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7cd147b64fc9800184a80cd505c1c696 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/835213f339beaa129e265d17814d92a9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/83a638f9944e25db78590de89d9f6580 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/85dbb666d1084a39349c9301985db348 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/86709205fe01b8340285e06f0f7b9540 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/875cfb30bea588bd29ea187083a02927 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8811017a60d14559a554615407b04e78 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8a3a1ff827df47a7a8d90a7c41e1549f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8bed64fba8987e05b7883ec69b84e0b5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8fce096622774700a53e0bae363c3931 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/90f4674236e5b34a9e6787932fc15e40 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/91a5cc4a6166e54d588c8decf774d04a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/944445ca0183d48b09ab52f3813a7a73 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/97878129dd104d7f18d7f21f2d9d77cb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/97a00ae9511caadbf68d011ce54d94ca +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/99b3c7322987e4fd79e32b0019420379 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/99d492ff5654a4d4b238047d3ced9aa9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9bcd2e1b2a36506a075ca7f674c77bd7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a1f1fbb9115cf49e86ee8970633e5e7d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a4531dc856fbec90e4252b3a137cf4fc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a48ddcfaeabb844016847600a68b0af8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a4ccfc66938b201e326831a8c5e4a9b9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a965b3ea15d855c3a8c0de0455af861f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aef10572991d4451e1b77f3ac122d412 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/af31e93a907aa085f33777d42ceceb60 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/afc1c0672e1d6450e3e2c57bbf813de3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b0b58b41f4c0bc1f9153357dbacbe4b7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b9b1856b9db2caaf2e6b4721a86f57d1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ba1b9d5a702585ba02b445cbd4f16080 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c189bdd96d738128a78ee47e7ed0ca6f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c27cec6ddeaab0cafd2edbb61e975a95 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c397f6c9af946760da8841ad05bd4431 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c3f92ba9eac1407626b761984eb2b53a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c8730a8220ec89fcf6bb2da7a0f35093 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cca5ad888c966eeff6b735ed1e55a312 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cebb95b7245d416ca932dbced67a03e3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d07cbf1d8a0b4b975a59fc017fa29563 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d4c163fff15a22af5c6e8b63146a2c0b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d583bba6e1d2c1b41726702d299dd494 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d7e55f83763944bcc50de5ab23764387 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d8bd2a2fe67a4fcb7001f1fd53912993 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dfbcee5c2f1bc9fc50f9216a0dbce852 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e12863a4ea41e06c0e5a4160be36cbdf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e166d873a957ea113040c9008439bc30 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e2907d6b7bc4cb7aba7f283117d15eac +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e7c2a37a322afa44ecd67fccbeffd209 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e815f671a8bcf1e651eed8dee00eba51 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e8cac11b7c752cd692b94d83732f4183 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e9d1c32abde1f876bdef211286c31bf1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ebf7e75ff6dd6735ef46a63b0da89668 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ed3843275b21843a93d01c48c1502c4c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ee7aee67b689b4238ffc9b404b41dc38 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f0524602f5c3e166c46feca6e8895d8b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f0d2b5185b8f10dfc7e41f8c4f379fab +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f50ffee7d1224de2e536e55a94b4b324 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f8118ba169e2aa16e9a6cc1f0df9b732 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fcb835765a4145484827b05fcb69812b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fce44b243bccba1345556e2fb7b0f8ad +0 -0
- data/spec/helpers/hyper_admin/application_helper_spec.rb +6 -0
- data/spec/rails_helper.rb +28 -0
- data/spec/spec_helper.rb +56 -0
- metadata +465 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
7
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
8
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
9
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
10
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
11
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
12
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
13
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
14
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
15
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
16
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
17
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
18
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
19
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
20
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
21
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
22
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
23
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
24
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
25
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
26
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
27
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
28
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
29
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
30
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
@@ -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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
|
|
5
|
+
require File.expand_path('../dummy/config/environment.rb', __FILE__)
|
|
6
|
+
|
|
7
|
+
require 'rspec/rails'
|
|
8
|
+
require 'factory_girl_rails'
|
|
9
|
+
|
|
10
|
+
require 'coveralls'
|
|
11
|
+
Coveralls.wear!
|
|
12
|
+
|
|
13
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
14
|
+
|
|
15
|
+
# Load support files
|
|
16
|
+
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
|
17
|
+
|
|
18
|
+
# Checks for pending migrations before tests are run.
|
|
19
|
+
# If you are not using ActiveRecord, you can remove this line.
|
|
20
|
+
ActiveRecord::Migration.maintain_test_schema!
|
|
21
|
+
|
|
22
|
+
RSpec.configure do |config|
|
|
23
|
+
config.use_transactional_fixtures = true
|
|
24
|
+
|
|
25
|
+
config.infer_spec_type_from_file_location!
|
|
26
|
+
|
|
27
|
+
config.include FactoryGirl::Syntax::Methods
|
|
28
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
RSpec.configure do |config|
|
|
2
|
+
# These two settings work together to allow you to limit a spec run
|
|
3
|
+
# to individual examples or groups you care about by tagging them with
|
|
4
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
5
|
+
# get run.
|
|
6
|
+
config.filter_run :focus
|
|
7
|
+
config.run_all_when_everything_filtered = true
|
|
8
|
+
|
|
9
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
|
10
|
+
# file, and it's useful to allow more verbose output when running an
|
|
11
|
+
# individual spec file.
|
|
12
|
+
if config.files_to_run.one?
|
|
13
|
+
# Use the documentation formatter for detailed output,
|
|
14
|
+
# unless a formatter has already been configured
|
|
15
|
+
# (e.g. via a command-line flag).
|
|
16
|
+
config.default_formatter = 'doc'
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# Print the 10 slowest examples and example groups at the
|
|
20
|
+
# end of the spec run, to help surface which specs are running
|
|
21
|
+
# particularly slow.
|
|
22
|
+
config.profile_examples = 10
|
|
23
|
+
|
|
24
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
25
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
26
|
+
# the seed, which is printed after each run.
|
|
27
|
+
# --seed 1234
|
|
28
|
+
config.order = :random
|
|
29
|
+
|
|
30
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
|
31
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
|
32
|
+
# test failures related to randomization by passing the same `--seed` value
|
|
33
|
+
# as the one that triggered the failure.
|
|
34
|
+
Kernel.srand config.seed
|
|
35
|
+
|
|
36
|
+
# rspec-expectations config goes here. You can use an alternate
|
|
37
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
|
38
|
+
# assertions if you prefer.
|
|
39
|
+
config.expect_with :rspec do |expectations|
|
|
40
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
|
41
|
+
# For more details, see:
|
|
42
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
|
43
|
+
expectations.syntax = :expect
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
|
47
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
|
48
|
+
config.mock_with :rspec do |mocks|
|
|
49
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
|
50
|
+
mocks.syntax = :expect
|
|
51
|
+
|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
|
53
|
+
# a real object. This is generally recommended.
|
|
54
|
+
mocks.verify_partial_doubles = true
|
|
55
|
+
end
|
|
56
|
+
end
|