rails_tracker 0.3.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/.yardoc/checksums +13 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +31 -0
- data/Gemfile.lock +207 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +88 -0
- data/Rakefile +113 -0
- data/app/assets/javascripts/rails_tracker/application.js +15 -0
- data/app/assets/javascripts/rails_tracker/issues.js +2 -0
- data/app/assets/stylesheets/rails_tracker/application.css +14 -0
- data/app/assets/stylesheets/rails_tracker/bootstrap.css +6805 -0
- data/app/assets/stylesheets/rails_tracker/issues.css +4 -0
- data/app/controllers/rails_tracker/application_controller.rb +12 -0
- data/app/controllers/rails_tracker/issues_controller.rb +81 -0
- data/app/helpers/rails_tracker/application_helper.rb +4 -0
- data/app/helpers/rails_tracker/issues_helper.rb +4 -0
- data/app/mailers/rails_tracker/issue_mailer.rb +12 -0
- data/app/models/rails_tracker/issue.rb +7 -0
- data/app/models/rails_tracker/users_issues.rb +12 -0
- data/app/views/layouts/rails_tracker/_header.html.slim +28 -0
- data/app/views/layouts/rails_tracker/application.html.slim +10 -0
- data/app/views/rails_tracker/issue_mailer/resolved_alert.html.slim +6 -0
- data/app/views/rails_tracker/issues/currently_tracking.html.slim +19 -0
- data/app/views/rails_tracker/issues/index.html.slim +18 -0
- data/app/views/rails_tracker/issues/listen.html.slim +1 -0
- data/app/views/rails_tracker/issues/resolved.html.slim +14 -0
- data/config/config.ru +0 -0
- data/config/routes.rb +16 -0
- data/db/migrate/20130924202020_create_tracker_issues.rb +10 -0
- data/db/migrate/20130924233027_create_tracker_users_issues.rb +13 -0
- data/db/migrate/20130924233149_add_relation_users_issues.rb +5 -0
- data/db/migrate/20130928221922_add_issue_id_issues.rb +5 -0
- data/db/migrate/20130930233849_add_default_active_column.rb +6 -0
- data/db/seeds.rb +1 -0
- data/issues} +4 -0
- data/lib/generators/rails_tracker/install_generator.rb +16 -0
- data/lib/generators/rails_tracker/templates/install.rb +15 -0
- data/lib/generators/rails_tracker/templates/rails_tracker.en.yml +5 -0
- data/lib/rails_tracker/engine.rb +17 -0
- data/lib/rails_tracker/version.rb +3 -0
- data/lib/rails_tracker.rb +16 -0
- data/lib/tasks/rails_tracker_tasks.rake +4 -0
- data/lib/tasks/test_seed.rb +7 -0
- data/rails_tracker.gemspec +40 -0
- data/screenshot1.png +0 -0
- data/spec/controllers/issues_controller_spec.rb +56 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -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/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -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 +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +34 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +4388 -0
- data/spec/dummy/log/test.log +750 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/BF2/BA0/sprockets%2Fc465f617006f371a570048816c344586 +0 -0
- data/spec/dummy/tmp/cache/assets/BF4/290/sprockets%2Fb4800880231a9ee7462085473e967133 +0 -0
- data/spec/dummy/tmp/cache/assets/BF4/F70/sprockets%2F7675401393a98310b35195d82832ef15 +0 -0
- data/spec/dummy/tmp/cache/assets/C7A/FD0/sprockets%2Fc32979f5e0331ec91531338d8ca43024 +0 -0
- data/spec/dummy/tmp/cache/assets/C82/940/sprockets%2F71fd0d5860b491074a85f02db6849227 +0 -0
- data/spec/dummy/tmp/cache/assets/C99/CE0/sprockets%2Fa9e3bce034e4511d161e1944200455d3 +0 -0
- data/spec/dummy/tmp/cache/assets/CB0/0F0/sprockets%2Fb94cb7750c4a13028836a17f82c5946b +0 -0
- data/spec/dummy/tmp/cache/assets/CB5/BF0/sprockets%2F34b1fb9a3b2f3e930436f5856e727129 +0 -0
- data/spec/dummy/tmp/cache/assets/CBA/DA0/sprockets%2F37124a7a569a43b3739b926cc9da6397 +0 -0
- data/spec/dummy/tmp/cache/assets/CBB/350/sprockets%2F63b5d7323752f0afb24ff82484e68592 +0 -0
- data/spec/dummy/tmp/cache/assets/CBF/450/sprockets%2Fd906fd2492c5676acdb0f31766975842 +0 -0
- data/spec/dummy/tmp/cache/assets/CC7/9D0/sprockets%2F04258d58abf44498e2be2088df594399 +0 -0
- data/spec/dummy/tmp/cache/assets/CCE/A50/sprockets%2F95f552879446108bb23884b9fc8de47f +0 -0
- data/spec/dummy/tmp/cache/assets/CD1/C90/sprockets%2F8ac4011e2f834d38565fb0295af0034b +0 -0
- data/spec/dummy/tmp/cache/assets/CD7/0A0/sprockets%2F5150feb2b84a78567c7185c5231a1b2e +0 -0
- data/spec/dummy/tmp/cache/assets/CDF/C70/sprockets%2F944209069b3190d36ab1a6c687c4c8be +0 -0
- data/spec/dummy/tmp/cache/assets/CE3/EE0/sprockets%2F2ce7c81c2bd8280698c3787300b2c29e +0 -0
- data/spec/dummy/tmp/cache/assets/CE6/C40/sprockets%2Fc818bee730438348a68efd92bf139220 +0 -0
- data/spec/dummy/tmp/cache/assets/CF6/460/sprockets%2Fd6d44319821067fc932ded86d5e9d837 +0 -0
- data/spec/dummy/tmp/cache/assets/CFD/4E0/sprockets%2Fc40691e60cdd254c0fc47867a0a018a1 +0 -0
- data/spec/dummy/tmp/cache/assets/D1E/700/sprockets%2F992faf3337c4ef8711e5522ff6706cf3 +0 -0
- data/spec/dummy/tmp/cache/assets/D34/D60/sprockets%2Ff95ce452cd15cfe3c62a22505520f1b9 +0 -0
- data/spec/dummy/tmp/cache/assets/D36/0C0/sprockets%2Fab4634b46625f2a59f2c81fca25b29b2 +0 -0
- data/spec/dummy/tmp/cache/assets/D36/580/sprockets%2Fd4cac000971b2a139e658ee1d57cc177 +0 -0
- data/spec/dummy/tmp/cache/assets/D38/370/sprockets%2F3f2e6c3a2fdaae7eac19245860891151 +0 -0
- data/spec/dummy/tmp/cache/assets/D38/BC0/sprockets%2F50f7a7f0253d401d08bac8f46537e6cb +0 -0
- data/spec/dummy/tmp/cache/assets/D39/1E0/sprockets%2Fb461de82da868310001d0886fc0fd5ef +0 -0
- data/spec/dummy/tmp/cache/assets/D39/C00/sprockets%2F422361ebe4a842fa89dc3b99a43ce114 +0 -0
- data/spec/dummy/tmp/cache/assets/D40/5F0/sprockets%2F06b15a4371a6f969ff7d0b7ef237ca06 +0 -0
- data/spec/dummy/tmp/cache/assets/D42/440/sprockets%2F20d8433a8526ab798ef3cc9c0d608d5b +0 -0
- data/spec/dummy/tmp/cache/assets/D42/900/sprockets%2Fa82f43357557dbec4918e295c1b6fa1a +0 -0
- data/spec/dummy/tmp/cache/assets/D46/7A0/sprockets%2Ff58dbdfbe51f1e65b669f4531676c111 +0 -0
- data/spec/dummy/tmp/cache/assets/D4A/B40/sprockets%2Ff40ad1859c7f01f99f019b46b9a4aa89 +0 -0
- data/spec/dummy/tmp/cache/assets/D4A/FC0/sprockets%2F8239c23794e8598c2fbc0dbdf7214a6d +0 -0
- data/spec/dummy/tmp/cache/assets/D53/6B0/sprockets%2Fd8ec39b3b5a1510cefa113328e030ab7 +0 -0
- data/spec/dummy/tmp/cache/assets/D5E/B40/sprockets%2F08c7b37c12104347d6f0dd3a2ac96dbd +0 -0
- data/spec/dummy/tmp/cache/assets/D6D/5F0/sprockets%2F6aaa47a79107eeac3b80345b95eed528 +0 -0
- data/spec/dummy/tmp/cache/assets/D70/330/sprockets%2F5f9f172aec541c9e4265aea3d2a416f9 +0 -0
- data/spec/dummy/tmp/cache/assets/D8F/DA0/sprockets%2F9e434efa471e31eea1da933f0ac3e322 +0 -0
- data/spec/dummy/tmp/cache/assets/D90/C80/sprockets%2Fd04fc70f145ec63ad43007a5e2cea9b7 +0 -0
- data/spec/dummy/tmp/cache/assets/DA2/9D0/sprockets%2F17df2df8c3aae2af98a9d325815325ed +0 -0
- data/spec/dummy/tmp/cache/assets/DA3/A50/sprockets%2F8c32df8c2b685b1b2d5f88bb15f9bc70 +0 -0
- data/spec/dummy/tmp/cache/assets/DB9/790/sprockets%2F6c968e2895d7a81cfe44addf3d57c7d5 +0 -0
- data/spec/dummy/tmp/cache/assets/DCE/930/sprockets%2Fea724572bf99bab5f2019c2fdfba92c5 +0 -0
- data/spec/dummy/tmp/cache/assets/DD1/F90/sprockets%2Fd924f5c7b0cf8d008dd8fea4e00d438f +0 -0
- data/spec/dummy/tmp/cache/assets/DD9/510/sprockets%2F544220563a5adf97ea8b5ff7ebe8ff3b +0 -0
- data/spec/dummy/tmp/cache/assets/DEF/B20/sprockets%2F3e8a1eac029ed92bee842e2abfea2232 +0 -0
- data/spec/dummy/tmp/cache/assets/DF4/6A0/sprockets%2F4af9b5050ffa96b2e2d3bebad85a06c5 +0 -0
- data/spec/dummy/tmp/cache/assets/DF6/DF0/sprockets%2Fed28cfcc773b333e5eea0aae655115cf +0 -0
- data/spec/dummy/tmp/cache/assets/E61/210/sprockets%2F57168c3ab6088aaf76cee4deaebeac7d +0 -0
- data/spec/dummy/tmp/cache/assets/EB7/D90/sprockets%2F5179abd7ac7cdbcea3e43fbbeb1fed64 +0 -0
- data/spec/dummy/tmp/cache/sass/1497ad7d973056507928cc72b57246640fe98320/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_accordion.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_hero-unit.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_labels-badges.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_layouts.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_reset.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_sprites.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/40d71a06abb9e71575f253dcb1f6b85c8b3156e2/_config.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/40d71a06abb9e71575f253dcb1f6b85c8b3156e2/_icon-font-24.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/40d71a06abb9e71575f253dcb1f6b85c8b3156e2/_icon-font.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/40d71a06abb9e71575f253dcb1f6b85c8b3156e2/_mixins.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/40d71a06abb9e71575f253dcb1f6b85c8b3156e2/_spaces.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/803365d1c8cc163df0ae50688e30dcee22f1632b/flat-ui.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_btn.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_checkbox-and-radio.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_demo.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_footer.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_input.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_login.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_navbar.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_pager.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_pagination.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_palette.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_progress.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_select.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_share.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_tagsinput.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_tile.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_todo.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_toggle.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_tooltip.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_type.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_ui-slider.sassc +0 -0
- data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_video.sassc +0 -0
- data/spec/factories/user.rb +8 -0
- data/spec/spec_helper.rb +51 -0
- data/test/fixtures/tracker/issues.yml +9 -0
- data/test/fixtures/tracker/users_issues.yml +15 -0
- data/test/functional/tracker/issue_mailer_test.rb +9 -0
- data/test/functional/tracker/issues_controller_test.rb +9 -0
- data/test/unit/helpers/tracker/issues_helper_test.rb +6 -0
- data/test/unit/tracker/issue_test.rb +9 -0
- data/test/unit/tracker/users_issues_test.rb +9 -0
- metadata +305 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
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
|
data/spec/dummy/tmp/cache/sass/400fd17e133835848700b2f4e2f02dbad9b80a92/_component-animations.scssc
ADDED
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
|
data/spec/dummy/tmp/cache/sass/bc846aea9bb0b60505398d8c47551cb8d064e9e7/_checkbox-and-radio.sassc
ADDED
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
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
|
4
|
+
# Define dummy app location
|
5
|
+
require File.expand_path("../../spec/dummy/config/environment", __FILE__)
|
6
|
+
|
7
|
+
# Define factory girl folder settings
|
8
|
+
# FactoryGirl.definition_file_paths = [File.expand_path('../../spec/factories', __FILE__)]
|
9
|
+
FactoryGirl.factories.clear
|
10
|
+
FactoryGirl.definition_file_paths = [File.expand_path('../lib/factories', __FILE__)]
|
11
|
+
FactoryGirl.reload
|
12
|
+
|
13
|
+
require 'rspec/rails'
|
14
|
+
require 'rspec/autorun'
|
15
|
+
|
16
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
17
|
+
# in spec/support/ and its subdirectories.
|
18
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
19
|
+
|
20
|
+
RSpec.configure do |config|
|
21
|
+
# ## Mock Framework
|
22
|
+
#
|
23
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
24
|
+
#
|
25
|
+
# config.mock_with :mocha
|
26
|
+
# config.mock_with :flexmock
|
27
|
+
# config.mock_with :rr
|
28
|
+
|
29
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
30
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
31
|
+
|
32
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
33
|
+
# examples within a transaction, remove the following line or assign false
|
34
|
+
# instead of true.
|
35
|
+
config.use_transactional_fixtures = true
|
36
|
+
|
37
|
+
# If true, the base class of anonymous controllers will be inferred
|
38
|
+
# automatically. This will be the default behavior in future versions of
|
39
|
+
# rspec-rails.
|
40
|
+
config.infer_base_class_for_anonymous_controllers = false
|
41
|
+
|
42
|
+
# Run specs in random order to surface order dependencies. If you find an
|
43
|
+
# order dependency and want to debug it, you can fix the order by providing
|
44
|
+
# the seed, which is printed after each run.
|
45
|
+
# --seed 1234
|
46
|
+
config.order = "random"
|
47
|
+
|
48
|
+
# Devise test helpers
|
49
|
+
config.include Devise::TestHelpers, :type => :controller
|
50
|
+
|
51
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
|
3
|
+
one:
|
4
|
+
id: 1
|
5
|
+
title: MyText
|
6
|
+
body: MyText
|
7
|
+
active: false
|
8
|
+
assignee: MyString
|
9
|
+
|
10
|
+
two:
|
11
|
+
id: 1
|
12
|
+
title: MyText
|
13
|
+
body: MyText
|
14
|
+
active: false
|
15
|
+
assignee: MyString
|