rocket_cms 0.7.0 → 0.7.1

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: ff5e67aaf6a6c9270fb207ec1d91b941b419e07e
4
- data.tar.gz: 74f4ae63372c683fc0de7bf513d85df21da00a2d
3
+ metadata.gz: 15e24497b873e1c0fdaa11337bcf79ab60e44adc
4
+ data.tar.gz: ba371d9579621d7127501e34c652d09b0e1e5efd
5
5
  SHA512:
6
- metadata.gz: 363f870524458a6e199d6b917222323e85ceb0ace0e9afbeda473fa6391d5427e0913729fc1acbc388098874e24ca8511b528f020a761a0fafa3b258e71dfef8
7
- data.tar.gz: fb2468d78d11554f84ce59a64be5252d34a65f27601a9b65acc4d57e246c2125cfea635ff99fcb0a465183e65dd3d4e147c4129b79c5794b7a4301ae8b64bb37
6
+ metadata.gz: 17f988247d191712da293b791e127539488758fcbbc4f30688cbdd95638ef276649222a5fc7d6ff1a2e30274c57b3c5dcdf9b7b4cebdb01b7bd98fef964dd8f9
7
+ data.tar.gz: c5da155755ce1a3d5ff4addc5df3bb3cd142df201c1e2809089a0106cf3fd5abfbd259cbd2e44c3876584895f6f7a2d17d3a7d915ede16ad470b56cd6ecdf5c3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.7.0)
4
+ rocket_cms (0.7.1)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -27,36 +27,36 @@ PATH
27
27
  GEM
28
28
  remote: https://rubygems.org/
29
29
  specs:
30
- actionmailer (4.2.1)
31
- actionpack (= 4.2.1)
32
- actionview (= 4.2.1)
33
- activejob (= 4.2.1)
30
+ actionmailer (4.2.2)
31
+ actionpack (= 4.2.2)
32
+ actionview (= 4.2.2)
33
+ activejob (= 4.2.2)
34
34
  mail (~> 2.5, >= 2.5.4)
35
35
  rails-dom-testing (~> 1.0, >= 1.0.5)
36
- actionpack (4.2.1)
37
- actionview (= 4.2.1)
38
- activesupport (= 4.2.1)
36
+ actionpack (4.2.2)
37
+ actionview (= 4.2.2)
38
+ activesupport (= 4.2.2)
39
39
  rack (~> 1.6)
40
40
  rack-test (~> 0.6.2)
41
41
  rails-dom-testing (~> 1.0, >= 1.0.5)
42
42
  rails-html-sanitizer (~> 1.0, >= 1.0.1)
43
- actionview (4.2.1)
44
- activesupport (= 4.2.1)
43
+ actionview (4.2.2)
44
+ activesupport (= 4.2.2)
45
45
  builder (~> 3.1)
46
46
  erubis (~> 2.7.0)
47
47
  rails-dom-testing (~> 1.0, >= 1.0.5)
48
48
  rails-html-sanitizer (~> 1.0, >= 1.0.1)
49
- activejob (4.2.1)
50
- activesupport (= 4.2.1)
49
+ activejob (4.2.2)
50
+ activesupport (= 4.2.2)
51
51
  globalid (>= 0.3.0)
52
- activemodel (4.2.1)
53
- activesupport (= 4.2.1)
52
+ activemodel (4.2.2)
53
+ activesupport (= 4.2.2)
54
54
  builder (~> 3.1)
55
- activerecord (4.2.1)
56
- activemodel (= 4.2.1)
57
- activesupport (= 4.2.1)
55
+ activerecord (4.2.2)
56
+ activemodel (= 4.2.2)
57
+ activesupport (= 4.2.2)
58
58
  arel (~> 6.0)
59
- activesupport (4.2.1)
59
+ activesupport (4.2.2)
60
60
  i18n (~> 0.7)
61
61
  json (~> 1.7, >= 1.7.7)
62
62
  minitest (~> 5.1)
@@ -73,7 +73,7 @@ GEM
73
73
  coffee-script-source
74
74
  execjs
75
75
  coffee-script-source (1.9.1.1)
76
- devise (3.4.1)
76
+ devise (3.5.1)
77
77
  bcrypt (~> 3.0)
78
78
  orm_adapter (~> 0.1)
79
79
  railties (>= 3.2.6, < 5)
@@ -84,7 +84,7 @@ GEM
84
84
  execjs (2.5.2)
85
85
  font-awesome-rails (4.3.0.0)
86
86
  railties (>= 3.2, < 5.0)
87
- geocoder (1.2.8)
87
+ geocoder (1.2.9)
88
88
  glebtv-ckeditor (4.4.7.3)
89
89
  mime-types
90
90
  mini_magick
@@ -97,13 +97,13 @@ GEM
97
97
  tilt
98
98
  htmlentities (4.3.3)
99
99
  i18n (0.7.0)
100
- jquery-rails (4.0.3)
100
+ jquery-rails (4.0.4)
101
101
  rails-dom-testing (~> 1.0)
102
102
  railties (>= 4.2.0)
103
103
  thor (>= 0.14, < 2.0)
104
- jquery-ui-rails (5.0.3)
104
+ jquery-ui-rails (5.0.5)
105
105
  railties (>= 3.2.16)
106
- json (1.8.2)
106
+ json (1.8.3)
107
107
  kaminari (0.16.3)
108
108
  actionpack (>= 3.0.0)
109
109
  activesupport (>= 3.0.0)
@@ -111,30 +111,30 @@ GEM
111
111
  nokogiri (>= 1.5.9)
112
112
  mail (2.6.3)
113
113
  mime-types (>= 1.16, < 3)
