cadmus 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -22
- data/Gemfile +2 -1
- data/lib/cadmus/renderers.rb +3 -1
- data/lib/cadmus/version.rb +1 -1
- data/test/test_helper.rb +0 -2
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 976db2b31a6439bbd4be7c6d8b0cd262bc9a6d69e065770643904703e5a7ff89
|
4
|
+
data.tar.gz: fd4e5c8a7dd861bbac67b18aeb72f3b1c6ca5e0956334aa645c0eca019dfec5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d93ed1826c12119f410af33808a44c3f2bbf8e4215b3e8d0fd8c61792550db2feb4163faf8a3d8a4554dc1fc1a99ff3b91433d3effab8e546b4765f9c70ec643
|
7
|
+
data.tar.gz: 30b44dc40bc5698f5da0d23967c4a888fce8838e04d434329f0f5f776a2cd84f166aa6abaec6f0a583a645917aa1152ca79ff5ace04d6f0200870a49c21dd7da
|
data/CHANGELOG.md
CHANGED
@@ -1,60 +1,64 @@
|
|
1
|
+
## cadmus 0.7.1 (12-22-2021)
|
2
|
+
|
3
|
+
- Rails 7 compatibility fixes
|
4
|
+
|
1
5
|
## cadmus 0.7.0 (09-19-2018)
|
2
6
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
+
- BREAKING CHANGE: Cadmus no longer mixes anything into `ActiveRecord::Base` when required; instead, models must explicitly include the mixins they need
|
8
|
+
- Layouts
|
9
|
+
- Partials
|
10
|
+
- Major internal refactors
|
7
11
|
|
8
12
|
## cadmus 0.6.0 (04-08-2017)
|
9
13
|
|
10
|
-
|
11
|
-
|
12
|
-
|
14
|
+
- Expose a `{% page_url %}` tag, which outputs the URL to a page (for easier inter-page linking)
|
15
|
+
- Expose a Liquid register called `parent` from controllers that mix in `Cadmus::ControllerExtensions`, which contains the page parent (if present)
|
16
|
+
- Extract a mixin module called `Cadmus::Concerns::LiquidTemplateField`, which makes it easier to add Liquid templates to models
|
13
17
|
|
14
18
|
## cadmus 0.5.3 (02-04-2017)
|
15
19
|
|
16
|
-
|
20
|
+
- Make it possible to make `liquid_assigns`, `liquid_filters` and `liquid_registers` private or protected methods in controllers and other Renderables.
|
17
21
|
|
18
22
|
## cadmus 0.5.2 (11-10-2016)
|
19
23
|
|
20
|
-
|
24
|
+
- Rails 5 compatibility fixes
|
21
25
|
|
22
26
|
## cadmus 0.5.1 (05-03-2015)
|
23
27
|
|
24
|
-
|
28
|
+
- Support the sanitizer changes in Rails 4.2
|
25
29
|
|
26
30
|
## cadmus 0.5.0 (12-06-2013)
|
27
31
|
|
28
|
-
|
29
|
-
|
32
|
+
- First release that requires Rails 4.0
|
33
|
+
- Strong parameters compatibility by default
|
30
34
|
|
31
35
|
## cadmus 0.4.8 (07-16-2013)
|
32
36
|
|
33
|
-
|
37
|
+
- Add license info to gemspec
|
34
38
|
|
35
39
|
## cadmus 0.4.7 (07-15-2013)
|
36
40
|
|
37
|
-
|
41
|
+
- Bugfix: don't try to use the parameters in the new action. This prevents us from raising errors unnecessarily for required params in Rails 4.
|
38
42
|
|
39
43
|
## cadmus 0.4.6 (07-15-2013)
|
40
44
|
|
41
|
-
|
42
|
-
** Allow PUT or PATCH for the update action
|
43
|
-
** Implement a page_params protected method in page controllers, which you can override to get strong_parameters support
|
45
|
+
- Changes for Rails 4 compatibility:
|
46
|
+
** Allow PUT or PATCH for the update action
|
47
|
+
** Implement a page_params protected method in page controllers, which you can override to get strong_parameters support
|
44
48
|
|
45
49
|
## cadmus 0.4.5 (03-04-2013)
|
46
50
|
|
47
|
-
|
48
|
-
|
51
|
+
- Change all the other uses of ^ and $ in regexes to \A and \z
|
52
|
+
- Change scope to use a lambda for Rails 4 compatibility
|
49
53
|
|
50
54
|
## cadmus 0.4.4 (03-04-2013)
|
51
55
|
|
52
|
-
|
56
|
+
- Change some uses of ^ and $ in regexes to \A and \z
|
53
57
|
|
54
58
|
## cadmus 0.4.3 (06-17-2012)
|
55
59
|
|
56
|
-
|
60
|
+
- Add a cadmus:views generator to make view customization easier
|
57
61
|
|
58
62
|
## cadmus 0.4.2 (06-16-2012)
|
59
63
|
|
60
|
-
|
64
|
+
- Make `cadmus_pages` route function work with no arguments
|
data/Gemfile
CHANGED
data/lib/cadmus/renderers.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'rails-html-sanitizer'
|
2
|
+
|
1
3
|
module Cadmus
|
2
4
|
|
3
5
|
# A Cadmus renderer is an object that handles the rendering of +Liquid::Template+s to output formats
|
@@ -15,7 +17,7 @@ module Cadmus
|
|
15
17
|
class Base
|
16
18
|
attr_accessor :default_assigns, :default_filters, :default_registers, :html_sanitizer
|
17
19
|
|
18
|
-
DEFAULT_HTML_SANITIZER =
|
20
|
+
DEFAULT_HTML_SANITIZER = Rails::Html::FullSanitizer
|
19
21
|
|
20
22
|
def initialize
|
21
23
|
self.default_registers = {}
|
data/lib/cadmus/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -6,8 +6,6 @@ require "rails/test_help"
|
|
6
6
|
# to be shown.
|
7
7
|
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
8
8
|
|
9
|
-
Rails::TestUnitReporter.executable = 'bin/test'
|
10
|
-
|
11
9
|
# Load fixtures from the engine
|
12
10
|
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
13
11
|
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cadmus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Budin
|
8
8
|
- Aziz Khoury
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -159,7 +159,7 @@ homepage: http://github.com/gively/cadmus
|
|
159
159
|
licenses:
|
160
160
|
- MIT
|
161
161
|
metadata: {}
|
162
|
-
post_install_message:
|
162
|
+
post_install_message:
|
163
163
|
rdoc_options: []
|
164
164
|
require_paths:
|
165
165
|
- lib
|
@@ -174,9 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
|
178
|
-
|
179
|
-
signing_key:
|
177
|
+
rubygems_version: 3.1.6
|
178
|
+
signing_key:
|
180
179
|
specification_version: 4
|
181
180
|
summary: Embeddable CMS for Rails 3 apps
|
182
181
|
test_files:
|