rails_dash 0.1.2 → 0.1.3
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.
- data/app/assets/stylesheets/rails_dash/forms.scss +9 -3
- data/app/assets/stylesheets/rails_dash/grid.scss +1 -1
- data/app/assets/stylesheets/rails_dash/navigation.scss +11 -12
- data/app/helpers/rails_dash/{application_helper.rb → base_helper.rb} +1 -1
- data/app/views/rails_dash/_header.html.erb +3 -3
- data/config/locales/en.yml +20 -18
- data/config/locales/es.yml +20 -18
- data/lib/generators/dash/install_generator.rb +1 -1
- data/lib/generators/dash/resource_generator.rb +1 -1
- data/lib/generators/dash/templates/base_controller.rb +15 -0
- data/lib/generators/dash/templates/dash.html.erb +5 -5
- data/lib/generators/dash/templates/index.html.erb +3 -3
- data/lib/generators/dash/templates/resource_controller.rb +9 -9
- data/lib/rails_dash/version.rb +1 -1
- data/test/dummy/log/development.log +152 -0
- data/test/dummy/log/test.log +1 -0
- data/test/dummy/tmp/cache/assets/CAC/DF0/sprockets%2F68591a55b098a6a551a059f2f8a007c2 +0 -0
- data/test/dummy/tmp/cache/assets/CC5/330/sprockets%2F822e9659e8ca6a7b8fd06735768a1309 +0 -0
- data/test/dummy/tmp/cache/assets/D29/0B0/sprockets%2F606c351a2b9c0b15a5dbc5bf073e0377 +0 -0
- data/test/dummy/tmp/cache/assets/D42/D60/sprockets%2F24c45cda560034c533ee99fa63d5e6c9 +0 -0
- data/test/dummy/tmp/cache/assets/D9D/390/sprockets%2F612e4dfda3799cc2e6ea2b7197ca142d +0 -0
- data/test/dummy/tmp/cache/assets/DCC/A40/sprockets%2Fafbcb38cff70c4a1c772c35e8dc24376 +0 -0
- data/test/dummy/tmp/cache/assets/E3C/BA0/sprockets%2Fc0f6779a15cd28aef5c6da4cf8adf96d +0 -0
- data/test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/forms.scssc +0 -0
- metadata +12 -4
- data/lib/generators/dash/templates/dash_controller.rb +0 -11
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
form {
|
3
3
|
margin: auto;
|
4
|
-
width:
|
4
|
+
width: 550px;
|
5
5
|
|
6
6
|
a {
|
7
7
|
font-size: 13px;
|
@@ -54,9 +54,10 @@ form {
|
|
54
54
|
margin-bottom: 5px;
|
55
55
|
}
|
56
56
|
|
57
|
+
|
57
58
|
input[type="text"],input[type="password"],textarea {
|
58
59
|
border: 1px solid #e8e8e8;
|
59
|
-
width:
|
60
|
+
width: 512px;
|
60
61
|
padding: 9px 18px;
|
61
62
|
background: url(shadow.png) top repeat-x;
|
62
63
|
}
|
@@ -65,9 +66,14 @@ form {
|
|
65
66
|
height: 22px;
|
66
67
|
}
|
67
68
|
|
69
|
+
input[type="checkbox"] {
|
70
|
+
float: left;
|
71
|
+
margin-right: 8px;
|
72
|
+
}
|
73
|
+
|
68
74
|
textarea {
|
69
75
|
resize: none;
|
70
|
-
height:
|
76
|
+
height: 350px;
|
71
77
|
overflow: auto;
|
72
78
|
}
|
73
79
|
|
@@ -9,27 +9,26 @@
|
|
9
9
|
font-size: 12px;
|
10
10
|
line-height: 48px;
|
11
11
|
}
|
12
|
+
|
13
|
+
li {
|
14
|
+
float: left;
|
15
|
+
}
|
12
16
|
|
13
|
-
a
|
14
|
-
|
17
|
+
a {
|
18
|
+
line-height: 48px;
|
19
|
+
padding: 0 15px;
|
20
|
+
|
21
|
+
&:hover {
|
22
|
+
background: #444;
|
23
|
+
}
|
15
24
|
}
|
16
25
|
|
17
26
|
#menu {
|
18
27
|
float: left;
|
19
|
-
|
20
|
-
li {
|
21
|
-
float: left;
|
22
|
-
margin-right: 30px;
|
23
|
-
}
|
24
28
|
}
|
25
29
|
|
26
30
|
#session {
|
27
31
|
float: right;
|
28
|
-
|
29
|
-
* {
|
30
|
-
float: left;
|
31
|
-
margin-left: 30px;
|
32
|
-
}
|
33
32
|
}
|
34
33
|
}
|
35
34
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<div id="options">
|
2
|
-
<%= form_tag request.fullpath, method: 'get', id: '
|
3
|
-
<%= text_field_tag :q, params[:q], placeholder: t('
|
2
|
+
<%= form_tag request.fullpath, method: 'get', id: 'filter' do %>
|
3
|
+
<%= text_field_tag :q, params[:q], placeholder: t('global.filter') %>
|
4
4
|
<% end %>
|
5
5
|
<% if new_path %>
|
6
|
-
<%= link_to t('
|
6
|
+
<%= link_to t('global.create'), new_path, class: 'button action' %>
|
7
7
|
<% end %>
|
8
8
|
</div>
|
data/config/locales/en.yml
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
en:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
2
|
+
global:
|
3
|
+
filter: "Filter"
|
4
|
+
confirm: "¿Are you sure you want to destroy this record?"
|
5
|
+
actions: "Actions"
|
6
|
+
create: "Add"
|
7
|
+
update: "Edit"
|
8
|
+
destroy: "Destroy"
|
9
|
+
flash:
|
10
|
+
success:
|
11
|
+
create: "Record added successfully."
|
12
|
+
update: "Record edited successfully."
|
13
|
+
destroy: "Record destroyed successfully."
|
14
|
+
layouts:
|
15
|
+
dash:
|
16
|
+
menu:
|
17
|
+
home: "Home"
|
18
|
+
session:
|
19
|
+
logout: "Logout"
|
20
|
+
footer:
|
21
|
+
copyright: "Dash © %{year}"
|
data/config/locales/es.yml
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
es:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
2
|
+
global:
|
3
|
+
filter: "Filtrar"
|
4
|
+
confirm: "¿Estás seguro que deseas eliminar este registro?"
|
5
|
+
actions: "Acciones"
|
6
|
+
create: "Agregar"
|
7
|
+
update: "Editar"
|
8
|
+
destroy: "Eliminar"
|
9
|
+
flash:
|
10
|
+
success:
|
11
|
+
create: "Registro agregado correctamente."
|
12
|
+
update: "Registro editado correctamente."
|
13
|
+
destroy: "Registro eliminiado correctamente."
|
14
|
+
layouts:
|
15
|
+
dash:
|
16
|
+
menu:
|
17
|
+
home: "Inicio"
|
18
|
+
session:
|
19
|
+
logout: "Salir"
|
20
|
+
footer:
|
21
|
+
copyright: "Panel © %{year}"
|
@@ -4,7 +4,7 @@ module Dash
|
|
4
4
|
source_root File.expand_path('../templates', __FILE__)
|
5
5
|
|
6
6
|
def install
|
7
|
-
template '
|
7
|
+
template 'base_controller.rb', 'app/controllers/dash/base_controller.rb'
|
8
8
|
copy_file 'dash.html.erb', 'app/views/layouts/dash.html.erb'
|
9
9
|
end
|
10
10
|
|
@@ -5,7 +5,7 @@ module Dash
|
|
5
5
|
|
6
6
|
def add_scope
|
7
7
|
insert_into_file "app/models/#{singular_name}.rb", after: /class #{singular_name.camelize}(.*)/ do
|
8
|
-
"\n\n scope :filter,
|
8
|
+
"\n\n scope :filter, ->(term) { where('', term: \"%\#{term}%\") }"
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
@@ -3,20 +3,20 @@
|
|
3
3
|
<head>
|
4
4
|
<title><%= @meta_title %></title>
|
5
5
|
<meta charset="utf-8" />
|
6
|
+
<%= csrf_meta_tags %>
|
6
7
|
<%= google_fonts_link_tag 'Armata' %>
|
7
|
-
<%= stylesheet_link_tag 'rails_dash', :
|
8
|
+
<%= stylesheet_link_tag 'rails_dash', media: 'all' %>
|
8
9
|
<%= javascript_include_tag 'application' %>
|
9
|
-
<%= csrf_meta_tags %>
|
10
10
|
</head>
|
11
11
|
<body>
|
12
12
|
<div id="page">
|
13
13
|
<div id="navigation">
|
14
14
|
<div class="holder">
|
15
15
|
<ul id="menu">
|
16
|
-
<li><%= link_to t('dash.menu.home'), '#' %></li>
|
16
|
+
<li><%= link_to t('layouts.dash.menu.home'), '#', class: 'button' %></li>
|
17
17
|
</ul>
|
18
18
|
<div id="session">
|
19
|
-
<%= link_to t('dash.session.logout'), '#', :
|
19
|
+
<%= link_to t('layouts.dash.session.logout'), '#', class: 'button' %>
|
20
20
|
</div>
|
21
21
|
</div>
|
22
22
|
</div>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
</div>
|
43
43
|
<div id="footer">
|
44
44
|
<div class="holder">
|
45
|
-
<p id="copyright"><%= t 'dash.footer.copyright', :
|
45
|
+
<p id="copyright"><%= t 'layouts.dash.footer.copyright', year: Time.now.year %></p>
|
46
46
|
</div>
|
47
47
|
</div>
|
48
48
|
</body>
|
@@ -3,15 +3,15 @@
|
|
3
3
|
<tr>
|
4
4
|
<th>#</th>
|
5
5
|
<th><%%= <%= class_name %>.human_attribute_name :created_at %></th>
|
6
|
-
<th class="actions"><%%= t '
|
6
|
+
<th class="actions"><%%= t 'global.actions' %></th>
|
7
7
|
</tr>
|
8
8
|
<%% <%= @instance_plural %>.each do |<%= singular_name %>| %>
|
9
9
|
<tr>
|
10
10
|
<td><%%= <%= singular_name %>.id %></td>
|
11
11
|
<td><%%= l <%= singular_name %>.created_at %></td>
|
12
12
|
<td class="actions">
|
13
|
-
<%%= link_to t('
|
14
|
-
<%%= link_to t('
|
13
|
+
<%%= link_to t('global.update'), [:edit, :dash, <%= singular_name %>] %>
|
14
|
+
<%%= link_to t('global.destroy'), [:dash, <%= singular_name %>], confirm: t('global.confirm'), method: 'delete' %>
|
15
15
|
</td>
|
16
16
|
</tr>
|
17
17
|
<%% end %>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Dash
|
2
|
-
class <%= plural_name.camelize %>Controller <
|
2
|
+
class <%= plural_name.camelize %>Controller < BaseController
|
3
3
|
|
4
4
|
def index
|
5
5
|
@meta_title = @title = <%= class_name %>.model_name.human(count: 2)
|
@@ -7,33 +7,33 @@ module Dash
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def new
|
10
|
-
@meta_title = @title = "#{t('
|
10
|
+
@meta_title = @title = "#{t('global.create')} #{<%= class_name %>.model_name.human}"
|
11
11
|
<%= @instance_singular %> = <%= class_name %>.new
|
12
12
|
render :form
|
13
13
|
end
|
14
14
|
|
15
15
|
def create
|
16
|
-
@meta_title = @title = "#{t('
|
16
|
+
@meta_title = @title = "#{t('global.create')} #{<%= class_name %>.model_name.human}"
|
17
17
|
<%= @instance_singular %> = <%= class_name %>.new(params[<%= @param_singular %>])
|
18
18
|
if <%= @instance_singular %>.save
|
19
|
-
redirect_with_flash <%= @index_path %>, :success, t('
|
19
|
+
redirect_with_flash <%= @index_path %>, :success, t('flash.success.create')
|
20
20
|
else
|
21
21
|
flash_errors <%= @instance_singular %>
|
22
22
|
render :form
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
def
|
27
|
-
@meta_title = @title = "#{t('
|
26
|
+
def edit
|
27
|
+
@meta_title = @title = "#{t('global.update')} #{<%= class_name %>.model_name.human}"
|
28
28
|
<%= @instance_singular %> = <%= class_name %>.find(params[:id])
|
29
29
|
render :form
|
30
30
|
end
|
31
31
|
|
32
32
|
def update
|
33
|
-
@meta_title = @title = "#{t('
|
33
|
+
@meta_title = @title = "#{t('global.update')} #{<%= class_name %>.model_name.human}"
|
34
34
|
<%= @instance_singular %> = <%= class_name %>.find(params[:id])
|
35
35
|
if <%= @instance_singular %>.update_attributes(params[<%= @param_singular %>])
|
36
|
-
redirect_with_flash <%= @index_path %>, :success, t('
|
36
|
+
redirect_with_flash <%= @index_path %>, :success, t('flash.success.update')
|
37
37
|
else
|
38
38
|
flash_errors <%= @instance_singular %>
|
39
39
|
render :form
|
@@ -42,7 +42,7 @@ module Dash
|
|
42
42
|
|
43
43
|
def destroy
|
44
44
|
<%= class_name %>.destroy params[:id]
|
45
|
-
redirect_with_flash <%= @index_path %>, :success, t('
|
45
|
+
redirect_with_flash <%= @index_path %>, :success, t('flash.success.destroy')
|
46
46
|
end
|
47
47
|
|
48
48
|
end
|
data/lib/rails_dash/version.rb
CHANGED
@@ -26252,3 +26252,155 @@ ActionController::RoutingError (uninitialized constant StaticsController):
|
|
26252
26252
|
|
26253
26253
|
|
26254
26254
|
Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
26255
|
+
Connecting to database specified by database.yml
|
26256
|
+
|
26257
|
+
|
26258
|
+
Started GET "/" for 127.0.0.1 at 2013-05-24 19:20:32 -0300
|
26259
|
+
|
26260
|
+
ActionController::RoutingError (uninitialized constant StaticsController):
|
26261
|
+
activesupport (3.2.13) lib/active_support/inflector/methods.rb:230:in `block in constantize'
|
26262
|
+
activesupport (3.2.13) lib/active_support/inflector/methods.rb:229:in `each'
|
26263
|
+
activesupport (3.2.13) lib/active_support/inflector/methods.rb:229:in `constantize'
|
26264
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
|
26265
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:54:in `controller'
|
26266
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:32:in `call'
|
26267
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
26268
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
26269
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
26270
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
26271
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
26272
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
26273
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
26274
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
26275
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
26276
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
26277
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
26278
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
26279
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
26280
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
26281
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
26282
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
26283
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2802172073334974300__call__1648720176143708706__callbacks'
|
26284
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
26285
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
26286
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
26287
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
26288
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
26289
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
26290
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
26291
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
26292
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
26293
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
26294
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
26295
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
26296
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
26297
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
26298
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
26299
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
26300
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
26301
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
26302
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
26303
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
26304
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
26305
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
26306
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
26307
|
+
/Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
26308
|
+
/Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
26309
|
+
/Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
26310
|
+
|
26311
|
+
|
26312
|
+
Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.4ms)
|
26313
|
+
|
26314
|
+
|
26315
|
+
Started GET "/dash/photos" for 127.0.0.1 at 2013-05-24 19:20:39 -0300
|
26316
|
+
Processing by Dash::PhotosController#index as HTML
|
26317
|
+
Rendered /Users/Matt/Documents/Mattways/Emprendimientos/Rails/rails_dash/app/views/rails_dash/_header.html.erb (1.6ms)
|
26318
|
+
[1m[36mPhoto Load (0.1ms)[0m [1mSELECT "photos".* FROM "photos" LIMIT 15 OFFSET 0[0m
|
26319
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "photos"
|
26320
|
+
Rendered /Users/Matt/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rails_pagination-2.0.7/app/views/rails_pagination/_pager.html.erb (1.4ms)
|
26321
|
+
Rendered dash/photos/index.html.erb within layouts/dash (18.7ms)
|
26322
|
+
Compiled rails_dash/forms.css (33ms) (pid 2686)
|
26323
|
+
Compiled rails_dash/index.css (6ms) (pid 2686)
|
26324
|
+
Completed 200 OK in 272ms (Views: 203.3ms | ActiveRecord: 2.9ms)
|
26325
|
+
|
26326
|
+
|
26327
|
+
Started GET "/assets/rails_dash/content.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:39 -0300
|
26328
|
+
Served asset /rails_dash/content.css - 200 OK (3ms)
|
26329
|
+
|
26330
|
+
|
26331
|
+
Started GET "/assets/rails_dash/flash.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26332
|
+
Served asset /rails_dash/flash.css - 200 OK (3ms)
|
26333
|
+
|
26334
|
+
|
26335
|
+
Started GET "/assets/rails_dash/footer.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26336
|
+
Served asset /rails_dash/footer.css - 200 OK (3ms)
|
26337
|
+
|
26338
|
+
|
26339
|
+
Started GET "/assets/rails_dash/forms.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26340
|
+
Served asset /rails_dash/forms.css - 200 OK (3ms)
|
26341
|
+
|
26342
|
+
|
26343
|
+
Started GET "/assets/rails_dash/grid.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26344
|
+
Served asset /rails_dash/grid.css - 200 OK (3ms)
|
26345
|
+
|
26346
|
+
|
26347
|
+
Started GET "/assets/rails_dash/header.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26348
|
+
Served asset /rails_dash/header.css - 200 OK (3ms)
|
26349
|
+
|
26350
|
+
|
26351
|
+
Started GET "/assets/rails_dash/navigation.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26352
|
+
Served asset /rails_dash/navigation.css - 200 OK (3ms)
|
26353
|
+
|
26354
|
+
|
26355
|
+
Started GET "/assets/rails_dash/page.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26356
|
+
Served asset /rails_dash/page.css - 200 OK (3ms)
|
26357
|
+
|
26358
|
+
|
26359
|
+
Started GET "/assets/rails_dash/pager.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26360
|
+
Served asset /rails_dash/pager.css - 200 OK (3ms)
|
26361
|
+
|
26362
|
+
|
26363
|
+
Started GET "/assets/rails_dash/style.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26364
|
+
Served asset /rails_dash/style.css - 200 OK (3ms)
|
26365
|
+
|
26366
|
+
|
26367
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26368
|
+
Served asset /jquery.js - 304 Not Modified (34ms)
|
26369
|
+
|
26370
|
+
|
26371
|
+
Started GET "/assets/rails_dash/index.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26372
|
+
Served asset /rails_dash/index.css - 304 Not Modified (21ms)
|
26373
|
+
|
26374
|
+
|
26375
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26376
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
26377
|
+
|
26378
|
+
|
26379
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26380
|
+
Served asset /application.js - 200 OK (5ms)
|
26381
|
+
|
26382
|
+
|
26383
|
+
Started GET "/assets/rails_dash/filter.png" for 127.0.0.1 at 2013-05-24 19:20:40 -0300
|
26384
|
+
Served asset /rails_dash/filter.png - 304 Not Modified (2ms)
|
26385
|
+
|
26386
|
+
|
26387
|
+
Started GET "/dash/photos/new" for 127.0.0.1 at 2013-05-24 19:20:41 -0300
|
26388
|
+
Processing by Dash::PhotosController#new as HTML
|
26389
|
+
Rendered dash/photos/form.html.erb within layouts/dash (5.8ms)
|
26390
|
+
Completed 200 OK in 117ms (Views: 110.4ms | ActiveRecord: 0.0ms)
|
26391
|
+
|
26392
|
+
|
26393
|
+
Started GET "/assets/rails_dash/index.css?body=1" for 127.0.0.1 at 2013-05-24 19:20:42 -0300
|
26394
|
+
Served asset /rails_dash/index.css - 304 Not Modified (0ms)
|
26395
|
+
|
26396
|
+
|
26397
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-05-24 19:20:42 -0300
|
26398
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
26399
|
+
|
26400
|
+
|
26401
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-05-24 19:20:42 -0300
|
26402
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
26403
|
+
|
26404
|
+
|
26405
|
+
Started GET "/assets/rails_dash/shadow.png" for 127.0.0.1 at 2013-05-24 19:20:42 -0300
|
26406
|
+
Served asset /rails_dash/shadow.png - 200 OK (9ms)
|
@@ -0,0 +1 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_dash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -127,14 +127,14 @@ files:
|
|
127
127
|
- app/assets/stylesheets/rails_dash/page.scss
|
128
128
|
- app/assets/stylesheets/rails_dash/pager.scss
|
129
129
|
- app/assets/stylesheets/rails_dash/style.scss
|
130
|
-
- app/helpers/rails_dash/
|
130
|
+
- app/helpers/rails_dash/base_helper.rb
|
131
131
|
- app/views/rails_dash/_header.html.erb
|
132
132
|
- config/locales/en.yml
|
133
133
|
- config/locales/es.yml
|
134
134
|
- lib/generators/dash/install_generator.rb
|
135
135
|
- lib/generators/dash/resource_generator.rb
|
136
|
+
- lib/generators/dash/templates/base_controller.rb
|
136
137
|
- lib/generators/dash/templates/dash.html.erb
|
137
|
-
- lib/generators/dash/templates/dash_controller.rb
|
138
138
|
- lib/generators/dash/templates/form.html.erb
|
139
139
|
- lib/generators/dash/templates/index.html.erb
|
140
140
|
- lib/generators/dash/templates/resource_controller.rb
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- test/dummy/db/schema.rb
|
180
180
|
- test/dummy/log/development.log
|
181
181
|
- test/dummy/log/production.log
|
182
|
+
- test/dummy/log/test.log
|
182
183
|
- test/dummy/public/404.html
|
183
184
|
- test/dummy/public/422.html
|
184
185
|
- test/dummy/public/500.html
|
@@ -221,6 +222,7 @@ files:
|
|
221
222
|
- test/dummy/tmp/cache/assets/D3A/720/sprockets%2Fd2e3289732e11cf54d74e8ea51acd125
|
222
223
|
- test/dummy/tmp/cache/assets/D3C/F40/sprockets%2Ff0f0ade9590889033e221c7e60c73afa
|
223
224
|
- test/dummy/tmp/cache/assets/D41/CA0/sprockets%2F2fd6911b1d88afa5d82480545bd95aa6
|
225
|
+
- test/dummy/tmp/cache/assets/D42/D60/sprockets%2F24c45cda560034c533ee99fa63d5e6c9
|
224
226
|
- test/dummy/tmp/cache/assets/D4B/300/sprockets%2F21c96e74b485df5c493d1b6df0d4e791
|
225
227
|
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
226
228
|
- test/dummy/tmp/cache/assets/D55/110/sprockets%2F18e497baefd6939772d9cc267d3416ea
|
@@ -237,6 +239,7 @@ files:
|
|
237
239
|
- test/dummy/tmp/cache/assets/DAB/320/sprockets%2F59831ac1cca50d82e29e49d7fbee91f7
|
238
240
|
- test/dummy/tmp/cache/assets/DAC/650/sprockets%2Ff8ec2e25f819797cb9a491d0af22ae9b
|
239
241
|
- test/dummy/tmp/cache/assets/DBA/780/sprockets%2Fe231e0256cb57ae5feac27411bb8cab5
|
242
|
+
- test/dummy/tmp/cache/assets/DCC/A40/sprockets%2Fafbcb38cff70c4a1c772c35e8dc24376
|
240
243
|
- test/dummy/tmp/cache/assets/DCD/B00/sprockets%2Fc39efce3c924fd1aa2c0898e0b3e194b
|
241
244
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
242
245
|
- test/dummy/tmp/cache/assets/DEF/100/sprockets%2F8b9d88bfa8f8eed7910469ef2ab8a8c7
|
@@ -253,6 +256,7 @@ files:
|
|
253
256
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/flash.sassc
|
254
257
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/footer.sassc
|
255
258
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/forms.sassc
|
259
|
+
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/forms.scssc
|
256
260
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/grid.sassc
|
257
261
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/grid.scssc
|
258
262
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/header.sassc
|
@@ -322,6 +326,7 @@ test_files:
|
|
322
326
|
- test/dummy/db/schema.rb
|
323
327
|
- test/dummy/log/development.log
|
324
328
|
- test/dummy/log/production.log
|
329
|
+
- test/dummy/log/test.log
|
325
330
|
- test/dummy/public/404.html
|
326
331
|
- test/dummy/public/422.html
|
327
332
|
- test/dummy/public/500.html
|
@@ -364,6 +369,7 @@ test_files:
|
|
364
369
|
- test/dummy/tmp/cache/assets/D3A/720/sprockets%2Fd2e3289732e11cf54d74e8ea51acd125
|
365
370
|
- test/dummy/tmp/cache/assets/D3C/F40/sprockets%2Ff0f0ade9590889033e221c7e60c73afa
|
366
371
|
- test/dummy/tmp/cache/assets/D41/CA0/sprockets%2F2fd6911b1d88afa5d82480545bd95aa6
|
372
|
+
- test/dummy/tmp/cache/assets/D42/D60/sprockets%2F24c45cda560034c533ee99fa63d5e6c9
|
367
373
|
- test/dummy/tmp/cache/assets/D4B/300/sprockets%2F21c96e74b485df5c493d1b6df0d4e791
|
368
374
|
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
369
375
|
- test/dummy/tmp/cache/assets/D55/110/sprockets%2F18e497baefd6939772d9cc267d3416ea
|
@@ -380,6 +386,7 @@ test_files:
|
|
380
386
|
- test/dummy/tmp/cache/assets/DAB/320/sprockets%2F59831ac1cca50d82e29e49d7fbee91f7
|
381
387
|
- test/dummy/tmp/cache/assets/DAC/650/sprockets%2Ff8ec2e25f819797cb9a491d0af22ae9b
|
382
388
|
- test/dummy/tmp/cache/assets/DBA/780/sprockets%2Fe231e0256cb57ae5feac27411bb8cab5
|
389
|
+
- test/dummy/tmp/cache/assets/DCC/A40/sprockets%2Fafbcb38cff70c4a1c772c35e8dc24376
|
383
390
|
- test/dummy/tmp/cache/assets/DCD/B00/sprockets%2Fc39efce3c924fd1aa2c0898e0b3e194b
|
384
391
|
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
385
392
|
- test/dummy/tmp/cache/assets/DEF/100/sprockets%2F8b9d88bfa8f8eed7910469ef2ab8a8c7
|
@@ -396,6 +403,7 @@ test_files:
|
|
396
403
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/flash.sassc
|
397
404
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/footer.sassc
|
398
405
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/forms.sassc
|
406
|
+
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/forms.scssc
|
399
407
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/grid.sassc
|
400
408
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/grid.scssc
|
401
409
|
- test/dummy/tmp/cache/sass/6128927ae7b2ea45af1afbf9ff6b49e6d69ec9f1/header.sassc
|