spree_multi_slideshow 1.1.8 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/README.md +3 -3
  2. data/app/assets/images/store/slides/bg-gallery.png +0 -0
  3. data/app/assets/images/store/slides/bg-text02.png +0 -0
  4. data/app/assets/javascripts/admin/slides/index.js +1 -1
  5. data/app/assets/javascripts/admin/slides/new.js +1 -1
  6. data/app/assets/javascripts/admin/spree_multi_slideshow.js +1 -1
  7. data/app/assets/javascripts/store/spree_multi_slideshow.js +211 -537
  8. data/app/assets/stylesheets/admin/spree_multi_slideshow.css +16 -0
  9. data/app/assets/stylesheets/store/carousel_slideshow.css.scss +73 -0
  10. data/app/assets/stylesheets/store/spree_multi_slideshow.css +3 -47
  11. data/app/controllers/spree/admin/slides_controller.rb +5 -3
  12. data/app/controllers/spree/admin/slideshow_types_controller.rb +1 -5
  13. data/app/controllers/spree/slides_controller.rb +5 -0
  14. data/app/controllers/spree/slideshow_types_controller.rb +5 -0
  15. data/app/helpers/spree/slides_helper.rb +4 -0
  16. data/app/helpers/spree/slideshow_types_helper.rb +46 -44
  17. data/app/models/spree/slide.rb +27 -39
  18. data/app/models/spree/slideshow_type.rb +10 -4
  19. data/app/overrides/slideshow_type_admin_tab.rb +1 -6
  20. data/app/views/spree/admin/shared/_slideshow_type_tabs.html.erb +6 -8
  21. data/app/views/spree/admin/slides/_form.html.erb +9 -22
  22. data/app/views/spree/admin/slides/edit.html.erb +7 -7
  23. data/app/views/spree/admin/slides/index.html.erb +31 -30
  24. data/app/views/spree/admin/slides/new.html.erb +2 -2
  25. data/app/views/spree/admin/slideshow_types/_form.html.erb +8 -30
  26. data/app/views/spree/admin/slideshow_types/edit.html.erb +7 -6
  27. data/app/views/spree/admin/slideshow_types/index.html.erb +29 -30
  28. data/app/views/spree/admin/slideshow_types/new.html.erb +5 -33
  29. data/config/locales/en.yml +0 -1
  30. data/config/locales/it.yml +0 -1
  31. data/config/routes.rb +0 -1
  32. data/db/migrate/20120116081431_create_slideshow_types.rb +4 -1
  33. data/db/migrate/20120116083546_create_slides.rb +1 -0
  34. data/lib/generators/spree_multi_slideshow/install/install_generator.rb +22 -2
  35. data/lib/spree_multi_slideshow.rb +2 -0
  36. metadata +110 -81
  37. data/app/assets/images/store/slides/pagination.png +0 -0
  38. data/app/assets/javascripts/admin/slide_settings.js +0 -31
  39. data/app/controllers/spree/admin/slide_settings_controller.rb +0 -51
  40. data/app/models/spree/app_configuration_decorator.rb +0 -8
  41. data/app/views/spree/admin/shared/_slide_setting_configurations_menu.html.erb +0 -4
  42. data/app/views/spree/admin/slide_settings/edit.html.erb +0 -48
  43. data/app/views/spree/admin/slide_settings/show.html.erb +0 -10
  44. data/app/views/spree/admin/slideshow_types/new.js.erb +0 -2
  45. data/db/migrate/20130114150224_add_enable_pagination.rb +0 -5
  46. data/db/migrate/20130226082756_add_enable_to_slide.rb +0 -8
@@ -1,16 +1,14 @@
1
- <h1><%= t(:editing_slideshow_type) %> &ldquo;<%= @slideshow_type.category %>&rdquo;</h1>
2
-
3
1
  <% content_for :sidebar do %>
4
2
 
5
- <h3><%= @slideshow_type.category %></h3>
3
+ <h3><%= t("slideshow_type.sidebar") %></h3>
6
4
  <br class="clear" />
7
5
 
8
6
  <ul class="sidebar slide-menu" data-hook="admin_slide_tabs">
9
- <li<%== ' class="active"' if current == 'Slideshow_type Details' %>>
10
- <%= link_to t(:slideshow_type_details), edit_admin_slideshow_type_url(@slideshow_type) %>
11
- </li>
12
- <li<%== ' class="active"' if current == 'Slides' %>>
13
- <%= link_to t(:slides), admin_slideshow_type_slides_path(@slideshow_type) %>
7
+ <li<%== ' class="active"' if current == 'Slideshow_type Details' %>>
8
+ <%= link_to t("slideshow_type.detail"), edit_admin_slideshow_type_url(@slideshow_type) %>
9
+ </li>
10
+ <li<%== ' class="active"' if current == 'Slide Image' %>>
11
+ <%= link_to t("slideshow_type.slide.many"), admin_slideshow_type_slides_path(@slideshow_type) %>
14
12
  </li>
15
13
  </ul>
16
14
  <br class="clear" />
@@ -1,22 +1,9 @@
1
- <div data-hook="admin_slide_form_fields">
2
- <tr data-hook="file">
3
- <td><%= t(:filename) %>:</td>
4
- <td><%= f.file_field :attachment %></td>
5
- </tr>
6
- <tr data-hook="title">
7
- <td><%= t(:title) %>:</td>
8
- <td><%= f.text_field :title %></td>
9
- </tr>
10
- <tr data-hook="url">
11
- <td><%= t(:url) %>:</td>
12
- <td><%= f.text_field :url %></td>
13
- </tr>
14
- <tr data-hook="content">
15
- <td><%= t(:content) %>:</td>
16
- <td><%= f.text_area :content %></td>
17
- </tr>
18
- <tr data-hook="enable">
19
- <td><%= t(:enable) %>:</td>
20
- <td><%= f.check_box :enable %></td>
21
- </tr>
22
- </div>
1
+ <%= f.inputs do %>
2
+ <%= f.input :title %>
3
+ <%= f.input :url %>
4
+ <%= f.input :attachment_width, :input_html => { :value => @slideshow_type.slide_width}, :as => :hidden %>
5
+ <%= f.input :attachment_height, :input_html => { :value => @slideshow_type.slide_height}, :as => :hidden %>
6
+ <%= f.cktext_area :content, :input_html => { :value => @slide.content }, :label => t("slideshow_type.slide.content") %>
7
+ <%= f.input :attachment, :as => :file, :label => I18n.t("slideshow_type.slide.image.one").capitalize, :hint => f.object.attachment.blank? ? f.template.content_tag(:span, "No Image Yet") : f.template.image_tag(f.object.attachment.url(:thumbnail)) %>
8
+ <%= f.input :slideshow_type_id, :as => :hidden, :value => params[:slideshow_type_id] %>
9
+ <% end %>
@@ -1,17 +1,17 @@
1
- <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slides'} %>
1
+ <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slide Image'} %>
2
+ <h1><%= t("slideshow_type.slide.editing_page") %></h1>
3
+ <%= render 'spree/shared/error_messages', :target => @slide %>
2
4
 
3
- <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @slide } %>
4
-
5
- <%= form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
6
- <table class="basic-table" data-hook="edit_slide">
5
+ <%= semantic_form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
6
+ <table class="basic-table" data-hook="edit_image">
7
7
  <tr data-hook="thumbnail">
8
8
  <td><%= t(:thumbnail) %>:</td>
9
- <td><%= link_to image_tag(@slide.attachment.url(:mini)), @slide.attachment.url(:medium) %></td>
9
+ <td><%= link_to image_tag(@slide.attachment.url(:small)), @slide.attachment.url(:medium) %></td>
10
10
  </tr>
11
11
  <%= render :partial => 'form', :locals => { :f => f } %>
12
12
  </table>
13
13
  <p class="form-buttons" data-hook="buttons">
14
14
  <%= button t(:update) %>
15
- <%= t(:or) %> <%= link_to t(:cancel), admin_slideshow_type_slides_url(@slideshow_type), :id => 'cancel_link' %>
15
+ <%= t(:or) %> <%= link_to t(:cancel), admin_slideshow_type_slide_url(@slideshow_type), :id => 'cancel_link' %>
16
16
  </p>
17
17
  <% end %>
@@ -1,34 +1,35 @@
1
- <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slides'} %>
2
-
3
- <table class="index sortable" data-hook="slide_table" data-sortable-link="<%= update_positions_admin_slideshow_type_slides_url(@slideshow_type) %>">
4
- <tr data-hook="images_header">
5
- <th><%= t(:thumbnail) %></th>
6
- <th><%= t(:title) %></th>
7
- <th><%= t(:url) %></th>
8
- <th><%= t(:action) %></th>
9
- </tr>
10
-
11
- <tbody>
12
- <% @slideshow_type.slides.each do |slide| %>
13
- <tr id="<%= spree_dom_id slide %>" data-hook="images_row">
14
- <td>
15
- <span class="handle"></span>
16
- <%= link_to image_tag(slide.attachment.url(:mini)), slide.attachment.url(:medium) %>
17
- </td>
18
- <td><%= slide.title %></td>
19
- <td><%= slide.url %></td>
20
- <td class="actions">
21
- <%= link_to_with_icon 'edit', t(:edit), edit_admin_slideshow_type_slide_url(@slideshow_type, slide), :class => 'edit' %>
22
- &nbsp;
23
- <%= link_to_delete slide, { :url => admin_slideshow_type_slide_url(@slideshow_type, slide) }%>
24
- </td>
25
- </tr>
26
- <% end %>
27
- </tbody>
28
- </table>
1
+ <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slide Image'} %>
29
2
 
3
+ <%= javascript_include_tag 'admin/slides/index.js' %>
30
4
  <div id="slides" data-hook></div>
31
- <br />
32
5
  <p data-hook="links">
33
- <%= link_to icon('add') + ' ' + t(:new_slide), new_admin_slideshow_type_slide_url(@slideshow_type), :id => 'new_slide_link' %>
6
+ <%= link_to icon('add') + ' ' + t("slideshow_type.slide.new_page"), new_admin_slideshow_type_slide_url(@slideshow_type), :id => 'new_slide_link' %>
34
7
  </p>
8
+
9
+ <table class="index sortable" data-hook="slide_table" data-hook data-sortable-link="<%= update_positions_admin_slideshow_type_slides_url %>">
10
+ <tr data-hook="images_header">
11
+ <th><%= t("slideshow_type.slide.thumbnail") %></th>
12
+ <th><%= t("slideshow_type.slide.title") %></th>
13
+ <th><%= t("slideshow_type.slide.position") %></th>
14
+ <th><%= t("slideshow_type.slide.url") %></th>
15
+ <th><%= t(:action) %></th>
16
+ </tr>
17
+
18
+ <% Spree::Slide.where("slideshow_type_id = ?", @slideshow_type.id).order("position ASC").each do |slide| %>
19
+ <tr id="<%= dom_id(slide) %>" data-hook="images_row">
20
+ <td>
21
+ <span class="handle"></span>
22
+ <%= link_to image_tag(slide.attachment.url(:thumbnail)), slide.attachment.url(:medium) %>
23
+ </td>
24
+ <td><%= slide.title %></td>
25
+ <td><%= slide.position %></td>
26
+ <td><%= slide.url %></td>
27
+ <td class="actions">
28
+ <%= link_to_with_icon 'edit', t(:edit), edit_admin_slideshow_type_slide_url(@slideshow_type, slide), :class => 'edit' %>
29
+ &nbsp;
30
+ <%= link_to_delete slide, {:url => admin_slideshow_type_slide_url(@slideshow_type, slide) }%>
31
+ </td>
32
+ </tr>
33
+ <% end %>
34
+
35
+ </table>
@@ -1,5 +1,5 @@
1
- <h4><%= t(:new_slide) %></h4>
2
- <%= form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
1
+ <h4><%= t("slideshow_type.slide.new_page") %></h4>
2
+ <%= semantic_form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
3
3
  <table class="basic-table" data-hook="new_slide">
4
4
  <%= render :partial => 'form', :locals => { :f => f } %>
5
5
  </table>
@@ -1,30 +1,8 @@
1
- <div data-hook="admin_slideshow_form_fields">
2
- <div class="clearfix">
3
- <div class="left" data-hook="admin_slideshow_form_left">
4
- <%= f.field_container :category do %>
5
- <%= f.label :category, t(:category) %> <span class="required">*</span><br />
6
- <%= f.text_field :category, :class => 'fullwidth title' %>
7
- <%= f.error_message_on :category %>
8
- <% end %>
9
-
10
- <%= f.field_container :enable_navigation do %>
11
- <%= f.label :enable_navigation, t(:enable_navigation) %><br />
12
- <%= f.check_box :enable_navigation %>
13
- <%= f.error_message_on :enable_navigation %>
14
- <% end %>
15
- </div>
16
- <div class="right" data-hook="admin_slideshow_form_right">
17
- <%= f.field_container :enable_pagination do %>
18
- <%= f.label :enable_pagination, t(:enable_pagination) %><br />
19
- <%= f.check_box :enable_pagination %>
20
- <%= f.error_message_on :enable_pagination %>
21
- <% end %>
22
-
23
- <%= f.field_container :enabled do %>
24
- <%= f.label :enabled, t(:enabled) %><br />
25
- <%= f.check_box :enabled %>
26
- <%= f.error_message_on :enabled %>
27
- <% end %>
28
- </div>
29
- </div>
30
- </div>
1
+ <%= f.inputs do %>
2
+ <%= f.input :category %>
3
+ <%= f.input :slide_width %>
4
+ <%= f.input :slide_height %>
5
+ <%= f.input :slide_number %>
6
+ <%= f.input :enable_navigation %>
7
+ <%= f.input :enabled %>
8
+ <% end %>
@@ -1,7 +1,8 @@
1
- <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => { :current => 'Slideshow_type Details' } %>
2
- <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @slideshow_type } %>
1
+ <h1><%= t("slideshow_type.editing_page") %></h1>
2
+ <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slideshow_type Details'} %>
3
+ <%= render "spree/shared/error_messages", :target => @slideshow_type %>
3
4
 
4
- <%= form_for([:admin, @slideshow_type], :html => { :multipart => true }) do |f| %>
5
- <%= render :partial => 'form', :locals => { :f => f } %>
6
- <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
7
- <% end %>
5
+ <%= semantic_form_for([:admin, @slideshow_type]) do |f| %>
6
+ <%= render :partial => "form", :locals => { :f => f } %>
7
+ <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
8
+ <% end %>
@@ -1,33 +1,32 @@
1
- <div class="toolbar" data-hook="toolbar">
2
- <ul class="actions">
3
- <li id="new_slideshow_link">
4
- <%= button_link_to t(:new_slideshow), new_object_url, {:remote => true, :icon => 'add', :id => 'admin_new_slideshow'} %>
5
- </li>
6
- </ul>
7
- <br class="clear" />
1
+ <div class='toolbar'>
2
+ <ul class='actions'>
3
+ <li id="new_product_link">
4
+ <%= button_link_to t("slideshow_type.new_page"), new_admin_slideshow_type_url, {:icon => 'add'} %>
5
+ </li>
6
+ </ul>
7
+ <br class='clear' />
8
8
  </div>
9
9
 
10
- <h1><%= t(:listing_slideshows) %></h1>
10
+ <h1><%= t("slideshow_type.many") %></h1>
11
11
 
12
- <div id="new_slideshow" data-hook></div>
13
-
14
- <table class="index" id="listing_products">
15
- <tr data-hook="admin_slideshows_index_headers">
16
- <th><%= t(:category) %></th>
17
- <th><%= t(:enable) %></th>
18
- <th><%= t(:slide_number) %></th>
19
- <th data-hook="admin_slideshows_index_header_actions"></th>
20
- </tr>
21
- <% @slideshow_types.each do |slideshow_type| %>
22
- <tr id="<%= spree_dom_id slideshow_type %>" data-hook="admin_slideshow_types_index_rows">
23
- <td><%= slideshow_type.category %></td>
24
- <td><%= icon('tick') if slideshow_type.enabled %></td>
25
- <td><%= slideshow_type.slides.count %></td>
26
- <td class="actions" data-hook="admin_slideshows_index_row_actions">
27
- <%= link_to_edit slideshow_type, :class => 'edit' %>
28
- &nbsp;
29
- <%= link_to_delete slideshow_type %>
30
- </td>
31
- </tr>
32
- <% end %>
33
- </table>
12
+ <table class="index">
13
+ <tr>
14
+ <th><%= t("slideshow_type.category") %></th>
15
+ <th><%= t("slideshow_type.enable") %></th>
16
+ <th><%= t("slideshow_type.slide_number") %></th>
17
+ <th><%= t("action") %></th>
18
+ </tr>
19
+ <tbody>
20
+ <% @slideshow_types.each do |slideshow_type| %>
21
+ <tr class="<%= cycle('even', 'odd') %>" id="<%= dom_id slideshow_type %>">
22
+ <td><%= slideshow_type.category %></td>
23
+ <td><%= icon('tick') if slideshow_type.enabled %></td>
24
+ <td><%= slideshow_type.slide_number %></td>
25
+ <td>
26
+ <%= link_to_edit slideshow_type %> &nbsp;
27
+ <%= link_to_delete slideshow_type %>
28
+ </td>
29
+ </tr>
30
+ <% end %>
31
+ </tbody>
32
+ </table>
@@ -1,35 +1,7 @@
1
- <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @slideshow_type } %>
1
+ <h1><%= t("slideshow_type.new_page") %></h1>
2
+ <%= render "spree/shared/error_messages", :target => @slideshow_type %>
2
3
 
3
- <%= form_for [:admin, @slideshow_type], :html => { :multipart => true } do |f| %>
4
- <fieldset data-hook="new_slideshow_type">
5
- <div class="clearfix" data-hook="new_slideshow_type_attrs">
6
- <div class="left">
7
- <%= f.field_container :category do %>
8
- <%= f.label :category, t(:category) %> <span class="required">*</span><br />
9
- <%= f.text_field :category, :class => 'fullwidth title' %>
10
- <%= f.error_message_on :category %>
11
- <% end %>
12
-
13
- <%= f.field_container :enable_navigation do %>
14
- <%= f.label :enable_navigation, t(:enable_navigation) %><br />
15
- <%= f.check_box :enable_navigation %>
16
- <%= f.error_message_on :enable_navigation %>
17
- <% end %>
18
- </div>
19
- <div class="right">
20
- <%= f.field_container :enable_pagination do %>
21
- <%= f.label :enable_pagination, t(:enable_pagination) %><br />
22
- <%= f.check_box :enable_pagination %>
23
- <%= f.error_message_on :enable_pagination %>
24
- <% end %>
25
-
26
- <%= f.field_container :enabled do %>
27
- <%= f.label :enabled, t(:enabled) %><br />
28
- <%= f.check_box :enabled %>
29
- <%= f.error_message_on :enabled %>
30
- <% end %>
31
- </div>
32
- </div>
33
- <%= render :partial => 'spree/admin/shared/new_resource_links' %>
34
- </fieldset>
4
+ <%= semantic_form_for([:admin, @slideshow_type], :html => { :enctype => "multipart/form-data" }) do |f| %>
5
+ <%= render :partial => "form", :locals => { :f => f } %>
6
+ <%= render :partial => 'spree/admin/shared/new_resource_links' %>
35
7
  <% end %>
@@ -43,7 +43,6 @@ en:
43
43
  slide_height: Height
44
44
  slide_number: Slide Number
45
45
  enable_navigation: Next and Prev enable?
46
- enable_pagination: "Pagination active?"
47
46
  slide:
48
47
  attributes:
49
48
  slide:
@@ -43,7 +43,6 @@ it:
43
43
  slide_height: Altezza
44
44
  slide_number: Numero Slide
45
45
  enable_navigation: Tasti navigazione attivi?
46
- enable_pagination: "Paginazione attiva?"
47
46
  slide:
48
47
  attributes:
49
48
  slide:
data/config/routes.rb CHANGED
@@ -8,7 +8,6 @@ Spree::Core::Engine.routes.draw do
8
8
  end
9
9
  end
10
10
  end
11
- resource :slide_settings
12
11
  end
13
12
 
14
13
  end
@@ -3,7 +3,10 @@ class CreateSlideshowTypes < ActiveRecord::Migration
3
3
  create_table :slideshow_types do |t|
4
4
  t.string :category
5
5
  t.boolean :enabled, :default => false
6
- t.boolean :enable_navigation, :default => false
6
+ t.integer :slide_height, :default => 400
7
+ t.integer :slide_width, :default => 900
8
+ t.integer :slide_number, :default => 4
9
+ t.boolean :enable_navigation, :default => true
7
10
 
8
11
  t.timestamps
9
12
  end
@@ -7,6 +7,7 @@ class CreateSlides < ActiveRecord::Migration
7
7
  t.string :attachment_content_type, :attachment_file_name
8
8
  t.datetime :attachment_updated_at
9
9
  t.integer :attachment_size, :position
10
+ t.string :type, :limit => 75
10
11
 
11
12
  t.references :slideshow_type
12
13
 
@@ -2,13 +2,23 @@ module SpreeMultiSlideshow
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
 
5
+ def add_formtastic
6
+ res = ask "Would you like to run the formtastic install now? [Y/n]"
7
+ if res == "" || res.downcase == "y"
8
+ run 'rails generate formtastic:install'
9
+ else
10
+ puts "Skiping rails generate formtastic:install, don't forget to run it!"
11
+ end
12
+ end
13
+
5
14
  def add_javascripts
6
15
  append_file "app/assets/javascripts/store/all.js", "//= require store/spree_multi_slideshow\n"
7
- append_file "app/assets/javascripts/admin/all.js", "//= require admin/spree_multi_slideshow\n"
16
+ #append_file "app/assets/javascripts/admin/all.js", "//= require admin/spree_multi_slideshow\n"
8
17
  end
9
18
 
10
19
  def add_stylesheets
11
20
  inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/spree_multi_slideshow\n", :before => /\*\//, :verbose => true
21
+ inject_into_file "app/assets/stylesheets/admin/all.css", " *= require admin/spree_multi_slideshow\n", :before => /\*\//, :verbose => true
12
22
  end
13
23
 
14
24
  def add_migrations
@@ -22,7 +32,17 @@ module SpreeMultiSlideshow
22
32
  else
23
33
  puts "Skiping rake db:migrate, don't forget to run it!"
24
34
  end
25
- end
35
+ end
36
+
37
+ def add_ckeditor
38
+ res = ask "Would you like to run the ckeditor generator now? [Y/n]"
39
+ if res == "" || res.downcase == "y"
40
+ run 'rails generate ckeditor:install --orm=active_record --backend=paperclip'
41
+ else
42
+ puts "Skiping rails generate ckeditor:install --orm=active_record --backend=paperclip, don't forget to run it!"
43
+ end
44
+ end
45
+
26
46
  end
27
47
  end
28
48
  end
@@ -1,2 +1,4 @@
1
1
  require 'spree_core'
2
+ require 'ckeditor'
3
+ require 'formtastic'
2
4
  require 'spree_multi_slideshow/engine'
metadata CHANGED
@@ -1,100 +1,143 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spree_multi_slideshow
3
- version: !ruby/object:Gem::Version
4
- hash: 3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 1
9
- - 8
10
- version: 1.1.8
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Damiano Giacomello
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-04-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-10-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: spree_core
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 21
29
- segments:
30
- - 1
31
- - 1
32
- - 3
33
- version: 1.1.3
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
37
31
  name: aws-sdk
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
38
39
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: formtastic
48
+ requirement: !ruby/object:Gem::Requirement
40
49
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
48
54
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
51
63
  name: paperclip
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
52
71
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
54
73
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: ckeditor
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
62
86
  type: :runtime
63
- version_requirements: *id003
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rspec-rails
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
64
110
  description:
65
111
  email: damiano.giacomello@diginess.it
66
112
  executables: []
67
-
68
113
  extensions: []
69
-
70
114
  extra_rdoc_files: []
71
-
72
- files:
115
+ files:
73
116
  - README.md
74
117
  - LICENSE
75
118
  - lib/generators/spree_multi_slideshow/install/install_generator.rb
76
119
  - lib/spree_multi_slideshow/engine.rb
77
120
  - lib/spree_multi_slideshow.rb
78
- - app/assets/images/store/slides/pagination.png
121
+ - app/assets/images/store/slides/bg-gallery.png
122
+ - app/assets/images/store/slides/bg-text02.png
79
123
  - app/assets/images/store/slides/sprite01.png
80
- - app/assets/javascripts/admin/slide_settings.js
81
124
  - app/assets/javascripts/admin/slides/index.js
82
125
  - app/assets/javascripts/admin/slides/new.js
83
126
  - app/assets/javascripts/admin/spree_multi_slideshow.js
84
127
  - app/assets/javascripts/store/spree_multi_slideshow.js
128
+ - app/assets/stylesheets/admin/spree_multi_slideshow.css
129
+ - app/assets/stylesheets/store/carousel_slideshow.css.scss
85
130
  - app/assets/stylesheets/store/spree_multi_slideshow.css
86
- - app/controllers/spree/admin/slide_settings_controller.rb
87
131
  - app/controllers/spree/admin/slides_controller.rb
88
132
  - app/controllers/spree/admin/slideshow_types_controller.rb
133
+ - app/controllers/spree/slides_controller.rb
134
+ - app/controllers/spree/slideshow_types_controller.rb
135
+ - app/helpers/spree/slides_helper.rb
89
136
  - app/helpers/spree/slideshow_types_helper.rb
90
- - app/models/spree/app_configuration_decorator.rb
91
137
  - app/models/spree/slide.rb
92
138
  - app/models/spree/slideshow_type.rb
93
139
  - app/overrides/slideshow_type_admin_tab.rb
94
- - app/views/spree/admin/shared/_slide_setting_configurations_menu.html.erb
95
140
  - app/views/spree/admin/shared/_slideshow_type_tabs.html.erb
96
- - app/views/spree/admin/slide_settings/edit.html.erb
97
- - app/views/spree/admin/slide_settings/show.html.erb
98
141
  - app/views/spree/admin/slides/_form.html.erb
99
142
  - app/views/spree/admin/slides/edit.html.erb
100
143
  - app/views/spree/admin/slides/index.html.erb
@@ -103,44 +146,31 @@ files:
103
146
  - app/views/spree/admin/slideshow_types/edit.html.erb
104
147
  - app/views/spree/admin/slideshow_types/index.html.erb
105
148
  - app/views/spree/admin/slideshow_types/new.html.erb
106
- - app/views/spree/admin/slideshow_types/new.js.erb
107
149
  - db/migrate/20120116081431_create_slideshow_types.rb
108
150
  - db/migrate/20120116083546_create_slides.rb
109
151
  - db/migrate/20120323164044_multi_slideshow_namespace.rb
110
- - db/migrate/20130114150224_add_enable_pagination.rb
111
- - db/migrate/20130226082756_add_enable_to_slide.rb
112
152
  - config/locales/en.yml
113
153
  - config/locales/it.yml
114
154
  - config/routes.rb
115
155
  homepage:
116
156
  licenses: []
117
-
118
157
  post_install_message:
119
158
  rdoc_options: []
120
-
121
- require_paths:
159
+ require_paths:
122
160
  - lib
123
- required_ruby_version: !ruby/object:Gem::Requirement
161
+ required_ruby_version: !ruby/object:Gem::Requirement
124
162
  none: false
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 57
129
- segments:
130
- - 1
131
- - 8
132
- - 7
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
133
166
  version: 1.8.7
134
- required_rubygems_version: !ruby/object:Gem::Requirement
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
168
  none: false
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- hash: 3
140
- segments:
141
- - 0
142
- version: "0"
143
- requirements:
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements:
144
174
  - none
145
175
  rubyforge_project:
146
176
  rubygems_version: 1.8.22
@@ -148,4 +178,3 @@ signing_key:
148
178
  specification_version: 3
149
179
  summary: Extension to manage multi slideshow for Spree Shop
150
180
  test_files: []
151
-