rocket_cms 0.15.3 → 0.15.4

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: a4aea471ce58ab4464c7a53fd6053639e6c59c27
4
- data.tar.gz: 7d934945c3d96caca5080bd83b50d2d83b7072a4
3
+ metadata.gz: f57984f568b8a839e2e4ded174ec998d82263bd1
4
+ data.tar.gz: 4ab519fbad9e0f685553de36e3e1eb59b07f9150
5
5
  SHA512:
6
- metadata.gz: b7d7eaee5be58e22e0e131a1675f2bb32d8062c6bdeb73be68c9784064641c6d73288763a54d5fd69d36581d931ad73cfbdd31dec27b6bc8d8d2792ba3cfbb8f
7
- data.tar.gz: c2c4d0a04495fe8e506f970b996023477f38f5b13b2865df0e850da9c5e21abadbcc20370e45802f101e02d21ef2d6f8f7961ed72936c92f34fd970c7d1429de
6
+ metadata.gz: 53779a5e300559c3a9661aa52c63e1c071d5c102eee994da1bf35a40371cadcc0cff9be6199b201180935fc858020419649d3bf465ee4174da0997047661e17b
7
+ data.tar.gz: 5bb951139b8f6a22098c7ecebf24d226c71a2c6bcc9cf9a11293c4481dee077c67b9d386bd1dac80964e8e3d86b6a19f575ce7e21d16c61eff4c6bfb1e6b876f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.15.3)
4
+ rocket_cms (0.15.4)
5
5
  addressable
6
6
  coffee-rails
7
7
  jquery-rails
@@ -9,8 +9,12 @@ module ManualSlug::Mongoid
9
9
  if slug.blank?
10
10
  self._slugs = []
11
11
  else
12
- self._slugs.delete(slug)
13
- self._slugs << slug
12
+ if self._slugs.blank?
13
+ self._slugs = [slug]
14
+ else
15
+ self._slugs.delete(slug)
16
+ self._slugs << slug
17
+ end
14
18
  end
15
19
  end
16
20
 
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.15.3"
2
+ VERSION = "0.15.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.3
4
+ version: 0.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv