redditor 0.1.11 → 0.1.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: 139b02b3e8c540a2cb91a7ef7a5aaef880eb7f81
4
- data.tar.gz: c78cbabea39fcd0361f680b6712fc3fc53e759f4
3
+ metadata.gz: bba15b3e99f1e69bfa1ab7de2bb7a6865a2b942b
4
+ data.tar.gz: 97945de1614e7c854ff8d8d510dcd340bfa1601e
5
5
  SHA512:
6
- metadata.gz: 1f9e0b332fbe9778f9ab172689d902f6ca8529b5d7a98dbe629addb70c668ff42ba1fe5694a687abeb30d6b07f41228d61f5c4465f0dd4095497568df6daf845
7
- data.tar.gz: 1f3646c53074378ae8709972f0fc6dbc1705a8badbfc7d0703fa58f5ee157401f992fe42843876a2918a6a23a341f72f9b1af2695da02621f4adfff57d6ae5df
6
+ metadata.gz: 6701646c7c6fad6c0aa50244d81e87ee233681961d9c2a68be1f6aa5eb4ba97b4904127f52bb462009a3ce0c1124939e281fdaea916fd2f230250d134307b55f
7
+ data.tar.gz: ea79fa075d9d566e4770cdfdbd8cff8419d33a143b552cf660a9e803685105f6dc139bfaaa194105dd6404b4e6bbd4b19f54e606d20ff52b7f7ee893c4f5737f
data/.travis.yml CHANGED
@@ -5,6 +5,7 @@ notifications:
5
5
  rvm:
6
6
  - 1.9.3
7
7
  - 2.0.0
8
+ - 2.1.0
8
9
  before_script:
9
10
  - "rake db:create RAILS_ENV=test"
10
11
  - "rake db:migrate RAILS_ENV=test"
@@ -141,9 +141,40 @@ $ ->
141
141
  url: this.href,
142
142
  data: params
143
143
 
144
+ .on "click", "a.redditor__change", (event) ->
145
+ event.preventDefault()
146
+ box = $(@).closest "dd"
147
+ params = $.redditor.parameterizationForm(box)
148
+ kind = params.content_block.kind
149
+ if kind == 'description'
150
+ params.content_block.kind = ''
151
+ else if kind == ''
152
+ params.content_block.kind = 'description'
153
+ $.ajax
154
+ method: 'POST',
155
+ url: this.href,
156
+ data: params
157
+
144
158
  $("ul.slider-block-images").sortable $.redditor.sliderBlockImagesSortableParams
145
159
 
146
160
  $('div.redditor__add-blocks').on "ajax:beforeSend", "a.redditor__add", (event, xhr, status) ->
147
- status.url += "?" + $.param(content_block: {temp_id: new Date().getTime()}) # generate uniq id
161
+ $this = $(@)
162
+ cssClass = if $this.hasClass 'redditor__add_txt'
163
+ 'text_block'
164
+ else if $this.hasClass 'redditor__add_video'
165
+ 'video_block'
166
+ else if $this.hasClass 'redditor__add_photo'
167
+ 'image'
168
+ else if $this.hasClass 'redditor__add_slider'
169
+ 'slider_block'
170
+
171
+ arrIds = $.map $('#redditor').find(".#{cssClass}"), (elem)->
172
+ $(elem).find('.redditor__form').data('object-id')
173
+ if arrIds.length
174
+ objectId = Math.max.apply(null, arrIds) + 1
175
+ else
176
+ objectId = 0
177
+ # generate uniq id
178
+ status.url += "?" + $.param(content_block: {object_id: objectId})
148
179
 
149
180
  $.redditor.afterFunc()
@@ -44,6 +44,7 @@ ul.slider-block-images {
44
44
  }
45
45
 
46
46
  .redditor__control {float: right;}
47
+ .redditor__change,
47
48
  .redditor__delete,
48
49
  .redditor__update {
49
50
  text-decoration: none;
@@ -63,6 +64,13 @@ ul.slider-block-images {
63
64
  color: green;
64
65
  &:before {content: '✔'}
65
66
  }
67
+ .redditor__change {
68
+ background-image: image-url('redditor/change_view.png');
69
+ background-repeat: no-repeat;
70
+ background-position: center;
71
+ background-size: 16px;
72
+ &:before {content: "\A0"}
73
+ }
66
74
 
67
75
  .redditor__form {
68
76
  margin-top: 25px;
@@ -144,6 +152,41 @@ ul.slider-block-images {
144
152
  font-size: 11px; margin-right: 3px;
145
153
  }
146
154
 
155
+ .redditor__sl-desc {
156
+ border-collapse: collapse;
157
+ width: 100%;
158
+ margin-top: 5px;
159
+ }
160
+
161
+ .redditor__sl-desc__cell-img,
162
+ .redditor__sl-desc__cell-desc {
163
+ padding: 5px 0;
164
+ vertical-align: top;
165
+ border: 1px solid #ccc;
166
+ border-width: 1px 0;
167
+ }
168
+
169
+ .redditor__sl-desc__cell-img {
170
+ width: 1px;
171
+ padding-right: 5px;
172
+ }
173
+
174
+ .redditor__sl-desc__area {
175
+ width: 100%;
176
+ -moz-box-sizing: border-box;
177
+ box-sizing: border-box;
178
+ resize: none;
179
+ margin: 0;
180
+ }
181
+
182
+ .redditor__sl-desc__img {
183
+ display: block;
184
+ }
185
+
186
+ .redditor__sl-desc__label {
187
+ font-weight: bold;
188
+ }
189
+
147
190
  .redditor__add_txt {
148
191
  background:#f5f5f5 image-url('redditor/add_txt.png') 3px center no-repeat;
149
192
  background: image-url('redditor/add_txt.png') 3px center no-repeat, -webkit-linear-gradient(top, #fff 0%, #f5f5f5 49%, #ececec 50%, #eee 100%);
@@ -178,6 +221,9 @@ a.redactor_btn_divide {
178
221
  // }
179
222
 
180
223
  // dl.redditor div.redditor__form:before {
181
- // content: "object-name: " attr(data-object-name) "\A id: " attr(id); display: block; padding: 2px; background: #ffc;
224
+ // content: "object-name: " attr(data-object-name) "\A id: " attr(id) "\A object-id: " attr(data-object-id);
225
+ // display: block;
226
+ // padding: 2px;
227
+ // background: #ffc;
182
228
  // white-space: pre;
183
229
  // }
@@ -7,6 +7,13 @@ class Redditor::Admin::SliderBlocksController < Redditor::Admin::BaseController
7
7
  render "redditor/admin/new"
8
8
  end
9
9
 
10
+ def change_view
11
+ @content_block = @page.slider_blocks.find(params[:id])
12
+ # оставляем только :kind и :object_id параметры, чтобы при возвращении к старому виду описания к фотографиям не сохранялись
13
+ @content_block.update_attributes(params.require(:content_block).permit(:kind, :object_id))
14
+ render "redditor/admin/wrapper"
15
+ end
16
+
10
17
  def update
11
18
  @content_block = @page.slider_blocks.find(params[:id])
12
19
  @content_block.update_attributes(content_block_params)
@@ -1,3 +1,5 @@
1
+ # после редактирования хелперов необходимо рестартить сервер
2
+
1
3
  module Redditor
2
4
  module ApplicationHelper
3
5
  def real_name content_block
@@ -7,5 +9,34 @@ module Redditor
7
9
  def redditor_validate f
8
10
  render "redditor/admin/validate", {f: f}
9
11
  end
12
+
13
+ def redditor_form(f, &block)
14
+ id = "#{real_name(f.object)}_"
15
+ id += f.object.id.nil? ? "#{f.object.object_id}" : "#{f.object.id}"
16
+ if f.object.object_id.present?
17
+ f.object_name.sub!(/\[\d*\]/, "[#{f.object.object_id}]")
18
+ end
19
+ index = if f.object.object_id.present?
20
+ f.object.object_id
21
+ else
22
+ f.index
23
+ end
24
+ data = {'object-name' => f.object_name, 'object-id' => index}
25
+ content_tag(:div, capture(&block), class: 'redditor__form', id: id, data: data)
26
+ end
27
+
28
+ def redditor_slider_block_kind f, slider_block
29
+ if @content_block
30
+ kind = params.try(:[], 'content_block').try(:[], 'kind')
31
+ else
32
+ params_array = f.object_name.split(/(?:[\[\]]{1,2})/)
33
+ par = params
34
+ params_array.each do |p|
35
+ par = par.try(:[], p)
36
+ end
37
+ kind = par.try(:[], 'kind')
38
+ end
39
+ return kind == 'description'
40
+ end
10
41
  end
11
42
  end
@@ -6,8 +6,8 @@ module Redditor
6
6
 
7
7
  after_initialize :default_values # чтобы файл загружался, пока через html5 не передаем позицию
8
8
 
9
- # attr_accessible :descr, :imageable_id, :imageable_type, :position, :src, :temp_id
10
- attr_accessor :temp_id
9
+ # attr_accessible :descr, :imageable_id, :imageable_type, :position, :src
10
+ attr_accessor :object_id
11
11
 
12
12
  mount_uploader :src, RedditorUploader
13
13
 
@@ -4,11 +4,12 @@ module Redditor
4
4
  class SliderBlock < ActiveRecord::Base
5
5
  self.table_name = "redditor_slider_blocks"
6
6
 
7
- # attr_accessible :page_id, :position, :temp_id
8
- attr_accessor :temp_id
7
+ # attr_accessible :page_id, :position
8
+ attr_accessor :object_id, :kind
9
9
 
10
10
  belongs_to :page, :class_name => "Redditor::Page"
11
11
  has_many :images, :as => :imageable, :dependent => :destroy
12
+ accepts_nested_attributes_for :images
12
13
 
13
14
  def self.model_name
14
15
  ActiveModel::Name.new(self, nil, 'SliderBlock')
@@ -4,8 +4,8 @@ module Redditor
4
4
  class TextBlock < ActiveRecord::Base
5
5
  self.table_name = "redditor_text_blocks"
6
6
 
7
- # attr_accessible :body, :page_id, :position, :temp_id, :translations_attributes
8
- attr_accessor :temp_id
7
+ # attr_accessible :body, :page_id, :position, :translations_attributes
8
+ attr_accessor :object_id
9
9
 
10
10
  belongs_to :page, :class_name => "Redditor::Page"
11
11
 
@@ -13,8 +13,8 @@ module Redditor
13
13
  class VideoBlock < ActiveRecord::Base
14
14
  self.table_name = "redditor_video_blocks"
15
15
 
16
- # attr_accessible :height, :page_id, :position, :width, :youtube, :temp_id
17
- attr_accessor :temp_id
16
+ # attr_accessible :height, :page_id, :position, :width, :youtube
17
+ attr_accessor :object_id
18
18
 
19
19
  validates :youtube, :length => { :is => 11 }, :youtube => true
20
20
 
@@ -1,35 +1,41 @@
1
- %dd{class: real_name(content_block)}
2
- .redditor__handle
1
+ .redditor__handle
3
2
 
4
- .redditor__control
5
- - if content_block.new_record?
6
- = link_to "",
7
- "javascript:void(0);",
8
- class: "redditor__delete",
9
- onclick: "if (confirm('#{t "redditor.remove?"}')) $(this).closest('dd').remove();"
10
-
11
- = link_to "",
12
- [redditor, :admin, p.object, content_block],
13
- class: "redditor__update",
14
- data: {:disable_with => t("redditor.saving")}
3
+ .redditor__control
4
+ - if content_block.new_record?
5
+ = link_to "",
6
+ "javascript:void(0);",
7
+ class: "redditor__delete",
8
+ onclick: "if (confirm('#{t "redditor.remove?"}')) $(this).closest('dd').remove();"
9
+
10
+ = link_to "",
11
+ [redditor, :admin, p.object, content_block],
12
+ class: "redditor__update",
13
+ data: {:disable_with => t("redditor.saving")}
15
14
 
16
- - else
17
- = link_to "",
18
- [redditor, :admin, p.object, content_block],
19
- class: "redditor__delete",
20
- :method => :delete,
21
- remote: true,
22
- data: {confirm: "Вы, действительно, хотите удалить контент-блок?", disable_with: t("redditor.deleting")}
23
-
24
- = link_to "",
25
- [redditor, :admin, p.object, content_block],
26
- class: "redditor__update",
27
- data: {disable_with: t("redditor.saving")}
15
+ - else
16
+ - if content_block.class == Redditor::SliderBlock
17
+ = link_to "",
18
+ [redditor, :change_view, :admin, p.object, content_block],
19
+ class: 'redditor__change',
20
+ title: t("redditor.change_view")
28
21
 
29
- = p.fields_for real_name(content_block).pluralize.to_sym, content_block, :include_id => false do |f|
30
- %div.redditor__form{data: {"object-name" => f.object.temp_id.present? ? f.object_name.sub!(/\[\d*\]/, "[#{f.object.temp_id}]") : f.object_name}, id: "#{real_name(content_block)}_#{content_block.id.nil? ? f.object.temp_id : content_block.id}"}
31
- = f.hidden_field :position, class: 'redditor__position'
32
- = render :partial => "redditor/admin/#{real_name(content_block)}", locals: {f: f}
33
- - unless f.object.new_record?
34
- = f.hidden_field :id
35
- = f.hidden_field :temp_id
22
+ = link_to "",
23
+ [redditor, :admin, p.object, content_block],
24
+ class: "redditor__delete",
25
+ :method => :delete,
26
+ remote: true,
27
+ data: {confirm: "Вы, действительно, хотите удалить контент-блок?", disable_with: t("redditor.deleting")}
28
+
29
+ = link_to "",
30
+ [redditor, :admin, p.object, content_block],
31
+ class: "redditor__update",
32
+ data: {disable_with: t("redditor.saving")}
33
+
34
+
35
+ = p.fields_for real_name(content_block).pluralize.to_sym, content_block, :include_id => false do |f|
36
+ = redditor_form f do
37
+ = f.hidden_field :position, class: 'redditor__position'
38
+ = render "redditor/admin/#{real_name(content_block)}", {f: f}
39
+ - unless content_block.new_record?
40
+ = f.hidden_field :id
41
+ = f.hidden_field :object_id, value: f.object.object_id || f.index
@@ -2,7 +2,7 @@
2
2
 
3
3
  - unless f.object.new_record?
4
4
  %dl#redditor.redditor{data: {"sort-url" => url_for(redditor.sort_admin_page_path(p.object))}}
5
- = render partial: "redditor/admin/content_block", collection: p.object.content_blocks, locals: {p: p, page: p.object}
5
+ = render partial: "redditor/admin/content_block", collection: p.object.content_blocks, locals: {p: p, page: p.object}, layout: 'redditor/admin/wrap'
6
6
 
7
7
  %div.redditor__add-blocks
8
8
  %p
@@ -2,15 +2,20 @@
2
2
  = t 'redditor.title.slider'
3
3
  = redditor_validate f
4
4
 
5
- .redditor__sep
5
+ = f.hidden_field :kind
6
6
 
7
- - unless f.object.new_record?
7
+ - if redditor_slider_block_kind(f, @content_block)
8
+ %table.redditor__sl-desc
9
+ = f.fields_for :images do |img|
10
+ = render "redditor/admin/slider_block_desc", {img: img}
11
+ - else
12
+ .redditor__sep
8
13
  %ul.slider-block-images{data: {"sortable-url" => redditor.sort_admin_page_slider_block_images_path(f.object.page_id, f.object.id)}}
9
14
  = render partial: "redditor/admin/slider_block_image", collection: f.object.images, :as => :i
10
15
 
11
- .redditor__sep
16
+ .redditor__sep
12
17
 
13
- - unless f.object.new_record?
14
- .b-button.js-fileapi-wrapper
15
- .b-button__text= t("redditor.add.upload_images")
16
- = file_field_tag :src, :class => "b-button__input redditor__js-fileapi", name: nil, :multiple => true, data: {"upload-url" => redditor.admin_page_slider_block_images_path(f.object.page_id, f.object.id)}
18
+ - unless f.object.new_record?
19
+ .b-button.js-fileapi-wrapper
20
+ .b-button__text= t("redditor.add.upload_images")
21
+ = file_field_tag :src, :class => "b-button__input redditor__js-fileapi", name: nil, :multiple => true, data: {"upload-url" => redditor.admin_page_slider_block_images_path(f.object.page_id, f.object.id)}
@@ -0,0 +1,7 @@
1
+ %tr{id: "slider_block_image_#{img.object.id}"}
2
+ %td.redditor__sl-desc__cell-img
3
+ = image_tag img.object.src.url(:admin), class: 'redditor__sl-desc__img'
4
+ %td.redditor__sl-desc__cell-desc
5
+ = img.label :description, class: 'redditor__sl-desc__label'
6
+ = img.hidden_field :id
7
+ = img.text_area :description, class: 'nowred redditor__sl-desc__area', size: '100x7'
@@ -0,0 +1,2 @@
1
+ %dd{class: real_name(content_block)}
2
+ = yield
@@ -1,5 +1,5 @@
1
1
  $.redditor.$el
2
- .append('<%= j(render(partial: "redditor/admin/wrapper", locals: {content_block: @content_block})) %>')
2
+ .append('<%= j(render(partial: "redditor/admin/wrapper", locals: {content_block: @content_block}, layout: "redditor/admin/wrap")) %>')
3
3
  .find("ul.slider-block-images").sortable($.redditor.sliderBlockImagesSortableParams)
4
4
  $.redditor.sortList()
5
5
  $.redditor.afterFunc()
@@ -1,5 +1,3 @@
1
- $("#<%= real_name(@content_block) %>_<%= @content_block.temp_id %>, #<%= real_name(@content_block) %>_<%= @content_block.id %>").closest("dd")
2
- .replaceWith('<%= j(render(partial: "redditor/admin/wrapper", locals: {content_block: @content_block, page: @page})) %>')
3
- .end()
4
- .find("ul.slider-block-images").sortable $.redditor.sliderBlockImagesSortableParams
1
+ $("#<%= real_name(@content_block) %>_<%= @content_block.object_id %>, #<%= real_name(@content_block) %>_<%= @content_block.id %>").closest("dd")
2
+ .html('<%= j(render("redditor/admin/wrapper", {content_block: @content_block, page: @page})) %>').find("ul.slider-block-images").sortable $.redditor.sliderBlockImagesSortableParams
5
3
  $.redditor.afterFunc()
@@ -13,6 +13,7 @@ en:
13
13
  remove?: "Really delete content block?"
14
14
  deleting: ' Deleting...'
15
15
  saving: ' Saving...'
16
+ change_view: Edit description
16
17
  title:
17
18
  image: Image
18
19
  video: Video
@@ -13,6 +13,7 @@ ru:
13
13
  remove?: "Вы, действительно, хотите удалить контент-блок?"
14
14
  deleting: ' Удаление...'
15
15
  saving: ' Сохранение...'
16
+ change_view: Редактировать описание
16
17
  title:
17
18
  image: Изображение
18
19
  video: Видео
data/config/routes.rb CHANGED
@@ -6,6 +6,7 @@ Redditor::Engine.routes.draw do
6
6
  post :update_post, :on => :member
7
7
  end
8
8
  resources :slider_blocks do
9
+ post 'change_view', :on => :member
9
10
  resources :images do
10
11
  get 'sort', :on => :collection
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module Redditor
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
data/redditor.gemspec CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_development_dependency 'capybara'
25
25
  s.add_development_dependency 'poltergeist'
26
- s.add_development_dependency "haml-rails"
27
26
  s.add_development_dependency "sqlite3"
28
27
  s.add_development_dependency "rspec-rails"
29
28
  s.add_development_dependency "guard-rspec"
@@ -20,5 +20,5 @@
20
20
  //= require redactor/toolbars/default
21
21
 
22
22
  $.redditor.afterFunc = function(){
23
- $.redditor.$el.find('textarea').redactor();
23
+ $.redditor.$el.find('textarea:not(.nowred)').redactor();
24
24
  };
@@ -19,6 +19,8 @@ module Dummy
19
19
  g.template_engine :haml
20
20
  end
21
21
 
22
+ # I18n.enforce_available_locales = true
23
+
22
24
  # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
23
25
  # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
24
26
  # config.time_zone = 'Central Time (US & Canada)'
@@ -11,16 +11,19 @@ describe "Text block" do
11
11
  end
12
12
 
13
13
  def visit_article() visit "/admin/articles/#{article.id}/edit"; end
14
- def add_block() find_link(I18n.t("redditor.add.text_block")).click; end
14
+ def add_block() find_link(I18n.t("redditor.add.text_block")).click; sleep 1; end
15
+ def show_text_area() page.execute_script("$('.redditor__textarea').show()"); sleep 1; end
15
16
  def submit() find_button("Submit").click; end
16
17
  def save_block() find("a.redditor__update").click; end
17
18
  def delete_block() find("a.redditor__delete").click; end
18
19
 
19
20
  it "Saves text block to article", type: :feature, js: true do
20
21
  add_block
21
- page.find("textarea").set("test text block")
22
+ show_text_area
23
+ find(".redditor__textarea").set("test text block")
22
24
  submit
23
- expect(page).to have_content "test text block"
25
+ show_text_area
26
+ expect(page.find(".redditor__textarea").value).to have_content "test text block"
24
27
  end
25
28
 
26
29
  it "Shows validation error if text block content is empty", type: :feature, js: true do
@@ -32,7 +35,6 @@ describe "Text block" do
32
35
  it "Deletes text block", type: :feature, js: true do
33
36
  article.page.text_blocks.build(body: "123", position: 1).save
34
37
  visit_article
35
- save_page
36
38
  delete_block
37
39
  visit_article
38
40
  text_value = begin
@@ -45,9 +47,11 @@ describe "Text block" do
45
47
 
46
48
  it "Saves text block to article on save button", type: :feature, js: true do
47
49
  add_block
50
+ show_text_area
48
51
  page.find("textarea").set("test text block")
49
52
  save_block
50
53
  visit_article
51
- expect(page.find("textarea").value).to eq "test text block"
54
+ show_text_area
55
+ expect(page.find(".redditor__textarea").value).to have_content "test text block"
52
56
  end
53
57
  end
data/spec/spec_helper.rb CHANGED
@@ -15,7 +15,7 @@ require 'capybara/rspec'
15
15
  require 'capybara/poltergeist'
16
16
 
17
17
  Capybara.javascript_driver = :poltergeist
18
- # Capybara.default_wait_time = 10
18
+ Capybara.default_wait_time = 10
19
19
 
20
20
  # Requires supporting ruby files with custom matchers and macros, etc,
21
21
  # in spec/support/ and its subdirectories.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Bovykin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-28 00:00:00.000000000 Z
12
+ date: 2014-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -53,20 +53,6 @@ dependencies:
53
53
  - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
- - !ruby/object:Gem::Dependency
57
- name: haml-rails
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
56
  - !ruby/object:Gem::Dependency
71
57
  name: sqlite3
72
58
  requirement: !ruby/object:Gem::Requirement
@@ -167,6 +153,7 @@ files:
167
153
  - app/assets/images/redditor/big/slider.png
168
154
  - app/assets/images/redditor/big/text.png
169
155
  - app/assets/images/redditor/big/video.png
156
+ - app/assets/images/redditor/change_view.png
170
157
  - app/assets/images/redditor/destroy_block_text.png
171
158
  - app/assets/images/redditor/move_handler.png
172
159
  - app/assets/images/redditor/no_format_text.png
@@ -195,10 +182,12 @@ files:
195
182
  - app/views/redditor/admin/_image.haml
196
183
  - app/views/redditor/admin/_page.haml
197
184
  - app/views/redditor/admin/_slider_block.haml
185
+ - app/views/redditor/admin/_slider_block_desc.haml
198
186
  - app/views/redditor/admin/_slider_block_image.haml
199
187
  - app/views/redditor/admin/_text_block.haml
200
188
  - app/views/redditor/admin/_validate.haml
201
189
  - app/views/redditor/admin/_video_block.haml
190
+ - app/views/redditor/admin/_wrap.haml
202
191
  - app/views/redditor/admin/_wrapper.haml
203
192
  - app/views/redditor/admin/new.js.erb
204
193
  - app/views/redditor/admin/slider_block_image.js.coffee
@@ -319,7 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
308
  version: '0'
320
309
  requirements: []
321
310
  rubyforge_project:
322
- rubygems_version: 2.0.3
311
+ rubygems_version: 2.0.6
323
312
  signing_key:
324
313
  specification_version: 4
325
314
  summary: Page editor