spree_multi_slideshow 0.70.73 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/README.md +5 -1
  2. data/app/assets/javascripts/admin/spree_multi_slideshow.js +1 -1
  3. data/app/assets/javascripts/store/spree_multi_slideshow.js +213 -1159
  4. data/app/assets/stylesheets/admin/spree_multi_slideshow.css +1 -1
  5. data/app/assets/stylesheets/store/spree_multi_slideshow.css +56 -202
  6. data/app/controllers/spree/admin/slides_controller.rb +29 -0
  7. data/app/controllers/spree/admin/slideshow_types_controller.rb +11 -0
  8. data/app/helpers/spree/slides_helper.rb +4 -0
  9. data/app/helpers/spree/slideshow_types_helper.rb +61 -0
  10. data/app/models/spree/slide.rb +35 -0
  11. data/app/models/spree/slideshow_type.rb +17 -0
  12. data/app/overrides/slideshow_type_admin_tab.rb +1 -1
  13. data/app/views/spree/admin/shared/_slideshow_type_tabs.html.erb +16 -0
  14. data/app/views/spree/admin/slides/_form.html.erb +7 -0
  15. data/app/views/spree/admin/slides/edit.html.erb +17 -0
  16. data/app/views/spree/admin/slides/index.html.erb +35 -0
  17. data/app/views/{admin → spree/admin}/slides/new.html.erb +2 -2
  18. data/app/views/spree/admin/slideshow_types/_form.html.erb +8 -0
  19. data/app/views/spree/admin/slideshow_types/edit.html.erb +8 -0
  20. data/app/views/spree/admin/slideshow_types/index.html.erb +32 -0
  21. data/app/views/spree/admin/slideshow_types/new.html.erb +7 -0
  22. data/config/locales/en.yml +52 -2
  23. data/config/locales/it.yml +78 -25
  24. data/config/routes.rb +1 -1
  25. data/db/migrate/20120116081431_create_slideshow_types.rb +2 -1
  26. data/db/migrate/20120116083546_create_slides.rb +2 -1
  27. data/db/migrate/20120323164044_multi_slideshow_namespace.rb +6 -0
  28. data/lib/generators/spree_multi_slideshow/install/install_generator.rb +13 -3
  29. data/lib/spree_multi_slideshow.rb +0 -2
  30. metadata +132 -74
  31. data/app/assets/images/store/bx_loader.gif +0 -0
  32. data/app/assets/images/store/controls.png +0 -0
  33. data/app/controllers/admin/slides_controller.rb +0 -22
  34. data/app/controllers/admin/slideshow_types_controller.rb +0 -5
  35. data/app/helpers/slides_helper.rb +0 -2
  36. data/app/helpers/slideshow_types_helper.rb +0 -45
  37. data/app/models/slide.rb +0 -45
  38. data/app/models/slideshow_type.rb +0 -21
  39. data/app/views/admin/shared/_slideshow_type_tabs.html.erb +0 -14
  40. data/app/views/admin/slides/_form.html.erb +0 -15
  41. data/app/views/admin/slides/edit.html.erb +0 -17
  42. data/app/views/admin/slides/index.html.erb +0 -32
  43. data/app/views/admin/slideshow_types/_form.html.erb +0 -40
  44. data/app/views/admin/slideshow_types/edit.html.erb +0 -7
  45. data/app/views/admin/slideshow_types/index.html.erb +0 -32
  46. data/app/views/admin/slideshow_types/new.html.erb +0 -49
  47. data/app/views/admin/slideshow_types/new.js.erb +0 -2
  48. data/db/migrate/20120719112245_rename_image_to_attachment.rb +0 -15
  49. data/db/migrate/20130116143809_add_option_pagination.rb +0 -13
@@ -0,0 +1,7 @@
1
+ <%= f.inputs do %>
2
+ <%= f.input :title %>
3
+ <%= f.input :url %>
4
+ <%= f.cktext_area :content, :input_html => { :value => @slide.content }, :label => t("slideshow_type.slide.content") %>
5
+ <%= f.input :image, :as => :file, :label => I18n.t("slideshow_type.slide.image.one").capitalize, :hint => f.object.image.blank? ? f.template.content_tag(:span, "No Image Yet") : f.template.image_tag(f.object.image.url(:thumbnail)) %>
6
+ <%= f.input :slideshow_type_id, :as => :hidden, :value => params[:slideshow_type_id] %>
7
+ <% end %>
@@ -0,0 +1,17 @@
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 %>
4
+
5
+ <%= semantic_form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
6
+ <table class="basic-table" data-hook="edit_image">
7
+ <tr data-hook="thumbnail">
8
+ <td><%= t(:thumbnail) %>:</td>
9
+ <td><%= link_to image_tag(@slide.image.url(:small)), @slide.image.url(:medium) %></td>
10
+ </tr>
11
+ <%= render :partial => 'form', :locals => { :f => f } %>
12
+ </table>
13
+ <p class="form-buttons" data-hook="buttons">
14
+ <%= button t(:update) %>
15
+ <%= t(:or) %> <%= link_to t(:cancel), admin_slideshow_type_slide_url(@slideshow_type), :id => 'cancel_link' %>
16
+ </p>
17
+ <% end %>
@@ -0,0 +1,35 @@
1
+ <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slide Image'} %>
2
+
3
+ <%= javascript_include_tag 'admin/slides/index.js' %>
4
+ <div id="slides" data-hook></div>
5
+ <p data-hook="links">
6
+ <%= link_to icon('add') + ' ' + t("slideshow_type.slide.new_page"), new_admin_slideshow_type_slide_url(@slideshow_type), :id => 'new_slide_link' %>
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.image.url(:thumbnail)), slide.image.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>
@@ -0,0 +1,8 @@
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 %>
@@ -0,0 +1,8 @@
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 %>
4
+
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 %>
@@ -0,0 +1,32 @@
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
+ </div>
9
+
10
+ <h1><%= t("slideshow_type.many") %></h1>
11
+
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>
@@ -0,0 +1,7 @@
1
+ <h1><%= t("slideshow_type.new_page") %></h1>
2
+ <%= render "spree/shared/error_messages", :target => @slideshow_type %>
3
+
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' %>
7
+ <% end %>
@@ -1,6 +1,54 @@
1
1
  ---
2
- it:
2
+ en:
3
3
  activerecord:
4
+ errors: &errors
5
+ format: "%{attribute} %{message}\n"
6
+
7
+ messages: &errors_messages
8
+ inclusion: "is not included in the list"
9
+ exclusion: "is reserved"
10
+ invalid: "is invalid"
11
+ confirmation: "doesn't match confirmation"
12
+ record_invalid: "Validation failed: %{errors}"
13
+ taken: has already been taken
14
+ accepted: "must be accepted"
15
+ empty: "can't be empty"
16
+ blank: "can't be blank"
17
+ too_long:
18
+ one: "is too long (maximum is 1 character)"
19
+ other: "is too long (maximum is %{count} characters)"
20
+ too_short:
21
+ one: "is too short (minimum is 1 character)"
22
+ other: "is too short (minimum is %{count} characters)"
23
+ wrong_length:
24
+ one: "is the wrong length (should be 1 character)"
25
+ other: "is the wrong length (should be %{count} characters)"
26
+ not_a_number: "is not a number"
27
+ not_an_integer: "must be an integer"
28
+ greater_than: "must be greater than %{count}"
29
+ greater_than_or_equal_to: "must be greater than or equal to %{count}"
30
+ equal_to: "must be equal to %{count}"
31
+ less_than: "must be less than %{count}"
32
+ less_than_or_equal_to: "must be less than or equal to %{count}"
33
+ odd: "must be odd"
34
+ even: "must be even"
35
+
36
+ models:
37
+ slideshow_type:
38
+ attributes:
39
+ slideshow_type:
40
+ category: Category
41
+ enabled: Enable?
42
+ slide_width: Width
43
+ slide_height: Height
44
+ slide_number: Slide Number
45
+ enable_navigation: Next and Prev enable?
46
+ slide:
47
+ attributes:
48
+ slide:
49
+ title: Title
50
+ url: Link to product or taxonomy or to external website
51
+ image: Image
4
52
  attributes:
5
53
  slideshow_type:
6
54
  category: Category
@@ -20,7 +68,7 @@ it:
20
68
  slide:
21
69
  one: Slide
22
70
  many: Slides
23
-
71
+
24
72
  slideshow_type:
25
73
  one: Slideshow
26
74
  many: Slideshows
@@ -39,6 +87,8 @@ it:
39
87
  many: Images
40
88
  thumbnail: Thumbnail
41
89
  title: Title
90
+ position: Position
91
+ content: Description
42
92
  url: Link to product or taxonomy or to external website
43
93
  editing_page: Editing slide
44
94
  editing_page: Editing slideshow
@@ -1,15 +1,63 @@
1
1
  ---
2
2
  it:
3
3
  activerecord:
4
+ errors: &errors
5
+ format: "%{attribute} %{message}\n"
6
+
7
+ messages: &errors_messages
8
+ inclusion: "non è incluso nella lista"
9
+ exclusion: "è riservato"
10
+ invalid: "non è valido"
11
+ confirmation: "non coincide con la conferma"
12
+ record_invalid: "Validazione fallita: %{errors}"
13
+ taken: è già in uso
14
+ accepted: "deve essere accettata"
15
+ empty: "non può essere vuoto"
16
+ blank: "non può essere lasciato in bianco"
17
+ too_long:
18
+ one: "è troppo lungo (il massimo è 1 carattere)"
19
+ other: "è troppo lungo (il massimo è %{count} caratteri)"
20
+ too_short:
21
+ one: "è troppo corto (il minimo è 1 carattere)"
22
+ other: "è troppo corto (il minimo è %{count} caratteri)"
23
+ wrong_length:
24
+ one: "è della lunghezza sbagliata (deve essere di 1 carattere)"
25
+ other: "è della lunghezza sbagliata (deve essere di %{count} caratteri)"
26
+ not_a_number: "non è un numero"
27
+ not_an_integer: "non è un intero"
28
+ greater_than: "deve essere superiore a %{count}"
29
+ greater_than_or_equal_to: "deve essere superiore o uguale a %{count}"
30
+ equal_to: "deve essere uguale a %{count}"
31
+ less_than: "deve essere meno di %{count}"
32
+ less_than_or_equal_to: "deve essere meno o uguale a %{count}"
33
+ odd: "deve essere dispari"
34
+ even: "deve essere pari"
35
+
36
+ models:
37
+ slideshow_type:
38
+ attributes:
39
+ slideshow_type:
40
+ category: Categoria
41
+ enabled: Attivo?
42
+ slide_width: Larghezza
43
+ slide_height: Altezza
44
+ slide_number: Numero Slide
45
+ enable_navigation: Tasti navigazione attivi?
46
+ slide:
47
+ attributes:
48
+ slide:
49
+ title: Titolo
50
+ url: Link a prodotto o tassonomia o a sito esterno
51
+ image: Immagine
4
52
  attributes:
5
53
  slideshow_type:
6
54
  category: Categoria
7
55
  enabled: Attivo?
8
- slide_width: Larghezza
9
- slide_height: Altezza
10
- slide_number: Numero Slide
11
- enable_navigation: Tasti navigazione attivi?
12
- enable_pagination: Paginazione attiva?
56
+ url: Link a prodotto o tassonomia o a sito esterno
57
+ attachment_width: Larghezza immagine
58
+ attachment_height: Altezza immagine
59
+ attachment: Immagine
60
+ position: Posizione (se esistono altri banner con la stessa categoria)
13
61
  slide:
14
62
  title: Titolo
15
63
  url: Link a prodotto o tassonomia o a sito esterno
@@ -21,24 +69,29 @@ it:
21
69
  slide:
22
70
  one: Slide
23
71
  many: Slides
72
+
24
73
 
25
- new_slideshow_type: "Nuovo Slideshow"
26
- slideshow_type: "Slideshow"
27
- slideshow_types: "Slideshows"
28
- enable: Attivo?
29
- category: Categoria
30
- slide_number: Numero Slide
31
- detail: Attributi
32
- sidebar: Gestione slideshow e slide.
33
- new_page: Nuovo slideshow
34
- slide: "Slide"
35
- slides: "Slides"
36
- new_slide: Nuova slide
37
- image:
38
- one: Immagine
39
- many: Immagini
40
- thumbnail: Miniatura
41
- title: Titolo
42
- url: Link a prodotto o tassonomia o a sito esterno
43
- editing_page: Modifica
44
- confirm_delete: Sei sicuro?
74
+ slideshow_type:
75
+ one: Slideshow
76
+ many: Slideshows
77
+ enable: Attivo?
78
+ category: Categoria
79
+ slide_number: Numero Slide
80
+ detail: Attributi
81
+ sidebar: Gestione slideshow e slide.
82
+ new_page: Nuovo slideshow
83
+ slide:
84
+ one: Slide
85
+ many: Slides
86
+ new_page: Nuova slide
87
+ image:
88
+ one: Immagine
89
+ many: Immagini
90
+ thumbnail: Miniatura
91
+ title: Titolo
92
+ position: Posizione
93
+ content: Descrizione
94
+ url: Link a prodotto o tassonomia o a sito esterno
95
+ editing_page: Modifica slide
96
+ editing_page: Modifica slideshow
97
+ confirm_delete: Sei sicuro?
data/config/routes.rb CHANGED
@@ -1,4 +1,4 @@
1
- Rails.application.routes.draw do
1
+ Spree::Core::Engine.routes.draw do
2
2
 
3
3
  namespace :admin do
4
4
  resources :slideshow_types do
@@ -6,9 +6,10 @@ class CreateSlideshowTypes < ActiveRecord::Migration
6
6
  t.integer :slide_height, :default => 400
7
7
  t.integer :slide_width, :default => 900
8
8
  t.integer :slide_number, :default => 4
9
- t.boolean :enable_navigation, :default => 0
9
+ t.boolean :enable_navigation, :default => 1
10
10
 
11
11
  t.timestamps
12
12
  end
13
+ add_index :slideshow_types, :category, :unique => true
13
14
  end
14
15
  end
@@ -2,8 +2,9 @@ class CreateSlides < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :slides do |t|
4
4
  t.string :title, :url
5
+ t.text :content
5
6
 
6
- t.string :image_content_type, :image_file_name
7
+ t.string :image_content_type, :image_file_name, :image_content_type
7
8
  t.datetime :image_updated_at
8
9
  t.integer :image_size, :position
9
10
  t.string :type, :limit => 75
@@ -0,0 +1,6 @@
1
+ class MultiSlideshowNamespace < ActiveRecord::Migration
2
+ def change
3
+ rename_table :slideshow_types, :spree_slideshow_types
4
+ rename_table :slides, :spree_slides
5
+ end
6
+ end
@@ -1,15 +1,15 @@
1
1
  module SpreeMultiSlideshow
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
-
4
+
5
5
  def add_javascripts
6
6
  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"
7
+ #append_file "app/assets/javascripts/admin/all.js", "//= require admin/spree_multi_slideshow\n"
8
8
  end
9
9
 
10
10
  def add_stylesheets
11
11
  inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/spree_multi_slideshow\n", :before => /\*\//, :verbose => true
12
- #inject_into_file "app/assets/stylesheets/admin/all.css", " *= require admin/spree_multi_slideshow\n", :before => /\*\//, :verbose => true
12
+ inject_into_file "app/assets/stylesheets/admin/all.css", " *= require admin/spree_multi_slideshow\n", :before => /\*\//, :verbose => true
13
13
  end
14
14
 
15
15
  def add_migrations
@@ -24,6 +24,16 @@ module SpreeMultiSlideshow
24
24
  puts "Skiping rake db:migrate, don't forget to run it!"
25
25
  end
26
26
  end
27
+
28
+ def add_ckeditor
29
+ res = ask "Would you like to run the ckeditor generator now? [Y/n]"
30
+ if res == "" || res.downcase == "y"
31
+ run 'rails generate ckeditor:install --orm=active_record --backend=paperclip'
32
+ else
33
+ puts "Skiping rails generate ckeditor:install --orm=active_record --backend=paperclip, don't forget to run it!"
34
+ end
35
+ end
36
+
27
37
  end
28
38
  end
29
39
  end
@@ -1,4 +1,2 @@
1
1
  require 'spree_core'
2
- require 'ckeditor'
3
- require 'formtastic'
4
2
  require 'spree_multi_slideshow/engine'
metadata CHANGED
@@ -1,77 +1,126 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spree_multi_slideshow
3
- version: !ruby/object:Gem::Version
4
- version: 0.70.73
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Damiano Giacomello
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-01-17 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-03-28 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: spree_core
16
- requirement: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
22
32
  type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: spree_auth
23
36
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
25
38
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: formtastic
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
31
63
  name: paperclip
32
- requirement: !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
33
66
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 27
71
+ segments:
72
+ - 2
73
+ - 5
74
+ - 0
75
+ version: 2.5.0
38
76
  type: :runtime
77
+ version_requirements: *id004
78
+ - !ruby/object:Gem::Dependency
79
+ name: ckeditor
39
80
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
81
+ requirement: &id005 !ruby/object:Gem::Requirement
41
82
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
83
+ requirements:
84
+ - - "="
85
+ - !ruby/object:Gem::Version
86
+ hash: 15424003
87
+ segments:
88
+ - 3
89
+ - 7
90
+ - 0
91
+ - rc
92
+ - 3
93
+ version: 3.7.0.rc3
94
+ type: :runtime
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
47
97
  name: rspec-rails
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
98
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
99
+ requirement: &id006 !ruby/object:Gem::Requirement
57
100
  none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 0
107
+ version: "0"
108
+ type: :development
109
+ version_requirements: *id006
62
110
  description:
63
111
  email: damiano.giacomello@diginess.it
64
112
  executables: []
113
+
65
114
  extensions: []
115
+
66
116
  extra_rdoc_files: []
67
- files:
117
+
118
+ files:
68
119
  - README.md
69
120
  - LICENSE
