ish_models 0.0.33.44 → 0.0.33.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ish_models/user_profile.rb +2 -1
- data/lib/report.rb +5 -0
- data/lib/tag.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06f15ccc72f9b4e6ed3428fc99ecd8fb1ffc7a37
|
4
|
+
data.tar.gz: 1cea75cb5c4da728f9bc8071c0ea81ffe17a2058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9787652dc225601799fa42a4ec5799836a9c1ca7411330f8e95c29afccfa164622ab8716cef213a0fc33149da50beedf992443b7e53032706acc8e0fab39950
|
7
|
+
data.tar.gz: 3388f85671b2506b5121778e6d8be61eb2f6fc94fb6e4ee5974cc665dcf7bafc8849db3a23af5cff633d300753a4b9db29ec2d58566f47f97f0eaace5c738824
|
@@ -2,8 +2,9 @@ class IshModels::UserProfile
|
|
2
2
|
include Mongoid::Document
|
3
3
|
include Mongoid::Timestamps
|
4
4
|
|
5
|
-
field :username, :type => String
|
5
|
+
# field :username, :type => String
|
6
6
|
field :name
|
7
|
+
validates_presence_of :name
|
7
8
|
|
8
9
|
field :email
|
9
10
|
# validates_format_of :email, :with => ::Devise::email_regexp
|
data/lib/report.rb
CHANGED
data/lib/tag.rb
CHANGED