refinerycms-image_slideshows 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/app/controllers/refinery/image_slideshows/admin/image_slideshows_controller.rb +11 -0
  2. data/app/controllers/refinery/image_slideshows/image_slideshows_controller.rb +34 -0
  3. data/app/models/refinery/image_slideshows/image_slideshow.rb +13 -0
  4. data/app/views/refinery/image_slideshows/admin/image_slideshows/_actions.html.erb +25 -0
  5. data/app/views/refinery/image_slideshows/admin/image_slideshows/_form.html.erb +17 -0
  6. data/app/views/refinery/image_slideshows/admin/image_slideshows/_image_slideshow.html.erb +20 -0
  7. data/app/views/refinery/image_slideshows/admin/image_slideshows/_image_slideshows.html.erb +2 -0
  8. data/app/views/refinery/image_slideshows/admin/image_slideshows/_records.html.erb +18 -0
  9. data/app/views/refinery/image_slideshows/admin/image_slideshows/_sortable_list.html.erb +5 -0
  10. data/app/views/refinery/image_slideshows/admin/image_slideshows/edit.html.erb +1 -0
  11. data/app/views/refinery/image_slideshows/admin/image_slideshows/index.html.erb +7 -0
  12. data/app/views/refinery/image_slideshows/admin/image_slideshows/new.html.erb +1 -0
  13. data/app/views/refinery/image_slideshows/image_slideshows/index.html.erb +11 -0
  14. data/app/views/refinery/image_slideshows/image_slideshows/show.html.erb +27 -0
  15. data/config/locales/en.yml +27 -0
  16. data/config/locales/es.yml +28 -0
  17. data/config/locales/fr.yml +27 -0
  18. data/config/locales/nb.yml +27 -0
  19. data/config/locales/nl.yml +27 -0
  20. data/config/locales/sk.yml +27 -0
  21. data/config/locales/zh-CN.yml +29 -0
  22. data/config/routes.rb +19 -0
  23. data/db/migrate/1_create_image_slideshows_image_slideshows.rb +26 -0
  24. data/db/seeds.rb +25 -0
  25. data/lib/generators/refinery/image_slideshows_generator.rb +19 -0
  26. data/lib/refinery/image_slideshows.rb +21 -0
  27. data/lib/refinery/image_slideshows/engine.rb +26 -0
  28. data/lib/refinerycms-image_slideshows.rb +1 -0
  29. data/lib/tasks/refinery/image_slideshows.rake +13 -0
  30. data/readme.md +10 -0
  31. metadata +106 -0
@@ -0,0 +1,11 @@
1
+ module Refinery
2
+ module ImageSlideshows
3
+ module Admin
4
+ class ImageSlideshowsController < ::Refinery::AdminController
5
+
6
+ crudify :'refinery/image_slideshows/image_slideshow', :xhr_paging => true
7
+
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,34 @@
1
+ module Refinery
2
+ module ImageSlideshows
3
+ class ImageSlideshowsController < ::ApplicationController
4
+
5
+ before_filter :find_all_image_slideshows
6
+ before_filter :find_page
7
+
8
+ def index
9
+ # you can use meta fields from your model instead (e.g. browser_title)
10
+ # by swapping @page for @image_slideshow in the line below:
11
+ present(@page)
12
+ end
13
+
14
+ def show
15
+ @image_slideshow = ImageSlideshow.find(params[:id])
16
+
17
+ # you can use meta fields from your model instead (e.g. browser_title)
18
+ # by swapping @page for @image_slideshow in the line below:
19
+ present(@page)
20
+ end
21
+
22
+ protected
23
+
24
+ def find_all_image_slideshows
25
+ @image_slideshows = ImageSlideshow.order('position ASC')
26
+ end
27
+
28
+ def find_page
29
+ @page = ::Refinery::Page.where(:link_url => "/image_slideshows").first
30
+ end
31
+
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,13 @@
1
+ module Refinery
2
+ module ImageSlideshows
3
+ class ImageSlideshow < Refinery::Core::BaseModel
4
+ self.table_name = 'refinery_image_slideshows'
5
+
6
+ attr_accessible :title, :position
7
+
8
+ acts_as_indexed :fields => [:title]
9
+
10
+ validates :title, :presence => true, :uniqueness => true
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,25 @@
1
+ <ul>
2
+ <% if ::Refinery::ImageSlideshows::Admin::ImageSlideshowsController.searchable? %>
3
+ <li>
4
+ <%= render '/refinery/admin/search', :url => refinery.image_slideshows_admin_image_slideshows_path %>
5
+ </li>
6
+ <% end %>
7
+ <li>
8
+ <%= link_to t('.create_new'), refinery.new_image_slideshows_admin_image_slideshow_path,
9
+ :class => "add_icon" %>
10
+ </li>
11
+ <% if !searching? && ::Refinery::ImageSlideshows::Admin::ImageSlideshowsController.sortable? && ::Refinery::ImageSlideshows::ImageSlideshow.any? %>
12
+ <li>
13
+ <%= link_to t('.reorder', :what => "Image Slideshows"),
14
+ refinery.image_slideshows_admin_image_slideshows_path,
15
+ :id => "reorder_action",
16
+ :class => "reorder_icon" %>
17
+
18
+ <%= link_to t('.reorder_done', :what => "Image Slideshows"),
19
+ refinery.image_slideshows_admin_image_slideshows_path,
20
+ :id => "reorder_action_done",
21
+ :style => "display: none;",
22
+ :class => "reorder_icon" %>
23
+ </li>
24
+ <% end %>
25
+ </ul>
@@ -0,0 +1,17 @@
1
+ <%= form_for [refinery, :image_slideshows_admin, @image_slideshow] do |f| -%>
2
+ <%= render '/refinery/admin/error_messages',
3
+ :object => @image_slideshow,
4
+ :include_object_name => true %>
5
+
6
+
7
+ <div class='field'>
8
+ <%= f.label :title -%>
9
+ <%= f.text_field :title, :class => 'larger widest' -%>
10
+
11
+ </div>
12
+
13
+ <%= render '/refinery/admin/form_actions', :f => f,
14
+ :continue_editing => false,
15
+ :delete_title => t('delete', :scope => 'refinery.image_slideshows.admin.image_slideshows.image_slideshow'),
16
+ :delete_confirmation => t('message', :scope => 'refinery.admin.delete', :title => @image_slideshow.title) %>
17
+ <% end -%>
@@ -0,0 +1,20 @@
1
+ <li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(image_slideshow) -%>">
2
+ <span class='title'>
3
+ <%= image_slideshow.title %>
4
+
5
+ </span>
6
+ <span class='actions'>
7
+
8
+ <%= link_to refinery_icon_tag("application_go.png"), refinery.image_slideshows_image_slideshow_path(image_slideshow),
9
+ :title => t('.view_live_html'),
10
+ :target => "_blank" %>
11
+
12
+ <%= link_to refinery_icon_tag("application_edit.png"), refinery.edit_image_slideshows_admin_image_slideshow_path(image_slideshow),
13
+ :title => t('.edit') %>
14
+ <%= link_to refinery_icon_tag("delete.png"), refinery.image_slideshows_admin_image_slideshow_path(image_slideshow),
15
+ :class => "cancel confirm-delete",
16
+ :title => t('.delete'),
17
+ :confirm => t('message', :scope => 'refinery.admin.delete', :title => image_slideshow.title),
18
+ :method => :delete %>
19
+ </span>
20
+ </li>
@@ -0,0 +1,2 @@
1
+ <%= will_paginate @image_slideshows if Refinery::ImageSlideshows::Admin::ImageSlideshowsController.pageable? %>
2
+ <%= render 'sortable_list' %>
@@ -0,0 +1,18 @@
1
+ <% if searching? %>
2
+ <h2><%= t('results_for', :scope => 'refinery.admin.search', :query => params[:search]) %></h2>
3
+ <% end %>
4
+ <div class='pagination_container'>
5
+ <% if @image_slideshows.any? %>
6
+ <%= render 'image_slideshows' %>
7
+ <% else %>
8
+ <p>
9
+ <% unless searching? %>
10
+ <strong>
11
+ <%= t('.no_items_yet') %>
12
+ </strong>
13
+ <% else %>
14
+ <%= t('no_results', :scope => 'refinery.admin.search') %>
15
+ <% end %>
16
+ </p>
17
+ <% end %>
18
+ </div>
@@ -0,0 +1,5 @@
1
+ <ul id='sortable_list'>
2
+ <%= render :partial => 'image_slideshow', :collection => @image_slideshows %>
3
+ </ul>
4
+ <%= render '/refinery/admin/sortable_list',
5
+ :continue_reordering => (local_assigns.keys.include?(:continue_reordering)) ? continue_reordering : true %>
@@ -0,0 +1,7 @@
1
+ <section id='records'>
2
+ <%= render 'records' %>
3
+ </section>
4
+ <aside id='actions'>
5
+ <%= render 'actions' %>
6
+ </aside>
7
+ <%= render '/refinery/admin/make_sortable', :tree => false if !searching? and ::Refinery::ImageSlideshows::Admin::ImageSlideshowsController.sortable? and ::Refinery::ImageSlideshows::ImageSlideshow.count > 1 %>
@@ -0,0 +1,11 @@
1
+ <% content_for :body do %>
2
+ <ul id="image_slideshows">
3
+ <% @image_slideshows.each do |image_slideshow| %>
4
+ <li>
5
+ <%= link_to image_slideshow.title, refinery.image_slideshows_image_slideshow_path(image_slideshow) %>
6
+ </li>
7
+ <% end %>
8
+ </ul>
9
+ <% end %>
10
+
11
+ <%= render '/refinery/content_page' %>
@@ -0,0 +1,27 @@
1
+ <% content_for :body_content_title do %>
2
+ <%= @image_slideshow.title %>
3
+ <% end %>
4
+
5
+ <% content_for :body do %>
6
+ <section>
7
+ <h1>Title</h1>
8
+ <p>
9
+ <%=raw @image_slideshow.title %>
10
+ </p>
11
+ </section>
12
+ <% end %>
13
+
14
+ <% content_for :side_body do %>
15
+ <aside>
16
+ <h2><%= t('.other') %></h2>
17
+ <ul id="image_slideshows">
18
+ <% @image_slideshows.each do |image_slideshow| %>
19
+ <li>
20
+ <%= link_to image_slideshow.title, refinery.image_slideshows_image_slideshow_path(image_slideshow) %>
21
+ </li>
22
+ <% end %>
23
+ </ul>
24
+ </aside>
25
+ <% end %>
26
+
27
+ <%= render '/refinery/content_page' %>
@@ -0,0 +1,27 @@
1
+ en:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ image_slideshows:
7
+ admin:
8
+ image_slideshows:
9
+ actions:
10
+ create_new: Add New Image Slideshow
11
+ reorder: Reorder Image Slideshows
12
+ reorder_done: Done Reordering Image Slideshows
13
+ records:
14
+ title: Image Slideshows
15
+ sorry_no_results: Sorry! There are no results found.
16
+ no_items_yet: There are no Image Slideshows yet. Click "Add New Image Slideshow" to add your first image slideshow.
17
+ image_slideshow:
18
+ view_live_html: View this image slideshow live <br/><em>(opens in a new window)</em>
19
+ edit: Edit this image slideshow
20
+ delete: Remove this image slideshow forever
21
+ image_slideshows:
22
+ show:
23
+ other: Other Image Slideshows
24
+ activerecord:
25
+ attributes:
26
+ 'refinery/image_slideshows/image_slideshow':
27
+ title: Title
@@ -0,0 +1,28 @@
1
+ es:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ # article: masculino/femenino
7
+ image_slideshows:
8
+ admin:
9
+ image_slideshows:
10
+ actions:
11
+ create_new: Crear nuevo image slideshow
12
+ reorder: Reordenar image slideshows
13
+ reorder_done: Reordenación de image slideshows completada
14
+ records:
15
+ title: Image Slideshows
16
+ sorry_no_results: Lo siento, no hay resultados
17
+ no_items_yet: No hay image slideshows todavía. Pulsa en "Crear nuevo Image Slideshow" para crear tu primer image slideshow.
18
+ image_slideshow:
19
+ view_live_html: Ver este image slideshow como abierto al público <br/><em>(abre en ventana nueva)</em>
20
+ edit: Editar este image slideshow
21
+ delete: Borrar este image slideshow para siempre
22
+ image_slideshows:
23
+ show:
24
+ other: Otros image slideshows
25
+ activerecord:
26
+ attributes:
27
+ 'refinery/image_slideshows/image_slideshow':
28
+ title: Title
@@ -0,0 +1,27 @@
1
+ fr:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ image_slideshows:
7
+ admin:
8
+ image_slideshows:
9
+ actions:
10
+ create_new: Créer un(e) nouve(au/l/lle) Image Slideshow
11
+ reorder: Réordonner les Image Slideshows
12
+ reorder_done: Fin de réordonnancement des Image Slideshows
13
+ records:
14
+ title: Image Slideshows
15
+ sorry_no_results: "Désolé ! Aucun résultat."
16
+ no_items_yet: 'Il n''y a actuellement aucun(e) Image Slideshow. Cliquer sur "Créer un(e) nouve(au/l/lle) Image Slideshow" pour créer votre premi(er/ère) image slideshow.'
17
+ image_slideshow:
18
+ view_live_html: Voir ce(t/tte) image slideshow <br/><em>(Ouvre une nouvelle fenêtre)</em>
19
+ edit: Modifier ce(t/tte) image slideshow
20
+ delete: Supprimer définitivement ce(t/tte) image slideshow
21
+ image_slideshows:
22
+ show:
23
+ other: Autres Image Slideshows
24
+ activerecord:
25
+ attributes:
26
+ 'refinery/image_slideshows/image_slideshow':
27
+ title: Title
@@ -0,0 +1,27 @@
1
+ nb:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ image_slideshows:
7
+ admin:
8
+ image_slideshows:
9
+ actions:
10
+ create_new: Lag en ny Image Slideshow
11
+ reorder: Endre rekkefølgen på Image Slideshows
12
+ reorder_done: Ferdig å endre rekkefølgen Image Slideshows
13
+ records:
14
+ title: Image Slideshows
15
+ sorry_no_results: Beklager! Vi fant ikke noen resultater.
16
+ no_items_yet: Det er ingen Image Slideshows enda. Klikk på "Lag en ny Image Slideshow" for å legge til din første image slideshow.
17
+ image_slideshow:
18
+ view_live_html: Vis hvordan denne image slideshow ser ut offentlig <br/><em>(åpner i et nytt vindu)</em>
19
+ edit: Rediger denne image slideshow
20
+ delete: Fjern denne image slideshow permanent
21
+ image_slideshows:
22
+ show:
23
+ other: Andre Image Slideshows
24
+ activerecord:
25
+ attributes:
26
+ 'refinery/image_slideshows/image_slideshow':
27
+ title: Title
@@ -0,0 +1,27 @@
1
+ nl:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ image_slideshows:
7
+ admin:
8
+ image_slideshows:
9
+ actions:
10
+ create_new: Maak een nieuwe Image Slideshow
11
+ reorder: Wijzig de volgorde van de Image Slideshows
12
+ reorder_done: Klaar met het wijzingen van de volgorde van de Image Slideshows
13
+ records:
14
+ title: Image Slideshows
15
+ sorry_no_results: Helaas! Er zijn geen resultaten gevonden.
16
+ no_items_yet: Er zijn nog geen Image Slideshows. Druk op 'Maak een nieuwe Image Slideshow' om de eerste aan te maken.
17
+ image_slideshow:
18
+ view_live_html: Bekijk deze image slideshow op de website <br/><em>(opent een nieuw venster)</em>
19
+ edit: Bewerk deze image slideshow
20
+ delete: Verwijder deze image slideshow voor eeuwig
21
+ image_slideshows:
22
+ show:
23
+ other: Andere Image Slideshows
24
+ activerecord:
25
+ attributes:
26
+ 'refinery/image_slideshows/image_slideshow':
27
+ title: Title
@@ -0,0 +1,27 @@
1
+ sk:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ image_slideshows:
7
+ admin:
8
+ image_slideshows:
9
+ actions:
10
+ create_new: Pridať Image Slideshow
11
+ reorder: Preusporiadať Image Slideshows
12
+ reorder_done: Koniec radenia Image Slideshows
13
+ records:
14
+ title: Image Slideshows
15
+ sorry_no_results: Ľutujeme, ale neboli nájdené žiadne výsledky.
16
+ no_items_yet: Nie sú vytvorené žiadne Image Slideshows. Kliknite na "Pridať Image Slideshow" pre pridanie prvého image slideshow.
17
+ image_slideshow:
18
+ view_live_html: Zobraziť náhľad image slideshow<br/><em>(otvorí sa v novom okne)</em>
19
+ edit: Upraviť image slideshow
20
+ delete: Zmazať image slideshow
21
+ image_slideshows:
22
+ show:
23
+ other: Daľšie Image Slideshows
24
+ activerecord:
25
+ attributes:
26
+ 'refinery/image_slideshows/image_slideshow':
27
+ title: Title
@@ -0,0 +1,29 @@
1
+ zh-CN:
2
+ refinery:
3
+ plugins:
4
+ image_slideshows:
5
+ title: Image Slideshows
6
+ image_slideshows:
7
+ admin:
8
+ image_slideshows:
9
+ actions:
10
+ create_new: 建立新的 Image Slideshow
11
+ reorder: 对 Image Slideshows 重新排序
12
+ reorder_done: 对 Image Slideshows 的重新排序结束
13
+ records:
14
+ title: Image Slideshows
15
+ sorry_no_results: 对不起,未找到结果。 #Sorry! There are no results found.
16
+
17
+ # There are no Image Slideshows yet. Click "Add New Image Slideshow" to add your first image slideshow.
18
+ no_items_yet: 目前没有 Image Slideshows . 点击 "Add New Image Slideshow" 创建一个image slideshow.
19
+ image_slideshow:
20
+ view_live_html: 查看 image slideshow 的最新内容.<br/><em>(新窗口中打开)</em>
21
+ edit: 编辑 image slideshow
22
+ delete: 永久删除 image slideshow
23
+ image_slideshows:
24
+ show:
25
+ other: 其他 Image Slideshows
26
+ activerecord:
27
+ attributes:
28
+ 'refinery/image_slideshows/image_slideshow':
29
+ title: Title
data/config/routes.rb ADDED
@@ -0,0 +1,19 @@
1
+ Refinery::Core::Engine.routes.append do
2
+
3
+ # Frontend routes
4
+ namespace :image_slideshows do
5
+ resources :image_slideshows, :path => '', :only => [:index, :show]
6
+ end
7
+
8
+ # Admin routes
9
+ namespace :image_slideshows, :path => '' do
10
+ namespace :admin, :path => 'refinery' do
11
+ resources :image_slideshows, :except => :show do
12
+ collection do
13
+ post :update_positions
14
+ end
15
+ end
16
+ end
17
+ end
18
+
19
+ end
@@ -0,0 +1,26 @@
1
+ class CreateImageSlideshowsImageSlideshows < ActiveRecord::Migration
2
+
3
+ def up
4
+ create_table :refinery_image_slideshows do |t|
5
+ t.string :title
6
+ t.integer :position
7
+
8
+ t.timestamps
9
+ end
10
+
11
+ end
12
+
13
+ def down
14
+ if defined?(::Refinery::UserPlugin)
15
+ ::Refinery::UserPlugin.destroy_all({:name => "refinerycms-image_slideshows"})
16
+ end
17
+
18
+ if defined?(::Refinery::Page)
19
+ ::Refinery::Page.delete_all({:link_url => "/image_slideshows/image_slideshows"})
20
+ end
21
+
22
+ drop_table :refinery_image_slideshows
23
+
24
+ end
25
+
26
+ end
data/db/seeds.rb ADDED
@@ -0,0 +1,25 @@
1
+ (Refinery.i18n_enabled? ? Refinery::I18n.frontend_locales : [:en]).each do |lang|
2
+ I18n.locale = lang
3
+
4
+ if defined?(Refinery::User)
5
+ Refinery::User.all.each do |user|
6
+ if user.plugins.where(:name => 'refinerycms-image_slideshows').blank?
7
+ user.plugins.create(:name => 'refinerycms-image_slideshows',
8
+ :position => (user.plugins.maximum(:position) || -1) +1)
9
+ end
10
+ end
11
+ end
12
+
13
+ url = "/image_slideshows"
14
+ if defined?(Refinery::Page) && Refinery::Page.where(:link_url => url).empty?
15
+ page = Refinery::Page.create(
16
+ :title => 'Image Slideshows',
17
+ :link_url => url,
18
+ :deletable => false,
19
+ :menu_match => "^#{url}(\/|\/.+?|)$"
20
+ )
21
+ Refinery::Pages.default_parts.each_with_index do |default_page_part, index|
22
+ page.parts.create(:title => default_page_part, :body => nil, :position => index)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,19 @@
1
+ module Refinery
2
+ class ImageSlideshowsGenerator < Rails::Generators::Base
3
+
4
+ def rake_db
5
+ rake("refinery_image_slideshows:install:migrations")
6
+ end
7
+
8
+ def append_load_seed_data
9
+ create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb'))
10
+ append_file 'db/seeds.rb', :verbose => true do
11
+ <<-EOH
12
+
13
+ # Added by Refinery CMS Image Slideshows extension
14
+ Refinery::ImageSlideshows::Engine.load_seed
15
+ EOH
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,21 @@
1
+ require 'refinerycms-core'
2
+
3
+ module Refinery
4
+ autoload :ImageSlideshowsGenerator, 'generators/refinery/image_slideshows_generator'
5
+
6
+ module ImageSlideshows
7
+ require 'refinery/image_slideshows/engine'
8
+
9
+ class << self
10
+ attr_writer :root
11
+
12
+ def root
13
+ @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
14
+ end
15
+
16
+ def factory_paths
17
+ @factory_paths ||= [ root.join('spec', 'factories').to_s ]
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,26 @@
1
+ module Refinery
2
+ module ImageSlideshows
3
+ class Engine < Rails::Engine
4
+ include Refinery::Engine
5
+ isolate_namespace Refinery::ImageSlideshows
6
+
7
+ engine_name :refinery_image_slideshows
8
+
9
+ initializer "register refinerycms_image_slideshows plugin" do
10
+ Refinery::Plugin.register do |plugin|
11
+ plugin.name = "image_slideshows"
12
+ plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.image_slideshows_admin_image_slideshows_path }
13
+ plugin.pathname = root
14
+ plugin.activity = {
15
+ :class_name => :'refinery/image_slideshows/image_slideshow'
16
+ }
17
+
18
+ end
19
+ end
20
+
21
+ config.after_initialize do
22
+ Refinery.register_extension(Refinery::ImageSlideshows)
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1 @@
1
+ require 'refinery/image_slideshows'
@@ -0,0 +1,13 @@
1
+ namespace :refinery do
2
+
3
+ namespace :image_slideshows do
4
+
5
+ # call this task by running: rake refinery:image_slideshows:my_task
6
+ # desc "Description of my task below"
7
+ # task :my_task => :environment do
8
+ # # add your logic here
9
+ # end
10
+
11
+ end
12
+
13
+ end
data/readme.md ADDED
@@ -0,0 +1,10 @@
1
+ # Image Slideshows extension for Refinery CMS.
2
+
3
+ ## How to build this extension as a gem
4
+
5
+ cd vendor/extensions/image_slideshows
6
+ gem build refinerycms-image_slideshows.gemspec
7
+ gem install refinerycms-image_slideshows.gem
8
+
9
+ # Sign up for a http://rubygems.org/ account and publish the gem
10
+ gem push refinerycms-image_slideshows.gem
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: refinerycms-image_slideshows
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jim Pruetting
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: refinerycms-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.9
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.0.9
30
+ - !ruby/object:Gem::Dependency
31
+ name: refinerycms-testing
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 2.0.9
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.0.9
46
+ description: Ruby on Rails Image Slideshows extension for Refinery CMS
47
+ email:
48
+ executables: []
49
+ extensions: []
50
+ extra_rdoc_files: []
51
+ files:
52
+ - app/controllers/refinery/image_slideshows/admin/image_slideshows_controller.rb
53
+ - app/controllers/refinery/image_slideshows/image_slideshows_controller.rb
54
+ - app/models/refinery/image_slideshows/image_slideshow.rb
55
+ - app/views/refinery/image_slideshows/admin/image_slideshows/_actions.html.erb
56
+ - app/views/refinery/image_slideshows/admin/image_slideshows/_form.html.erb
57
+ - app/views/refinery/image_slideshows/admin/image_slideshows/_image_slideshow.html.erb
58
+ - app/views/refinery/image_slideshows/admin/image_slideshows/_image_slideshows.html.erb
59
+ - app/views/refinery/image_slideshows/admin/image_slideshows/_records.html.erb
60
+ - app/views/refinery/image_slideshows/admin/image_slideshows/_sortable_list.html.erb
61
+ - app/views/refinery/image_slideshows/admin/image_slideshows/edit.html.erb
62
+ - app/views/refinery/image_slideshows/admin/image_slideshows/index.html.erb
63
+ - app/views/refinery/image_slideshows/admin/image_slideshows/new.html.erb
64
+ - app/views/refinery/image_slideshows/image_slideshows/index.html.erb
65
+ - app/views/refinery/image_slideshows/image_slideshows/show.html.erb
66
+ - config/locales/en.yml
67
+ - config/locales/es.yml
68
+ - config/locales/fr.yml
69
+ - config/locales/nb.yml
70
+ - config/locales/nl.yml
71
+ - config/locales/sk.yml
72
+ - config/locales/zh-CN.yml
73
+ - config/routes.rb
74
+ - db/migrate/1_create_image_slideshows_image_slideshows.rb
75
+ - db/seeds.rb
76
+ - lib/generators/refinery/image_slideshows_generator.rb
77
+ - lib/refinery/image_slideshows/engine.rb
78
+ - lib/refinery/image_slideshows.rb
79
+ - lib/refinerycms-image_slideshows.rb
80
+ - lib/tasks/refinery/image_slideshows.rake
81
+ - readme.md
82
+ homepage:
83
+ licenses: []
84
+ post_install_message:
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ requirements: []
101
+ rubyforge_project:
102
+ rubygems_version: 1.8.24
103
+ signing_key:
104
+ specification_version: 3
105
+ summary: Image Slideshows extension for Refinery CMS
106
+ test_files: []