70
121
  - lib/generators/spree_multi_slideshow/install/install_generator.rb
71
122
  - lib/spree_multi_slideshow/engine.rb
72
123
  - lib/spree_multi_slideshow.rb
73
- - app/assets/images/store/bx_loader.gif
74
- - app/assets/images/store/controls.png
75
124
  - app/assets/images/store/slides/bg-gallery.png
76
125
  - app/assets/images/store/slides/bg-text02.png
77
126
  - app/assets/images/store/slides/sprite01.png
@@ -81,55 +130,64 @@ files:
81
130
  - app/assets/javascripts/store/spree_multi_slideshow.js
82
131
  - app/assets/stylesheets/admin/spree_multi_slideshow.css
83
132
  - app/assets/stylesheets/store/spree_multi_slideshow.css
84
- - app/controllers/admin/slides_controller.rb
85
- - app/controllers/admin/slideshow_types_controller.rb
133
+ - app/controllers/spree/admin/slides_controller.rb
134
+ - app/controllers/spree/admin/slideshow_types_controller.rb
86
135
  - app/controllers/spree/slides_controller.rb
87
136
  - app/controllers/spree/slideshow_types_controller.rb
88
- - app/helpers/slides_helper.rb
89
- - app/helpers/slideshow_types_helper.rb
90
- - app/models/slide.rb
91
- - app/models/slideshow_type.rb
137
+ - app/helpers/spree/slides_helper.rb
138
+ - app/helpers/spree/slideshow_types_helper.rb
139
+ - app/models/spree/slide.rb
140
+ - app/models/spree/slideshow_type.rb
92
141
  - app/overrides/slideshow_type_admin_tab.rb
93
- - app/views/admin/shared/_slideshow_type_tabs.html.erb
94
- - app/views/admin/slides/_form.html.erb
95
- - app/views/admin/slides/edit.html.erb
96
- - app/views/admin/slides/index.html.erb
97
- - app/views/admin/slides/new.html.erb
98
- - app/views/admin/slideshow_types/_form.html.erb
99
- - app/views/admin/slideshow_types/edit.html.erb
100
- - app/views/admin/slideshow_types/index.html.erb
101
- - app/views/admin/slideshow_types/new.html.erb
102
- - app/views/admin/slideshow_types/new.js.erb
142
+ - app/views/spree/admin/shared/_slideshow_type_tabs.html.erb
143
+ - app/views/spree/admin/slides/_form.html.erb
144
+ - app/views/spree/admin/slides/edit.html.erb
145
+ - app/views/spree/admin/slides/index.html.erb
146
+ - app/views/spree/admin/slides/new.html.erb
147
+ - app/views/spree/admin/slideshow_types/_form.html.erb
148
+ - app/views/spree/admin/slideshow_types/edit.html.erb
149
+ - app/views/spree/admin/slideshow_types/index.html.erb
150
+ - app/views/spree/admin/slideshow_types/new.html.erb
103
151
  - db/migrate/20120116081431_create_slideshow_types.rb
104
152
  - db/migrate/20120116083546_create_slides.rb
105
- - db/migrate/20120719112245_rename_image_to_attachment.rb
106
- - db/migrate/20130116143809_add_option_pagination.rb
153
+ - db/migrate/20120323164044_multi_slideshow_namespace.rb
107
154
  - config/locales/en.yml
108
155
  - config/locales/it.yml
109
156
  - config/routes.rb
110
157
  homepage:
111
158
  licenses: []
159
+
112
160
  post_install_message:
113
161
  rdoc_options: []
114
- require_paths:
162
+
163
+ require_paths:
115
164
  - lib
116
- required_ruby_version: !ruby/object:Gem::Requirement
165
+ required_ruby_version: !ruby/object:Gem::Requirement
117
166
  none: false
118
- requirements:
119
- - - ! '>='
120
- - !ruby/object:Gem::Version
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ hash: 57
171
+ segments:
172
+ - 1
173
+ - 8
174
+ - 7
121
175
  version: 1.8.7
122
- required_rubygems_version: !ruby/object:Gem::Requirement
176
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
177
  none: false
124
- requirements:
125
- - - ! '>='
126
- - !ruby/object:Gem::Version
127
- version: '0'
128
- requirements:
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ hash: 3
182
+ segments:
183
+ - 0
184
+ version: "0"
185
+ requirements:
129
186
  - none
130
187
  rubyforge_project:
131
- rubygems_version: 1.8.22
188
+ rubygems_version: 1.8.10
132
189
  signing_key:
133
190
  specification_version: 3
134
191
  summary: Extension to manage multi slideshow for Spree Shop
135
192
  test_files: []
193
+