rocket_cms 0.6.11 → 0.6.12

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: 04e686655499a3ed00fb7564f6ae3eb71535c76d
4
- data.tar.gz: 47598399a4d7a1d4f38c8bcb7b7aa03e0a53168b
3
+ metadata.gz: 8bfd7f173982a33ce1f8710d4510b47dd9a3a450
4
+ data.tar.gz: 6aeb612b8738043a0040d4bd6bf988195aaf88b2
5
5
  SHA512:
6
- metadata.gz: 8d683d18e9075ebe9a8bb2805b4d3dbf6204f13a52bdadad678cdbca57fbd14ed30c4f7383f5cabd35b24e3c818ccbdd87a2dfcd191d9dedd750e051ba1ac9c9
7
- data.tar.gz: 9ef1e049d16e6b7c904872268a3abd88187baf76907e00f1c1c951fe3299b8d72c45f0eb70a6216ba967bc439dda0d40ddd8bd4635b0d6792320394c4f251db1
6
+ metadata.gz: fe92838d94cd76149ac1fd21897ca8a40411b9c5b074dbe02ee30be819bfda282549dd41ce147bff5455f47f201540f6a93d3a8540f4dc4917713d3f1eea8c32
7
+ data.tar.gz: da6b8921e62a215eced41bf704977bd6b72b5984ada72fd4abe3e39340e0ddb88bd50ede1962649286e8f1585d32e335c1d0711cde7f971ed793676c9362ffbf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.6.11)
4
+ rocket_cms (0.6.12)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -81,12 +81,13 @@ GEM
81
81
  thread_safe (~> 0.1)
82
82
  warden (~> 1.2.3)
83
83
  erubis (2.7.0)
84
- execjs (2.3.0)
84
+ execjs (2.4.0)
85
85
  font-awesome-rails (4.3.0.0)
86
86
  railties (>= 3.2, < 5.0)
87
87
  geocoder (1.2.7)
88
- glebtv-ckeditor (4.4.7)
88
+ glebtv-ckeditor (4.4.7.3)
89
89
  mime-types
90
+ mini_magick
90
91
  orm_adapter (~> 0.5.0)
91
92
  rails (~> 4.0)
92
93
  glebtv-simple_captcha (0.6.7)
@@ -112,9 +113,10 @@ GEM
112
113
  mail (2.6.3)
113
114
  mime-types (>= 1.16, < 3)
114
115
  mime-types (2.4.3)
116
+ mini_magick (4.1.0)
115
117
  mini_portile (0.6.2)
116
118
  minitest (5.5.1)
117
- multi_json (1.10.1)
119
+ multi_json (1.11.0)
118
120
  nested_form (0.3.2)
119
121
  nokogiri (1.6.6.2)
120
122
  mini_portile (~> 0.6.0)
@@ -138,13 +140,13 @@ GEM
138
140
  sprockets-rails
139
141
  rails-deprecated_sanitizer (1.0.3)
140
142
  activesupport (>= 4.2.0.alpha)
141
- rails-dom-testing (1.0.5)
143
+ rails-dom-testing (1.0.6)
142
144
  activesupport (>= 4.2.0.beta, < 5.0)
143
145
  nokogiri (~> 1.6.0)
144
146
  rails-deprecated_sanitizer (>= 1.0.1)
145
- rails-html-sanitizer (1.0.1)
147
+ rails-html-sanitizer (1.0.2)
146
148
  loofah (~> 2.0)
147
- rails_admin (0.6.6)
149
+ rails_admin (0.6.7)
148
150
  builder (~> 3.1)
149
151
  coffee-rails (~> 4.0)
150
152
  font-awesome-rails (>= 3.0, < 5)
@@ -158,7 +160,7 @@ GEM
158
160
  remotipart (~> 1.0)
159
161
  safe_yaml (~> 1.0)
160
162
  sass-rails (>= 4.0, < 6)
161
- rails_admin_nested_set (0.4.0)
163
+ rails_admin_nested_set (0.4.1)
162
164
  rails_admin (~> 0.6.6)
163
165
  rails_admin_settings (0.9.1)
164
166
  rails_admin_toggleable (0.5.0)
@@ -201,7 +203,7 @@ GEM
201
203
  sprockets (>= 2.8, < 4.0)
202
204
  stringex (2.5.2)
203
205
  thor (0.19.1)
204
- thread_safe (0.3.4)
206
+ thread_safe (0.3.5)
205
207
  tilt (1.4.1)
206
208
  turbolinks (2.5.3)
207
209
  coffee-rails
@@ -15,7 +15,11 @@ module RailsAdmin
15
15
  register_instance_option :controller do
16
16
  Proc.new do
17
17
  if @object.class.name == 'Page'
18
- redirect_to main_app.page_url(@object)
18
+ if @object.fullpath.blank?
19
+ redirect_to main_app.page_url(@object)
20
+ else
21
+ redirect_to @object.fullpath
22
+ end
19
23
  elsif @object.class.name == 'News'
20
24
  redirect_to main_app.news_url(@object)
21
25
  elsif @object.class.name == 'Obj'
@@ -23,7 +23,7 @@ module RocketCMS
23
23
  redirect_after_done
24
24
  end
25
25
  else
26
- render_error
26
+ render_contacts_error
27
27
  end
28
28
  end
29
29
 
@@ -31,7 +31,7 @@ module RocketCMS
31
31
  end
32
32
 
33
33
  private
34
- def render_error
34
+ def render_contacts_error
35
35
  if request.xhr? && process_ajax
36
36
  render json: {errors: @contact_message.errors}, status: 422
37
37
  else
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.6.11"
2
+ VERSION = "0.6.12"
3
3
  end
data/template.rb CHANGED
@@ -262,12 +262,13 @@ create_file 'app/assets/stylesheets/rails_admin/custom/theming.css.sass' do <<-T
262
262
  .input-small
263
263
  width: 150px
264
264
 
265
- input[type=text]
266
- width: 380px !important
267
- input.ra-filtering-select-input[type=text]
268
- width: 180px !important
269
- input.hasDatepicker
270
- width: 180px !important
265
+ .container-fluid
266
+ input[type=text]
267
+ width: 380px !important
268
+ input.ra-filtering-select-input[type=text]
269
+ width: 180px !important
270
+ input.hasDatepicker
271
+ width: 180px !important
271
272
 
272
273
  .sidebar-nav
273
274
  a
@@ -305,17 +306,19 @@ input.hasDatepicker
305
306
  right: 0
306
307
  left: auto
307
308
 
308
- .modal
309
+ .model-dialog
309
310
  width: 800px !important
310
311
 
311
- .bank_row .logo_field, #edit_bank img
312
- background: #ccc !important
313
-
314
- .ui-menu-item
315
- border: 1px solid transparent
316
-
317
312
  .content > .alert
318
313
  margin-top: 20px
314
+
315
+ .badge-important
316
+ background: red
317
+ .badge-success
318
+ background: green
319
+
320
+ .sidebar-nav i
321
+ margin-right: 5px
319
322
  TEXT
320
323
  end
321
324
 
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.11
4
+ version: 0.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-02 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler