colorbox-rails 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,8 @@
|
|
8
8
|
//= require jquery_ujs
|
9
9
|
//= require_tree .
|
10
10
|
|
11
|
+
(function($){
|
12
|
+
|
11
13
|
$(document).ready(function() {
|
12
14
|
$('a[data-colorbox="true"]').live('click', function(e) {
|
13
15
|
e.preventDefault();
|
@@ -17,8 +19,13 @@ $(document).ready(function() {
|
|
17
19
|
height: $(this).data("colorbox-height") || false,
|
18
20
|
width: $(this).data("colorbox-width") || false,
|
19
21
|
iframe: $(this).data("colorbox-iframe") || false,
|
22
|
+
photo: $(this).data("colorbox-photo") || false,
|
23
|
+
innerHeight: $(this).data("colorbox-innerheight") || false,
|
24
|
+
innerWidth: $(this).data("colorbox-innerwidth") || false,
|
20
25
|
href: $(this).attr('href'),
|
21
26
|
opacity: 0.5
|
22
27
|
});
|
23
28
|
});
|
24
|
-
});
|
29
|
+
});
|
30
|
+
|
31
|
+
}) (jQuery);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// ColorBox v1.3.
|
2
|
-
//
|
3
|
-
//
|
4
|
-
(function(a,b,c){function
|
1
|
+
// ColorBox v1.3.19.3 - jQuery lightbox plugin
|
2
|
+
// (c) 2011 Jack Moore - jacklmoore.com
|
3
|
+
// License: http://www.opensource.org/licenses/mit-license.php
|
4
|
+
(function(a,b,c){function Z(c,d,e){var g=b.createElement(c);return d&&(g.id=f+d),e&&(g.style.cssText=e),a(g)}function $(a){var b=y.length,c=(Q+a)%b;return c<0?b+c:c}function _(a,b){return Math.round((/%/.test(a)?(b==="x"?z.width():z.height())/100:1)*parseInt(a,10))}function ab(a){return K.photo||/\.(gif|png|jpe?g|bmp|ico)((#|\?).*)?$/i.test(a)}function bb(){var b,c=a.data(P,e);c==null?(K=a.extend({},d),console&&console.log&&console.log("Error: cboxElement missing settings object")):K=a.extend({},c);for(b in K)a.isFunction(K[b])&&b.slice(0,2)!=="on"&&(K[b]=K[b].call(P));K.rel=K.rel||P.rel||"nofollow",K.href=K.href||a(P).attr("href"),K.title=K.title||P.title,typeof K.href=="string"&&(K.href=a.trim(K.href))}function cb(b,c){a.event.trigger(b),c&&c.call(P)}function db(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;K.slideshow&&y[1]?(d=function(){F.text(K.slideshowStop).unbind(c).bind(j,function(){if(K.loop||y[Q+1])a=setTimeout(W.next,K.slideshowSpeed)}).bind(i,function(){clearTimeout(a)}).one(c+" "+k,e),r.removeClass(b+"off").addClass(b+"on"),a=setTimeout(W.next,K.slideshowSpeed)},e=function(){clearTimeout(a),F.text(K.slideshowStart).unbind([j,i,k,c].join(" ")).one(c,function(){W.next(),d()}),r.removeClass(b+"on").addClass(b+"off")},K.slideshowAuto?d():e()):r.removeClass(b+"off "+b+"on")}function eb(b){U||(P=b,bb(),y=a(P),Q=0,K.rel!=="nofollow"&&(y=a("."+g).filter(function(){var b=a.data(this,e),c;return b&&(c=b.rel||this.rel),c===K.rel}),Q=y.index(P),Q===-1&&(y=y.add(P),Q=y.length-1)),S||(S=T=!0,r.show(),K.returnFocus&&a(P).blur().one(l,function(){a(this).focus()}),q.css({opacity:+K.opacity,cursor:K.overlayClose?"pointer":"auto"}).show(),K.w=_(K.initialWidth,"x"),K.h=_(K.initialHeight,"y"),W.position(),o&&z.bind("resize."+p+" scroll."+p,function(){q.css({width:z.width(),height:z.height(),top:z.scrollTop(),left:z.scrollLeft()})}).trigger("resize."+p),cb(h,K.onOpen),J.add(D).hide(),I.html(K.close).show()),W.load(!0))}function fb(){!r&&b.body&&(Y=!1,z=a(c),r=Z(X).attr({id:e,"class":n?f+(o?"IE6":"IE"):""}).hide(),q=Z(X,"Overlay",o?"position:absolute":"").hide(),s=Z(X,"Wrapper"),t=Z(X,"Content").append(A=Z(X,"LoadedContent","width:0; height:0; overflow:hidden"),C=Z(X,"LoadingOverlay").add(Z(X,"LoadingGraphic")),D=Z(X,"Title"),E=Z(X,"Current"),G=Z(X,"Next"),H=Z(X,"Previous"),F=Z(X,"Slideshow").bind(h,db),I=Z(X,"Close")),s.append(Z(X).append(Z(X,"TopLeft"),u=Z(X,"TopCenter"),Z(X,"TopRight")),Z(X,!1,"clear:left").append(v=Z(X,"MiddleLeft"),t,w=Z(X,"MiddleRight")),Z(X,!1,"clear:left").append(Z(X,"BottomLeft"),x=Z(X,"BottomCenter"),Z(X,"BottomRight"))).find("div div").css({"float":"left"}),B=Z(X,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),J=G.add(H).add(E).add(F),a(b.body).append(q,r.append(s,B)))}function gb(){return r?(Y||(Y=!0,L=u.height()+x.height()+t.outerHeight(!0)-t.height(),M=v.width()+w.width()+t.outerWidth(!0)-t.width(),N=A.outerHeight(!0),O=A.outerWidth(!0),r.css({"padding-bottom":L,"padding-right":M}),G.click(function(){W.next()}),H.click(function(){W.prev()}),I.click(function(){W.close()}),q.click(function(){K.overlayClose&&W.close()}),a(b).bind("keydown."+f,function(a){var b=a.keyCode;S&&K.escKey&&b===27&&(a.preventDefault(),W.close()),S&&K.arrowKey&&y[1]&&(b===37?(a.preventDefault(),H.click()):b===39&&(a.preventDefault(),G.click()))}),a("."+g,b).live("click",function(a){a.which>1||a.shiftKey||a.altKey||a.metaKey||(a.preventDefault(),eb(this))})),!0):!1}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},e="colorbox",f="cbox",g=f+"Element",h=f+"_open",i=f+"_load",j=f+"_complete",k=f+"_cleanup",l=f+"_closed",m=f+"_purge",n=!a.support.opacity&&!a.support.style,o=n&&!c.XMLHttpRequest,p=f+"_IE6",q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X="div",Y;if(a.colorbox)return;a(fb),W=a.fn[e]=a[e]=function(b,c){var f=this;b=b||{},fb();if(gb()){if(!f[0]){if(f.selector)return f;f=a("<a/>"),b.open=!0}c&&(b.onComplete=c),f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b))}).addClass(g),(a.isFunction(b.open)&&b.open.call(f)||b.open)&&eb(f[0])}return f},W.position=function(a,b){function i(a){u[0].style.width=x[0].style.width=t[0].style.width=a.style.width,t[0].style.height=v[0].style.height=w[0].style.height=a.style.height}var c=0,d=0,e=r.offset(),g,h;z.unbind("resize."+f),r.css({top:-9e4,left:-9e4}),g=z.scrollTop(),h=z.scrollLeft(),K.fixed&&!o?(e.top-=g,e.left-=h,r.css({position:"fixed"})):(c=g,d=h,r.css({position:"absolute"})),K.right!==!1?d+=Math.max(z.width()-K.w-O-M-_(K.right,"x"),0):K.left!==!1?d+=_(K.left,"x"):d+=Math.round(Math.max(z.width()-K.w-O-M,0)/2),K.bottom!==!1?c+=Math.max(z.height()-K.h-N-L-_(K.bottom,"y"),0):K.top!==!1?c+=_(K.top,"y"):c+=Math.round(Math.max(z.height()-K.h-N-L,0)/2),r.css({top:e.top,left:e.left}),a=r.width()===K.w+O&&r.height()===K.h+N?0:a||0,s[0].style.width=s[0].style.height="9999px",r.dequeue().animate({width:K.w+O,height:K.h+N,top:c,left:d},{duration:a,complete:function(){i(this),T=!1,s[0].style.width=K.w+O+M+"px",s[0].style.height=K.h+N+L+"px",K.reposition&&setTimeout(function(){z.bind("resize."+f,W.position)},1),b&&b()},step:function(){i(this)}})},W.resize=function(a){S&&(a=a||{},a.width&&(K.w=_(a.width,"x")-O-M),a.innerWidth&&(K.w=_(a.innerWidth,"x")),A.css({width:K.w}),a.height&&(K.h=_(a.height,"y")-N-L),a.innerHeight&&(K.h=_(a.innerHeight,"y")),!a.innerHeight&&!a.height&&(A.css({height:"auto"}),K.h=A.height()),A.css({height:K.h}),W.position(K.transition==="none"?0:K.speed))},W.prep=function(b){function g(){return K.w=K.w||A.width(),K.w=K.mw&&K.mw<K.w?K.mw:K.w,K.w}function h(){return K.h=K.h||A.height(),K.h=K.mh&&K.mh<K.h?K.mh:K.h,K.h}if(!S)return;var c,d=K.transition==="none"?0:K.speed;A.remove(),A=Z(X,"LoadedContent").append(b),A.hide().appendTo(B.show()).css({width:g(),overflow:K.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(t),B.hide(),a(R).css({"float":"none"}),o&&a("select").not(r.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(k,function(){this.style.visibility="inherit"}),c=function(){function s(){n&&r[0].style.removeAttribute("filter")}var b,c,g=y.length,h,i="frameBorder",k="allowTransparency",l,o,p,q;if(!S)return;l=function(){clearTimeout(V),C.hide(),cb(j,K.onComplete)},n&&R&&A.fadeIn(100),D.html(K.title).add(A).show();if(g>1){typeof K.current=="string"&&E.html(K.current.replace("{current}",Q+1).replace("{total}",g)).show(),G[K.loop||Q<g-1?"show":"hide"]().html(K.next),H[K.loop||Q?"show":"hide"]().html(K.previous),K.slideshow&&F.show();if(K.preloading){b=[$(-1),$(1)];while(c=y[b.pop()])q=a.data(c,e),q&&q.href?(o=q.href,a.isFunction(o)&&(o=o.call(c))):o=c.href,ab(o)&&(p=new Image,p.src=o)}}else J.hide();K.iframe?(h=Z("iframe")[0],i in h&&(h[i]=0),k in h&&(h[k]="true"),h.name=f+ +(new Date),K.fastIframe?l():a(h).one("load",l),h.src=K.href,K.scrolling||(h.scrolling="no"),a(h).addClass(f+"Iframe").appendTo(A).one(m,function(){h.src="//about:blank"})):l(),K.transition==="fade"?r.fadeTo(d,1,s):s()},K.transition==="fade"?r.fadeTo(d,0,function(){W.position(0,c)}):W.position(d,c)},W.load=function(b){var c,d,e=W.prep;T=!0,R=!1,P=y[Q],b||bb(),cb(m),cb(i,K.onLoad),K.h=K.height?_(K.height,"y")-N-L:K.innerHeight&&_(K.innerHeight,"y"),K.w=K.width?_(K.width,"x")-O-M:K.innerWidth&&_(K.innerWidth,"x"),K.mw=K.w,K.mh=K.h,K.maxWidth&&(K.mw=_(K.maxWidth,"x")-O-M,K.mw=K.w&&K.w<K.mw?K.w:K.mw),K.maxHeight&&(K.mh=_(K.maxHeight,"y")-N-L,K.mh=K.h&&K.h<K.mh?K.h:K.mh),c=K.href,V=setTimeout(function(){C.show()},100),K.inline?(Z(X).hide().insertBefore(a(c)[0]).one(m,function(){a(this).replaceWith(A.children())}),e(a(c))):K.iframe?e(" "):K.html?e(K.html):ab(c)?(a(R=new Image).addClass(f+"Photo").error(function(){K.title=!1,e(Z(X,"Error").html(K.imgError))}).load(function(){var a;R.onload=null,K.scalePhotos&&(d=function(){R.height-=R.height*a,R.width-=R.width*a},K.mw&&R.width>K.mw&&(a=(R.width-K.mw)/R.width,d()),K.mh&&R.height>K.mh&&(a=(R.height-K.mh)/R.height,d())),K.h&&(R.style.marginTop=Math.max(K.h-R.height,0)/2+"px"),y[1]&&(K.loop||y[Q+1])&&(R.style.cursor="pointer",R.onclick=function(){W.next()}),n&&(R.style.msInterpolationMode="bicubic"),setTimeout(function(){e(R)},1)}),setTimeout(function(){R.src=c},1)):c&&B.load(c,K.data,function(b,c,d){e(c==="error"?Z(X,"Error").html(K.xhrError):a(this).contents())})},W.next=function(){!T&&y[1]&&(K.loop||y[Q+1])&&(Q=$(1),W.load())},W.prev=function(){!T&&y[1]&&(K.loop||Q)&&(Q=$(-1),W.load())},W.close=function(){S&&!U&&(U=!0,S=!1,cb(k,K.onCleanup),z.unbind("."+f+" ."+p),q.fadeTo(200,0),r.stop().fadeTo(300,0,function(){r.add(q).css({opacity:1,cursor:"auto"}).hide(),cb(m),A.remove(),setTimeout(function(){U=!1,cb(l,K.onClosed)},1)}))},W.remove=function(){a([]).add(r).add(q).remove(),r=null,a("."+g).removeData(e).removeClass(g).die()},W.element=function(){return a(P)},W.settings=d})(jQuery,document,this);
|
@@ -18,16 +18,16 @@
|
|
18
18
|
Change the following styles to modify the appearance of ColorBox. They are
|
19
19
|
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20
20
|
*/
|
21
|
-
#cboxOverlay{background:url(colorbox-rails/overlay.png) repeat 0 0;}
|
21
|
+
#cboxOverlay{background:url(<%= asset_path('colorbox-rails/overlay.png') %>) repeat 0 0;}
|
22
22
|
#colorbox{}
|
23
|
-
#cboxTopLeft{width:21px; height:21px; background:url(colorbox-rails/controls.png) no-repeat -101px 0;}
|
24
|
-
#cboxTopRight{width:21px; height:21px; background:url(colorbox-rails/controls.png) no-repeat -130px 0;}
|
25
|
-
#cboxBottomLeft{width:21px; height:21px; background:url(colorbox-rails/controls.png) no-repeat -101px -29px;}
|
26
|
-
#cboxBottomRight{width:21px; height:21px; background:url(colorbox-rails/controls.png) no-repeat -130px -29px;}
|
27
|
-
#cboxMiddleLeft{width:21px; background:url(colorbox-rails/controls.png) left top repeat-y;}
|
28
|
-
#cboxMiddleRight{width:21px; background:url(colorbox-rails/controls.png) right top repeat-y;}
|
29
|
-
#cboxTopCenter{height:21px; background:url(colorbox-rails/border.png) 0 0 repeat-x;}
|
30
|
-
#cboxBottomCenter{height:21px; background:url(colorbox-rails/border.png) 0 -29px repeat-x;}
|
23
|
+
#cboxTopLeft{width:21px; height:21px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -101px 0;}
|
24
|
+
#cboxTopRight{width:21px; height:21px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -130px 0;}
|
25
|
+
#cboxBottomLeft{width:21px; height:21px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -101px -29px;}
|
26
|
+
#cboxBottomRight{width:21px; height:21px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -130px -29px;}
|
27
|
+
#cboxMiddleLeft{width:21px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) left top repeat-y;}
|
28
|
+
#cboxMiddleRight{width:21px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) right top repeat-y;}
|
29
|
+
#cboxTopCenter{height:21px; background:url(<%= asset_path('colorbox-rails/border.png') %>) 0 0 repeat-x;}
|
30
|
+
#cboxBottomCenter{height:21px; background:url(<%= asset_path('colorbox-rails/border.png') %>) 0 -29px repeat-x;}
|
31
31
|
#cboxContent{background:#fff; overflow:hidden;}
|
32
32
|
.cboxIframe{background:#fff;}
|
33
33
|
#cboxError{padding:50px; border:1px solid #ccc;}
|
@@ -35,13 +35,13 @@
|
|
35
35
|
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36
36
|
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
37
37
|
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38
|
-
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(colorbox-rails/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
38
|
+
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39
39
|
#cboxPrevious:hover{background-position:-75px -25px;}
|
40
|
-
#cboxNext{position:absolute; bottom:0; left:27px; background:url(colorbox-rails/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
40
|
+
#cboxNext{position:absolute; bottom:0; left:27px; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41
41
|
#cboxNext:hover{background-position:-50px -25px;}
|
42
|
-
#cboxLoadingOverlay{background:url(colorbox-rails/loading_background.png) no-repeat center center;}
|
43
|
-
#cboxLoadingGraphic{background:url(colorbox-rails/loading.gif) no-repeat center center;}
|
44
|
-
#cboxClose{position:absolute; bottom:0; right:0; background:url(colorbox-rails/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
42
|
+
#cboxLoadingOverlay{background:url(<%= asset_path('colorbox-rails/loading_background.png') %>) no-repeat center center;}
|
43
|
+
#cboxLoadingGraphic{background:url(<%= asset_path('colorbox-rails/loading.gif') %>) no-repeat center center;}
|
44
|
+
#cboxClose{position:absolute; bottom:0; right:0; background:url(<%= asset_path('colorbox-rails/controls.png') %>) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45
45
|
#cboxClose:hover{background-position:-25px -25px;}
|
46
46
|
|
47
47
|
/*
|
@@ -64,14 +64,14 @@
|
|
64
64
|
The following provides PNG transparency support for IE6
|
65
65
|
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
66
66
|
*/
|
67
|
-
.cboxIE6 #cboxTopLeft{background:url(colorbox-rails/ie6/borderTopLeft.png);}
|
68
|
-
.cboxIE6 #cboxTopCenter{background:url(colorbox-rails/ie6/borderTopCenter.png);}
|
69
|
-
.cboxIE6 #cboxTopRight{background:url(colorbox-rails/ie6/borderTopRight.png);}
|
70
|
-
.cboxIE6 #cboxBottomLeft{background:url(colorbox-rails/ie6/borderBottomLeft.png);}
|
71
|
-
.cboxIE6 #cboxBottomCenter{background:url(colorbox-rails/ie6/borderBottomCenter.png);}
|
72
|
-
.cboxIE6 #cboxBottomRight{background:url(colorbox-rails/ie6/borderBottomRight.png);}
|
73
|
-
.cboxIE6 #cboxMiddleLeft{background:url(colorbox-rails/ie6/borderMiddleLeft.png);}
|
74
|
-
.cboxIE6 #cboxMiddleRight{background:url(colorbox-rails/ie6/borderMiddleRight.png);}
|
67
|
+
.cboxIE6 #cboxTopLeft{background:url(<%= asset_path('colorbox-rails/ie6/borderTopLeft.png') %>);}
|
68
|
+
.cboxIE6 #cboxTopCenter{background:url(<%= asset_path('colorbox-rails/ie6/borderTopCenter.png') %>);}
|
69
|
+
.cboxIE6 #cboxTopRight{background:url(<%= asset_path('colorbox-rails/ie6/borderTopRight.png') %>);}
|
70
|
+
.cboxIE6 #cboxBottomLeft{background:url(<%= asset_path('colorbox-rails/ie6/borderBottomLeft.png') %>);}
|
71
|
+
.cboxIE6 #cboxBottomCenter{background:url(<%= asset_path('colorbox-rails/ie6/borderBottomCenter.png') %>);}
|
72
|
+
.cboxIE6 #cboxBottomRight{background:url(<%= asset_path('colorbox-rails/ie6/borderBottomRight.png') %>);}
|
73
|
+
.cboxIE6 #cboxMiddleLeft{background:url(<%= asset_path('colorbox-rails/ie6/borderMiddleLeft.png') %>);}
|
74
|
+
.cboxIE6 #cboxMiddleRight{background:url(<%= asset_path('colorbox-rails/ie6/borderMiddleRight.png') %>);}
|
75
75
|
|
76
76
|
.cboxIE6 #cboxTopLeft,
|
77
77
|
.cboxIE6 #cboxTopCenter,
|
metadata
CHANGED
@@ -1,124 +1,107 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: colorbox-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 8
|
10
|
-
version: 0.0.8
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
14
|
-
-
|
7
|
+
authors:
|
8
|
+
- Błażej Kosmowski
|
9
|
+
- Bartłomiej Danek
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2012-07-19 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: rails
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 1
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 1
|
33
|
-
- 1
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
34
22
|
version: 3.1.1
|
35
23
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: jquery-rails
|
39
24
|
prerelease: false
|
40
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 3.1.1
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: jquery-rails
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
41
34
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
version: "0"
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
49
39
|
type: :runtime
|
50
|
-
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
51
47
|
description: Simple engine making colorbox use in rails super easy
|
52
|
-
email:
|
48
|
+
email:
|
53
49
|
- b.kosmowski@selleo.com
|
54
50
|
executables: []
|
55
|
-
|
56
51
|
extensions: []
|
57
|
-
|
58
52
|
extra_rdoc_files: []
|
59
|
-
|
60
|
-
|
61
|
-
- app/
|
62
|
-
- app/
|
63
|
-
- app/assets/images/colorbox-rails/ie6/borderBottomRight.png
|
64
|
-
- app/assets/images/colorbox-rails/ie6/borderMiddleLeft.png
|
65
|
-
- app/assets/images/colorbox-rails/ie6/borderMiddleRight.png
|
66
|
-
- app/assets/images/colorbox-rails/ie6/borderTopCenter.png
|
67
|
-
- app/assets/images/colorbox-rails/ie6/borderTopLeft.png
|
68
|
-
- app/assets/images/colorbox-rails/ie6/borderTopRight.png
|
69
|
-
- app/assets/images/colorbox-rails/border.png
|
70
|
-
- app/assets/images/colorbox-rails/controls.png
|
71
|
-
- app/assets/images/colorbox-rails/loading.gif
|
72
|
-
- app/assets/images/colorbox-rails/loading_background.png
|
73
|
-
- app/assets/images/colorbox-rails/overlay.png
|
74
|
-
- app/assets/stylesheets/colorbox-rails/colorbox-rails.css
|
75
|
-
- app/assets/stylesheets/colorbox-rails.css
|
76
|
-
- app/assets/javascripts/colorbox-rails/jquery.colorbox-min.js
|
53
|
+
files:
|
54
|
+
- app/views/layouts/colorbox_rails/application.html.erb
|
55
|
+
- app/helpers/colorbox_rails/application_helper.rb
|
56
|
+
- app/controllers/colorbox_rails/application_controller.rb
|
77
57
|
- app/assets/javascripts/colorbox-rails/colorbox-links.js
|
58
|
+
- app/assets/javascripts/colorbox-rails/jquery.colorbox-min.js
|
78
59
|
- app/assets/javascripts/colorbox-rails.js
|
79
|
-
- app/
|
80
|
-
- app/
|
81
|
-
- app/
|
60
|
+
- app/assets/stylesheets/colorbox-rails.css
|
61
|
+
- app/assets/stylesheets/colorbox-rails/colorbox-rails.css.erb
|
62
|
+
- app/assets/images/colorbox-rails/ie6/borderTopRight.png
|
63
|
+
- app/assets/images/colorbox-rails/ie6/borderTopLeft.png
|
64
|
+
- app/assets/images/colorbox-rails/ie6/borderTopCenter.png
|
65
|
+
- app/assets/images/colorbox-rails/ie6/borderMiddleRight.png
|
66
|
+
- app/assets/images/colorbox-rails/ie6/borderMiddleLeft.png
|
67
|
+
- app/assets/images/colorbox-rails/ie6/borderBottomRight.png
|
68
|
+
- app/assets/images/colorbox-rails/ie6/borderBottomLeft.png
|
69
|
+
- app/assets/images/colorbox-rails/ie6/borderBottomCenter.png
|
70
|
+
- app/assets/images/colorbox-rails/overlay.png
|
71
|
+
- app/assets/images/colorbox-rails/loading_background.png
|
72
|
+
- app/assets/images/colorbox-rails/loading.gif
|
73
|
+
- app/assets/images/colorbox-rails/controls.png
|
74
|
+
- app/assets/images/colorbox-rails/border.png
|
82
75
|
- config/routes.rb
|
83
|
-
- lib/colorbox-rails.rb
|
84
|
-
- lib/tasks/colorbox-rails_tasks.rake
|
85
76
|
- lib/colorbox-rails/engine.rb
|
86
77
|
- lib/colorbox-rails/version.rb
|
78
|
+
- lib/tasks/colorbox-rails_tasks.rake
|
79
|
+
- lib/colorbox-rails.rb
|
87
80
|
- MIT-LICENSE
|
88
81
|
- Rakefile
|
89
82
|
- README.rdoc
|
90
83
|
homepage: http://www.selleo.com
|
91
84
|
licenses: []
|
92
|
-
|
93
85
|
post_install_message:
|
94
86
|
rdoc_options: []
|
95
|
-
|
96
|
-
require_paths:
|
87
|
+
require_paths:
|
97
88
|
- lib
|
98
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
90
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
|
105
|
-
- 0
|
106
|
-
version: "0"
|
107
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
96
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
version: "0"
|
97
|
+
requirements:
|
98
|
+
- - ! '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
116
101
|
requirements: []
|
117
|
-
|
118
102
|
rubyforge_project:
|
119
|
-
rubygems_version: 1.8.
|
103
|
+
rubygems_version: 1.8.24
|
120
104
|
signing_key:
|
121
105
|
specification_version: 3
|
122
106
|
summary: Simple engine making colorbox use in rails super easy
|
123
107
|
test_files: []
|
124
|
-
|