rocket_cms 0.6.15 → 0.6.16

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: a5b4d282e300551acf67404e3ff98f02e19e230f
4
- data.tar.gz: 2fa4221986546ce334e7ea03c6f0858ed0286f20
3
+ metadata.gz: 129c5e1f7b72e2bfb91cd533f6fb41457d01cbed
4
+ data.tar.gz: b507a570511479bae72da94a433bdffb2ee33be9
5
5
  SHA512:
6
- metadata.gz: 919c93acaf4391f976da51bf92b4ef72daafe8b228d4d742eda4319dd887b3113c78374731bc0c3bd4228563daf1a271a84e2d3eddff5f0e985311a0df5a3829
7
- data.tar.gz: 18ac989b2d37bf2cf3a8b381fef0043eb20dd07b0b2256f5c0d06ce4d336eb7f045460d4ae6de3669dc99541012f608dd912fe97b4ab8071f18570d6badf3984
6
+ metadata.gz: e5d0a597b1bf2042b421dc9d25fc9d52ab29fa1e9cd2d9944e58c2f61fb55b3f6e1f27007d8c80925f197af70f98a7488bacc7fec7b6604432dfc2e810337c01
7
+ data.tar.gz: 3ef4040760a5ab69c73c8a928d989f8317876b0b614d57535150460ef3ddcc927cc65a011827f2132914f4baeee73260c002c524c1062dfb5b9fc5e1ee5ebd87
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.6.15)
4
+ rocket_cms (0.6.16)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -69,10 +69,10 @@ GEM
69
69
  coffee-rails (4.1.0)
70
70
  coffee-script (>= 2.2.0)
71
71
  railties (>= 4.0.0, < 5.0)
72
- coffee-script (2.3.0)
72
+ coffee-script (2.4.1)
73
73
  coffee-script-source
74
74
  execjs
75
- coffee-script-source (1.9.1)
75
+ coffee-script-source (1.9.1.1)
76
76
  devise (3.4.1)
77
77
  bcrypt (~> 3.0)
78
78
  orm_adapter (~> 0.1)
@@ -81,7 +81,7 @@ GEM
81
81
  thread_safe (~> 0.1)
82
82
  warden (~> 1.2.3)
83
83
  erubis (2.7.0)
84
- execjs (2.4.0)
84
+ execjs (2.5.2)
85
85
  font-awesome-rails (4.3.0.0)
86
86
  railties (>= 3.2, < 5.0)
87
87
  geocoder (1.2.8)
@@ -91,11 +91,10 @@ GEM
91
91
  orm_adapter (~> 0.5.0)
92
92
  rails (~> 4.0)
93
93
  glebtv-simple_captcha (0.6.7)
94
- globalid (0.3.3)
94
+ globalid (0.3.5)
95
95
  activesupport (>= 4.1.0)
96
96
  haml (4.0.6)
97
97
  tilt
98
- hike (1.2.3)
99
98
  htmlentities (4.3.3)
100
99
  i18n (0.7.0)
101
100
  jquery-rails (4.0.3)
@@ -113,10 +112,9 @@ GEM
113
112
  mail (2.6.3)
114
113
  mime-types (>= 1.16, < 3)
115
114
  mime-types (2.4.3)
116
- mini_magick (4.2.0)
115
+ mini_magick (4.2.3)
117
116
  mini_portile (0.6.2)
118
- minitest (5.5.1)
119
- multi_json (1.11.0)
117
+ minitest (5.6.0)
120
118
  nested_form (0.3.2)
121
119
  nokogiri (1.6.6.2)
122
120
  mini_portile (~> 0.6.0)
@@ -182,7 +180,7 @@ GEM
182
180
  sprockets (>= 2.8, < 4.0)
183
181
  sprockets-rails (>= 2.0, < 4.0)
184
182
  tilt (~> 1.1)
185
- simple-navigation (4.0.1)
183
+ simple-navigation (4.0.3)
186
184
  activesupport (>= 2.3.2)
187
185
  simple_form (3.1.0)
188
186
  actionpack (~> 4.0)
@@ -192,11 +190,8 @@ GEM
192
190
  smart_excerpt (0.1.5)
193
191
  activesupport
194
192
  htmlentities
195
- sprockets (2.12.3)
196
- hike (~> 1.2)
197
- multi_json (~> 1.0)
193
+ sprockets (3.0.1)
198
194
  rack (~> 1.0)
199
- tilt (~> 1.1, != 1.3.0)
200
195
  sprockets-rails (2.2.4)
201
196
  actionpack (>= 3.0)
202
197
  activesupport (>= 3.0)
@@ -59,6 +59,6 @@ module RsErrors
59
59
  end
60
60
 
61
61
  def rails_admin?
62
- self.is_a?(RailsAdmin::ApplicationController)
62
+ self.is_a?(RailsAdmin::ApplicationController) || self.is_a?(RailsAdmin::MainController)
63
63
  end
64
64
  end
@@ -7,6 +7,7 @@ module RsPages
7
7
  private
8
8
 
9
9
  def find_page
10
+ return if rails_admin?
10
11
  @seo_page = find_seo_page request.path
11
12
  if !@seo_page.nil? && !@seo_page.redirect.blank?
12
13
  redirect_to @seo_page.redirect, status: :moved_permanently
@@ -38,4 +39,7 @@ module RsPages
38
39
  page
39
40
  end
40
41
 
42
+ def rails_admin?
43
+ self.is_a?(RailsAdmin::ApplicationController) || self.is_a?(RailsAdmin::MainController)
44
+ end
41
45
  end
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.6.15"
2
+ VERSION = "0.6.16"
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.6.15
4
+ version: 0.6.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler