muck-users 0.3.16 → 0.3.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.
- data/VERSION +1 -1
- data/app/controllers/muck/users_controller.rb +1 -0
- data/muck-users.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.17
|
|
@@ -184,6 +184,7 @@ class Muck::UsersController < ApplicationController
|
|
|
184
184
|
|
|
185
185
|
def setup_tos
|
|
186
186
|
# This value is not mass updatable and must be set manually.
|
|
187
|
+
return unless params[:user] && params[:user][:terms_of_service]
|
|
187
188
|
if params[:user][:terms_of_service] == '1' || params[:user][:terms_of_service] == true
|
|
188
189
|
@user.terms_of_service = true
|
|
189
190
|
end
|
data/muck-users.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: muck-users
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 49
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 17
|
|
10
|
+
version: 0.3.17
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Justin Ball
|