rocket_cms 0.15.0 → 0.15.1
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/manual_slug/mongoid.rb +3 -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: f5f249d104cdb9a974c756f0d2e1a0f4fa194b0f
|
4
|
+
data.tar.gz: 917d05b179853254f948b5d114a9880d97788e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04eb6b2d333e062017f82dcd1a10a1e223fb8ba5c360c90fe773bba25dfd955add598b8b4948fecfa1bc80b877ca54d2513ca2f9e4146ab972777cce7d8e6b46
|
7
|
+
data.tar.gz: 7d681333d4bb794c14a698162776964769edef9ed4a6765e6e60f3d6e3eb9a879c4850c363327c3236ff6214f7fe4621850804762af17a5f370b42eb6e77482a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rocket_cms (0.15.
|
4
|
+
rocket_cms (0.15.1)
|
5
5
|
addressable
|
6
6
|
coffee-rails
|
7
7
|
jquery-rails
|
@@ -54,7 +54,7 @@ GEM
|
|
54
54
|
minitest (~> 5.1)
|
55
55
|
tzinfo (~> 1.1)
|
56
56
|
addressable (2.4.0)
|
57
|
-
arel (7.1.
|
57
|
+
arel (7.1.2)
|
58
58
|
builder (3.2.2)
|
59
59
|
coffee-rails (4.2.1)
|
60
60
|
coffee-script (>= 2.2.0)
|
@@ -118,7 +118,7 @@ GEM
|
|
118
118
|
method_source
|
119
119
|
rake (>= 0.8.7)
|
120
120
|
thor (>= 0.18.1, < 2.0)
|
121
|
-
rake (11.
|
121
|
+
rake (11.3.0)
|
122
122
|
smart_excerpt (0.1.5)
|
123
123
|
activesupport
|
124
124
|
htmlentities
|
data/lib/manual_slug/mongoid.rb
CHANGED
@@ -23,7 +23,9 @@ module ManualSlug::Mongoid
|
|
23
23
|
skip_callback :create, :before, :build_slug
|
24
24
|
|
25
25
|
before_validation do
|
26
|
-
|
26
|
+
unless self._slugs.nil?
|
27
|
+
self._slugs = self._slugs.map{ |s| s.strip }.select {|s| !s.blank? }
|
28
|
+
end
|
27
29
|
|
28
30
|
if self._slugs.empty?
|
29
31
|
self.build_slug
|
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.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|