casein 5.3.1.0 → 5.3.2.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 +6 -22
- data/app/helpers/casein/casein_helper.rb +1 -1
- data/lib/casein/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 73f01916840b0d47269226af15abc90fa54953c9
|
4
|
+
data.tar.gz: efb0cdb4004770b1e862e216d8e2975c1afc8a83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ac41dde954da19b923d3f29d58f7f76dfc1831251253c99c69c78661d06850d96f577b44e5267b0ddaedd46fe4af90aebdafacd2f4cddd46e51681a9becb8d
|
7
|
+
data.tar.gz: da779e84c9ae58589314bc47f8a36ff3b04b6e8413eeabc985108e42135143cc72ec2e616280f59799994873bbb5c49ca89580ce7c46ea285fb673277377f8e2
|
data/README.rdoc
CHANGED
@@ -10,35 +10,19 @@ 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.3.1 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.3.
|
17
|
+
==What’s New in 5.3.2
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
*
|
19
|
+
* Updates minimum version of Ruby to 2.3.1
|
20
|
+
* Relaxes restriction on Scrypt gem
|
21
|
+
* Uses Capybara 3.x for tests
|
22
|
+
* Titleizes human attribute names by default ('My Attribute Name', instead of 'My attribute name')
|
22
23
|
|
23
24
|
Thanks to @brchristian for this release.
|
24
25
|
|
25
|
-
Casein 5.3.0 had the following updates:
|
26
|
-
|
27
|
-
* Support for passing html_options into casein_select (see https://github.com/russellquinn/casein/pull/80)
|
28
|
-
* Fixed a bug where jQuery couldn't be found if it wasn't in your main project's Gemfile (for example, when using Rails 5.1.x)
|
29
|
-
* Updated the migration templates to include Rails version number and modern syntax
|
30
|
-
* Made password-reset error message clearer to explain what the problem might be
|
31
|
-
|
32
|
-
Casein 5.2.0 had the following updates:
|
33
|
-
|
34
|
-
* Compatible with Rails 5.x
|
35
|
-
* Added auth_custom.js and auth_custom.scss for customizing JavaScript and CSS in the authentication layout
|
36
|
-
* Deprecation updates and small improvements
|
37
|
-
|
38
|
-
Version 5.2.0 is almost a drop-in replacement for 5.1.1, but requires Rails 5.x and Ruby 2.1.x. The only other change is the addition of two methods to 'app/helpers/casein/config_helper.rb'. These are 'casein_config_auth_stylesheet_includes' and 'casein_config_auth_javascript_includes'. And two new template files. These are 'auth_custom.scss' and 'auth_custom.js'. You should run 'rails g casein:install' again to install the new files and, when you reach 'config_helper.rb' press 'd' to show differences and manually merge the changes.
|
39
|
-
|
40
|
-
Thanks to @brchristian and @mkunkel for this release.
|
41
|
-
|
42
26
|
==Installation
|
43
27
|
|
44
28
|
— Create a new Rails project (or use an existing one) and enter the project directory from a terminal prompt.
|
@@ -296,7 +296,7 @@ module Casein
|
|
296
296
|
|
297
297
|
def casein_form_tag_wrapper form_tag, form, obj, attribute, options = {}
|
298
298
|
unless options.key? :casein_label
|
299
|
-
human_attribute_name = attribute.to_s.humanize
|
299
|
+
human_attribute_name = attribute.to_s.humanize.titleize
|
300
300
|
else
|
301
301
|
human_attribute_name = options[:casein_label]
|
302
302
|
end
|
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.3.
|
4
|
+
version: 5.3.2.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: 2018-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: scrypt
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.2.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.2.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: capybara
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: sqlite3
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
249
|
version: '0'
|
236
250
|
requirements: []
|
237
251
|
rubyforge_project:
|
238
|
-
rubygems_version: 2.
|
252
|
+
rubygems_version: 2.5.1
|
239
253
|
signing_key:
|
240
254
|
specification_version: 4
|
241
255
|
summary: A lightweight CMS toolkit for Ruby on Rails, based on Bootstrap.
|