inline_forms 3.0.53 → 3.0.54

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77876ccb77fe690596cfbb6b9fb310298485d406
4
- data.tar.gz: 5db94e3374918163aec794ba2a047f74f4e3f96e
3
+ metadata.gz: 2d0bb4b0ad8696451452e4daa7e32e642f10f2c0
4
+ data.tar.gz: 600eab9a54a52ab024ad729a2dc12b03e7476cd1
5
5
  SHA512:
6
- metadata.gz: 3c1d150acca9f169d61178c754ff75b5173f6e8a00ffa6bbf229f73ca88f091519212ad4efaa22f02a96adeacadfd6d68deb24b084b97057a0661c43a44d9f56
7
- data.tar.gz: cb3676fecf0493f271374c0f5aeebcb009babdb33f080a7959589d63dd5ad08c2bb1fad552d2684c93200f0c46a386de35a8f2f4f549d0d9f87b93571f2750d6
6
+ metadata.gz: 4ee233ef11285f61b185ea740a4e0e9517fc578a1c5abc745ce825ba20528b50ee7b3d143019d8fd8dffb9cedd9fab8764c24cb012fe903de808b458aa1894cd
7
+ data.tar.gz: ab65fbfd1da77a041ee682753a6e7f1c3c23ef31663e32f379fe5d5daa47a43fb48a2b02489e3ca70233ba5841f4fd76a4db166b258ac1d672bd7aa4f7c088aa
@@ -339,8 +339,9 @@ create_file "config/locales/inline_forms_local.en.yml", <<-END_LOCALE.strip_here
339
339
  inline_forms:
340
340
  general:
341
341
  application_title: #{app_name}
342
+ devise:
342
343
  title_for_devise: #{app_name}
343
- welcome_for_devise: Welcome to #{app_name}!
344
+ welcome: Welcome to #{app_name}!
344
345
  END_LOCALE
345
346
 
346
347
  say "- Migrating Database (only when using sqlite)"
@@ -368,11 +369,10 @@ create_file "app/controllers/application_controller.rb", <<-END_APPCONTROLLER.st
368
369
  class ApplicationController < InlineFormsApplicationController
369
370
  protect_from_forgery
370
371
 
371
- # Comment next two lines if you don't want Devise authentication
372
+ # Comment next line if you don't want Devise authentication
372
373
  before_filter :authenticate_user!
373
- layout 'devise' if :devise_controller?
374
374
 
375
- # Comment next 6 lines if you want CanCan authorization
375
+ # Comment next 6 lines if you do not want CanCan authorization
376
376
  enable_authorization :unless => :devise_controller?
377
377
 
378
378
  rescue_from CanCan::Unauthorized do |exception|
@@ -2,7 +2,7 @@
2
2
  <nav id='inline_forms_devise_top_nav_bar' class='top-bar' data-topbar>
3
3
  <ul class='title-area'>
4
4
  <li class='name'>
5
- <h1><a href='/'><%= t('inline_forms.general.title_for_devise') %> <%= InlineForms::VERSION %></a></h1>
5
+ <h1><a href='/'><%= t('inline_forms.devise.title_for_devise') %> <%= InlineForms::VERSION %></a></h1>
6
6
  </li>
7
7
  <li class='toggle-topbar menu-icon'>
8
8
  <a href='#'><span></span></a>
@@ -15,4 +15,5 @@
15
15
  <% flash.each do |name, msg| %>
16
16
  <%= content_tag :div, msg, :id => "flash_#{name}", :class => 'devise flash' %>
17
17
  <% end unless flash.blank? %>
18
+ <%= devise_error_messages! %>
18
19
  </div>
@@ -2,7 +2,7 @@
2
2
  <nav id='inline_forms_devise_top_nav_bar' class='top-bar' data-topbar>
3
3
  <ul class='title-area'>
4
4
  <li class='name'>
5
- <h1><a href='/'><%= t('inline_forms.general.title_for_devise') %> <%= InlineForms::VERSION %></a></h1>
5
+ <h1><a href='/'><%= t('inline_forms.devise.title_for_devise') %> <%= InlineForms::VERSION %></a></h1>
6
6
  </li>
7
7
  <li class='toggle-topbar menu-icon'>
8
8
  <a href='#'><span></span></a>
@@ -16,5 +16,4 @@
16
16
  <%= content_tag :div, msg, :id => "flash_#{name}", :class => 'devise flash' %>
17
17
  <% end unless flash.blank? %>
18
18
  <%= devise_error_messages! %>
19
-
20
19
  </div>
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "3.0.53"
3
+ VERSION = "3.0.54"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.53
4
+ version: 3.0.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares