ack_rocket_cms 0.7.5.2 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/Gemfile.lock +20 -19
  4. data/app/views/blocks/_footer.html.slim +1 -0
  5. data/app/views/contact_mailer/{new_message_email.html.haml → new_message_email.html.slim} +8 -9
  6. data/app/views/contacts/{index.html.haml → index.html.slim} +0 -0
  7. data/app/views/contacts/{new.html.haml → new.html.slim} +0 -0
  8. data/app/views/contacts/sent.html.slim +4 -0
  9. data/app/views/errors/_base.html.slim +3 -0
  10. data/app/views/errors/{error_403.html.haml → error_403.html.slim} +0 -0
  11. data/app/views/errors/{error_404.html.haml → error_404.html.slim} +0 -0
  12. data/app/views/errors/{error_500.html.haml → error_500.html.slim} +0 -0
  13. data/app/views/home/index.html.slim +1 -0
  14. data/app/views/news/{index.html.haml → index.html.slim} +3 -3
  15. data/app/views/news/{show.html.haml → show.html.slim} +1 -1
  16. data/app/views/pages/{show.html.haml → show.html.slim} +0 -0
  17. data/app/views/rails_admin/main/{_check_boxes.html.haml → _check_boxes.html.slim} +0 -0
  18. data/app/views/rails_admin/main/{_enum_check_boxes.html.haml → _enum_check_boxes.html.slim} +0 -0
  19. data/app/views/rails_admin/main/{_enum_radio_buttons.html.haml → _enum_radio_buttons.html.slim} +0 -0
  20. data/app/views/rails_admin/main/{_form_raw.html.haml → _form_raw.html.slim} +0 -0
  21. data/app/views/search/{index.html.haml → index.html.slim} +4 -4
  22. data/app/views/shared/{_admin_link.html.haml → _admin_link.html.slim} +1 -1
  23. data/app/views/shared/{_messages.html.haml → _messages.html.slim} +2 -2
  24. data/app/views/shared/{_meta.html.haml → _meta.html.slim} +6 -6
  25. data/app/views/shared/{_obj.html.haml → _obj.html.slim} +0 -0
  26. data/app/views/shared/_og.html.slim +4 -0
  27. data/lib/rocket_cms.rb +1 -0
  28. data/lib/rocket_cms/admin.rb +85 -15
  29. data/lib/rocket_cms/version.rb +1 -1
  30. data/rocket_cms.gemspec +3 -2
  31. data/template.rb +13 -3
  32. metadata +41 -27
  33. data/app/views/blocks/_footer.html.haml +0 -1
  34. data/app/views/contacts/sent.html.haml +0 -4
  35. data/app/views/errors/_base.html.haml +0 -3
  36. data/app/views/home/index.html.haml +0 -1
  37. data/app/views/shared/_og.html.haml +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec774db647ab685e73a3a63f4c747cdabd10d317
4
- data.tar.gz: d1ce5bc5c4bc708298f4ae8cb39733b586f4f32b
3
+ metadata.gz: 4354b60e460b681afa953b17bd72e19c9cd9f52a
4
+ data.tar.gz: 0e7f996494d203663c553e9aea89c38522b6c724
5
5
  SHA512:
6
- metadata.gz: 1f44ad69726b3e48315c87872d1c3a104462ce3cba439b741e2a83e86e1c434dd2fde86821d7cd435480971a0ce46ede0f401bea1836084079835d5bb907f008
7
- data.tar.gz: 4355ee4cebe1a84442e3948ded4b834e765a32b2fc85798535647889c6cb537e01854289f118e51793dcf5bcd1087049f0a645dbd5207d98f8c77057f3639415
6
+ metadata.gz: d46671e2dce97051ca03cbc25cefe10256fbac3aa9799859cd840e24bf0e2c03aa44a1dffb3300cf4231d11e1f7d4666830c1a8c7bea1cd162637e24ecdea31a
7
+ data.tar.gz: b486fd928f59dd864e8c41e67cf6eb1e2c53eaf995c51dd69613639459f575ea76bfe98aec6eaa9461459438fbf2790c8560023bbb63f7f6ad915e0d4129472c
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.2.2
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ack_rocket_cms (0.7.5.2)
4
+ ack_rocket_cms (0.7.6)
5
+ ack_rails_admin_jcrop
5
6
  addressable
