casein 5.4.0.0 → 5.5.0.0
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 +5 -5
- data/README.rdoc +7 -2
- data/app/models/casein/admin_user.rb +2 -5
- data/lib/casein/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6eef80c181e44bbd318a49f8b6c1c9c76a156606b2647acad74986c3cba98a88
|
4
|
+
data.tar.gz: 2fd3e6968380961321ac1e36bfc3d88010a0965c3b5f2284e61a5c1caed15d9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3579b461c08e1ee1376176f2586dc10e20d3a88728c8ba50d2ed07ef858bc07e933a82744fda72d6a6a579f8571a3d71fc1bef98601d4cb4dd37d60bceec0cd4
|
7
|
+
data.tar.gz: b42f8d895cdbdf6145332e977a438af66f4b545159b78b62398b6ad96e541a6a53a03b13aabca886bedd1a4779dd9af5acd22c8d136abd89d4f35c30b9997eaf
|
data/README.rdoc
CHANGED
@@ -10,10 +10,15 @@ Screenshots at: http://www.caseincms.com
|
|
10
10
|
|
11
11
|
==Requirements
|
12
12
|
|
13
|
-
This version of Casein is designed for Ruby on Rails 5.x and Ruby 2.
|
13
|
+
This version of Casein is designed for Ruby on Rails 5.x and Ruby 2.4.10 or later.
|
14
14
|
|
15
15
|
Casein 5.1.1.5 was the last gem release compatible with Rails 4.x.
|
16
16
|
|
17
|
+
==What’s New in 5.5.0
|
18
|
+
|
19
|
+
* Updates minimum version of AuthLogic to 6.1 to resolve compatibility with Ruby 2.7
|
20
|
+
* Updates minimum version of Ruby to 2.4.10
|
21
|
+
|
17
22
|
==What’s New in 5.4.0
|
18
23
|
|
19
24
|
* Bug fix for breaking AuthLogic changes
|
@@ -29,7 +34,7 @@ Thanks to @brchristian for this release.
|
|
29
34
|
|
30
35
|
— Add the Casein gem to your Gemfile:
|
31
36
|
|
32
|
-
gem 'casein', '~>5.
|
37
|
+
gem 'casein', '~>5.4.0'
|
33
38
|
|
34
39
|
— Then use bundler to install Casein and its dependencies:
|
35
40
|
|
@@ -29,6 +29,7 @@ module Casein
|
|
29
29
|
|
30
30
|
# These default validations come from authlogic:
|
31
31
|
# https://github.com/binarylogic/authlogic/blob/master/doc/use_normal_rails_validation.md
|
32
|
+
# Note that Casein uses a case-sensitive uniqueness validation for :login, so we remove that config
|
32
33
|
validates :login,
|
33
34
|
format: {
|
34
35
|
with: /\A[a-zA-Z0-9_][a-zA-Z0-9\.+\-_@ ]+\z/,
|
@@ -39,11 +40,7 @@ module Casein
|
|
39
40
|
)
|
40
41
|
}
|
41
42
|
},
|
42
|
-
length: { within: 3..100 }
|
43
|
-
uniqueness: {
|
44
|
-
case_sensitive: false,
|
45
|
-
if: :will_save_change_to_login?
|
46
|
-
}
|
43
|
+
length: { within: 3..100 }
|
47
44
|
|
48
45
|
validates :password,
|
49
46
|
confirmation: { if: :require_password? },
|
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.
|
4
|
+
version: 5.5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russell Quinn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: authlogic
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '6.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '6.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bootstrap-sass
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,8 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
requirements: []
|
252
|
-
|
253
|
-
rubygems_version: 2.5.2
|
252
|
+
rubygems_version: 3.1.4
|
254
253
|
signing_key:
|
255
254
|
specification_version: 4
|
256
255
|
summary: A lightweight CMS toolkit for Ruby on Rails, based on Bootstrap.
|