ack_rocket_cms 0.7.6.1 → 0.7.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/app/models/concerns/sitemap_data.rb +3 -0
- data/lib/rocket_cms/models/mongoid/page.rb +0 -3
- 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: e3fb0dbdc4876564ea36d532479d1e97088b9554
|
4
|
+
data.tar.gz: 431666218f116ceefa4762a0739f79da5dc642ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c0a9a067ad901dba757d4332fc97c66c3da88abc563b403d79e03fd6ad1c59a4cb4517e1b51f56fe0ba2dcf5f1909bfdd4269d05ecdafef55497a20a18dd9e6
|
7
|
+
data.tar.gz: dbf36f0df57d797a36857405350b4d094728979f13948121140be59f6954a18e9188a061f95b6c8d08efabcb2a2e94bd70d5e640a0216e3205e78072c73af287
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ack_rocket_cms (0.7.6.
|
4
|
+
ack_rocket_cms (0.7.6.2)
|
5
5
|
ack_rails_admin_jcrop
|
6
6
|
addressable
|
7
7
|
ckeditor
|
@@ -74,7 +74,7 @@ GEM
|
|
74
74
|
bcrypt (3.1.10)
|
75
75
|
bson (2.3.0)
|
76
76
|
builder (3.2.2)
|
77
|
-
ckeditor (4.1.
|
77
|
+
ckeditor (4.1.2)
|
78
78
|
cocaine
|
79
79
|
orm_adapter (~> 0.5.0)
|
80
80
|
climate_control (0.0.3)
|
@@ -9,6 +9,9 @@ module SitemapData
|
|
9
9
|
field :sitemap_lastmod, type: DateTime
|
10
10
|
field :sitemap_changefreq, type: String, default: 'daily'
|
11
11
|
field :sitemap_priority, type: Float
|
12
|
+
|
13
|
+
scope :sitemap_show, -> { where(sitemap_show: true) }
|
14
|
+
scope :for_sitemap, -> { sitemap_show }
|
12
15
|
elsif RocketCMS.active_record?
|
13
16
|
end
|
14
17
|
end
|
@@ -16,9 +16,6 @@ module RocketCMS
|
|
16
16
|
|
17
17
|
scope :sorted, -> { order_by([:lft, :asc]) }
|
18
18
|
scope :menu, ->(menu_id) { enabled.sorted.where(menu_ids: menu_id) }
|
19
|
-
|
20
|
-
scope :in_sitemap, -> { where(sitemap_show: true) }
|
21
|
-
scope :sitemap_show, -> { in_sitemap }
|
22
19
|
end
|
23
20
|
end
|
24
21
|
end
|
data/lib/rocket_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ack_rocket_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.6.
|
4
|
+
version: 0.7.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kiseliev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|