6
7
  ckeditor
7
8
  coffee-rails
@@ -29,6 +30,10 @@ PATH
29
30
  GEM
30
31
  remote: https://rubygems.org/
31
32
  specs:
33
+ ack_rails_admin_jcrop (0.0.2)
34
+ mini_magick
35
+ rails (>= 3.0.0)
36
+ rails_admin (>= 0.3.0)
32
37
  actionmailer (4.2.1)
33
38
  actionpack (= 4.2.1)
34
39
  actionview (= 4.2.1)
@@ -79,11 +84,11 @@ GEM
79
84
  coffee-rails (4.1.0)
80
85
  coffee-script (>= 2.2.0)
81
86
  railties (>= 4.0.0, < 5.0)
82
- coffee-script (2.3.0)
87
+ coffee-script (2.4.1)
83
88
  coffee-script-source
84
89
  execjs
85
- coffee-script-source (1.9.1)
86
- connection_pool (2.1.3)
90
+ coffee-script-source (1.9.1.1)
91
+ connection_pool (2.2.0)
87
92
  devise (3.4.1)
88
93
  bcrypt (~> 3.0)
89
94
  orm_adapter (~> 0.1)
@@ -92,16 +97,15 @@ GEM
92
97
  thread_safe (~> 0.1)
93
98
  warden (~> 1.2.3)
94
99
  erubis (2.7.0)
95
- execjs (2.4.0)
100
+ execjs (2.5.2)
96
101
  font-awesome-rails (4.3.0.0)
97
102
  railties (>= 3.2, < 5.0)
98
103
  geocoder (1.2.8)
99
104
  glebtv-simple_captcha (0.6.7)
100
- globalid (0.3.3)
105
+ globalid (0.3.5)
101
106
  activesupport (>= 4.1.0)
102
107
  haml (4.0.6)
103
108
  tilt
104
- hike (1.2.3)
105
109
  htmlentities (4.3.3)
106
110
  i18n (0.7.0)
107
111
  jquery-rails (4.0.3)
@@ -114,13 +118,14 @@ GEM
114
118
  kaminari (0.16.3)
115
119
  actionpack (>= 3.0.0)
116
120
  activesupport (>= 3.0.0)
117
- loofah (2.0.1)
121
+ loofah (2.0.2)
118
122
  nokogiri (>= 1.5.9)
119
123
  mail (2.6.3)
120
124
  mime-types (>= 1.16, < 3)
121
- mime-types (2.4.3)
125
+ mime-types (2.5)
126
+ mini_magick (4.2.4)
122
127
  mini_portile (0.6.2)
123
- minitest (5.5.1)
128
+ minitest (5.6.1)
124
129
  mongoid (4.0.2)
125
130
  activemodel (~> 4.0)
126
131
  moped (~> 2.0.0)
@@ -130,14 +135,13 @@ GEM
130
135
  bson (~> 2.2)
131
136
  connection_pool (~> 2.0)
132
137
  optionable (~> 0.2.0)
133
- multi_json (1.11.0)
134
138
  nested_form (0.3.2)
135
139
  nokogiri (1.6.6.2)
136
140
  mini_portile (~> 0.6.0)
137
141
  optionable (0.2.0)
138
142
  origin (2.1.1)
139
143
  orm_adapter (0.5.0)
140
- rack (1.6.0)
144
+ rack (1.6.1)
141
145
  rack-pjax (0.8.0)
142
146
  nokogiri (~> 1.5)
143
147
  rack (~> 1.1)
@@ -181,7 +185,7 @@ GEM
181
185
  mongoid (>= 3.0)
182
186
  rails (>= 3.0)
183
187
  rails_admin (>= 0.5)
184
- rails_admin_nested_set (0.4.1)
188
+ rails_admin_nested_set (0.4.2)
185
189
  rails_admin (~> 0.6.6)
186
190
  rails_admin_settings (0.9.1)
187
191
  rails_admin_toggleable (0.5.0)
@@ -203,7 +207,7 @@ GEM
203
207
  sprockets (>= 2.8, < 4.0)
204
208
  sprockets-rails (>= 2.0, < 4.0)
205
209
  tilt (~> 1.1)
206
- simple-navigation (4.0.1)
210
+ simple-navigation (4.0.3)
207
211
  activesupport (>= 2.3.2)
208
212
  simple_form (3.1.0)
209
213
  actionpack (~> 4.0)
@@ -213,12 +217,9 @@ GEM
213
217
  smart_excerpt (0.1.5)
214
218
  activesupport
215
219
  htmlentities
216
- sprockets (2.12.3)
217
- hike (~> 1.2)
218
- multi_json (~> 1.0)
220
+ sprockets (3.1.0)
219
221
  rack (~> 1.0)
220
- tilt (~> 1.1, != 1.3.0)
221
- sprockets-rails (2.2.4)
222
+ sprockets-rails (2.3.0)
222
223
  actionpack (>= 3.0)
223
224
  activesupport (>= 3.0)
224
225
  sprockets (>= 2.8, < 4.0)
@@ -0,0 +1 @@
1
+ '(c) 2015 etc
@@ -1,16 +1,15 @@
1
-
2
1
  - excluded_column_names = %w[id c_at u_at created_at updated_at _id _type enabled attachment c_at u_at captcha captcha_key version creator_id creator updater_id updater modifier modifier_id]
3
2
 
4
- %h3 Сообщение из формы связи:
3
+ h3= "Сообщение из формы связи:"
5
4
 
6
- %table
7
- %tr
8
- %th(style='padding: 2px 3px') Поле
9
- %th(style='padding: 2px 3px') Значение
5
+ table
6
+ tr
7
+ th(style='padding: 2px 3px') Поле
8
+ th(style='padding: 2px 3px') Значение
10
9
  - fields = (RocketCMS.mongoid? ? ContactMessage.fields.keys : ContactMessage.columns.map(&:name))
11
10
  - fields.reject{|c| excluded_column_names.include?(c) }.each do |c|
12
- %tr
13
- %td(style='padding: 2px 3px')
11
+ tr
12
+ td(style='padding: 2px 3px')
14
13
  = ContactMessage.human_attribute_name(c)
15
- %td(style='padding: 2px 3px')
14
+ td(style='padding: 2px 3px')
16
15
  = @message.send(c.to_sym)
@@ -0,0 +1,4 @@
1
+ #rocket_cms_contact_sent
2
+ h1 Обратная связь
3
+ h2 Ваше сообщение отправлено
4
+ div Если оно требует ответа, мы постараемся ответить в ближайшее время
@@ -0,0 +1,3 @@
1
+ #rocket_cms_error{class="error-#{code}"}
2
+ h1= "Ошибка #{code}"
3
+ p= "#{text}"
@@ -0,0 +1 @@
1
+ RocketCMS test app
@@ -1,9 +1,9 @@
1
1
  .rs-news-index
2
- %h1= t('rs.news')
2
+ h1= t('rs.news')
3
3
  - @news.each do |news|
4
4
  .rs-news-date= l(news.time.to_date)
5
- %a.rs-news-title{href: news_path(news)}= news.name
5
+ = link_to news.name, news, class: "rs-news-title", title: news.name
6
6
  - if !RocketCMS.configuration.news_image_styles.nil? && news.image?
7
7
  .rs-news-image= image_tag news.image.url(:thumb)
8
- .rs-news-excerpt= news.excerpt
8
+ .rs-news-excerpt== news.excerpt
9
9
  = paginate @news
@@ -1,5 +1,5 @@
1
1
  .rs-news-show
2
- %h1.rs-news-title= @news.name
2
+ h1.rs-news-title= @news.name
3
3
  .rs-news-date= l(@news.time.to_date)
4
4
  .rs-news-text= @news.excerpt
5
5
  - if !RocketCMS.configuration.news_image_styles.nil? && @news.image?
@@ -1,17 +1,17 @@
1
1
  .rs-search-results
2
- %h1 Результаты поиска
2
+ h1 Результаты поиска
3
3
  = form_tag search_path, method: :get, class: 'nav_search' do
4
4
  = text_field_tag 'query', params[:query], placeholder: "Поиск"
5
5
  = submit_tag 'Найти'
6
- %ol
6
+ ol
7
7
  - any = false
8
8
  - @results.each do |r|
9
9
  - any = true
10
- %li
10
+ li
11
11
  .title= link_to (r._highlight.nil? || r._highlight['name'].nil?) ? r.name : r._highlight['name'].join(' ... ').html_safe, url_for(r)
12
12
  .text
13
13
  = raw (r._highlight.nil? || r._highlight['content'].nil?) ? (r.content.blank? ? '' : SmartExcerpt.truncate(r.content)) : r._highlight['content'].join(' ... ')
14
- %span.more= link_to '', url_for(r)
14
+ span.more= link_to '', url_for(r)
15
15
 
16
16
  - unless any
17
17
  .rs-search-no-results К сожалению, ничего не найдено
@@ -1,3 +1,3 @@
1
1
  - if user_signed_in? && respond_to?(:can?) && can?(:access, :rails_admin) && can?(:edit, obj)
2
- %div.admin_link
2
+ .admin_link
3
3
  = link_to t('rs.edit'), rails_admin.edit_path(obj.class.model_name.i18n_key.to_s.gsub('/', '~'), obj.id), 'data-no-turbolink' => true
@@ -2,6 +2,6 @@
2
2
  .flash
3
3
  - flash.each do |type, message|
4
4
  - next if message.blank?
5
- %div{class: "message #{type}"}
6
- %a.close_flash &times;
5
+ div{class="message #{type}"}
6
+ a.close_flash &times;
7
7
  = simple_format(message.strip)
@@ -1,19 +1,19 @@
1
1
  - alt_obj ||= nil
2
2
 
3
3
  - if obj.respond_to?(:keywords) and !obj.keywords.blank?
4
- %meta{name: "keywords", content: obj.keywords}/
4
+ meta{name="keywords" content="#{obj.keywords}"}/
5
5
  - else
6
6
  - if alt_obj and alt_obj.respond_to?(:keywords) and !alt_obj.keywords.blank?
7
- %meta{name: "keywords", content: alt_obj.keywords}/
7
+ meta{name="keywords" content="#{alt_obj.keywords}"}/
8
8
 
9
9
  - if obj.respond_to?(:description) and !obj.description.blank?
10
- %meta{name: "description", content: obj.description}/
10
+ meta{name="description" content="#{obj.description}"}/
11
11
  - else
12
12
  - if alt_obj and alt_obj.respond_to?(:description) and !alt_obj.description.blank?
13
- %meta{name: "description", content: alt_obj.description}/
13
+ meta{name="description" content="#{alt_obj.description}"}/
14
14
 
15
15
  - if obj.respond_to?(:robots) and !obj.robots.blank?
16
- %meta{name: "robots", content: obj.robots}/
16
+ meta{name="robots" content="#{obj.robots}"}/
17
17
  - else
18
18
  - if alt_obj and alt_obj.respond_to?(:robots) and !alt_obj.robots.blank?
19
- %meta{name: "robots", content: alt_obj.robots}/
19
+ meta{name="robots" content="#{alt_obj.robots}"}/
@@ -0,0 +1,4 @@
1
+ - if defined?(title) && !title.blank?
2
+ meta{property='og:title' content="#{title}"}
3
+ - if defined?(image) && !image.blank?
4
+ meta{property='og:image' content="http://#{request.host_with_port}#{image}"}
@@ -27,6 +27,7 @@ require 'kaminari'
27
27
  require 'addressable/uri'
28
28
  require 'turbolinks'
29
29
  require 'simple-navigation'
30
+ require 'ack_rails_admin_jcrop'
30
31
 
31
32
  require 'rocket_cms/configuration'
32
33
  require 'rocket_cms/patch'
@@ -13,6 +13,10 @@ module RocketCMS
13
13
  end
14
14
  field :lat
15
15
  field :lon
16
+
17
+ if block_given?
18
+ yield
19
+ end
16
20
  }
17
21
  end
18
22
 
@@ -28,6 +32,10 @@ module RocketCMS
28
32
 
29
33
  field :og_title, :string
30
34
  field :og_image
35
+
36
+ if block_given?
37
+ yield
38
+ end
31
39
  }
32
40
  end
33
41
 
@@ -73,7 +81,11 @@ module RocketCMS
73
81
  if type.nil?
74
82
  field name
75
83
  else
76
- field name, type
84
+ if type.is_a?(Array)
85
+ field name, type[0], &type[1]
86
+ else
87
+ field name, type
88
+ end
77
89
  end
78
90
  end
79
91
  group :seo, &RocketCMS.seo_config
@@ -84,18 +96,26 @@ module RocketCMS
84
96
  max_depth: RocketCMS.configuration.menu_max_depth,
85
97
  scopes: []
86
98
  })
99
+
100
+ if block_given?
101
+ yield
102
+ end
87
103
  }
88
104
  end
89
105
 
90
106
  def menu_config
91
107
  Proc.new {
92
- navigation_label 'CMS'
108
+ navigation_label 'CMS'
93
109
 
94
- field :enabled, :toggle
95
- field :text_slug
96
- field :name
97
- RocketCMS.apply_patches self
98
- RocketCMS.only_patches self, [:show, :list, :edit, :export]
110
+ field :enabled, :toggle
111
+ field :text_slug
112
+ field :name
113
+ RocketCMS.apply_patches self
114
+ RocketCMS.only_patches self, [:show, :list, :edit, :export]
115
+
116
+ if block_given?
117
+ yield
118
+ end
99
119
  }
100
120
  end
101
121
 
@@ -112,6 +132,10 @@ module RocketCMS
112
132
 
113
133
  RocketCMS.apply_patches self
114
134
  RocketCMS.only_patches self, [:show, :list, :edit, :export]
135
+
136
+ if block_given?
137
+ yield
138
+ end
115
139
  }
116
140
  end
117
141
 
@@ -126,7 +150,9 @@ module RocketCMS
126
150
  field :time
127
151
  field :name
128
152
  unless RocketCMS.configuration.news_image_styles.nil?
129
- field :image
153
+ field :image, :jcrop do
154
+ jcrop_options :image_jcrop_options
155
+ end
130
156
  end
131
157
  field :excerpt
132
158
  field :slugs, :enum do
@@ -150,7 +176,11 @@ module RocketCMS
150
176
  if type.nil?
151
177
  field name
152
178
  else
153
- field name, type
179
+ if type.is_a?(Array)
180
+ field name, type[0], &type[1]
181
+ else
182
+ field name, type
183
+ end
154
184
  end
155
185
  end
156
186
  RocketCMS.apply_patches self
@@ -159,6 +189,10 @@ module RocketCMS
159
189
  end
160
190
 
161
191
  RocketCMS.only_patches self, [:show, :list, :export]
192
+
193
+ if block_given?
194
+ yield
195
+ end
162
196
  }
163
197
  end
164
198
 
@@ -174,6 +208,10 @@ module RocketCMS
174
208
  end
175
209
  end
176
210
  field :sitemap_priority
211
+
212
+ if block_given?
213
+ yield
214
+ end
177
215
  }
178
216
  end
179
217
 
@@ -188,17 +226,37 @@ module RocketCMS
188
226
  if type.nil?
189
227
  field name
190
228
  else
191
- field name, type
229
+ if type.is_a?(Array)
230
+ field name, type[0], &type[1]
231
+ else
232
+ field name, type
233
+ end
192
234
  end
193
235
  end
236
+
237
+ if block_given?
238
+ yield
239
+ end
194
240
  }
195
241
  end
196
242
 
197
243
  def embedded_image_config(fields = {})
198
- RocketCMS.embedded_element_config(
244
+ jcrop_proc = Proc.new do
245
+ jcrop_options :image_jcrop_options
246
+ end
247
+
248
+ if block_given?
249
+ RocketCMS.embedded_element_config(
250
+ nil,
251
+ {image: [:jcrop, jcrop_proc]}.merge(fields),
252
+ yield
253
+ )
254
+ else
255
+ RocketCMS.embedded_element_config(
199
256
  nil,
200
- {image: nil}.merge(fields)
201
- )
257
+ {image: [:jcrop, jcrop_proc]}.merge(fields)
258
+ )
259
+ end
202
260
  end
203
261
 
204
262
  def gallery_config
@@ -220,7 +278,13 @@ module RocketCMS
220
278
  end
221
279
  field :text_slug
222
280
 
223
- field :image
281
+ field :image, :jcrop do
282
+ jcrop_options :image_jcrop_options
283
+ end
284
+
285
+ if block_given?
286
+ yield
287
+ end
224
288
  }
225
289
  end
226
290
 
@@ -232,7 +296,9 @@ module RocketCMS
232
296
  field :gallery
233
297
  end
234
298
  field :name, :string
235
- field :image
299
+ field :image, :jcrop do
300
+ jcrop_options :image_jcrop_options
301
+ end
236
302
  fields.each_pair do |name, type|
237
303
  if type.nil?
238
304
  field name
@@ -240,6 +306,10 @@ module RocketCMS
240
306
  field name, type
241
307
  end
242
308
  end
309
+
310
+ if block_given?
311
+ yield
312
+ end
243
313
  }
244
314
  end
245
315
  end
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.7.5.2"
2
+ VERSION = "0.7.6"
3
3
  end
@@ -5,8 +5,8 @@ require 'rocket_cms/version'
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'ack_rocket_cms'
7
7
  spec.version = RocketCMS::VERSION
8
- spec.authors = ['glebtv', 'Alexander Kiseliev']
9
- spec.email = ['glebtv@gmail.com', "i43ack@gmail.com"]
8
+ spec.authors = ['Alexander Kiseliev', 'glebtv']
9
+ spec.email = ["i43ack@gmail.com", 'glebtv@gmail.com']
10
10
  spec.description = %q{RocketCMS fork}
11
11
  spec.summary = %q{Please DO NOT use this gem directly, use ack_rocket_cms_mongoid or ack_rocket_cms_activerecord instead!}
12
12
  spec.homepage = 'https://github.com/ack43/rocket_cms'
@@ -45,6 +45,7 @@ Gem::Specification.new do |spec|
45
45
 
46
46
 
47
47
  spec.add_dependency "rails_admin_mongoid_localize_field", "~> 0.1.2"
48
+ spec.add_dependency "ack_rails_admin_jcrop"
48
49
 
49
50
  spec.add_dependency 'stringex'
50
51
  spec.add_dependency 'thor'
@@ -141,7 +141,7 @@ end
141
141
 
142
142
  create_file 'README.md', "## #{app_name}\nProject generated by RocketCMS\nORM: #{if mongoid then 'Mongoid' else 'ActiveRecord' end}\n\n"
143
143
 
144
- create_file '.ruby-version', "2.2.1\n"
144
+ create_file '.ruby-version', "2.2.2\n"
145
145
  create_file '.ruby-gemset', "#{app_name}\n"
146
146
 
147
147
  run 'bundle install --without production'
@@ -216,9 +216,11 @@ inject_into_file 'app/models/user.rb', before: /^end/ do <<-TEXT
216
216
 
217
217
  AVAILABLE_ROLES.each do |r|
218
218
  class_eval <<-EVAL
219
- def \#{r}?
220
- self.roles.include?("\#{r}")
219
+ def #{r}?
220
+ self.roles and self.roles.include?("#{r}")
221
221
  end
222
+
223
+ scope :#{r.pluralize}, -> { any_in(roles: "#{r}") }
222
224
  EVAL
223
225
  end
224
226
 
@@ -584,6 +586,14 @@ kill $(cat ./tmp/pids/unicorn.pid)
584
586
  TEXT
585
587
  end
586
588
 
589
+ remove_file 'scripts/send_hup.sh'
590
+ create_file 'scripts/send_hup.sh' do <<-TEXT
591
+ #!/bin/sh
592
+
593
+ kill -HUP $(cat ./tmp/pids/unicorn.pid)
594
+ TEXT
595
+ end
596
+
587
597
  remove_file 'scripts/start_god_rvm_wrapper.sh'
588
598
  create_file 'scripts/start_god_rvm_wrapper.sh' do <<-TEXT
589
599
  #!/bin/sh
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ack_rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5.2
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
- - glebtv
8
7
  - Alexander Kiseliev
8
+ - glebtv
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-06 00:00:00.000000000 Z
12
+ date: 2015-05-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -325,6 +325,20 @@ dependencies:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
327
  version: 0.1.2
328
+ - !ruby/object:Gem::Dependency
329
+ name: ack_rails_admin_jcrop
330
+ requirement: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ type: :runtime
336
+ prerelease: false
337
+ version_requirements: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
328
342
  - !ruby/object:Gem::Dependency
329
343
  name: stringex
330
344
  requirement: !ruby/object:Gem::Requirement
@@ -369,8 +383,8 @@ dependencies:
369
383
  version: '0'
370
384
  description: RocketCMS fork
371
385
  email:
372
- - glebtv@gmail.com
373
386
  - i43ack@gmail.com
387
+ - glebtv@gmail.com
374
388
  executables: []
375
389
  extensions: []
376
390
  extra_rdoc_files: []
@@ -419,31 +433,31 @@ files:
419
433
  - app/models/menu.rb
420
434
  - app/models/news.rb
421
435
  - app/models/page.rb
422
- - app/views/blocks/_footer.html.haml
423
- - app/views/contact_mailer/new_message_email.html.haml
424
- - app/views/contacts/index.html.haml
425
- - app/views/contacts/new.html.haml
426
- - app/views/contacts/sent.html.haml
427
- - app/views/errors/_base.html.haml
428
- - app/views/errors/error_403.html.haml
429
- - app/views/errors/error_404.html.haml
430
- - app/views/errors/error_500.html.haml
431
- - app/views/home/index.html.haml
436
+ - app/views/blocks/_footer.html.slim
437
+ - app/views/contact_mailer/new_message_email.html.slim
438
+ - app/views/contacts/index.html.slim
439
+ - app/views/contacts/new.html.slim
440
+ - app/views/contacts/sent.html.slim
441
+ - app/views/errors/_base.html.slim
442
+ - app/views/errors/error_403.html.slim
443
+ - app/views/errors/error_404.html.slim
444
+ - app/views/errors/error_500.html.slim
445
+ - app/views/home/index.html.slim
432
446
  - app/views/layouts/application.html.haml
433
447
  - app/views/layouts/application.html.slim
434
- - app/views/news/index.html.haml
435
- - app/views/news/show.html.haml
436
- - app/views/pages/show.html.haml
437
- - app/views/rails_admin/main/_check_boxes.html.haml
438
- - app/views/rails_admin/main/_enum_check_boxes.html.haml
439
- - app/views/rails_admin/main/_enum_radio_buttons.html.haml
440
- - app/views/rails_admin/main/_form_raw.html.haml
441
- - app/views/search/index.html.haml
442
- - app/views/shared/_admin_link.html.haml
443
- - app/views/shared/_messages.html.haml
444
- - app/views/shared/_meta.html.haml
445
- - app/views/shared/_obj.html.haml
446
- - app/views/shared/_og.html.haml
448
+ - app/views/news/index.html.slim
449
+ - app/views/news/show.html.slim
450
+ - app/views/pages/show.html.slim
451
+ - app/views/rails_admin/main/_check_boxes.html.slim
452
+ - app/views/rails_admin/main/_enum_check_boxes.html.slim
453
+ - app/views/rails_admin/main/_enum_radio_buttons.html.slim
454
+ - app/views/rails_admin/main/_form_raw.html.slim
455
+ - app/views/search/index.html.slim
456
+ - app/views/shared/_admin_link.html.slim
457
+ - app/views/shared/_messages.html.slim
458
+ - app/views/shared/_meta.html.slim
459
+ - app/views/shared/_obj.html.slim
460
+ - app/views/shared/_og.html.slim
447
461
  - config/locales/en.rocket_admin.yml
448
462
  - config/locales/en.rs.yml
449
463
  - config/locales/ru.cancan.yml
@@ -1 +0,0 @@
1
- (c) 2015 etc
@@ -1,4 +0,0 @@
1
- #rocket_cms_contact_sent
2
- %h1 Обратная связь
3
- %h2 Ваше сообщение отправлено
4
- %div Если оно требует ответа, мы постараемся ответить в ближайшее время
@@ -1,3 +0,0 @@
1
- #rocket_cms_error{class: "error-#{code}"}
2
- %h1 Ошибка #{code}
3
- %p #{text}
@@ -1 +0,0 @@
1
- RocketCMS test app
@@ -1,4 +0,0 @@
1
- - if defined?(title) && !title.blank?
2
- %meta{property: 'og:title', content: title}
3
- - if defined?(image) && !image.blank?
4
- %meta{property: 'og:image', content: "http://#{request.host_with_port}#{image}"}