rocket_cms 0.8.9 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/app/controllers/concerns/rs_errors.rb +1 -1
- data/config/locales/en.rs.yml +2 -1
- data/config/locales/ru.rs.yml +2 -1
- data/lib/rocket_cms/engine.rb +1 -1
- 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: 2b9203db9e4a5f89ffcff2cf9c465ea7beb2d64f
|
4
|
+
data.tar.gz: 4d3a8f76ef3aa2490919f1899ef4cd958bdcca85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 795952e3115ec4c59389d348d358d5e44a9436ca3ded8d36490f64d040812ad0c2dbf3139879310143261c904b88e1370c200b630fc7b0a628876db0297940d3
|
7
|
+
data.tar.gz: 76ed1a531691b45358bf1ec4c1986f44f5be510e6e718c8154445d9a34c5980f02367eb3b4ea6d1da301d0a7a2ffccc7389c9d87b473f36e06380dfe275d49df
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rocket_cms (0.8.
|
4
|
+
rocket_cms (0.8.10)
|
5
5
|
addressable
|
6
6
|
coffee-rails
|
7
7
|
devise
|
@@ -63,7 +63,7 @@ GEM
|
|
63
63
|
thread_safe (~> 0.3, >= 0.3.4)
|
64
64
|
tzinfo (~> 1.1)
|
65
65
|
addressable (2.3.8)
|
66
|
-
arel (6.0.
|
66
|
+
arel (6.0.2)
|
67
67
|
bcrypt (3.1.10)
|
68
68
|
builder (3.2.2)
|
69
69
|
coffee-rails (4.1.0)
|
@@ -158,11 +158,11 @@ GEM
|
|
158
158
|
remotipart (~> 1.0)
|
159
159
|
safe_yaml (~> 1.0)
|
160
160
|
sass-rails (>= 4.0, < 6)
|
161
|
-
rails_admin_nested_set (0.4.
|
162
|
-
rails_admin
|
161
|
+
rails_admin_nested_set (0.4.4)
|
162
|
+
rails_admin
|
163
163
|
rails_admin_settings (1.0.1)
|
164
|
-
rails_admin_toggleable (0.5.
|
165
|
-
rails_admin
|
164
|
+
rails_admin_toggleable (0.5.1)
|
165
|
+
rails_admin
|
166
166
|
railties (4.2.3)
|
167
167
|
actionpack (= 4.2.3)
|
168
168
|
activesupport (= 4.2.3)
|
@@ -173,7 +173,7 @@ GEM
|
|
173
173
|
responders (2.1.0)
|
174
174
|
railties (>= 4.2.0, < 5)
|
175
175
|
safe_yaml (1.0.4)
|
176
|
-
sass (3.4.
|
176
|
+
sass (3.4.16)
|
177
177
|
sass-rails (5.0.3)
|
178
178
|
railties (>= 4.0.0, < 5.0)
|
179
179
|
sass (~> 3.1)
|
@@ -51,7 +51,7 @@ module RsErrors
|
|
51
51
|
capture_exception(exception) if defined?(Raven)
|
52
52
|
begin
|
53
53
|
if rails_admin?
|
54
|
-
render text: t('rs.errors.
|
54
|
+
render text: t('rs.errors.internal_error_full', klass: exception.class.name, message: exception.message), status: 500
|
55
55
|
return
|
56
56
|
end
|
57
57
|
rescue Exception => e
|
data/config/locales/en.rs.yml
CHANGED
@@ -19,6 +19,7 @@ en:
|
|
19
19
|
errors:
|
20
20
|
title: "Error %{code}"
|
21
21
|
form_expired: "Token expired"
|
22
|
-
internal_error: "Internal error
|
22
|
+
internal_error: "Internal error"
|
23
|
+
internal_error_full: "Internal error: %{klass} %{message}"
|
23
24
|
access_denied: "Access denied"
|
24
25
|
not_found: 'The requested page was not found on this server'
|
data/config/locales/ru.rs.yml
CHANGED
@@ -19,6 +19,7 @@ ru:
|
|
19
19
|
errors:
|
20
20
|
title: "Ошибка %{code}"
|
21
21
|
form_expired: "Истекло время на заполение формы"
|
22
|
-
internal_error: "Внутренняя
|
22
|
+
internal_error: "Внутренняя ошибка"
|
23
|
+
internal_error_full: "Внутренняя ошибка: %{klass} %{message}"
|
23
24
|
access_denied: "Доступ запрещен"
|
24
25
|
not_found: 'Запрашиваемая страница была удалена, или введён некорректный адрес'
|
data/lib/rocket_cms/engine.rb
CHANGED
@@ -21,7 +21,7 @@ module RocketCMS
|
|
21
21
|
RocketCMS.config.search_models.map(&:constantize)
|
22
22
|
|
23
23
|
# Write default email settings to DB so they can be changed.
|
24
|
-
if
|
24
|
+
if Settings.table_exists?
|
25
25
|
Settings.default_email_from(default: 'noreply@rscx.ru')
|
26
26
|
Settings.form_email(default: 'glebtv@ya.ru')
|
27
27
|
Settings.email_topic(default: 'с сайта')
|
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.8.
|
4
|
+
version: 0.8.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|