chr 0.4.15 → 0.4.17

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 912f73cb64614f05ec42f14e83f2503933b7d820
4
- data.tar.gz: ea5738b31d01552bac7d3ca9b11fd1bc3d7371e5
3
+ metadata.gz: 2df4501ffbabfbe47c60cb6d6df848b28ed1388e
4
+ data.tar.gz: f4b7d9a5871464cc97fcd3410815d162b29379c7
5
5
  SHA512:
6
- metadata.gz: d002f6906c5e8ce5ff85b556b2599aa59b73ffedbabd0910d482c050526ebb506624963078856f9052e4ac5210021daa2035c6bb0fc237192dd5d578d3322889
7
- data.tar.gz: e2747d714fb650826e626f38016916fe5925d93df0459032d4c29032d819ac742624e285635170595c4e521dc10f56593fbbe27d5c67294d3561c1e6856a5e36
6
+ metadata.gz: 0297cc5193058bfbe0b7ed9d4932105af70c0b09373899a44bd5b8493a69abd4c1f9926aaead6fd9cd7dadbde6151d3ce76babceed82fc75aac5b7c6a2952927
7
+ data.tar.gz: c1f5661d1bf9dd15ebb960b40a0077c49701aaa0f1fc49c9be8b5a17461401551c22f0fd697881c5fc34111bbd8733f7dcc4619ad7175d064aeeb1de4161e743
data/.gitignore CHANGED
@@ -12,3 +12,4 @@ log
12
12
  coverage
13
13
  uploads
14
14
  test/rails_app/log/test.log
15
+ test/rails_app/log/development.log
@@ -49,8 +49,12 @@ class @Chr
49
49
  return $(a).addClass('active')
50
50
 
51
51
 
52
- _add_menu_item: (moduleName, title) ->
53
- @$mainMenu.append "<a href='#/#{ moduleName }' class='menu-#{ moduleName }'>#{ title }</a>"
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>&nbsp;#{ 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
 
@@ -39,6 +39,7 @@ class @Module
39
39
  # menu item + layout
40
40
  @menuTitle = @config.menuTitle ? @config.title
41
41
  @menuTitle ?= @name.titleize()
42
+ @menuIcon = @config.menuIcon
42
43
 
43
44
 
44
45
  # PUBLIC ================================================
@@ -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
- .menu-title {
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', Chr::RAILS_VERSION
31
+ s.add_dependency 'rails', Chr::RAILS_VERSION
32
32
  s.add_dependency 'coffee-rails', '>= 4.0'
33
- s.add_dependency 'formagic', '>= 0.2.8'
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', '~> 0.1.8'
40
- s.add_development_dependency 'ants', '~> 0.2.2'
41
- s.add_development_dependency 'loft', '~> 0.2.4'
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', '>= 1.3.0'
46
- s.add_development_dependency 'database_cleaner', '1.0.1'
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.4"
3
- RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "0.4.15"
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
@@ -8,6 +8,7 @@ require 'formagic'
8
8
  require 'jquery-rails'
9
9
  require 'coffee-rails'
10
10
  require 'sass-rails'
11
+ require 'font-awesome-rails'
11
12
 
12
13
  module Chr
13
14
  if defined?(Rails) && defined?(Rails::Engine)
@@ -13,7 +13,3 @@ module BodyClassHelper
13
13
  end
14
14
  end
15
15
  end
16
-
17
-
18
-
19
-
@@ -10,7 +10,7 @@
10
10
  loft: new Loft()
11
11
  settings:
12
12
  items:
13
- admins: new AntsAdmins()
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
- <%= link_to "Sign Out", destroy_admin_session_path, method: :delete, style: "display:none;", class: "menu-logout" %>
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
- Admin.create!(name: 'Admin', email: 'user@example.com', password: 'password')
9
+ AdminUser.create!(name: 'Admin', email: 'user@example.com', password: 'password')
10
10
  end
11
11
  end
12
12
  end
@@ -3,8 +3,7 @@ class Admin::DeviseOverrides::PasswordsController < Devise::PasswordsController
3
3
 
4
4
  protected
5
5
 
6
- def after_resetting_password_path_for(resource)
7
- admin_path
8
- end
9
-
10
- end
6
+ def after_resetting_password_path_for(resource)
7
+ admin_path
8
+ end
9
+ 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='admin_password' class='form-input input-required input-string'>
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='admin_password_confirmation' class='form-input input-required input-string'>
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='admin_email' class='form-input input-required input-string'>
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,7 +6,6 @@ class Admin::DeviseOverrides::SessionsController < Devise::SessionsController
6
6
  end
7
7
 
8
8
  def after_sign_out_path_for(resource)
9
- new_admin_session_path
9
+ new_admin_user_session_path
10
10
  end
11
-
12
- end
11
+ end
@@ -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='admin_email' class='form-input input-required input-string'>
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='admin_password' class='form-input input-required input-string'>
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='admin_remember_me' class='form-input input-switch'>
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 :admins,
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 '/' => 'base#index'
18
+ get '/' => 'base#index'
19
19
  get '/bootstrap.json' => 'base#bootstrap_data'
20
20
 
21
21
  # files
22
- resources :assets, controller: 'assets' # Loft::Asset
22
+ resources :assets, controller: 'assets' # Loft::Asset
23
23
 
24
24
  # settings
25
- resources :admins, controller: 'admins' # Ants::Admin
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: ENV.fetch("SMTP_ADDRESS"), # example: "smtp.sendgrid.net"
3
- authentication: :plain,
4
- domain: ENV.fetch("SMTP_DOMAIN"), # example: "heroku.com"
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: ENV.fetch("SMTP_PASSWORD"),
7
- port: "587",
8
- user_name: ENV.fetch("SMTP_USERNAME")
6
+ password: ENV.fetch("SMTP_PASSWORD"),
7
+ port: "587",
8
+ user_name: ENV.fetch("SMTP_USERNAME")
9
9
  }
@@ -4,5 +4,4 @@ class Admin::BaseController < ActionController::Base
4
4
  def index
5
5
  render '/admin/index', layout: 'admin'
6
6
  end
7
-
8
7
  end
@@ -1,5 +1,15 @@
1
+ development:
2
+ clients:
3
+ default:
4
+ database: chr_development
5
+ hosts:
6
+ - localhost:27017
7
+ options:
8
+ max_retries: 1
9
+ retry_interval: 0
10
+
1
11
  test:
2
- sessions:
12
+ clients:
3
13
  default:
4
14
  database: chr_test
5
15
  hosts:
@@ -1,8 +1,6 @@
1
1
  Rails.application.routes.draw do
2
-
3
2
  namespace :admin do
4
3
  get '/' => 'base#index'
5
4
  resources :articles
6
5
  end
7
-
8
6
  end
@@ -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
- def setup
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.15
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-11 00:00:00.000000000 Z
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.4
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.4
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.1.8
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.1.8
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.2.2
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.2.2
140
+ version: '0.3'
127
141
  - !ruby/object:Gem::Dependency
128
- name: loft
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.2.4
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.2.4
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: 1.3.0
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: 1.3.0
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: 1.0.1
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: 1.0.1
224
+ version: '0'
197
225
  - !ruby/object:Gem::Dependency
198
226
  name: factory_girl_rails
199
227
  requirement: !ruby/object:Gem::Requirement