trusty-cms 2.0.17 → 2.0.18

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: 7ff33e8c673a3a54ea713b6f1881e04e9787ec3f
4
- data.tar.gz: 00989add18044cd696fa04fc3890f5fa4a424598
3
+ metadata.gz: 09e8c6d4b2a1dfb48ed866967215fd69cb182ede
4
+ data.tar.gz: 79b2a0149af1a393e9c8f33642056121cc7f263a
5
5
  SHA512:
6
- metadata.gz: c3a85ab3956913fe18aa8c8466fe2ff9655adfcf9366d7ec0ec217f4af0b662afcc9b553c5c2b011ea1aa2530e39dc584d30e846a93a3cdc325b95f5d9f7ce9c
7
- data.tar.gz: f3810913c32aa8e629735a810d061c9254bc7fdc8349e6d76e00f5c47c9f570535507097a467f93e070324a8e0636f810ac32adea27222d98506544770d23b7f
6
+ metadata.gz: 007fc952e5869383ebc65c85da1685b7010f81f07aefb81c6f9470402ab0ecb3f806e0bcc87c79d99d75d8bb9fe5d07a7b21a12a9d10138bea50d71f68cc879f
7
+ data.tar.gz: 2913a5623105396f71a7b04c399b672dc9f9283cba97ca9d28e3fa1c9c500113f0ee310f3482a62a7681550f21a260fce80251dc07bc3a7834358ba4274e2ebe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (2.0.17)
4
+ trusty-cms (2.0.18)
5
5
  RedCloth (~> 4.2)
6
6
  acts_as_tree (~> 2.1)
7
7
  bundler (~> 1.7)
@@ -31,7 +31,6 @@ GEM
31
31
  remote: https://rubygems.org/
32
32
  specs:
33
33
  RedCloth (4.2.9)
34
- RedCloth (4.2.9-java)
35
34
  actionmailer (4.2.6)
36
35
  actionpack (= 4.2.6)
37
36
  actionview (= 4.2.6)
@@ -91,7 +91,7 @@ class Admin::PagesController < Admin::ResourceController
91
91
  end
92
92
 
93
93
  def verify_page_class(page_class)
94
- if page_class.constantize.class == Page
94
+ if page_class.constantize.superclass == Page
95
95
  page_class.constantize
96
96
  else
97
97
  raise "I'm not allowed to constantize #{page_class}!"
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = "2.0.17"
5
+ VERSION = "2.0.18"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.17
4
+ version: 2.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrustyCms CMS dev team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo