rocket_cms 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13aaf96012720fbdd54d74fc9271fd8e198d1f48
4
- data.tar.gz: 421a020485b6cc108dad30c8d30122c6388c945e
3
+ metadata.gz: 46f4ddb2a91b1e9c61770651375d8c7c2ecde281
4
+ data.tar.gz: 10cfe80e0bfc8d0f71fd653ab34ea277b1c48ba1
5
5
  SHA512:
6
- metadata.gz: ed7c71d157f81726c695a34093b2f5f68498f3135ee82c87e16a853fb012bbcccc6605d2d68dce553e2587f8b211a622457ebe5cee4e8196ca5176de99d2ad00
7
- data.tar.gz: 1a42f5ccd6e73b9b2eb96761f08518fef4474103bf3ad6b49097d849f5cd98315c40e1fd77d5c9cac8efc7d777283e1ea9462a1fd25ef88b06d0c0b226ceb9fd
6
+ metadata.gz: 7f80db3ba9883deb618a9427439a35e9bef1ec715581cb5161cc1f301e9cbec7eeb4bc074c0f094ebd3f4c8947a9dee20283ed5ec922f634aa22ae3e5fbed68d
7
+ data.tar.gz: 11ce8588ac37ed01a4df9418d07d5d707f03b68c99392cdd37f253d0d8af4061badc527464fdf38d7aa8f28e065d9e21b01b7bf1927a809b0fc03277dec869e1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.11.0)
4
+ rocket_cms (0.11.1)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -185,7 +185,7 @@ GEM
185
185
  sprockets (3.5.2)
186
186
  concurrent-ruby (~> 1.0)
187
187
  rack (> 1, < 3)
188
- sprockets-rails (3.0.1)
188
+ sprockets-rails (3.0.2)
189
189
  actionpack (>= 4.0)
190
190
  activesupport (>= 4.0)
191
191
  sprockets (>= 3.0.0)
@@ -4,7 +4,7 @@ module RocketCMS
4
4
  module ContactMessage
5
5
  extend ActiveSupport::Concern
6
6
  included do
7
- has_paper_trail
7
+ has_paper_trail if resond_to?(:has_paper_trail)
8
8
  validates_lengths_from_database
9
9
  end
10
10
  end
@@ -4,7 +4,7 @@ module RocketCMS
4
4
  module Menu
5
5
  extend ActiveSupport::Concern
6
6
  included do
7
- has_paper_trail
7
+ has_paper_trail if respond_to?(:has_paper_trail)
8
8
  validates_lengths_from_database
9
9
  if RocketCMS.config.localize
10
10
  translates :name
@@ -8,7 +8,7 @@ module RocketCMS
8
8
  has_attached_file :image, styles: RocketCMS.config.news_image_styles
9
9
  end
10
10
 
11
- has_paper_trail
11
+ has_paper_trail if respond_to?(:has_paper_trail)
12
12
 
13
13
  validates_lengths_from_database only: [:name, :title, :content, :excerpt, :h1, :keywords, :robots, :og_title]
14
14
 
@@ -6,7 +6,7 @@ module RocketCMS
6
6
 
7
7
  included do
8
8
  acts_as_nested_set
9
- has_paper_trail
9
+ has_paper_trail if respond_to?(:has_paper_trail)
10
10
  validates_lengths_from_database only: [:name, :title, :content, :excerpt, :h1, :keywords, :robots, :og_title, :regexp, :redirect, :fullpath]
11
11
  scope :sorted, -> { order(lft: :asc) }
12
12
  if RocketCMS.config.localize
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
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.11.0
4
+ version: 0.11.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-02-22 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler