mongoid_acts_as_page 0.5.3 → 0.5.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: 0b5ea04fb2e323cd41fe9d2bf7e924724e961ad0
4
- data.tar.gz: 0d802518de2c39a0259921ca3c0789deb72eaf69
3
+ metadata.gz: 8430cfb84ecdc91306195f61dc22097dcdba934f
4
+ data.tar.gz: 08f9ca3221a2a30bc69a369b9ea840e7010c2e6f
5
5
  SHA512:
6
- metadata.gz: cdc8be427c787e96dff4cd30fe638d93259a9955bd15ec24cc05ec363dba6c9984138bf18e8d9131e8c01efa0146cc71139e5683cc8c4be42d883007da78104d
7
- data.tar.gz: 66c9cad948ce846954dc88387dfaf79f1d6cdf94c52ec146db2300dfe18dc0bc1ea84480cec623795aaffc9ecb3cacbe662104f6f922a5cfd52d578271822813
6
+ metadata.gz: 9e24bb693c35fb252950ed7b7d5d604d5328fe8edb1f68537d2329f3cdcc64d49dd554b72978425fdedc1e489cbd54b89a02ce9e46d5952173ed7f5492d13bf4
7
+ data.tar.gz: 0e79c7f035fda9669fa45c890a3a4f970ad23b15402556c7cbda653c850c3a75c0538dcd40de7022663f756ea20191b86a739125e5558fd7d511c11294791503
data/lib/acts_as_page.rb CHANGED
@@ -9,6 +9,10 @@ module ActsAsPage
9
9
 
10
10
  field :name
11
11
  field :text, default: ''
12
+
13
+ orderable
14
+ slug :name
15
+
12
16
  embeds_one :seo, class_name: 'ActsAsPage::Seo', as: :page
13
17
 
14
18
  accepts_nested_attributes_for :seo
@@ -1,3 +1,3 @@
1
1
  module ActsAsPage
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_acts_as_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Konin