imagine-basic_list_view 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ %h2= @album.name
2
+ %h3 Basic List View
3
+
4
+ .images
5
+ - @album.images.each do |image|
6
+ = render :partial => 'imagine/images/basic_list_view/image', :object => image
7
+
8
+ = link_to "New Image", new_album_image_path(@album)
@@ -0,0 +1 @@
1
+ = image_tag image.file.url
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{imagine-basic_list_view}
5
- s.version = %q{0.1.3}
5
+ s.version = %q{0.1.4}
6
6
  s.summary = %q{Basic list view for Imagine}
7
7
  s.description = %q{The default album view for Imagine. Just lists images one after another}
8
8
  s.date = %q{2011-08-28}
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = %w(lib)
15
15
  s.executables = %w()
16
16
 
17
- s.files = [
17
+ s.files = Dir["app/**/*"] + [
18
18
  'imagine-basic_list_view.gemspec',
19
19
  'lib/imagine-basic_list_view.rb'
20
- ]
20
+ ]
21
21
  end
@@ -2,6 +2,7 @@ module Imagine
2
2
  module BasicListView
3
3
  class Engine < ::Rails::Engine
4
4
  isolate_namespace ::Imagine
5
+ engine_name 'imagine_basic_list_view'
5
6
 
6
7
  config.after_initialize do |app|
7
8
  ::Imagine::Plugin.register do |plugin|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagine-basic_list_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,6 +17,8 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - app/views/imagine/images/basic_list_view/_image.html.haml
21
+ - app/views/imagine/albums/basic_list_view/show.html.haml
20
22
  - imagine-basic_list_view.gemspec
21
23
  - lib/imagine-basic_list_view.rb
22
24
  homepage: http://github.com/knewter/imagine