dm_core 4.2.3.1 → 4.2.3.2

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: 9eb601b16a7213e561ffe18a46dfb9d555ec7348
4
- data.tar.gz: 55e0acdb593b2b01fff93124379d7e7a1c2896ba
3
+ metadata.gz: 0bdb014068595fb72af91f0135c1198bc6fe6f78
4
+ data.tar.gz: e800ab6c4e3a5221b455096f9f517231d28333da
5
5
  SHA512:
6
- metadata.gz: f3b72f4bbcd0ed45e1e651c493ee8312e26280f3bcac1c218431c4b5cb0aa365b08caca8bdd255b5dbe918fafc705001c40669b719115d9c582473dab7ba6d9d
7
- data.tar.gz: bed11ad2aafec5594b89391f9515ce76027c339e06c69cfd432eb617df10f742b33d608bbaf31ba1daf98f126adb42d6c2f2838bc6b39149ce6e71a7a9a35c7f
6
+ metadata.gz: 6ee3a3850e81883ce418b8d113b167c822a0c65cce40635908c6caba80f756bfcd828a14954dbad65b51f0f885e30b57b64cd28a15e94a720f32180366f3d33d
7
+ data.tar.gz: 6f97e6071bb34e4be9ee0bd762f492a74a3a88ecf1ba3379e1e6c7d7989040456f6d251a85ae5c903e95b55c09687e0c8633e085e9372ad81f509fb7a6399335
@@ -0,0 +1,24 @@
1
+ module DmCore
2
+ module Concerns
3
+ module ConfirmationsController
4
+ extend ActiveSupport::Concern
5
+ include DmCore::PermittedParams
6
+
7
+ included do
8
+ end
9
+
10
+ protected
11
+
12
+ # Example
13
+ # The path used after confirmation.
14
+ #------------------------------------------------------------------------------
15
+ # def after_confirmation_path_for(resource_name, resource)
16
+ # index_url
17
+ # end
18
+ #------------------------------------------------------------------------------
19
+
20
+ module ClassMethods
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,6 @@
1
+ # common Devise Confirmation controller. the main app can add methods
2
+ # to this class
3
+ #------------------------------------------------------------------------------
4
+ class DmCore::ConfirmationsController < Devise::RegistrationsController
5
+ include DmCore::Concerns::ConfirmationsController
6
+ end
@@ -29,7 +29,7 @@ module DeviseHelper
29
29
  return '' unless Rails.application.secrets[:recaptcha_site_key]
30
30
  error = flash[:recaptcha_error] ? "<span class='help-inline'>#{flash[:recaptcha_error]}</span>" : ''
31
31
  html = <<-HTML
32
- <div class="control-group #{'error' if flash[:recaptcha_error]}">
32
+ <div class="form-horizontal control-group #{'error' if flash[:recaptcha_error]}">
33
33
  <div class="controls">
34
34
  #{recaptcha_tags(site_key: Rails.application.secrets[:recaptcha_site_key], hl: I18n.locale)}
35
35
  #{error}
@@ -1,3 +1,3 @@
1
1
  module DmCore
2
- VERSION = "4.2.3.1"
2
+ VERSION = "4.2.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3.1
4
+ version: 4.2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Walker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-09 00:00:00.000000000 Z
11
+ date: 2016-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -808,8 +808,10 @@ files:
808
808
  - app/controllers/dm_core/admin/system_controller.rb
809
809
  - app/controllers/dm_core/admin/users_controller.rb
810
810
  - app/controllers/dm_core/application_controller.rb
811
+ - app/controllers/dm_core/concerns/confirmations_controller.rb
811
812
  - app/controllers/dm_core/concerns/profile_controller.rb
812
813
  - app/controllers/dm_core/concerns/registrations_controller.rb
814
+ - app/controllers/dm_core/confirmations_controller.rb
813
815
  - app/controllers/dm_core/profile_controller.rb
814
816
  - app/controllers/dm_core/registrations_controller.rb
815
817
  - app/datatables/user_datatable.rb