casein 5.1.1.3 → 5.1.1.4
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/README.rdoc +4 -1
- data/app/models/casein/admin_user.rb +5 -2
- data/lib/casein/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2374a4584f193d46de09eae176b12a1004bce3ba
|
4
|
+
data.tar.gz: a4f9ee86b2ee531f4517880e0289e1e2a9d9abd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d7aeb0301cd20cf6a2908f299acf09d38036e5d606dd8c3d03877b319a8f79d1d1fd68fce017438c50aca31b2487013f7701ba18f699d6c49bf021b24010c1f
|
7
|
+
data.tar.gz: be1af217f1f0fda4493c98fc4712e5e03b77113970c00e3ac4e9f6cea78c3bdc52bc190433bff0b8653e12a5de13e608aa7ef4adc5f74a81ece65b8e2bff488a
|
data/README.rdoc
CHANGED
@@ -220,6 +220,9 @@ All of the standard Rails form helpers are available, but the Casein versions ar
|
|
220
220
|
casein_datetime_select form, obj, attribute, options = {}
|
221
221
|
casein_file_field form, obj, object_name, attribute, options = {}
|
222
222
|
casein_hidden_field form, obj, attribute, options = {}
|
223
|
+
|
224
|
+
Casein also supports the newer HTML5 form helpers:
|
225
|
+
|
223
226
|
casein_color_field form, obj, attribute, options = {}
|
224
227
|
casein_search_field form, obj, attribute, options = {}
|
225
228
|
casein_telephone_field form, obj, attribute, options = {}
|
@@ -235,7 +238,7 @@ All of the standard Rails form helpers are available, but the Casein versions ar
|
|
235
238
|
casein_range_field form, obj, attribute, options = {}
|
236
239
|
|
237
240
|
|
238
|
-
You can
|
241
|
+
You can even insert custom content directly into the Casein field UI chrome:
|
239
242
|
|
240
243
|
casein_custom_field form, obj, attribute, custom_contents, options = {}
|
241
244
|
|
@@ -10,8 +10,11 @@ module Casein
|
|
10
10
|
self.to_s.gsub("::", "_").tableize
|
11
11
|
end
|
12
12
|
|
13
|
-
acts_as_authentic
|
14
|
-
|
13
|
+
acts_as_authentic do |c|
|
14
|
+
c.validate_email_field = false
|
15
|
+
c.crypto_provider = Authlogic::CryptoProviders::Sha512
|
16
|
+
end
|
17
|
+
|
15
18
|
attr_accessor :notify_of_new_password
|
16
19
|
|
17
20
|
after_create :send_create_notification
|
data/lib/casein/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: casein
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.1.
|
4
|
+
version: 5.1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russell Quinn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.3.
|
61
|
+
version: 3.3.3
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.3.
|
68
|
+
version: 3.3.3
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: sass-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|