fancybox2-rails 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/lib/fancybox2-rails.rb +1 -1
- data/lib/fancybox2/rails/version.rb +1 -1
- data/vendor/assets/images/blank.gif +0 -0
- data/vendor/assets/images/fancybox_buttons.png +0 -0
- data/vendor/assets/images/fancybox_loading.gif +0 -0
- data/vendor/assets/images/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/images/fancybox_overlay.png +0 -0
- data/vendor/assets/images/fancybox_sprite.png +0 -0
- data/vendor/assets/images/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/javascripts/jquery.fancybox-buttons.js +4 -3
- data/vendor/assets/javascripts/jquery.fancybox-media.js +14 -11
- data/vendor/assets/javascripts/jquery.fancybox-thumbs.js +0 -0
- data/vendor/assets/javascripts/jquery.fancybox.js +74 -37
- data/vendor/assets/stylesheets/jquery.fancybox-buttons.css.erb +2 -1
- data/vendor/assets/stylesheets/jquery.fancybox-thumbs.css +1 -0
- data/vendor/assets/stylesheets/jquery.fancybox.css.erb +31 -6
- metadata +65 -24
data/README.md
CHANGED
@@ -3,18 +3,18 @@ fancybox2-rails
|
|
3
3
|
[![Build Status](https://travis-ci.org/kyparn/fancybox2-rails.png)](https://travis-ci.org/kyparn/fancybox2-rails)
|
4
4
|
|
5
5
|
|
6
|
-
Use [fancybox](http://www.fancyapps.com/fancybox/) with rails 3.1 asset pipeline.
|
6
|
+
Use [fancybox](http://www.fancyapps.com/fancybox/) with rails 3.1/4 asset pipeline.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
10
|
-
This gem vendors jquery fancybox 2 for Rails 3.1 and greater. The files
|
10
|
+
This gem vendors jquery fancybox 2 for Rails 3.1/4 and greater. The files
|
11
11
|
will be added to the asset pipeline and available for you to use.
|
12
12
|
|
13
13
|
First add the following lines to your applications `Gemfile`:
|
14
14
|
|
15
15
|
``` ruby
|
16
16
|
gem 'jquery-rails'
|
17
|
-
gem 'fancybox2-rails', '~> 0.2.
|
17
|
+
gem 'fancybox2-rails', '~> 0.2.4'
|
18
18
|
```
|
19
19
|
|
20
20
|
Then run `bundle install` to update your application's bundle.
|
@@ -38,7 +38,7 @@ look something like:
|
|
38
38
|
*/
|
39
39
|
```
|
40
40
|
|
41
|
-
|
41
|
+
You'll need to restart your Rails server and that's it!
|
42
42
|
|
43
43
|
## Usage
|
44
44
|
|
data/lib/fancybox2-rails.rb
CHANGED
File without changes
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
@@ -22,7 +22,7 @@
|
|
22
22
|
defaults : {
|
23
23
|
skipSingle : false, // disables if gallery contains single image
|
24
24
|
position : 'top', // 'top' or 'bottom'
|
25
|
-
tpl : '<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript
|
25
|
+
tpl : '<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript:;"></a></li></ul></div>'
|
26
26
|
},
|
27
27
|
|
28
28
|
list : null,
|
@@ -64,7 +64,8 @@
|
|
64
64
|
prev : this.list.find('.btnPrev').click( F.prev ),
|
65
65
|
next : this.list.find('.btnNext').click( F.next ),
|
66
66
|
play : this.list.find('.btnPlay').click( F.play ),
|
67
|
-
toggle : this.list.find('.btnToggle').click( F.toggle )
|
67
|
+
toggle : this.list.find('.btnToggle').click( F.toggle ),
|
68
|
+
close : this.list.find('.btnClose').click( F.close )
|
68
69
|
}
|
69
70
|
}
|
70
71
|
|
@@ -118,4 +119,4 @@
|
|
118
119
|
}
|
119
120
|
};
|
120
121
|
|
121
|
-
}(jQuery));
|
122
|
+
}(jQuery));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* Media helper for fancyBox
|
3
|
-
* version: 1.0.
|
3
|
+
* version: 1.0.6 (Fri, 14 Jun 2013)
|
4
4
|
* @requires fancyBox v2.0 or later
|
5
5
|
*
|
6
6
|
* Usage:
|
@@ -25,7 +25,7 @@
|
|
25
25
|
*
|
26
26
|
* Or:
|
27
27
|
* $(".fancybox").fancybox({,
|
28
|
-
*
|
28
|
+
* helpers : {
|
29
29
|
* media: true
|
30
30
|
* },
|
31
31
|
* youtube : {
|
@@ -39,6 +39,7 @@
|
|
39
39
|
* http://www.youtube.com/watch?v=opj24KnzrWo
|
40
40
|
* http://www.youtube.com/embed/opj24KnzrWo
|
41
41
|
* http://youtu.be/opj24KnzrWo
|
42
|
+
* http://www.youtube-nocookie.com/embed/opj24KnzrWo
|
42
43
|
* Vimeo
|
43
44
|
* http://vimeo.com/40648169
|
44
45
|
* http://vimeo.com/channels/staffpicks/38843628
|
@@ -88,7 +89,7 @@
|
|
88
89
|
F.helpers.media = {
|
89
90
|
defaults : {
|
90
91
|
youtube : {
|
91
|
-
matcher : /(youtube\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
|
92
|
+
matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
|
92
93
|
params : {
|
93
94
|
autoplay : 1,
|
94
95
|
autohide : 1,
|
@@ -151,7 +152,7 @@
|
|
151
152
|
instagram : {
|
152
153
|
matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
|
153
154
|
type : 'image',
|
154
|
-
url : '//$1/p/$2/media
|
155
|
+
url : '//$1/p/$2/media/?size=l'
|
155
156
|
},
|
156
157
|
google_maps : {
|
157
158
|
matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
|
@@ -171,16 +172,18 @@
|
|
171
172
|
params;
|
172
173
|
|
173
174
|
for (what in opts) {
|
174
|
-
|
175
|
-
|
175
|
+
if (opts.hasOwnProperty(what)) {
|
176
|
+
item = opts[ what ];
|
177
|
+
rez = url.match( item.matcher );
|
176
178
|
|
177
|
-
|
178
|
-
|
179
|
-
|
179
|
+
if (rez) {
|
180
|
+
type = item.type;
|
181
|
+
params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null));
|
180
182
|
|
181
|
-
|
183
|
+
url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params );
|
182
184
|
|
183
|
-
|
185
|
+
break;
|
186
|
+
}
|
184
187
|
}
|
185
188
|
}
|
186
189
|
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* fancyBox - jQuery Plugin
|
3
|
-
* version: 2.1.
|
3
|
+
* version: 2.1.5 (Fri, 14 Jun 2013)
|
4
4
|
* @requires jQuery v1.6 or later
|
5
5
|
*
|
6
6
|
* Examples at http://fancyapps.com/fancybox/
|
@@ -13,14 +13,15 @@
|
|
13
13
|
(function (window, document, $, undefined) {
|
14
14
|
"use strict";
|
15
15
|
|
16
|
-
var
|
16
|
+
var H = $("html"),
|
17
|
+
W = $(window),
|
17
18
|
D = $(document),
|
18
19
|
F = $.fancybox = function () {
|
19
20
|
F.open.apply( this, arguments );
|
20
21
|
},
|
21
22
|
IE = navigator.userAgent.match(/msie/i),
|
22
|
-
didUpdate
|
23
|
-
isTouch
|
23
|
+
didUpdate = null,
|
24
|
+
isTouch = document.createTouch !== undefined,
|
24
25
|
|
25
26
|
isQuery = function(obj) {
|
26
27
|
return obj && obj.hasOwnProperty && obj instanceof $;
|
@@ -49,7 +50,7 @@
|
|
49
50
|
|
50
51
|
$.extend(F, {
|
51
52
|
// The current version of fancyBox
|
52
|
-
version: '2.1.
|
53
|
+
version: '2.1.5',
|
53
54
|
|
54
55
|
defaults: {
|
55
56
|
padding : 15,
|
@@ -61,6 +62,7 @@
|
|
61
62
|
minHeight : 100,
|
62
63
|
maxWidth : 9999,
|
63
64
|
maxHeight : 9999,
|
65
|
+
pixelRatio: 1, // Set to 2 for retina display support
|
64
66
|
|
65
67
|
autoSize : true,
|
66
68
|
autoHeight : false,
|
@@ -754,9 +756,7 @@
|
|
754
756
|
if (obj.helpers) {
|
755
757
|
$.each(obj.helpers, function (helper, opts) {
|
756
758
|
if (opts && F.helpers[helper] && $.isFunction(F.helpers[helper][event])) {
|
757
|
-
|
758
|
-
|
759
|
-
F.helpers[helper][event](opts, obj);
|
759
|
+
F.helpers[helper][event]($.extend(true, {}, F.helpers[helper].defaults, opts), obj);
|
760
760
|
}
|
761
761
|
});
|
762
762
|
}
|
@@ -765,7 +765,7 @@
|
|
765
765
|
},
|
766
766
|
|
767
767
|
isImage: function (str) {
|
768
|
-
return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$)/i);
|
768
|
+
return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i);
|
769
769
|
},
|
770
770
|
|
771
771
|
isSWF: function (str) {
|
@@ -942,8 +942,8 @@
|
|
942
942
|
img.onload = function () {
|
943
943
|
this.onload = this.onerror = null;
|
944
944
|
|
945
|
-
F.coming.width = this.width;
|
946
|
-
F.coming.height = this.height;
|
945
|
+
F.coming.width = this.width / F.opts.pixelRatio;
|
946
|
+
F.coming.height = this.height / F.opts.pixelRatio;
|
947
947
|
|
948
948
|
F._afterLoad();
|
949
949
|
};
|
@@ -1228,7 +1228,7 @@
|
|
1228
1228
|
body.css('overflow-x', 'hidden');
|
1229
1229
|
}
|
1230
1230
|
|
1231
|
-
origHeight = body.
|
1231
|
+
origHeight = body.outerHeight(true);
|
1232
1232
|
}
|
1233
1233
|
|
1234
1234
|
} catch (e) {}
|
@@ -1689,16 +1689,17 @@
|
|
1689
1689
|
|
1690
1690
|
F.helpers.overlay = {
|
1691
1691
|
defaults : {
|
1692
|
-
closeClick : true,
|
1693
|
-
speedOut : 200,
|
1694
|
-
showEarly : true,
|
1695
|
-
css : {},
|
1692
|
+
closeClick : true, // if true, fancyBox will be closed when user clicks on the overlay
|
1693
|
+
speedOut : 200, // duration of fadeOut animation
|
1694
|
+
showEarly : true, // indicates if should be opened immediately or wait until the content is ready
|
1695
|
+
css : {}, // custom CSS properties
|
1696
1696
|
locked : !isTouch, // if true, the content will be locked into overlay
|
1697
|
-
fixed : true
|
1697
|
+
fixed : true // if false, the overlay CSS position property will not be set to "fixed"
|
1698
1698
|
},
|
1699
1699
|
|
1700
|
-
overlay : null,
|
1701
|
-
fixed : false,
|
1700
|
+
overlay : null, // current handle
|
1701
|
+
fixed : false, // indicates if the overlay has position "fixed"
|
1702
|
+
el : $('html'), // element that contains "the lock"
|
1702
1703
|
|
1703
1704
|
// Public methods
|
1704
1705
|
create : function(opts) {
|
@@ -1708,7 +1709,7 @@
|
|
1708
1709
|
this.close();
|
1709
1710
|
}
|
1710
1711
|
|
1711
|
-
this.overlay = $('<div class="fancybox-overlay"></div>').appendTo(
|
1712
|
+
this.overlay = $('<div class="fancybox-overlay"></div>').appendTo( F.coming ? F.coming.parent : opts.parent );
|
1712
1713
|
this.fixed = false;
|
1713
1714
|
|
1714
1715
|
if (opts.fixed && F.defaults.fixed) {
|
@@ -1744,6 +1745,8 @@
|
|
1744
1745
|
} else {
|
1745
1746
|
that.close();
|
1746
1747
|
}
|
1748
|
+
|
1749
|
+
return false;
|
1747
1750
|
}
|
1748
1751
|
});
|
1749
1752
|
}
|
@@ -1752,21 +1755,27 @@
|
|
1752
1755
|
},
|
1753
1756
|
|
1754
1757
|
close : function() {
|
1755
|
-
|
1758
|
+
var scrollV, scrollH;
|
1756
1759
|
|
1757
1760
|
W.unbind('resize.overlay');
|
1758
1761
|
|
1759
|
-
this.
|
1762
|
+
if (this.el.hasClass('fancybox-lock')) {
|
1763
|
+
$('.fancybox-margin').removeClass('fancybox-margin');
|
1760
1764
|
|
1761
|
-
|
1762
|
-
|
1765
|
+
scrollV = W.scrollTop();
|
1766
|
+
scrollH = W.scrollLeft();
|
1763
1767
|
|
1764
|
-
this.margin = false;
|
1765
|
-
}
|
1766
|
-
|
1767
|
-
if (this.el) {
|
1768
1768
|
this.el.removeClass('fancybox-lock');
|
1769
|
+
|
1770
|
+
W.scrollTop( scrollV ).scrollLeft( scrollH );
|
1769
1771
|
}
|
1772
|
+
|
1773
|
+
$('.fancybox-overlay').remove().hide();
|
1774
|
+
|
1775
|
+
$.extend(this, {
|
1776
|
+
overlay : null,
|
1777
|
+
fixed : false
|
1778
|
+
});
|
1770
1779
|
},
|
1771
1780
|
|
1772
1781
|
// Private, callbacks
|
@@ -1794,16 +1803,19 @@
|
|
1794
1803
|
|
1795
1804
|
// This is where we can manipulate DOM, because later it would cause iframes to reload
|
1796
1805
|
onReady : function (opts, obj) {
|
1797
|
-
|
1806
|
+
var overlay = this.overlay;
|
1798
1807
|
|
1799
|
-
|
1800
|
-
this.margin = D.height() > W.height() || $('body').css('overflow-y') === 'scroll' ? $('body').css('margin-right') : false;
|
1801
|
-
this.el = document.all && !document.querySelector ? $('html') : $('body');
|
1808
|
+
$('.fancybox-overlay').stop(true, true);
|
1802
1809
|
|
1810
|
+
if (!overlay) {
|
1803
1811
|
this.create(opts);
|
1804
1812
|
}
|
1805
1813
|
|
1806
|
-
if (opts.locked && this.fixed) {
|
1814
|
+
if (opts.locked && this.fixed && obj.fixed) {
|
1815
|
+
if (!overlay) {
|
1816
|
+
this.margin = D.height() > W.height() ? $('html').css('margin-right').replace("px", "") : false;
|
1817
|
+
}
|
1818
|
+
|
1807
1819
|
obj.locked = this.overlay.append( obj.wrap );
|
1808
1820
|
obj.fixed = false;
|
1809
1821
|
}
|
@@ -1814,12 +1826,23 @@
|
|
1814
1826
|
},
|
1815
1827
|
|
1816
1828
|
beforeShow : function(opts, obj) {
|
1817
|
-
|
1818
|
-
this.el.addClass('fancybox-lock');
|
1829
|
+
var scrollV, scrollH;
|
1819
1830
|
|
1831
|
+
if (obj.locked) {
|
1820
1832
|
if (this.margin !== false) {
|
1821
|
-
$('
|
1833
|
+
$('*').filter(function(){
|
1834
|
+
return ($(this).css('position') === 'fixed' && !$(this).hasClass("fancybox-overlay") && !$(this).hasClass("fancybox-wrap") );
|
1835
|
+
}).addClass('fancybox-margin');
|
1836
|
+
|
1837
|
+
this.el.addClass('fancybox-margin');
|
1822
1838
|
}
|
1839
|
+
|
1840
|
+
scrollV = W.scrollTop();
|
1841
|
+
scrollH = W.scrollLeft();
|
1842
|
+
|
1843
|
+
this.el.addClass('fancybox-lock');
|
1844
|
+
|
1845
|
+
W.scrollTop( scrollV ).scrollLeft( scrollH );
|
1823
1846
|
}
|
1824
1847
|
|
1825
1848
|
this.open(opts);
|
@@ -1834,7 +1857,8 @@
|
|
1834
1857
|
afterClose: function (opts) {
|
1835
1858
|
// Remove overlay if exists and fancyBox is not opening
|
1836
1859
|
// (e.g., it is not being open using afterClose callback)
|
1837
|
-
if (this.overlay && !F.isActive) {
|
1860
|
+
//if (this.overlay && !F.isActive) {
|
1861
|
+
if (this.overlay && !F.coming) {
|
1838
1862
|
this.overlay.fadeOut(opts.speedOut, $.proxy( this.close, this ));
|
1839
1863
|
}
|
1840
1864
|
}
|
@@ -1949,6 +1973,8 @@
|
|
1949
1973
|
|
1950
1974
|
// Tests that need a body at doc ready
|
1951
1975
|
D.ready(function() {
|
1976
|
+
var w1, w2;
|
1977
|
+
|
1952
1978
|
if ( $.scrollbarWidth === undefined ) {
|
1953
1979
|
// http://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth
|
1954
1980
|
$.scrollbarWidth = function() {
|
@@ -1978,6 +2004,17 @@
|
|
1978
2004
|
fixed : $.support.fixedPosition,
|
1979
2005
|
parent : $('body')
|
1980
2006
|
});
|
2007
|
+
|
2008
|
+
//Get real width of page scroll-bar
|
2009
|
+
w1 = $(window).width();
|
2010
|
+
|
2011
|
+
H.addClass('fancybox-lock-test');
|
2012
|
+
|
2013
|
+
w2 = $(window).width();
|
2014
|
+
|
2015
|
+
H.removeClass('fancybox-lock-test');
|
2016
|
+
|
2017
|
+
$("<style type='text/css'>.fancybox-margin{margin-right:" + (w2 - w1) + "px;}</style>").appendTo("head");
|
1981
2018
|
});
|
1982
2019
|
|
1983
2020
|
}(window, document, jQuery));
|
@@ -46,7 +46,8 @@
|
|
46
46
|
width: 30px;
|
47
47
|
height: 30px;
|
48
48
|
text-indent: -9999px;
|
49
|
-
background-
|
49
|
+
background-color: transparent;
|
50
|
+
background-image: url('fancybox_buttons.png');
|
50
51
|
background-repeat: no-repeat;
|
51
52
|
outline: none;
|
52
53
|
opacity: 0.8;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! fancyBox v2.1.
|
1
|
+
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
|
2
2
|
.fancybox-wrap,
|
3
3
|
.fancybox-skin,
|
4
4
|
.fancybox-outer,
|
@@ -76,7 +76,7 @@
|
|
76
76
|
}
|
77
77
|
|
78
78
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
79
|
-
background-image: url(
|
79
|
+
background-image: url('fancybox_sprite.png');
|
80
80
|
}
|
81
81
|
|
82
82
|
#fancybox-loading {
|
@@ -94,7 +94,7 @@
|
|
94
94
|
#fancybox-loading div {
|
95
95
|
width: 44px;
|
96
96
|
height: 44px;
|
97
|
-
background: url(
|
97
|
+
background: url('fancybox_loading.gif') center center no-repeat;
|
98
98
|
}
|
99
99
|
|
100
100
|
.fancybox-close {
|
@@ -114,7 +114,7 @@
|
|
114
114
|
height: 100%;
|
115
115
|
cursor: pointer;
|
116
116
|
text-decoration: none;
|
117
|
-
background: transparent url(
|
117
|
+
background: transparent url('blank.gif'); /* helps IE */
|
118
118
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
119
119
|
z-index: 8040;
|
120
120
|
}
|
@@ -165,7 +165,16 @@
|
|
165
165
|
/* Overlay helper */
|
166
166
|
|
167
167
|
.fancybox-lock {
|
168
|
-
|
168
|
+
overflow: hidden !important;
|
169
|
+
width: auto;
|
170
|
+
}
|
171
|
+
|
172
|
+
.fancybox-lock body {
|
173
|
+
overflow: hidden !important;
|
174
|
+
}
|
175
|
+
|
176
|
+
.fancybox-lock-test {
|
177
|
+
overflow-y: hidden !important;
|
169
178
|
}
|
170
179
|
|
171
180
|
.fancybox-overlay {
|
@@ -175,7 +184,7 @@
|
|
175
184
|
overflow: hidden;
|
176
185
|
display: none;
|
177
186
|
z-index: 8010;
|
178
|
-
background: url(
|
187
|
+
background: url('fancybox_overlay.png');
|
179
188
|
}
|
180
189
|
|
181
190
|
.fancybox-overlay-fixed {
|
@@ -247,3 +256,19 @@
|
|
247
256
|
background: #000;
|
248
257
|
background: rgba(0, 0, 0, .8);
|
249
258
|
}
|
259
|
+
|
260
|
+
/*Retina graphics!*/
|
261
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
262
|
+
only screen and (min--moz-device-pixel-ratio: 1.5),
|
263
|
+
only screen and (min-device-pixel-ratio: 1.5){
|
264
|
+
|
265
|
+
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
266
|
+
background-image: url('fancybox_sprite@2x.png');
|
267
|
+
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
|
268
|
+
}
|
269
|
+
|
270
|
+
#fancybox-loading div {
|
271
|
+
background-image: url('fancybox_loading@2x.gif');
|
272
|
+
background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
|
273
|
+
}
|
274
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fancybox2-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,21 +21,31 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.1.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rails
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
|
-
- -
|
35
|
+
- - ! '>='
|
31
36
|
- !ruby/object:Gem::Version
|
32
37
|
version: '3.1'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.1'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: jquery-rails
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: coffee-rails
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: sqlite3
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: nokogiri
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ! '>='
|
@@ -76,10 +101,15 @@ dependencies:
|
|
76
101
|
version: '0'
|
77
102
|
type: :development
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: capybara
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
115
|
- - ! '>='
|
@@ -87,10 +117,15 @@ dependencies:
|
|
87
117
|
version: '0'
|
88
118
|
type: :development
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
91
126
|
- !ruby/object:Gem::Dependency
|
92
127
|
name: capybara-webkit
|
93
|
-
requirement:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
94
129
|
none: false
|
95
130
|
requirements:
|
96
131
|
- - ! '>='
|
@@ -98,9 +133,14 @@ dependencies:
|
|
98
133
|
version: '0'
|
99
134
|
type: :development
|
100
135
|
prerelease: false
|
101
|
-
version_requirements:
|
102
|
-
|
103
|
-
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
description: This gem provides jQuery FancyBox 2 for your Rails 3.1/4.0 application.
|
143
|
+
This gem is based on the gem for Fancybox 1.x by Chris Mytton
|
104
144
|
email:
|
105
145
|
- mattias@kyparn.se
|
106
146
|
executables: []
|
@@ -114,8 +154,10 @@ files:
|
|
114
154
|
- vendor/assets/images/blank.gif
|
115
155
|
- vendor/assets/images/fancybox_buttons.png
|
116
156
|
- vendor/assets/images/fancybox_loading.gif
|
157
|
+
- vendor/assets/images/fancybox_loading@2x.gif
|
117
158
|
- vendor/assets/images/fancybox_overlay.png
|
118
159
|
- vendor/assets/images/fancybox_sprite.png
|
160
|
+
- vendor/assets/images/fancybox_sprite@2x.png
|
119
161
|
- vendor/assets/javascripts/fancybox.js
|
120
162
|
- vendor/assets/javascripts/jquery.fancybox-buttons.js
|
121
163
|
- vendor/assets/javascripts/jquery.fancybox-media.js
|
@@ -149,9 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
191
|
version: '0'
|
150
192
|
requirements: []
|
151
193
|
rubyforge_project:
|
152
|
-
rubygems_version: 1.8.
|
194
|
+
rubygems_version: 1.8.23
|
153
195
|
signing_key:
|
154
196
|
specification_version: 3
|
155
|
-
summary: Use FancyBox 2 with Rails 3.1
|
197
|
+
summary: Use FancyBox 2 with Rails 3.1/4.0
|
156
198
|
test_files: []
|
157
|
-
has_rdoc:
|