chr 0.4.15 → 0.4.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/app/assets/javascripts/chr/chr.coffee +7 -6
- data/app/assets/javascripts/chr/module.coffee +1 -0
- data/app/assets/stylesheets/chr/layout.scss +3 -2
- data/app/assets/stylesheets/chr/themes/basic.scss +1 -6
- data/chr.gemspec +9 -7
- data/lib/chr/version.rb +3 -3
- data/lib/chr.rb +1 -0
- data/templates/body_class_helper.rb +0 -4
- data/templates/character_admin.coffee.erb +2 -4
- data/templates/character_admin_index.html.erb +1 -1
- data/templates/character_base_controller.rb +1 -5
- data/templates/dev.rake +1 -1
- data/templates/devise_overrides_passwords_controller.rb +4 -5
- data/templates/devise_overrides_passwords_edit.html.erb +2 -2
- data/templates/devise_overrides_passwords_new.html.erb +1 -1
- data/templates/devise_overrides_sessions_controller.rb +2 -3
- data/templates/devise_overrides_sessions_new.html.erb +3 -3
- data/templates/routes.rb +4 -4
- data/templates/smtp.rb +6 -6
- data/test/rails_app/app/controllers/admin/base_controller.rb +0 -1
- data/test/rails_app/config/mongoid.yml +11 -1
- data/test/rails_app/config/routes.rb +0 -2
- data/test/rails_app/log/development.log +430 -0
- data/test/test_helper.rb +1 -2
- metadata +51 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2df4501ffbabfbe47c60cb6d6df848b28ed1388e
|
4
|
+
data.tar.gz: f4b7d9a5871464cc97fcd3410815d162b29379c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0297cc5193058bfbe0b7ed9d4932105af70c0b09373899a44bd5b8493a69abd4c1f9926aaead6fd9cd7dadbde6151d3ce76babceed82fc75aac5b7c6a2952927
|
7
|
+
data.tar.gz: c1f5661d1bf9dd15ebb960b40a0077c49701aaa0f1fc49c9be8b5a17461401551c22f0fd697881c5fc34111bbd8733f7dcc4619ad7175d064aeeb1de4161e743
|
data/.gitignore
CHANGED
@@ -49,8 +49,12 @@ class @Chr
|
|
49
49
|
return $(a).addClass('active')
|
50
50
|
|
51
51
|
|
52
|
-
_add_menu_item: (moduleName, title) ->
|
53
|
-
|
52
|
+
_add_menu_item: (moduleName, title, icon) ->
|
53
|
+
if icon
|
54
|
+
@$mainMenu.append("""<a href="#/#{ moduleName }" class="menu-#{ moduleName }">
|
55
|
+
<i class="fa fa-#{icon} fa-fw"></i> #{ title }</a>""")
|
56
|
+
else
|
57
|
+
@$mainMenu.append "<a href='#/#{ moduleName }' class='menu-#{ moduleName }'>#{ title }</a>"
|
54
58
|
|
55
59
|
|
56
60
|
_bind_hashchange: ->
|
@@ -99,15 +103,12 @@ class @Chr
|
|
99
103
|
@$el =$ (@config.selector ? 'body')
|
100
104
|
@$navBar =$ "<nav class='sidebar'>"
|
101
105
|
@$mainMenu =$ "<div class='menu'>"
|
102
|
-
@$menuTitle =$ "<div class='menu-title'>#{ title }</div>"
|
103
|
-
|
104
|
-
@$navBar.append(@$menuTitle)
|
105
106
|
@$navBar.append(@$mainMenu)
|
106
107
|
@$el.append(@$navBar)
|
107
108
|
|
108
109
|
for name, config of @config.modules
|
109
110
|
m = new Module(this, name, config)
|
110
|
-
@_add_menu_item(name, m.menuTitle)
|
111
|
+
@_add_menu_item(name, m.menuTitle, m.menuIcon)
|
111
112
|
m.onModuleInit()
|
112
113
|
@modules[name] = m
|
113
114
|
|
@@ -13,12 +13,14 @@ a { text-decoration: none; }
|
|
13
13
|
|
14
14
|
|
15
15
|
/* Menu -------------------------------------------------------------------- */
|
16
|
-
.menu-title { padding : 1em; }
|
17
16
|
.menu a {
|
18
17
|
display : block;
|
19
18
|
position : relative;
|
20
19
|
padding : 1em;
|
21
20
|
}
|
21
|
+
.menu .fa {
|
22
|
+
margin-left: -.25em;
|
23
|
+
}
|
22
24
|
|
23
25
|
|
24
26
|
/* Header ------------------------------------------------------------------ */
|
@@ -161,7 +163,6 @@ a { text-decoration: none; }
|
|
161
163
|
body { overflow: hidden; }
|
162
164
|
|
163
165
|
.menu { font-size : .8em; }
|
164
|
-
.menu-title { padding : .75em; }
|
165
166
|
|
166
167
|
.sidebar {
|
167
168
|
@include position(absolute, 0 null 0 0);
|
@@ -44,7 +44,6 @@ a {
|
|
44
44
|
padding : .75em 1em;
|
45
45
|
}
|
46
46
|
|
47
|
-
.menu-title,
|
48
47
|
.header .title,
|
49
48
|
.header .save {
|
50
49
|
font-weight : $semibold;
|
@@ -199,11 +198,7 @@ a {
|
|
199
198
|
}
|
200
199
|
}
|
201
200
|
|
202
|
-
.
|
203
|
-
font-weight : $regular;
|
204
|
-
color : white;
|
205
|
-
}
|
206
|
-
|
201
|
+
.admin-devise_overrides-passwords,
|
207
202
|
.admin-devise_overrides-sessions {
|
208
203
|
background-color : $list-bg-color;
|
209
204
|
}
|
data/chr.gemspec
CHANGED
@@ -28,22 +28,24 @@ email client etc. It's responsive by default and designed to be data source inde
|
|
28
28
|
s.version = Chr::VERSION
|
29
29
|
s.platform = Gem::Platform::RUBY
|
30
30
|
|
31
|
-
s.add_dependency 'rails',
|
31
|
+
s.add_dependency 'rails', Chr::RAILS_VERSION
|
32
32
|
s.add_dependency 'coffee-rails', '>= 4.0'
|
33
|
-
s.add_dependency 'formagic',
|
33
|
+
s.add_dependency 'formagic', '>= 0.2.8'
|
34
34
|
s.add_dependency 'jquery-rails'
|
35
35
|
s.add_dependency 'sass-rails'
|
36
36
|
s.add_dependency 'bourbon'
|
37
|
+
s.add_dependency 'font-awesome-rails'
|
37
38
|
|
38
39
|
# tests
|
39
|
-
s.add_development_dependency 'mongosteen', '
|
40
|
-
s.add_development_dependency 'ants',
|
41
|
-
s.add_development_dependency '
|
40
|
+
s.add_development_dependency 'mongosteen', '>= 0.2'
|
41
|
+
s.add_development_dependency 'ants', '>= 0.3'
|
42
|
+
s.add_development_dependency 'carrierwave-mongoid'
|
43
|
+
s.add_development_dependency 'mini_magick'
|
42
44
|
|
43
45
|
s.add_development_dependency 'faker'
|
44
46
|
s.add_development_dependency 'coveralls'
|
45
|
-
s.add_development_dependency 'uglifier'
|
46
|
-
s.add_development_dependency 'database_cleaner'
|
47
|
+
s.add_development_dependency 'uglifier'
|
48
|
+
s.add_development_dependency 'database_cleaner'
|
47
49
|
s.add_development_dependency 'factory_girl_rails'
|
48
50
|
s.add_development_dependency 'capybara-webkit'
|
49
51
|
s.add_development_dependency 'capybara-screenshot'
|
data/lib/chr/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Chr
|
2
|
-
RAILS_VERSION = "~> 4.2.
|
3
|
-
RUBY_VERSION
|
4
|
-
VERSION
|
2
|
+
RAILS_VERSION = "~> 4.2.5"
|
3
|
+
RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
|
4
|
+
VERSION = "0.4.17"
|
5
5
|
end
|
data/lib/chr.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
loft: new Loft()
|
11
11
|
settings:
|
12
12
|
items:
|
13
|
-
admins: new
|
13
|
+
admins: new AntsAdminUsers()
|
14
14
|
redirects: new AntsRedirects()
|
15
15
|
|
16
16
|
return { modules: modules }
|
@@ -20,6 +20,4 @@ $ ->
|
|
20
20
|
config = getConfig(response)
|
21
21
|
|
22
22
|
chr.start('<%= app_name %>', config)
|
23
|
-
|
24
|
-
# append signout button to the end of sidebar menu
|
25
|
-
$('a[data-method=delete]').appendTo(".sidebar .menu").show()
|
23
|
+
new AntsProfile()
|
@@ -1,2 +1,2 @@
|
|
1
1
|
<%= javascript_include_tag :admin %>
|
2
|
-
<%=
|
2
|
+
<%= render partial: 'ants/profile' %>
|
@@ -1,16 +1,12 @@
|
|
1
1
|
class Admin::BaseController < ActionController::Base
|
2
2
|
protect_from_forgery
|
3
|
-
|
4
|
-
before_action :authenticate_admin!
|
5
|
-
|
3
|
+
before_action :authenticate_admin_user!
|
6
4
|
|
7
5
|
def index
|
8
6
|
render '/admin/index', layout: 'admin'
|
9
7
|
end
|
10
8
|
|
11
|
-
|
12
9
|
def bootstrap_data
|
13
10
|
render json: {}
|
14
11
|
end
|
15
|
-
|
16
12
|
end
|
data/templates/dev.rake
CHANGED
@@ -6,7 +6,7 @@ if Rails.env.development? || Rails.env.test?
|
|
6
6
|
task prime: "db:setup" do
|
7
7
|
include FactoryGirl::Syntax::Methods
|
8
8
|
Mongoid.purge!
|
9
|
-
|
9
|
+
AdminUser.create!(name: 'Admin', email: 'user@example.com', password: 'password')
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
|
9
9
|
<%= f.hidden_field :reset_password_token %>
|
10
10
|
|
11
|
-
<label for='
|
11
|
+
<label for='admin_user_password' class='form-input input-required input-string'>
|
12
12
|
<div class='label'>
|
13
13
|
New password
|
14
14
|
<% if @minimum_password_length %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<%= f.password_field :password, autocomplete: "off", tabindex: 1 %>
|
19
19
|
</label>
|
20
20
|
|
21
|
-
<label for='
|
21
|
+
<label for='admin_user_password_confirmation' class='form-input input-required input-string'>
|
22
22
|
<div class='label'>Confirm new password</div>
|
23
23
|
<%= f.password_field :password_confirmation, autocomplete: "off", tabindex: 2 %>
|
24
24
|
</label>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<p class='alert'><%= alert %></p>
|
7
7
|
|
8
8
|
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
|
9
|
-
<label for='
|
9
|
+
<label for='admin_user_email' class='form-input input-required input-string'>
|
10
10
|
<div class='label'>Email</div>
|
11
11
|
<%= f.email_field :email, autofocus: true, tabindex: 1 %>
|
12
12
|
</label>
|
@@ -6,17 +6,17 @@
|
|
6
6
|
<p class='alert'><%= alert %></p>
|
7
7
|
|
8
8
|
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
9
|
-
<label for='
|
9
|
+
<label for='admin_user_email' class='form-input input-required input-string'>
|
10
10
|
<div class='label'>Email</div>
|
11
11
|
<%= f.email_field :email, autofocus: true, tabindex: 1 %>
|
12
12
|
</label>
|
13
13
|
|
14
|
-
<label for='
|
14
|
+
<label for='admin_user_password' class='form-input input-required input-string'>
|
15
15
|
<div class='label'>Password <%= link_to 'Forgot?', new_password_path(resource_name) %></div>
|
16
16
|
<%= f.password_field :password, autocomplete: "off", tabindex: 2 %>
|
17
17
|
</label>
|
18
18
|
|
19
|
-
<label for='
|
19
|
+
<label for='admin_user_remember_me' class='form-input input-switch'>
|
20
20
|
<div class='switch'>
|
21
21
|
<%= f.check_box :remember_me, tabindex: 3 %>
|
22
22
|
<div class='checkbox'></div>
|
data/templates/routes.rb
CHANGED
@@ -7,7 +7,7 @@ Rails.application.routes.draw do
|
|
7
7
|
#-------------------------------------------#
|
8
8
|
# Admin
|
9
9
|
#-------------------------------------------#
|
10
|
-
devise_for :
|
10
|
+
devise_for :admin_users,
|
11
11
|
path: 'admin',
|
12
12
|
controllers: {
|
13
13
|
passwords: 'admin/devise_overrides/passwords',
|
@@ -15,14 +15,14 @@ Rails.application.routes.draw do
|
|
15
15
|
}
|
16
16
|
|
17
17
|
namespace :admin do
|
18
|
-
get '/'
|
18
|
+
get '/' => 'base#index'
|
19
19
|
get '/bootstrap.json' => 'base#bootstrap_data'
|
20
20
|
|
21
21
|
# files
|
22
|
-
resources :assets,
|
22
|
+
resources :assets, controller: 'assets' # Loft::Asset
|
23
23
|
|
24
24
|
# settings
|
25
|
-
resources :
|
25
|
+
resources :admin_users, controller: 'admin_users' # Ants::Admin
|
26
26
|
resources :redirects, controller: 'redirects' # Ants::Redirect
|
27
27
|
end
|
28
28
|
|
data/templates/smtp.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
SMTP_SETTINGS = {
|
2
|
-
address:
|
3
|
-
authentication:
|
4
|
-
domain:
|
2
|
+
address: ENV.fetch("SMTP_ADDRESS"), # example: "smtp.sendgrid.net"
|
3
|
+
authentication: :plain,
|
4
|
+
domain: ENV.fetch("SMTP_DOMAIN"), # example: "heroku.com"
|
5
5
|
enable_starttls_auto: true,
|
6
|
-
password:
|
7
|
-
port:
|
8
|
-
user_name:
|
6
|
+
password: ENV.fetch("SMTP_PASSWORD"),
|
7
|
+
port: "587",
|
8
|
+
user_name: ENV.fetch("SMTP_USERNAME")
|
9
9
|
}
|
@@ -440,3 +440,433 @@ Processing by Admin::ArticlesController#index as JSON
|
|
440
440
|
Parameters: {"sport_articles"=>"true", "page"=>"1", "perPage"=>"24"}
|
441
441
|
MOPED: 127.0.0.1:27017 QUERY database=chr_develop collection=articles selector={"$query"=>{"description"=>"Sport News"}, "$orderby"=>{"_position"=>1}} flags=[] limit=24 skip=0 batch_size=nil fields=nil runtime: 0.6619ms
|
442
442
|
Completed 200 OK in 3ms (Views: 0.2ms)
|
443
|
+
|
444
|
+
|
445
|
+
Started GET "/admin" for ::1 at 2015-11-16 11:24:56 +0200
|
446
|
+
|
447
|
+
ActionController::RoutingError (undefined method `devise' for Admin:Class):
|
448
|
+
ants (0.2.8) app/models/admin.rb:14:in `<class:Admin>'
|
449
|
+
ants (0.2.8) app/models/admin.rb:1:in `<top (required)>'
|
450
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `load'
|
451
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `block in load_file'
|
452
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:647:in `new_constants_in'
|
453
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:456:in `load_file'
|
454
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:354:in `require_or_load'
|
455
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:494:in `load_missing_constant'
|
456
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:184:in `const_missing'
|
457
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `const_get'
|
458
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `block in constantize'
|
459
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `each'
|
460
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `inject'
|
461
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `constantize'
|
462
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:566:in `get'
|
463
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:597:in `constantize'
|
464
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:72:in `controller_reference'
|
465
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:62:in `controller'
|
466
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:41:in `serve'
|
467
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
468
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `each'
|
469
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `serve'
|
470
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
471
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
472
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
473
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
474
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
475
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
476
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
477
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
478
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
479
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
480
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
481
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
482
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
483
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
484
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
485
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
486
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
487
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
488
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
489
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
490
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
491
|
+
railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app'
|
492
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `block in call'
|
493
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
494
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:26:in `tagged'
|
495
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `tagged'
|
496
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `call'
|
497
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
498
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
499
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
500
|
+
activesupport (4.2.5) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
501
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
502
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/static.rb:116:in `call'
|
503
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
504
|
+
railties (4.2.5) lib/rails/engine.rb:518:in `call'
|
505
|
+
railties (4.2.5) lib/rails/application.rb:165:in `call'
|
506
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
507
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
508
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
509
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
510
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
511
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
512
|
+
|
513
|
+
|
514
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
|
515
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
|
516
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.8ms)
|
517
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.4ms)
|
518
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (66.1ms)
|
519
|
+
|
520
|
+
|
521
|
+
Started GET "/admin" for ::1 at 2015-11-16 11:29:12 +0200
|
522
|
+
|
523
|
+
ActionController::RoutingError (undefined method `devise' for Admin:Class):
|
524
|
+
ants (0.2.8) app/models/admin.rb:14:in `<class:Admin>'
|
525
|
+
ants (0.2.8) app/models/admin.rb:1:in `<top (required)>'
|
526
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `load'
|
527
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `block in load_file'
|
528
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:647:in `new_constants_in'
|
529
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:456:in `load_file'
|
530
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:354:in `require_or_load'
|
531
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:494:in `load_missing_constant'
|
532
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:184:in `const_missing'
|
533
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `const_get'
|
534
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `block in constantize'
|
535
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `each'
|
536
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `inject'
|
537
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `constantize'
|
538
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:566:in `get'
|
539
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:597:in `constantize'
|
540
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:72:in `controller_reference'
|
541
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:62:in `controller'
|
542
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:41:in `serve'
|
543
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
544
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `each'
|
545
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `serve'
|
546
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
547
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
548
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
549
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
550
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
551
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
552
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
553
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
554
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
555
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
556
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
557
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
558
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
559
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
560
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
561
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
562
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
563
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
564
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
565
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
566
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
567
|
+
railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app'
|
568
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `block in call'
|
569
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
570
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:26:in `tagged'
|
571
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `tagged'
|
572
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `call'
|
573
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
574
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
575
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
576
|
+
activesupport (4.2.5) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
577
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
578
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/static.rb:116:in `call'
|
579
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
580
|
+
railties (4.2.5) lib/rails/engine.rb:518:in `call'
|
581
|
+
railties (4.2.5) lib/rails/application.rb:165:in `call'
|
582
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
583
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
584
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
585
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
586
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
587
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
588
|
+
|
589
|
+
|
590
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
591
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
592
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.9ms)
|
593
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.4ms)
|
594
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (60.5ms)
|
595
|
+
|
596
|
+
|
597
|
+
Started GET "/admin" for ::1 at 2015-11-16 11:29:15 +0200
|
598
|
+
|
599
|
+
ActionController::RoutingError (undefined method `devise' for Admin:Class):
|
600
|
+
ants (0.2.8) app/models/admin.rb:14:in `<class:Admin>'
|
601
|
+
ants (0.2.8) app/models/admin.rb:1:in `<top (required)>'
|
602
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `load'
|
603
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `block in load_file'
|
604
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:647:in `new_constants_in'
|
605
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:456:in `load_file'
|
606
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:354:in `require_or_load'
|
607
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:494:in `load_missing_constant'
|
608
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:184:in `const_missing'
|
609
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `const_get'
|
610
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `block in constantize'
|
611
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `each'
|
612
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `inject'
|
613
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `constantize'
|
614
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:566:in `get'
|
615
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:597:in `constantize'
|
616
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:72:in `controller_reference'
|
617
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:62:in `controller'
|
618
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:41:in `serve'
|
619
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
620
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `each'
|
621
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `serve'
|
622
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
623
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
624
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
625
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
626
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
627
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
628
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
629
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
630
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
631
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
632
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
633
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
634
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
635
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
636
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
637
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
638
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
639
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
640
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
641
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
642
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
643
|
+
railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app'
|
644
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `block in call'
|
645
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
646
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:26:in `tagged'
|
647
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `tagged'
|
648
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `call'
|
649
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
650
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
651
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
652
|
+
activesupport (4.2.5) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
653
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
654
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/static.rb:116:in `call'
|
655
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
656
|
+
railties (4.2.5) lib/rails/engine.rb:518:in `call'
|
657
|
+
railties (4.2.5) lib/rails/application.rb:165:in `call'
|
658
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
659
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
660
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
661
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
662
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
663
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
664
|
+
|
665
|
+
|
666
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
|
667
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
668
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms)
|
669
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
670
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (46.1ms)
|
671
|
+
|
672
|
+
|
673
|
+
Started GET "/admin" for ::1 at 2015-11-16 11:29:54 +0200
|
674
|
+
|
675
|
+
ActionController::RoutingError (undefined method `devise' for Admin:Class):
|
676
|
+
ants (0.2.8) app/models/admin.rb:14:in `<class:Admin>'
|
677
|
+
ants (0.2.8) app/models/admin.rb:1:in `<top (required)>'
|
678
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `load'
|
679
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:457:in `block in load_file'
|
680
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:647:in `new_constants_in'
|
681
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:456:in `load_file'
|
682
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:354:in `require_or_load'
|
683
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:494:in `load_missing_constant'
|
684
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:184:in `const_missing'
|
685
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `const_get'
|
686
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:261:in `block in constantize'
|
687
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `each'
|
688
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `inject'
|
689
|
+
activesupport (4.2.5) lib/active_support/inflector/methods.rb:259:in `constantize'
|
690
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:566:in `get'
|
691
|
+
activesupport (4.2.5) lib/active_support/dependencies.rb:597:in `constantize'
|
692
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:72:in `controller_reference'
|
693
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:62:in `controller'
|
694
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:41:in `serve'
|
695
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
696
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `each'
|
697
|
+
actionpack (4.2.5) lib/action_dispatch/journey/router.rb:30:in `serve'
|
698
|
+
actionpack (4.2.5) lib/action_dispatch/routing/route_set.rb:817:in `call'
|
699
|
+
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
|
700
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
|
701
|
+
warden (1.2.3) lib/warden/manager.rb:34:in `call'
|
702
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
703
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
704
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
705
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
706
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
707
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
708
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
709
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
710
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
711
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
712
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
713
|
+
activesupport (4.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
714
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
715
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
716
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
717
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
718
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
719
|
+
railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app'
|
720
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `block in call'
|
721
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
722
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:26:in `tagged'
|
723
|
+
activesupport (4.2.5) lib/active_support/tagged_logging.rb:68:in `tagged'
|
724
|
+
railties (4.2.5) lib/rails/rack/logger.rb:20:in `call'
|
725
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
726
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
727
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
728
|
+
activesupport (4.2.5) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
729
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
730
|
+
actionpack (4.2.5) lib/action_dispatch/middleware/static.rb:116:in `call'
|
731
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
732
|
+
railties (4.2.5) lib/rails/engine.rb:518:in `call'
|
733
|
+
railties (4.2.5) lib/rails/application.rb:165:in `call'
|
734
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
735
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
736
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
737
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
738
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
739
|
+
/Users/kravc/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
740
|
+
|
741
|
+
|
742
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
|
743
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
744
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.4ms)
|
745
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.0ms)
|
746
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/actionpack-4.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (61.5ms)
|
747
|
+
|
748
|
+
|
749
|
+
Started GET "/" for ::1 at 2015-11-16 12:22:58 +0200
|
750
|
+
Processing by Rails::WelcomeController#index as HTML
|
751
|
+
Rendered /Users/kravc/.rvm/gems/ruby-2.2.3/gems/railties-4.2.5/lib/rails/templates/rails/welcome/index.html.erb (1.7ms)
|
752
|
+
Completed 200 OK in 9ms (Views: 8.7ms)
|
753
|
+
|
754
|
+
|
755
|
+
Started GET "/admin" for ::1 at 2015-11-16 12:23:01 +0200
|
756
|
+
Processing by Admin::BaseController#index as HTML
|
757
|
+
Rendered admin/index.html.erb within layouts/admin (7190.4ms)
|
758
|
+
Completed 200 OK in 8787ms (Views: 8787.2ms)
|
759
|
+
|
760
|
+
|
761
|
+
Started GET "/assets/admin.self-be1e6d86a6cf574b240900e73fc084315f1c348c2e725f44c5c12de07fdb7f77.css?body=1" for ::1 at 2015-11-16 12:23:10 +0200
|
762
|
+
|
763
|
+
|
764
|
+
Started GET "/assets/admin.self-930da69b66ad2a181ccfa439700eb7e1438d7e0277eae3837b2fb682c8d1d029.js?body=1" for ::1 at 2015-11-16 12:23:10 +0200
|
765
|
+
|
766
|
+
|
767
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:10 +0200
|
768
|
+
Processing by Admin::ArticlesController#index as JSON
|
769
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
770
|
+
Completed 200 OK in 5ms (Views: 0.1ms)
|
771
|
+
|
772
|
+
|
773
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:16 +0200
|
774
|
+
Processing by Admin::ArticlesController#index as JSON
|
775
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
776
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
777
|
+
|
778
|
+
|
779
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:18 +0200
|
780
|
+
Processing by Admin::ArticlesController#index as JSON
|
781
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
782
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
783
|
+
|
784
|
+
|
785
|
+
Started GET "/admin/articles.json?sport_articles=true&page=1&perPage=26" for ::1 at 2015-11-16 12:23:19 +0200
|
786
|
+
Processing by Admin::ArticlesController#index as JSON
|
787
|
+
Parameters: {"sport_articles"=>"true", "page"=>"1", "perPage"=>"26"}
|
788
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
789
|
+
|
790
|
+
|
791
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:20 +0200
|
792
|
+
Processing by Admin::ArticlesController#index as JSON
|
793
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
794
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
795
|
+
|
796
|
+
|
797
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:33 +0200
|
798
|
+
Processing by Admin::ArticlesController#index as JSON
|
799
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
800
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
801
|
+
|
802
|
+
|
803
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:33 +0200
|
804
|
+
Processing by Admin::ArticlesController#index as JSON
|
805
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
806
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
807
|
+
|
808
|
+
|
809
|
+
Started GET "/admin/articles.json?sport_articles=true&page=1&perPage=26" for ::1 at 2015-11-16 12:23:35 +0200
|
810
|
+
Processing by Admin::ArticlesController#index as JSON
|
811
|
+
Parameters: {"sport_articles"=>"true", "page"=>"1", "perPage"=>"26"}
|
812
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
813
|
+
|
814
|
+
|
815
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 12:23:35 +0200
|
816
|
+
Processing by Admin::ArticlesController#index as JSON
|
817
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
818
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
819
|
+
|
820
|
+
|
821
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:15:33 +0200
|
822
|
+
Processing by Admin::ArticlesController#index as JSON
|
823
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
824
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
825
|
+
|
826
|
+
|
827
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:15:34 +0200
|
828
|
+
Processing by Admin::ArticlesController#index as JSON
|
829
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
830
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
831
|
+
|
832
|
+
|
833
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:15:43 +0200
|
834
|
+
Processing by Admin::ArticlesController#index as JSON
|
835
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
836
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
837
|
+
|
838
|
+
|
839
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:15:45 +0200
|
840
|
+
Processing by Admin::ArticlesController#index as JSON
|
841
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
842
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
843
|
+
|
844
|
+
|
845
|
+
Started GET "/admin/articles.json?sport_articles=true&page=1&perPage=26" for ::1 at 2015-11-16 13:15:57 +0200
|
846
|
+
Processing by Admin::ArticlesController#index as JSON
|
847
|
+
Parameters: {"sport_articles"=>"true", "page"=>"1", "perPage"=>"26"}
|
848
|
+
Completed 200 OK in 2ms (Views: 0.2ms)
|
849
|
+
|
850
|
+
|
851
|
+
Started GET "/admin/articles.json?sport_articles=true&page=1&perPage=26" for ::1 at 2015-11-16 13:16:01 +0200
|
852
|
+
Processing by Admin::ArticlesController#index as JSON
|
853
|
+
Parameters: {"sport_articles"=>"true", "page"=>"1", "perPage"=>"26"}
|
854
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
855
|
+
|
856
|
+
|
857
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:16:09 +0200
|
858
|
+
Processing by Admin::ArticlesController#index as JSON
|
859
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
860
|
+
Completed 200 OK in 2ms (Views: 0.2ms)
|
861
|
+
|
862
|
+
|
863
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:16:13 +0200
|
864
|
+
Processing by Admin::ArticlesController#index as JSON
|
865
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
866
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
867
|
+
|
868
|
+
|
869
|
+
Started GET "/admin/articles.json?page=1&perPage=26" for ::1 at 2015-11-16 13:16:15 +0200
|
870
|
+
Processing by Admin::ArticlesController#index as JSON
|
871
|
+
Parameters: {"page"=>"1", "perPage"=>"26"}
|
872
|
+
Completed 200 OK in 2ms (Views: 0.1ms)
|
data/test/test_helper.rb
CHANGED
@@ -8,7 +8,6 @@ require 'carrierwave/mongoid'
|
|
8
8
|
require 'rails_app/config/environment'
|
9
9
|
require 'rails/test_help'
|
10
10
|
require 'ants'
|
11
|
-
require 'loft'
|
12
11
|
require 'database_cleaner'
|
13
12
|
require 'minitest/reporters'
|
14
13
|
require 'capybara/rails'
|
@@ -31,7 +30,7 @@ Capybara::Screenshot.prune_strategy = :keep_last_run
|
|
31
30
|
|
32
31
|
|
33
32
|
class ActiveSupport::TestCase
|
34
|
-
|
33
|
+
def setup
|
35
34
|
DatabaseCleaner.start
|
36
35
|
end
|
37
36
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kravets
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-11-
|
13
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.2.
|
21
|
+
version: 4.2.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.2.
|
28
|
+
version: 4.2.5
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: coffee-rails
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,48 +96,76 @@ dependencies:
|
|
96
96
|
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: font-awesome-rails
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :runtime
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
99
113
|
- !ruby/object:Gem::Dependency
|
100
114
|
name: mongosteen
|
101
115
|
requirement: !ruby/object:Gem::Requirement
|
102
116
|
requirements:
|
103
|
-
- - "
|
117
|
+
- - ">="
|
104
118
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
119
|
+
version: '0.2'
|
106
120
|
type: :development
|
107
121
|
prerelease: false
|
108
122
|
version_requirements: !ruby/object:Gem::Requirement
|
109
123
|
requirements:
|
110
|
-
- - "
|
124
|
+
- - ">="
|
111
125
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
126
|
+
version: '0.2'
|
113
127
|
- !ruby/object:Gem::Dependency
|
114
128
|
name: ants
|
115
129
|
requirement: !ruby/object:Gem::Requirement
|
116
130
|
requirements:
|
117
|
-
- - "
|
131
|
+
- - ">="
|
118
132
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
133
|
+
version: '0.3'
|
120
134
|
type: :development
|
121
135
|
prerelease: false
|
122
136
|
version_requirements: !ruby/object:Gem::Requirement
|
123
137
|
requirements:
|
124
|
-
- - "
|
138
|
+
- - ">="
|
125
139
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.
|
140
|
+
version: '0.3'
|
127
141
|
- !ruby/object:Gem::Dependency
|
128
|
-
name:
|
142
|
+
name: carrierwave-mongoid
|
129
143
|
requirement: !ruby/object:Gem::Requirement
|
130
144
|
requirements:
|
131
|
-
- - "
|
145
|
+
- - ">="
|
132
146
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0
|
147
|
+
version: '0'
|
134
148
|
type: :development
|
135
149
|
prerelease: false
|
136
150
|
version_requirements: !ruby/object:Gem::Requirement
|
137
151
|
requirements:
|
138
|
-
- - "
|
152
|
+
- - ">="
|
139
153
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0
|
154
|
+
version: '0'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: mini_magick
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
141
169
|
- !ruby/object:Gem::Dependency
|
142
170
|
name: faker
|
143
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,28 +200,28 @@ dependencies:
|
|
172
200
|
requirements:
|
173
201
|
- - ">="
|
174
202
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
203
|
+
version: '0'
|
176
204
|
type: :development
|
177
205
|
prerelease: false
|
178
206
|
version_requirements: !ruby/object:Gem::Requirement
|
179
207
|
requirements:
|
180
208
|
- - ">="
|
181
209
|
- !ruby/object:Gem::Version
|
182
|
-
version:
|
210
|
+
version: '0'
|
183
211
|
- !ruby/object:Gem::Dependency
|
184
212
|
name: database_cleaner
|
185
213
|
requirement: !ruby/object:Gem::Requirement
|
186
214
|
requirements:
|
187
|
-
- -
|
215
|
+
- - ">="
|
188
216
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
217
|
+
version: '0'
|
190
218
|
type: :development
|
191
219
|
prerelease: false
|
192
220
|
version_requirements: !ruby/object:Gem::Requirement
|
193
221
|
requirements:
|
194
|
-
- -
|
222
|
+
- - ">="
|
195
223
|
- !ruby/object:Gem::Version
|
196
|
-
version:
|
224
|
+
version: '0'
|
197
225
|
- !ruby/object:Gem::Dependency
|
198
226
|
name: factory_girl_rails
|
199
227
|
requirement: !ruby/object:Gem::Requirement
|