refinerycms-jquery_gallery 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- - unless page.images.empty?
1
+ - if page && !page.images.empty?
2
2
  #page_images
3
3
  %ul#gallery
4
4
  - page.images.each do |image|
data/readme.md CHANGED
@@ -21,12 +21,17 @@ _content_page partial:
21
21
 
22
22
  Simply install the gem. There is no generator or migrations.
23
23
 
24
+ Add the javascript to your application.js
25
+
26
+ ```javascript
27
+ //= require refinerycms_jquery_gallery
28
+ ```
29
+
24
30
  You probably want to add a reference to the stylesheet "refinerycms_jquery_gallery" in your application.css.
25
31
 
26
32
  ## How to build this extension as a gem
27
33
 
28
34
  gem build refinerycms-jquery_gallery.gemspec
29
- gem install refinerycms-jquery_gallery.gem
30
35
 
31
36
  # Sign up for a http://rubygems.org/ account and publish the gem
32
37
  gem push refinerycms-jquery_gallery.gem
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-jquery_gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: refinerycms-core
16
- requirement: &70107380546340 !ruby/object:Gem::Requirement
16
+ requirement: &70149344544580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.0.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70107380546340
24
+ version_requirements: *70149344544580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: refinerycms-testing
27
- requirement: &70107380544860 !ruby/object:Gem::Requirement
27
+ requirement: &70149344554960 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 2.0.5
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70107380544860
35
+ version_requirements: *70149344554960
36
36
  description: Ruby on Rails Jquery Gallery extension for Refinery CMS
37
37
  email:
38
38
  - craig@craigambrose.com