kuhsaft 1.8.4 → 1.8.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be19a1e69db6da33e282fd0383df06e5dd8c580b
|
4
|
+
data.tar.gz: 297b4a9777c3fc4a54388120d6c23866d82f609d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 961c2c7d9ce91ae7e9e073fcbde35077d73563c30a9b07540c3aedf52eb579976969bc2237058ea5129007ccdb1c5413475e09b84e4866dc5d4d87b6fed9918b
|
7
|
+
data.tar.gz: 0864fce84b06eff31ba5bbecac5e8682a3c70eb674f4f55dd57650b10b7e38208d48531e21da98ac8ab9a6514b171be787c132b93475cb7aab11f0e0b98316e4
|
@@ -4,12 +4,14 @@
|
|
4
4
|
- if @page.bricks.map(&:type).include? "Kuhsaft::PlaceholderBrick"
|
5
5
|
- unless @page.blank?
|
6
6
|
.page-content
|
7
|
-
|
7
|
+
-# TODO: refactor into scopes or simplify otherwise:
|
8
|
+
- @page.bricks.localized.select(&:valid?).each do |brick|
|
8
9
|
= render brick
|
9
10
|
|
10
11
|
- else
|
11
12
|
- cache [@page, I18n.locale] do
|
12
13
|
- unless @page.blank?
|
13
14
|
.page-content
|
14
|
-
|
15
|
+
-# TODO: refactor into scopes or simplify otherwise:
|
16
|
+
- @page.bricks.localized.select(&:valid?).each do |brick|
|
15
17
|
= render brick
|
data/lib/kuhsaft/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kuhsaft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Immanuel Häussermann
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-07-
|
15
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rspec
|
@@ -557,7 +557,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
557
557
|
version: '0'
|
558
558
|
requirements: []
|
559
559
|
rubyforge_project: kuhsaft
|
560
|
-
rubygems_version: 2.0.
|
560
|
+
rubygems_version: 2.0.3
|
561
561
|
signing_key:
|
562
562
|
specification_version: 4
|
563
563
|
summary: A tool that helps you to manage your content within your app.
|