blorgh 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.rdoc +3 -0
- data/Rakefile +34 -0
- data/app/assets/javascripts/blorgh/application.js +13 -0
- data/app/assets/javascripts/blorgh/posts.js +2 -0
- data/app/assets/stylesheets/blorgh/application.css +13 -0
- data/app/assets/stylesheets/blorgh/posts.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/blorgh/application_controller.rb +4 -0
- data/app/controllers/blorgh/posts_controller.rb +62 -0
- data/app/helpers/blorgh/application_helper.rb +4 -0
- data/app/helpers/blorgh/posts_helper.rb +4 -0
- data/app/models/blorgh/post.rb +4 -0
- data/app/views/blorgh/posts/_form.html.erb +25 -0
- data/app/views/blorgh/posts/edit.html.erb +6 -0
- data/app/views/blorgh/posts/index.html.erb +29 -0
- data/app/views/blorgh/posts/new.html.erb +5 -0
- data/app/views/blorgh/posts/show.html.erb +14 -0
- data/app/views/layouts/blorgh/application.html.erb +15 -0
- data/config/routes.rb +4 -0
- data/db/migrate/20140411081056_create_blorgh_posts.rb +10 -0
- data/lib/blorgh.rb +4 -0
- data/lib/blorgh/engine.rb +5 -0
- data/lib/blorgh/version.rb +3 -0
- data/lib/tasks/blorgh_tasks.rake +4 -0
- data/test/blorgh_test.rb +7 -0
- data/test/controllers/blorgh/posts_controller_test.rb +51 -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 +13 -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 +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -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 +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -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 +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/log/development.log +138 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/360a9f0be690ccb5a62eb5da4e315ed2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3c53f6994cd31c80ebaa59f34cb62657 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4702e4a5ac6df7f1eeef3d863306dfe6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f266f8563c7fec5c87385b9af5efbaf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/61f8cc465bcfe0a331b851573a6904bd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7588a37f90e20a731b80cf1a2d0e6aef +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/80170e7106bfb7704e3560603f58c6c7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/845f298beeac205ce2857c27989dec2c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b6c1e949265f4c89008b6d8e4f180939 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c12cb16e97555e2673a6ddcbebe2c139 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c38035e857666b412c1768a2d250aa54 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d120b6eb16a4a9a4c6d71ee84196bdf1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d209c9c679c6aa80ca9bcec5be84d300 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f4842c902fc8a799d4aef3b10c510709 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f50567513c2c23552b59ce7418ca16db +0 -0
- data/test/fixtures/blorgh/posts.yml +9 -0
- data/test/helpers/blorgh/posts_helper_test.rb +6 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/models/blorgh/post_test.rb +9 -0
- data/test/test_helper.rb +15 -0
- metadata +208 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
2
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4
|
+
Migrating to CreateBlorghPosts (20140411081056)
|
|
5
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
6
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "blorgh_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "text" text, "created_at" datetime, "updated_at" datetime) [0m
|
|
7
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140411081056"]]
|
|
8
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
|
9
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
10
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
11
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Started GET "/blorgh" for 127.0.0.1 at 2014-04-11 16:21:36 +0800
|
|
15
|
+
|
|
16
|
+
ActionController::RoutingError (No route matches [GET] "/blorgh"):
|
|
17
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
18
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
19
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
|
20
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
|
21
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
22
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
23
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
24
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
|
25
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
26
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
27
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
28
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
|
29
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
30
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
|
31
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
32
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
|
33
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
|
34
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
35
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
36
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
37
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
|
38
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
|
39
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
|
43
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
|
44
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
|
|
45
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.4ms)
|
|
46
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (23.6ms)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
Started GET "/blorgh/post" for 127.0.0.1 at 2014-04-11 16:21:51 +0800
|
|
50
|
+
|
|
51
|
+
ActionController::RoutingError (No route matches [GET] "/blorgh/post"):
|
|
52
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
53
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
54
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
|
55
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
|
56
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
57
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
58
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
59
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
|
60
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
61
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
62
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
63
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
|
64
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
65
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
|
66
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
67
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
|
68
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
|
69
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
70
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
71
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
72
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
|
73
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
|
74
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
|
78
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
|
79
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
|
80
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
|
|
81
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (18.2ms)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
Started GET "/posts" for 127.0.0.1 at 2014-04-11 16:22:02 +0800
|
|
85
|
+
|
|
86
|
+
ActionController::RoutingError (No route matches [GET] "/posts"):
|
|
87
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
88
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
|
89
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
|
90
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
|
91
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
|
92
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
|
93
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
|
94
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
|
95
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
|
96
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
|
97
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
|
98
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
|
99
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
100
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
|
101
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
|
102
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
|
103
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
|
104
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
|
105
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
|
106
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
|
107
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
|
108
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
|
109
|
+
/Users/daneil/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
|
113
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
|
114
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
|
115
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
|
|
116
|
+
Rendered /Users/daneil/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (18.9ms)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
Started GET "/blorgh/posts" for 127.0.0.1 at 2014-04-11 16:22:15 +0800
|
|
120
|
+
Processing by Blorgh::PostsController#index as HTML
|
|
121
|
+
[1m[36mBlorgh::Post Load (1.0ms)[0m [1mSELECT "blorgh_posts".* FROM "blorgh_posts"[0m
|
|
122
|
+
Rendered /Users/daneil/gems/blorgh/app/views/blorgh/posts/index.html.erb within layouts/blorgh/application (2.9ms)
|
|
123
|
+
Completed 200 OK in 62ms (Views: 59.6ms | ActiveRecord: 1.0ms)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-04-11 16:22:15 +0800
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
Started GET "/assets/blorgh/application.css?body=1" for 127.0.0.1 at 2014-04-11 16:22:15 +0800
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
Started GET "/assets/blorgh/posts.css?body=1" for 127.0.0.1 at 2014-04-11 16:22:15 +0800
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
Started GET "/assets/blorgh/posts.js?body=1" for 127.0.0.1 at 2014-04-11 16:22:15 +0800
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
Started GET "/assets/blorgh/application.js?body=1" for 127.0.0.1 at 2014-04-11 16:22:15 +0800
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/404.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/422.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/500.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
54
|
+
</div>
|
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
56
|
+
</body>
|
|
57
|
+
</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
|
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,208 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: blorgh
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: '1.0'
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- daneil
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2014-04-11 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.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '4.0'
|
|
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: Description of Blorgh.
|
|
42
|
+
email:
|
|
43
|
+
- daneilmu1@gmail.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- MIT-LICENSE
|
|
49
|
+
- README.rdoc
|
|
50
|
+
- Rakefile
|
|
51
|
+
- app/assets/javascripts/blorgh/application.js
|
|
52
|
+
- app/assets/javascripts/blorgh/posts.js
|
|
53
|
+
- app/assets/stylesheets/blorgh/application.css
|
|
54
|
+
- app/assets/stylesheets/blorgh/posts.css
|
|
55
|
+
- app/assets/stylesheets/scaffold.css
|
|
56
|
+
- app/controllers/blorgh/application_controller.rb
|
|
57
|
+
- app/controllers/blorgh/posts_controller.rb
|
|
58
|
+
- app/helpers/blorgh/application_helper.rb
|
|
59
|
+
- app/helpers/blorgh/posts_helper.rb
|
|
60
|
+
- app/models/blorgh/post.rb
|
|
61
|
+
- app/views/blorgh/posts/_form.html.erb
|
|
62
|
+
- app/views/blorgh/posts/edit.html.erb
|
|
63
|
+
- app/views/blorgh/posts/index.html.erb
|
|
64
|
+
- app/views/blorgh/posts/new.html.erb
|
|
65
|
+
- app/views/blorgh/posts/show.html.erb
|
|
66
|
+
- app/views/layouts/blorgh/application.html.erb
|
|
67
|
+
- config/routes.rb
|
|
68
|
+
- db/migrate/20140411081056_create_blorgh_posts.rb
|
|
69
|
+
- lib/blorgh.rb
|
|
70
|
+
- lib/blorgh/engine.rb
|
|
71
|
+
- lib/blorgh/version.rb
|
|
72
|
+
- lib/tasks/blorgh_tasks.rake
|
|
73
|
+
- test/blorgh_test.rb
|
|
74
|
+
- test/controllers/blorgh/posts_controller_test.rb
|
|
75
|
+
- test/dummy/README.rdoc
|
|
76
|
+
- test/dummy/Rakefile
|
|
77
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
78
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
79
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
80
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
81
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
82
|
+
- test/dummy/bin/bundle
|
|
83
|
+
- test/dummy/bin/rails
|
|
84
|
+
- test/dummy/bin/rake
|
|
85
|
+
- test/dummy/config.ru
|
|
86
|
+
- test/dummy/config/application.rb
|
|
87
|
+
- test/dummy/config/boot.rb
|
|
88
|
+
- test/dummy/config/database.yml
|
|
89
|
+
- test/dummy/config/environment.rb
|
|
90
|
+
- test/dummy/config/environments/development.rb
|
|
91
|
+
- test/dummy/config/environments/production.rb
|
|
92
|
+
- test/dummy/config/environments/test.rb
|
|
93
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
94
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
95
|
+
- test/dummy/config/initializers/inflections.rb
|
|
96
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
97
|
+
- test/dummy/config/initializers/secret_token.rb
|
|
98
|
+
- test/dummy/config/initializers/session_store.rb
|
|
99
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
100
|
+
- test/dummy/config/locales/en.yml
|
|
101
|
+
- test/dummy/config/routes.rb
|
|
102
|
+
- test/dummy/db/development.sqlite3
|
|
103
|
+
- test/dummy/db/schema.rb
|
|
104
|
+
- test/dummy/log/development.log
|
|
105
|
+
- test/dummy/public/404.html
|
|
106
|
+
- test/dummy/public/422.html
|
|
107
|
+
- test/dummy/public/500.html
|
|
108
|
+
- test/dummy/public/favicon.ico
|
|
109
|
+
- test/dummy/tmp/cache/assets/development/sprockets/360a9f0be690ccb5a62eb5da4e315ed2
|
|
110
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3c53f6994cd31c80ebaa59f34cb62657
|
|
111
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4702e4a5ac6df7f1eeef3d863306dfe6
|
|
112
|
+
- test/dummy/tmp/cache/assets/development/sprockets/5f266f8563c7fec5c87385b9af5efbaf
|
|
113
|
+
- test/dummy/tmp/cache/assets/development/sprockets/61f8cc465bcfe0a331b851573a6904bd
|
|
114
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7588a37f90e20a731b80cf1a2d0e6aef
|
|
115
|
+
- test/dummy/tmp/cache/assets/development/sprockets/80170e7106bfb7704e3560603f58c6c7
|
|
116
|
+
- test/dummy/tmp/cache/assets/development/sprockets/845f298beeac205ce2857c27989dec2c
|
|
117
|
+
- test/dummy/tmp/cache/assets/development/sprockets/b6c1e949265f4c89008b6d8e4f180939
|
|
118
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c12cb16e97555e2673a6ddcbebe2c139
|
|
119
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c38035e857666b412c1768a2d250aa54
|
|
120
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d120b6eb16a4a9a4c6d71ee84196bdf1
|
|
121
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d209c9c679c6aa80ca9bcec5be84d300
|
|
122
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f4842c902fc8a799d4aef3b10c510709
|
|
123
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f50567513c2c23552b59ce7418ca16db
|
|
124
|
+
- test/fixtures/blorgh/posts.yml
|
|
125
|
+
- test/helpers/blorgh/posts_helper_test.rb
|
|
126
|
+
- test/integration/navigation_test.rb
|
|
127
|
+
- test/models/blorgh/post_test.rb
|
|
128
|
+
- test/test_helper.rb
|
|
129
|
+
homepage: https://rubygems.org/profiles/daneil
|
|
130
|
+
licenses: []
|
|
131
|
+
metadata: {}
|
|
132
|
+
post_install_message:
|
|
133
|
+
rdoc_options: []
|
|
134
|
+
require_paths:
|
|
135
|
+
- lib
|
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
|
+
requirements:
|
|
138
|
+
- - ">="
|
|
139
|
+
- !ruby/object:Gem::Version
|
|
140
|
+
version: '0'
|
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '0'
|
|
146
|
+
requirements: []
|
|
147
|
+
rubyforge_project:
|
|
148
|
+
rubygems_version: 2.2.2
|
|
149
|
+
signing_key:
|
|
150
|
+
specification_version: 4
|
|
151
|
+
summary: Test of Blorgh.
|
|
152
|
+
test_files:
|
|
153
|
+
- test/blorgh_test.rb
|
|
154
|
+
- test/controllers/blorgh/posts_controller_test.rb
|
|
155
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
156
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
157
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
158
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
159
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
160
|
+
- test/dummy/bin/bundle
|
|
161
|
+
- test/dummy/bin/rails
|
|
162
|
+
- test/dummy/bin/rake
|
|
163
|
+
- test/dummy/config/application.rb
|
|
164
|
+
- test/dummy/config/boot.rb
|
|
165
|
+
- test/dummy/config/database.yml
|
|
166
|
+
- test/dummy/config/environment.rb
|
|
167
|
+
- test/dummy/config/environments/development.rb
|
|
168
|
+
- test/dummy/config/environments/production.rb
|
|
169
|
+
- test/dummy/config/environments/test.rb
|
|
170
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
171
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
172
|
+
- test/dummy/config/initializers/inflections.rb
|
|
173
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
174
|
+
- test/dummy/config/initializers/secret_token.rb
|
|
175
|
+
- test/dummy/config/initializers/session_store.rb
|
|
176
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
177
|
+
- test/dummy/config/locales/en.yml
|
|
178
|
+
- test/dummy/config/routes.rb
|
|
179
|
+
- test/dummy/config.ru
|
|
180
|
+
- test/dummy/db/development.sqlite3
|
|
181
|
+
- test/dummy/db/schema.rb
|
|
182
|
+
- test/dummy/log/development.log
|
|
183
|
+
- test/dummy/public/404.html
|
|
184
|
+
- test/dummy/public/422.html
|
|
185
|
+
- test/dummy/public/500.html
|
|
186
|
+
- test/dummy/public/favicon.ico
|
|
187
|
+
- test/dummy/Rakefile
|
|
188
|
+
- test/dummy/README.rdoc
|
|
189
|
+
- test/dummy/tmp/cache/assets/development/sprockets/360a9f0be690ccb5a62eb5da4e315ed2
|
|
190
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3c53f6994cd31c80ebaa59f34cb62657
|
|
191
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4702e4a5ac6df7f1eeef3d863306dfe6
|
|
192
|
+
- test/dummy/tmp/cache/assets/development/sprockets/5f266f8563c7fec5c87385b9af5efbaf
|
|
193
|
+
- test/dummy/tmp/cache/assets/development/sprockets/61f8cc465bcfe0a331b851573a6904bd
|
|
194
|
+
- test/dummy/tmp/cache/assets/development/sprockets/7588a37f90e20a731b80cf1a2d0e6aef
|
|
195
|
+
- test/dummy/tmp/cache/assets/development/sprockets/80170e7106bfb7704e3560603f58c6c7
|
|
196
|
+
- test/dummy/tmp/cache/assets/development/sprockets/845f298beeac205ce2857c27989dec2c
|
|
197
|
+
- test/dummy/tmp/cache/assets/development/sprockets/b6c1e949265f4c89008b6d8e4f180939
|
|
198
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c12cb16e97555e2673a6ddcbebe2c139
|
|
199
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c38035e857666b412c1768a2d250aa54
|
|
200
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d120b6eb16a4a9a4c6d71ee84196bdf1
|
|
201
|
+
- test/dummy/tmp/cache/assets/development/sprockets/d209c9c679c6aa80ca9bcec5be84d300
|
|
202
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f4842c902fc8a799d4aef3b10c510709
|
|
203
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f50567513c2c23552b59ce7418ca16db
|
|
204
|
+
- test/fixtures/blorgh/posts.yml
|
|
205
|
+
- test/helpers/blorgh/posts_helper_test.rb
|
|
206
|
+
- test/integration/navigation_test.rb
|
|
207
|
+
- test/models/blorgh/post_test.rb
|
|
208
|
+
- test/test_helper.rb
|