rocket_cms 0.19.2 → 0.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/rocket_cms/models/mongoid/page.rb +9 -1
- data/lib/rocket_cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3d4d9c8700756d83f02d70c479f3d595431accf
|
4
|
+
data.tar.gz: b176dbe75544c2d7838780cb44a4d8842816d9e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4370d7b507b2fadbbb6e8e3ec5360bcffce799004018faafd05031f2b2ea8f15662c241bff7e912f86599da2f6e54eb55050f13d7567ad146e2f339f2d190a58
|
7
|
+
data.tar.gz: '08dbf01292200f270b72ddedd8ee6a69506776903dff970c84b577e1b3970f855f515a0c8b95ae4b393d1415b24a44209e7ae71bcabc25aad160af8285ccb614'
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rocket_cms (0.19.
|
4
|
+
rocket_cms (0.19.3)
|
5
5
|
addressable
|
6
6
|
coffee-rails
|
7
7
|
jquery-rails
|
@@ -88,7 +88,7 @@ GEM
|
|
88
88
|
kaminari-core (1.0.1)
|
89
89
|
loofah (2.0.3)
|
90
90
|
nokogiri (>= 1.5.9)
|
91
|
-
mail (2.6.
|
91
|
+
mail (2.6.6)
|
92
92
|
mime-types (>= 1.16, < 4)
|
93
93
|
method_source (0.8.2)
|
94
94
|
mime-types (3.1)
|
@@ -157,4 +157,4 @@ DEPENDENCIES
|
|
157
157
|
rocket_cms!
|
158
158
|
|
159
159
|
BUNDLED WITH
|
160
|
-
1.
|
160
|
+
1.15.1
|
@@ -4,7 +4,7 @@ module RocketCMS
|
|
4
4
|
module Page
|
5
5
|
extend ActiveSupport::Concern
|
6
6
|
included do
|
7
|
-
field :
|
7
|
+
field :qregexp, type: String
|
8
8
|
field :redirect, type: String
|
9
9
|
field :content, type: String, localize: RocketCMS.config.localize
|
10
10
|
field :fullpath, type: String
|
@@ -12,6 +12,14 @@ module RocketCMS
|
|
12
12
|
acts_as_nested_set
|
13
13
|
scope :sorted, -> { asc(:lft) }
|
14
14
|
end
|
15
|
+
|
16
|
+
def regexp=(value)
|
17
|
+
self.qregexp = value
|
18
|
+
end
|
19
|
+
|
20
|
+
def regexp
|
21
|
+
self.qregexp || read_attribute(:regexp)
|
22
|
+
end
|
15
23
|
end
|
16
24
|
end
|
17
25
|
end
|
data/lib/rocket_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|