114
- mime-types (2.5)
115
- mini_magick (4.2.3)
114
+ mime-types (2.6.1)
115
+ mini_magick (4.2.7)
116
116
  mini_portile (0.6.2)
117
- minitest (5.6.1)
117
+ minitest (5.7.0)
118
118
  nested_form (0.3.2)
119
119
  nokogiri (1.6.6.2)
120
120
  mini_portile (~> 0.6.0)
121
121
  orm_adapter (0.5.0)
122
- rack (1.6.1)
122
+ rack (1.6.4)
123
123
  rack-pjax (0.8.0)
124
124
  nokogiri (~> 1.5)
125
125
  rack (~> 1.1)
126
126
  rack-test (0.6.3)
127
127
  rack (>= 1.0)
128
- rails (4.2.1)
129
- actionmailer (= 4.2.1)
130
- actionpack (= 4.2.1)
131
- actionview (= 4.2.1)
132
- activejob (= 4.2.1)
133
- activemodel (= 4.2.1)
134
- activerecord (= 4.2.1)
135
- activesupport (= 4.2.1)
128
+ rails (4.2.2)
129
+ actionmailer (= 4.2.2)
130
+ actionpack (= 4.2.2)
131
+ actionview (= 4.2.2)
132
+ activejob (= 4.2.2)
133
+ activemodel (= 4.2.2)
134
+ activerecord (= 4.2.2)
135
+ activesupport (= 4.2.2)
136
136
  bundler (>= 1.3.0, < 2.0)
137
- railties (= 4.2.1)
137
+ railties (= 4.2.2)
138
138
  sprockets-rails
139
139
  rails-deprecated_sanitizer (1.0.3)
140
140
  activesupport (>= 4.2.0.alpha)
@@ -144,7 +144,7 @@ GEM
144
144
  rails-deprecated_sanitizer (>= 1.0.1)
145
145
  rails-html-sanitizer (1.0.2)
146
146
  loofah (~> 2.0)
147
- rails_admin (0.6.7)
147
+ rails_admin (0.6.8)
148
148
  builder (~> 3.1)
149
149
  coffee-rails (~> 4.0)
150
150
  font-awesome-rails (>= 3.0, < 5)
@@ -163,9 +163,9 @@ GEM
163
163
  rails_admin_settings (1.0.0)
164
164
  rails_admin_toggleable (0.5.0)
165
165
  rails_admin (~> 0.6.6)
166
- railties (4.2.1)
167
- actionpack (= 4.2.1)
168
- activesupport (= 4.2.1)
166
+ railties (4.2.2)
167
+ actionpack (= 4.2.2)
168
+ activesupport (= 4.2.2)
169
169
  rake (>= 0.8.7)
170
170
  thor (>= 0.18.1, < 2.0)
171
171
  rake (10.4.2)
@@ -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.13)
176
+ sass (3.4.14)
177
177
  sass-rails (5.0.3)
178
178
  railties (>= 4.0.0, < 5.0)
179
179
  sass (~> 3.1)
@@ -190,9 +190,9 @@ GEM
190
190
  smart_excerpt (0.1.5)
191
191
  activesupport
192
192
  htmlentities
193
- sprockets (3.0.3)
193
+ sprockets (3.2.0)
194
194
  rack (~> 1.0)
195
- sprockets-rails (2.2.4)
195
+ sprockets-rails (2.3.1)
196
196
  actionpack (>= 3.0)
197
197
  activesupport (>= 3.0)
198
198
  sprockets (>= 2.8, < 4.0)
@@ -51,10 +51,14 @@ module RsErrors
51
51
  capture_exception(exception) if defined?(Raven)
52
52
  begin
53
53
  if rails_admin?
54
- render text: t('rs.errors.internal_error'), status: 500
54
+ render text: t('rs.errors.internal_error', klass: exception.class.name, message: exception.message), status: 500
55
55
  return
56
56
  end
57
- rescue
57
+ rescue Exception => e
58
+ puts "error while rendering rails admin exception"
59
+ puts e.class.name
60
+ puts e.message
61
+ puts e.backtrace.join("\n")
58
62
  end
59
63
  render_error(500)
60
64
  end
@@ -6,6 +6,5 @@
6
6
  = f.input :email
7
7
  = f.input :phone
8
8
  = f.input :content
9
- = f.input :captcha
9
+ = f.input :captcha, as: :simple_captcha
10
10
  = f.submit t('rs.send')
11
-
@@ -19,6 +19,6 @@ 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: %{klass} %{message}"
23
23
  access_denied: "Access denied"
24
24
  not_found: 'The requested page was not found on this server'
@@ -19,6 +19,6 @@ ru:
19
19
  errors:
20
20
  title: "Ошибка %{code}"
21
21
  form_expired: "Истекло время на заполение формы"
22
- internal_error: "Внутренняя ошибка"
22
+ internal_error: "Внутренняя ошибка: %{klass} %{message}"
23
23
  access_denied: "Доступ запрещен"
24
24
  not_found: 'Запрашиваемая страница была удалена, или введён некорректный адрес'
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
@@ -19,7 +19,7 @@ gem 'rails', '4.2.1'
19
19
 
20
20
  gem 'sass', '~> 3.4.4'
21
21
 
22
- #{if mongoid then "gem 'rocket_cms_mongoid'" else "gem 'rocket_cms_activerecord'" end}, '~> 0.6.12'
22
+ #{if mongoid then "gem 'rocket_cms_mongoid'" else "gem 'rocket_cms_activerecord'" end}, '~> 0.7.0'
23
23
 
24
24
  gem 'sass-rails'
25
25
  gem 'compass-rails', '~> 2.0.0'
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.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
11
+ date: 2015-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler