rocket_cms 0.5.14 → 0.5.15

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: d9499c0e7e982e4b9c50d2064f491ff3d06fc07c
4
- data.tar.gz: 3d357ed381f1072a05eb5a2c17558690947b4ca9
3
+ metadata.gz: 66722d9c63d924d312178e4b9a79af2c85120286
4
+ data.tar.gz: 56e4d2013b63794f161381b5bf4ae9e44cb93808
5
5
  SHA512:
6
- metadata.gz: 2b73b7d89b18c299f97f3e66f7dd58a8b65280df3f95e3fa61baf916cefa2c3db3550723866b0cb792c6de6fa8119eab08e6c9bd8b860bc6f7345c0b47973fdf
7
- data.tar.gz: 8bd306e7791fca71f0675ab814c00c356d49f479abed35d2c1b6882ee1ec244cbe1477a79fbdd2ff18a21c50768caa824120640e73ec073ec3e4238f2839d96e
6
+ metadata.gz: 1e8531b121c0502748ed496f30277b43e15b621f2af32e233bd549b68b80fb8687d46c85ce82445ead60fcc66a3806660ce992b92c194216b5209cad3ca58392
7
+ data.tar.gz: 57c33454b0a052149be39fa6d11b64e99f2039aa1e7bab34c11c604a9826fb97f631f33818fa1d0c633e53942b86f7c9d33dd9bb3a1e1e5befa0d64db3de9fa6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.5.14)
4
+ rocket_cms (0.5.15)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -27,27 +27,27 @@ PATH
27
27
  GEM
28
28
  remote: https://rubygems.org/
29
29
  specs:
30
- actionmailer (4.1.7)
31
- actionpack (= 4.1.7)
32
- actionview (= 4.1.7)
30
+ actionmailer (4.1.8)
31
+ actionpack (= 4.1.8)
32
+ actionview (= 4.1.8)
33
33
  mail (~> 2.5, >= 2.5.4)
34
- actionpack (4.1.7)
35
- actionview (= 4.1.7)
36
- activesupport (= 4.1.7)
34
+ actionpack (4.1.8)
35
+ actionview (= 4.1.8)
36
+ activesupport (= 4.1.8)
37
37
  rack (~> 1.5.2)
38
38
  rack-test (~> 0.6.2)
39
- actionview (4.1.7)
40
- activesupport (= 4.1.7)
39
+ actionview (4.1.8)
40
+ activesupport (= 4.1.8)
41
41
  builder (~> 3.1)
42
42
  erubis (~> 2.7.0)
43
- activemodel (4.1.7)
44
- activesupport (= 4.1.7)
43
+ activemodel (4.1.8)
44
+ activesupport (= 4.1.8)
45
45
  builder (~> 3.1)
46
- activerecord (4.1.7)
47
- activemodel (= 4.1.7)
48
- activesupport (= 4.1.7)
46
+ activerecord (4.1.8)
47
+ activemodel (= 4.1.8)
48
+ activesupport (= 4.1.8)
49
49
  arel (~> 5.0.0)
50
- activesupport (4.1.7)
50
+ activesupport (4.1.8)
51
51
  i18n (~> 0.6, >= 0.6.9)
52
52
  json (~> 1.7, >= 1.7.7)
53
53
  minitest (~> 5.1)
@@ -111,15 +111,15 @@ GEM
111
111
  rack (~> 1.1)
112
112
  rack-test (0.6.2)
113
113
  rack (>= 1.0)
114
- rails (4.1.7)
115
- actionmailer (= 4.1.7)
116
- actionpack (= 4.1.7)
117
- actionview (= 4.1.7)
118
- activemodel (= 4.1.7)
119
- activerecord (= 4.1.7)
120
- activesupport (= 4.1.7)
114
+ rails (4.1.8)
115
+ actionmailer (= 4.1.8)
116
+ actionpack (= 4.1.8)
117
+ actionview (= 4.1.8)
118
+ activemodel (= 4.1.8)
119
+ activerecord (= 4.1.8)
120
+ activesupport (= 4.1.8)
121
121
  bundler (>= 1.3.0, < 2.0)
122
- railties (= 4.1.7)
122
+ railties (= 4.1.8)
123
123
  sprockets-rails (~> 2.0)
124
124
  rails_admin (0.6.5)
125
125
  builder (~> 3.1)
@@ -138,9 +138,9 @@ GEM
138
138
  rails_admin_nested_set (0.3.8)
139
139
  rails_admin_settings (0.9.0.pre.6)
140
140
  rails_admin_toggleable (0.4.1)
141
- railties (4.1.7)
142
- actionpack (= 4.1.7)
143
- activesupport (= 4.1.7)
141
+ railties (4.1.8)
142
+ actionpack (= 4.1.8)
143
+ activesupport (= 4.1.8)
144
144
  rake (>= 0.8.7)
145
145
  thor (>= 0.18.1, < 2.0)
146
146
  rake (10.3.2)
@@ -1,6 +1,6 @@
1
1
  module ManualSlug::Mongoid
2
2
  extend ActiveSupport::Concern
3
- include Mongoid::Slug
3
+ include ::Mongoid::Slug
4
4
 
5
5
  def text_slug
6
6
  self._slugs.empty? ? '' : self._slugs.last
@@ -20,7 +20,7 @@ module RocketCMS
20
20
  ::News
21
21
  end
22
22
  def page_title
23
- if @news.class.name == 'News'
23
+ if @news.class.name == model.class.name
24
24
  @news.page_title
25
25
  else
26
26
  super
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.5.14"
2
+ VERSION = "0.5.15"
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.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler