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 +4 -4
- data/Gemfile.lock +9 -14
- data/app/controllers/concerns/rs_errors.rb +1 -1
- data/app/controllers/concerns/rs_pages.rb +4 -0
- data/lib/rocket_cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 129c5e1f7b72e2bfb91cd533f6fb41457d01cbed
|
4
|
+
data.tar.gz: b507a570511479bae72da94a433bdffb2ee33be9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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.
|
115
|
+
mini_magick (4.2.3)
|
117
116
|
mini_portile (0.6.2)
|
118
|
-
minitest (5.
|
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.
|
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 (
|
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)
|
@@ -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
|
data/lib/rocket_cms/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|