mix-rails-albums 0.10.4 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
  %a.link-popover{"data-content" => "<i class=icon-edit></i> Edit"}
5
5
  .loading-file
6
6
  - if @image.url
7
- %a.colorbox{href: ROOT_PATH + @image.medium.url}
7
+ %a.fancybox{href: ROOT_PATH + @image.medium.url, rel: 'photo-album'}
8
8
  %img{src: ROOT_PATH + @image.thumb.url}
9
9
  - else
10
10
  %img{src: "http://placehold.it/130x90&text=Carregando"}
@@ -1,15 +1,6 @@
1
- - content_for :stylesheets do
2
- = stylesheet_link_tag 'colorbox/colorbox'
3
1
  - content_for :javascripts do
4
2
  = javascript_include_tag 'admix/photos'
5
- = javascript_include_tag 'jquery.livequery'
6
- = javascript_include_tag 'colorbox/jquery.colorbox-min'
7
- :coffeescript
8
- $ ->
9
- $('.colorbox').livequery ->
10
- $(@).colorbox();
11
-
12
-
3
+
13
4
  %h3 Upload de fotos
14
5
  #upload-buttons{:style => "padding: 20px;"}
15
6
  %div{:style => "display:none;"}
data/config/routes.rb CHANGED
@@ -4,7 +4,7 @@ Rails.application.routes.draw do
4
4
  resources :albums
5
5
  end
6
6
 
7
- namespace :admix do
7
+ scope Admix::namespace_path, as: :admix, module: :admix do
8
8
  resources :albums do
9
9
  resources :photos
10
10
  end
@@ -1,8 +1,8 @@
1
1
  module MixRailsAlbums
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 10
5
- TINY = 4
4
+ MINOR = 11
5
+ TINY = 0
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mix-rails-albums
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.11.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-22 00:00:00.000000000 Z
12
+ date: 2013-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -203,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  segments:
205
205
  - 0
206
- hash: -3436713345082906809
206
+ hash: 1970267343070544082
207
207
  required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  none: false
209
209
  requirements:
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  segments:
214
214
  - 0
215
- hash: -3436713345082906809
215
+ hash: 1970267343070544082
216
216
  requirements: []
217
217
  rubyforge_project:
218
218
  rubygems_version: 1.8.24