tkh_mailing_list 0.9 → 0.9.1
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/app/controllers/details_controller.rb +1 -4
- data/lib/tkh_mailing_list/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c06d8c4952e038933330b519327e762d69928ddc
|
|
4
|
+
data.tar.gz: 6f2ba50a33c80e92c9cc46d636c1e5cad954e7f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e817171250dd2f288b8e4254200a6b9176c38aea3d592343880d30022bc41ffbc28115e7c5fe7ac5081d02c9a1659fc883b4bca2890a0f186a7310d2e6eea242
|
|
7
|
+
data.tar.gz: 87e0be80a34948bcdb28b109b896d5639af924666951066372994a37b9f63ec32fc38e99431bb97358a53b215f0ffe3285ed82b0e51696c5e3a7e24871cc80bd
|
data/CHANGELOG.md
CHANGED
|
@@ -20,9 +20,6 @@ class DetailsController < ApplicationController
|
|
|
20
20
|
|
|
21
21
|
def create
|
|
22
22
|
@detail = Detail.new(detail_params)
|
|
23
|
-
# this is needed or has_secure_password won't validate the saving of a record
|
|
24
|
-
@detail.password = 'temporary'
|
|
25
|
-
@detail.password_confirmation = 'temporary'
|
|
26
23
|
if @detail.save
|
|
27
24
|
redirect_to @detail, notice: t('details.create.notice')
|
|
28
25
|
else
|
|
@@ -52,7 +49,7 @@ class DetailsController < ApplicationController
|
|
|
52
49
|
|
|
53
50
|
# Never trust parameters from the scary internet, only allow the white list through.
|
|
54
51
|
def detail_params
|
|
55
|
-
params.require(:detail).permit(:
|
|
52
|
+
params.require(:detail).permit(:teacher_status, :first_name, :last_name, :other_name)
|
|
56
53
|
end
|
|
57
54
|
|
|
58
55
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tkh_mailing_list
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Swami Atma
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
106
106
|
version: '0'
|
|
107
107
|
requirements: []
|
|
108
108
|
rubyforge_project:
|
|
109
|
-
rubygems_version: 2.2.
|
|
109
|
+
rubygems_version: 2.2.2
|
|
110
110
|
signing_key:
|
|
111
111
|
specification_version: 4
|
|
112
112
|
summary: This gem inherits from the tkh_authentication gem and allow administrators
|