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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d9a86f20359c9af0d53787e6878e7b7f1f855bb
4
- data.tar.gz: 439d834ae5bdfb72487b5155a1ceb5df8ebec166
3
+ metadata.gz: e3fb0dbdc4876564ea36d532479d1e97088b9554
4
+ data.tar.gz: 431666218f116ceefa4762a0739f79da5dc642ec
5
5
  SHA512:
6
- metadata.gz: 93ddcad5fb0e9ffc989405570562003472c1e33d479b9d15e2aa4ac155b7cf20516d8bac36f200b8c0fbeb1f5a7859cd720a295a939ec6fd85597a96a9c75937
7
- data.tar.gz: 739e38caf42b4def847085566fce9f3985205c96f1ad33846011e7fe4c0837b429ad856dc5feb5597483864f35acc8f15627007f3238e9b6e177c213723ef214
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.1)
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.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
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.7.6.1"
2
+ VERSION = "0.7.6.2"
3
3
  end
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.1
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-13 00:00:00.000000000 Z
12
+ date: 2015-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler