asset_host_core 2.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.markdown +138 -0
- data/Rakefile +11 -0
- data/app/assets/images/asset_host_core/alert-overlay.png +0 -0
- data/app/assets/images/asset_host_core/arrow-left.gif +0 -0
- data/app/assets/images/asset_host_core/arrow-right.gif +0 -0
- data/app/assets/images/asset_host_core/fallback-img-rect.png +0 -0
- data/app/assets/images/asset_host_core/videoplayer-play.png +0 -0
- data/app/assets/images/asset_host_core/x.png +0 -0
- data/app/assets/javascripts/asset_host_core/admin/assets.js.coffee +221 -0
- data/app/assets/javascripts/asset_host_core/application.js +20 -0
- data/app/assets/javascripts/asset_host_core/assetadmin.js.coffee +56 -0
- data/app/assets/javascripts/asset_host_core/assethost.js.coffee.erb +17 -0
- data/app/assets/javascripts/asset_host_core/browserui.js.coffee +139 -0
- data/app/assets/javascripts/asset_host_core/chooserui.js.coffee +381 -0
- data/app/assets/javascripts/asset_host_core/client.js.coffee +29 -0
- data/app/assets/javascripts/asset_host_core/clients/BrightcoveVideo.js.coffee +64 -0
- data/app/assets/javascripts/asset_host_core/clients/templates/brightcove_embed.jst.eco +18 -0
- data/app/assets/javascripts/asset_host_core/clients/templates/vimeo_embed.jst.eco +1 -0
- data/app/assets/javascripts/asset_host_core/clients/templates/youtube_embed.jst.eco +1 -0
- data/app/assets/javascripts/asset_host_core/clients/vimeo_video.js.coffee +21 -0
- data/app/assets/javascripts/asset_host_core/clients/youtube_video.js.coffee +21 -0
- data/app/assets/javascripts/asset_host_core/cmsplugin.js.coffee +235 -0
- data/app/assets/javascripts/asset_host_core/models.js.coffee +586 -0
- data/app/assets/javascripts/asset_host_core/railsCMS.js.coffee +141 -0
- data/app/assets/javascripts/asset_host_core/slideshow.js.coffee +428 -0
- data/app/assets/javascripts/asset_host_core/templates/after_upload_button.jst.eco +3 -0
- data/app/assets/javascripts/asset_host_core/templates/asset_drop_asset.jst.eco +4 -0
- data/app/assets/javascripts/asset_host_core/templates/asset_modal.jst.eco +13 -0
- data/app/assets/javascripts/asset_host_core/templates/asset_preview.jst.eco +35 -0
- data/app/assets/javascripts/asset_host_core/templates/asset_search.jst.eco +2 -0
- data/app/assets/javascripts/asset_host_core/templates/browser_asset.jst.eco +1 -0
- data/app/assets/javascripts/asset_host_core/templates/browser_asset_tip.jst.eco +3 -0
- data/app/assets/javascripts/asset_host_core/templates/edit_modal.jst.eco +40 -0
- data/app/assets/javascripts/asset_host_core/templates/import_help.jst.eco +59 -0
- data/app/assets/javascripts/asset_host_core/templates/pagination_link.jst.eco +1 -0
- data/app/assets/javascripts/asset_host_core/templates/pagination_links.jst.eco +13 -0
- data/app/assets/javascripts/asset_host_core/templates/queued_file.jst.eco +11 -0
- data/app/assets/javascripts/asset_host_core/templates/save_and_close_view.jst.eco +4 -0
- data/app/assets/javascripts/asset_host_core/templates/upload_all_button.jst.eco +4 -0
- data/app/assets/javascripts/asset_host_core/templates/url_input.jst.eco +8 -0
- data/app/assets/stylesheets/asset_host_core/application.css.scss +384 -0
- data/app/assets/stylesheets/asset_host_core/jquery-ui.css +105 -0
- data/app/assets/stylesheets/asset_host_core/public.css.scss +204 -0
- data/app/assets/stylesheets/asset_host_core/slidetest.css.scss +93 -0
- data/app/controllers/asset_host_core/admin/api_users_controller.rb +72 -0
- data/app/controllers/asset_host_core/admin/assets_controller.rb +140 -0
- data/app/controllers/asset_host_core/admin/base_controller.rb +36 -0
- data/app/controllers/asset_host_core/admin/home_controller.rb +13 -0
- data/app/controllers/asset_host_core/admin/outputs_controller.rb +55 -0
- data/app/controllers/asset_host_core/api/assets_controller.rb +110 -0
- data/app/controllers/asset_host_core/api/base_controller.rb +43 -0
- data/app/controllers/asset_host_core/api/outputs_controller.rb +33 -0
- data/app/controllers/asset_host_core/application_controller.rb +43 -0
- data/app/controllers/asset_host_core/public_controller.rb +104 -0
- data/app/models/asset_host_core/api_user.rb +44 -0
- data/app/models/asset_host_core/api_user_permission.rb +6 -0
- data/app/models/asset_host_core/asset.rb +265 -0
- data/app/models/asset_host_core/asset_output.rb +69 -0
- data/app/models/asset_host_core/brightcove_video.rb +20 -0
- data/app/models/asset_host_core/output.rb +52 -0
- data/app/models/asset_host_core/permission.rb +19 -0
- data/app/models/asset_host_core/video.rb +8 -0
- data/app/models/asset_host_core/vimeo_video.rb +17 -0
- data/app/models/asset_host_core/youtube_video.rb +17 -0
- data/app/views/asset_host_core/admin/api_users/_form_fields.html.erb +5 -0
- data/app/views/asset_host_core/admin/api_users/edit.html.erb +26 -0
- data/app/views/asset_host_core/admin/api_users/index.html.erb +31 -0
- data/app/views/asset_host_core/admin/api_users/new.html.erb +17 -0
- data/app/views/asset_host_core/admin/api_users/show.html.erb +23 -0
- data/app/views/asset_host_core/admin/assets/index.html.erb +19 -0
- data/app/views/asset_host_core/admin/assets/metadata.html.erb +24 -0
- data/app/views/asset_host_core/admin/assets/show.html.erb +86 -0
- data/app/views/asset_host_core/admin/home/chooser.html.erb +49 -0
- data/app/views/asset_host_core/admin/outputs/_form_fields.html.erb +5 -0
- data/app/views/asset_host_core/admin/outputs/edit.html.erb +26 -0
- data/app/views/asset_host_core/admin/outputs/index.html.erb +27 -0
- data/app/views/asset_host_core/admin/outputs/new.html.erb +13 -0
- data/app/views/asset_host_core/admin/outputs/show.html.erb +17 -0
- data/app/views/asset_host_core/shared/_footerjs.html.erb +3 -0
- data/app/views/asset_host_core/shared/_navbar.html.erb +28 -0
- data/app/views/kaminari/_first_page.html.erb +3 -0
- data/app/views/kaminari/_gap.html.erb +3 -0
- data/app/views/kaminari/_last_page.html.erb +3 -0
- data/app/views/kaminari/_next_page.html.erb +3 -0
- data/app/views/kaminari/_page.html.erb +3 -0
- data/app/views/kaminari/_paginator.html.erb +17 -0
- data/app/views/kaminari/_prev_page.html.erb +3 -0
- data/app/views/layouts/asset_host_core/application.html.erb +54 -0
- data/app/views/layouts/asset_host_core/full_width.html.erb +32 -0
- data/app/views/layouts/asset_host_core/minimal.html.erb +45 -0
- data/config/initializers/simple_form.rb +142 -0
- data/config/initializers/simple_form_bootstrap.rb +45 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/routes.rb +49 -0
- data/lib/asset_host_core.rb +38 -0
- data/lib/asset_host_core/config.rb +39 -0
- data/lib/asset_host_core/engine.rb +94 -0
- data/lib/asset_host_core/loaders.rb +34 -0
- data/lib/asset_host_core/loaders/asset_host.rb +30 -0
- data/lib/asset_host_core/loaders/base.rb +22 -0
- data/lib/asset_host_core/loaders/brightcove.rb +67 -0
- data/lib/asset_host_core/loaders/flickr.rb +114 -0
- data/lib/asset_host_core/loaders/url.rb +59 -0
- data/lib/asset_host_core/loaders/vimeo.rb +76 -0
- data/lib/asset_host_core/loaders/youtube.rb +90 -0
- data/lib/asset_host_core/model_methods.rb +61 -0
- data/lib/asset_host_core/paperclip.rb +4 -0
- data/lib/asset_host_core/paperclip/asset_thumbnail.rb +92 -0
- data/lib/asset_host_core/paperclip/attachment.rb +206 -0
- data/lib/asset_host_core/paperclip/trimmer.rb +33 -0
- data/lib/asset_host_core/resque_job.rb +13 -0
- data/lib/asset_host_core/version.rb +3 -0
- data/lib/tasks/asset_host_core_tasks.rake +4 -0
- data/spec/controllers/admin/api_users_controller_spec.rb +21 -0
- data/spec/controllers/admin/assets_controller_spec.rb +59 -0
- data/spec/controllers/admin/home_controller_spec.rb +4 -0
- data/spec/controllers/admin/outputs_controller_spec.rb +4 -0
- data/spec/controllers/api/assets_controller_spec.rb +133 -0
- data/spec/controllers/api/outputs_controller_spec.rb +51 -0
- data/spec/controllers/public_controller_spec.rb +4 -0
- data/spec/factories.rb +39 -0
- data/spec/features/api_users_spec.rb +78 -0
- data/spec/fixtures/api/brightcove/video.json +137 -0
- data/spec/fixtures/api/flickr/photos_getInfo.json +78 -0
- data/spec/fixtures/api/flickr/photos_getSizes.json +82 -0
- data/spec/fixtures/api/flickr/photos_licenses_getInfo.json +52 -0
- data/spec/fixtures/api/vimeo/video.json +28 -0
- data/spec/fixtures/api/youtube/discovery.json +5190 -0
- data/spec/fixtures/api/youtube/video.json +44 -0
- data/spec/fixtures/images/chipmunk.jpg +0 -0
- data/spec/fixtures/images/dude.jpg +0 -0
- data/spec/fixtures/images/ernie.jpg +0 -0
- data/spec/fixtures/images/fry.png +0 -0
- data/spec/fixtures/images/hat.jpg +0 -0
- data/spec/fixtures/images/spongebob.png +0 -0
- data/spec/fixtures/images/stars.jpg +0 -0
- data/spec/internal/app/controllers/application_controller.rb +16 -0
- data/spec/internal/app/controllers/sessions_controller.rb +24 -0
- data/spec/internal/app/models/user.rb +10 -0
- data/spec/internal/app/views/sessions/new.html.erb +14 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/initializers/assethost_config.rb +57 -0
- data/spec/internal/config/routes.rb +7 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +106 -0
- data/spec/internal/log/test.log +14769 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/internal/public/images/1_27f7745237849975ca90591c1fba5934_original. +0 -0
- data/spec/internal/public/images/1_7d33319deca787d5bb3f62ff06563ad2_original. +0 -0
- data/spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original. +0 -0
- data/spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.jpg +0 -0
- data/spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.txt +0 -0
- data/spec/internal/public/images/1_e179cbd27e07cb55042d0db36cdac095_original. +0 -0
- data/spec/internal/public/images/1_e669edd3dfd74be66fc38416e82e3a37_original. +0 -0
- data/spec/lib/asset_host_core/loaders/asset_host_spec.rb +33 -0
- data/spec/lib/asset_host_core/loaders/brightcove_spec.rb +51 -0
- data/spec/lib/asset_host_core/loaders/flickr_spec.rb +72 -0
- data/spec/lib/asset_host_core/loaders/url_spec.rb +42 -0
- data/spec/lib/asset_host_core/loaders/vimeo_spec.rb +51 -0
- data/spec/lib/asset_host_core/loaders/youtube_spec.rb +73 -0
- data/spec/lib/asset_host_core/loaders_spec.rb +4 -0
- data/spec/lib/asset_host_core/model_methods_spec.rb +4 -0
- data/spec/lib/asset_host_core/paperclip/asset_thumbnail_spec.rb +4 -0
- data/spec/lib/asset_host_core/paperclip/attachment_spec.rb +4 -0
- data/spec/lib/asset_host_core/resque_job_spec.rb +4 -0
- data/spec/lib/asset_host_core_spec.rb +4 -0
- data/spec/models/api_user_spec.rb +58 -0
- data/spec/models/asset_output_spec.rb +4 -0
- data/spec/models/asset_spec.rb +4 -0
- data/spec/models/output_spec.rb +4 -0
- data/spec/models/permission_spec.rb +4 -0
- data/spec/spec_helper.rb +30 -0
- data/spec/support/fixture_loader.rb +9 -0
- data/spec/support/param_helper.rb +14 -0
- data/spec/support/permission_matcher.rb +17 -0
- data/vendor/assets/images/jquery-ui/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_228ef1_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_ef8c08_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_ffd27a_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/backbone.js +1158 -0
- data/vendor/assets/javascripts/backbone.modelbinding.js +475 -0
- data/vendor/assets/javascripts/exif.js +695 -0
- data/vendor/assets/javascripts/jquery-ui.js +5614 -0
- data/vendor/assets/javascripts/simplemodal.js +698 -0
- data/vendor/assets/javascripts/spin.jquery.js +81 -0
- data/vendor/assets/javascripts/spin.min.js +1 -0
- data/vendor/assets/javascripts/underscore.min.js +1 -0
- metadata +658 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2011-2013 Felix Gnass
|
4
|
+
* Licensed under the MIT license
|
5
|
+
*/
|
6
|
+
|
7
|
+
/*
|
8
|
+
|
9
|
+
Basic Usage:
|
10
|
+
============
|
11
|
+
|
12
|
+
$('#el').spin(); // Creates a default Spinner using the text color of #el.
|
13
|
+
$('#el').spin({ ... }); // Creates a Spinner using the provided options.
|
14
|
+
|
15
|
+
$('#el').spin(false); // Stops and removes the spinner.
|
16
|
+
|
17
|
+
Using Presets:
|
18
|
+
==============
|
19
|
+
|
20
|
+
$('#el').spin('small'); // Creates a 'small' Spinner using the text color of #el.
|
21
|
+
$('#el').spin('large', '#fff'); // Creates a 'large' white Spinner.
|
22
|
+
|
23
|
+
Adding a custom preset:
|
24
|
+
=======================
|
25
|
+
|
26
|
+
$.fn.spin.presets.flower = {
|
27
|
+
lines: 9
|
28
|
+
length: 10
|
29
|
+
width: 20
|
30
|
+
radius: 0
|
31
|
+
}
|
32
|
+
|
33
|
+
$('#el').spin('flower', 'red');
|
34
|
+
|
35
|
+
*/
|
36
|
+
|
37
|
+
(function(factory) {
|
38
|
+
|
39
|
+
if (typeof exports == 'object') {
|
40
|
+
// CommonJS
|
41
|
+
factory(require('jquery'), require('spin'))
|
42
|
+
}
|
43
|
+
else if (typeof define == 'function' && define.amd) {
|
44
|
+
// AMD, register as anonymous module
|
45
|
+
define(['jquery', 'spin'], factory)
|
46
|
+
}
|
47
|
+
else {
|
48
|
+
// Browser globals
|
49
|
+
if (!window.Spinner) throw new Error('Spin.js not present')
|
50
|
+
factory(window.jQuery, window.Spinner)
|
51
|
+
}
|
52
|
+
|
53
|
+
}(function($, Spinner) {
|
54
|
+
|
55
|
+
$.fn.spin = function(opts, color) {
|
56
|
+
|
57
|
+
return this.each(function() {
|
58
|
+
var $this = $(this),
|
59
|
+
data = $this.data();
|
60
|
+
|
61
|
+
if (data.spinner) {
|
62
|
+
data.spinner.stop();
|
63
|
+
delete data.spinner;
|
64
|
+
}
|
65
|
+
if (opts !== false) {
|
66
|
+
opts = $.extend(
|
67
|
+
{ color: color || $this.css('color') },
|
68
|
+
$.fn.spin.presets[opts] || opts
|
69
|
+
)
|
70
|
+
data.spinner = new Spinner(opts).spin(this)
|
71
|
+
}
|
72
|
+
})
|
73
|
+
}
|
74
|
+
|
75
|
+
$.fn.spin.presets = {
|
76
|
+
tiny: { lines: 8, length: 2, width: 2, radius: 3 },
|
77
|
+
small: { lines: 8, length: 4, width: 3, radius: 5 },
|
78
|
+
large: { lines: 10, length: 8, width: 4, radius: 8 }
|
79
|
+
}
|
80
|
+
|
81
|
+
}));
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(t,e){if(typeof exports=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else t.Spinner=e()})(this,function(){"use strict";var t=["webkit","Moz","ms","O"],e={},i;function o(t,e){var i=document.createElement(t||"div"),o;for(o in e)i[o]=e[o];return i}function n(t){for(var e=1,i=arguments.length;e<i;e++)t.appendChild(arguments[e]);return t}var r=function(){var t=o("style",{type:"text/css"});n(document.getElementsByTagName("head")[0],t);return t.sheet||t.styleSheet}();function s(t,o,n,s){var a=["opacity",o,~~(t*100),n,s].join("-"),f=.01+n/s*100,l=Math.max(1-(1-t)/o*(100-f),t),d=i.substring(0,i.indexOf("Animation")).toLowerCase(),u=d&&"-"+d+"-"||"";if(!e[a]){r.insertRule("@"+u+"keyframes "+a+"{"+"0%{opacity:"+l+"}"+f+"%{opacity:"+t+"}"+(f+.01)+"%{opacity:1}"+(f+o)%100+"%{opacity:"+t+"}"+"100%{opacity:"+l+"}"+"}",r.cssRules.length);e[a]=1}return a}function a(e,i){var o=e.style,n,r;if(o[i]!==undefined)return i;i=i.charAt(0).toUpperCase()+i.slice(1);for(r=0;r<t.length;r++){n=t[r]+i;if(o[n]!==undefined)return n}}function f(t,e){for(var i in e)t.style[a(t,i)||i]=e[i];return t}function l(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var o in i)if(t[o]===undefined)t[o]=i[o]}return t}function d(t){var e={x:t.offsetLeft,y:t.offsetTop};while(t=t.offsetParent)e.x+=t.offsetLeft,e.y+=t.offsetTop;return e}var u={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:1/4,fps:20,zIndex:2e9,className:"spinner",top:"auto",left:"auto",position:"relative"};function p(t){if(typeof this=="undefined")return new p(t);this.opts=l(t||{},p.defaults,u)}p.defaults={};l(p.prototype,{spin:function(t){this.stop();var e=this,n=e.opts,r=e.el=f(o(0,{className:n.className}),{position:n.position,width:0,zIndex:n.zIndex}),s=n.radius+n.length+n.width,a,l;if(t){t.insertBefore(r,t.firstChild||null);l=d(t);a=d(r);f(r,{left:(n.left=="auto"?l.x-a.x+(t.offsetWidth>>1):parseInt(n.left,10)+s)+"px",top:(n.top=="auto"?l.y-a.y+(t.offsetHeight>>1):parseInt(n.top,10)+s)+"px"})}r.setAttribute("role","progressbar");e.lines(r,e.opts);if(!i){var u=0,p=(n.lines-1)*(1-n.direction)/2,c,h=n.fps,m=h/n.speed,y=(1-n.opacity)/(m*n.trail/100),g=m/n.lines;(function v(){u++;for(var t=0;t<n.lines;t++){c=Math.max(1-(u+(n.lines-t)*g)%m*y,n.opacity);e.opacity(r,t*n.direction+p,c,n)}e.timeout=e.el&&setTimeout(v,~~(1e3/h))})()}return e},stop:function(){var t=this.el;if(t){clearTimeout(this.timeout);if(t.parentNode)t.parentNode.removeChild(t);this.el=undefined}return this},lines:function(t,e){var r=0,a=(e.lines-1)*(1-e.direction)/2,l;function d(t,i){return f(o(),{position:"absolute",width:e.length+e.width+"px",height:e.width+"px",background:t,boxShadow:i,transformOrigin:"left",transform:"rotate("+~~(360/e.lines*r+e.rotate)+"deg) translate("+e.radius+"px"+",0)",borderRadius:(e.corners*e.width>>1)+"px"})}for(;r<e.lines;r++){l=f(o(),{position:"absolute",top:1+~(e.width/2)+"px",transform:e.hwaccel?"translate3d(0,0,0)":"",opacity:e.opacity,animation:i&&s(e.opacity,e.trail,a+r*e.direction,e.lines)+" "+1/e.speed+"s linear infinite"});if(e.shadow)n(l,f(d("#000","0 0 4px "+"#000"),{top:2+"px"}));n(t,n(l,d(e.color,"0 0 1px rgba(0,0,0,.1)")))}return t},opacity:function(t,e,i){if(e<t.childNodes.length)t.childNodes[e].style.opacity=i}});function c(){function t(t,e){return o("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',e)}r.addRule(".spin-vml","behavior:url(#default#VML)");p.prototype.lines=function(e,i){var o=i.length+i.width,r=2*o;function s(){return f(t("group",{coordsize:r+" "+r,coordorigin:-o+" "+-o}),{width:r,height:r})}var a=-(i.width+i.length)*2+"px",l=f(s(),{position:"absolute",top:a,left:a}),d;function u(e,r,a){n(l,n(f(s(),{rotation:360/i.lines*e+"deg",left:~~r}),n(f(t("roundrect",{arcsize:i.corners}),{width:o,height:i.width,left:i.radius,top:-i.width>>1,filter:a}),t("fill",{color:i.color,opacity:i.opacity}),t("stroke",{opacity:0}))))}if(i.shadow)for(d=1;d<=i.lines;d++)u(d,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(d=1;d<=i.lines;d++)u(d);return n(e,l)};p.prototype.opacity=function(t,e,i,o){var n=t.firstChild;o=o.shadow&&o.lines||0;if(n&&e+o<n.childNodes.length){n=n.childNodes[e+o];n=n&&n.firstChild;n=n&&n.firstChild;if(n)n.opacity=i}}}var h=f(o("group"),{behavior:"url(#default#VML)"});if(!a(h,"transform")&&h.adj)c();else i=a(h,"animation");return p});
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,o=e.slice,c=e.concat,l=u.toString,f=u.hasOwnProperty,s=e.forEach,p=e.map,h=e.reduce,v=e.reduceRight,d=e.filter,g=e.every,m=e.some,y=e.indexOf,b=e.lastIndexOf,x=Array.isArray,_=Object.keys,j=i.bind,w=function(n){return n instanceof w?n:this instanceof w?(this._wrapped=n,void 0):new w(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=w),exports._=w):n._=w,w.VERSION="1.4.4";var A=w.each=w.forEach=function(n,t,e){if(null!=n)if(s&&n.forEach===s)n.forEach(t,e);else if(n.length===+n.length){for(var u=0,i=n.length;i>u;u++)if(t.call(e,n[u],u,n)===r)return}else for(var a in n)if(w.has(n,a)&&t.call(e,n[a],a,n)===r)return};w.map=w.collect=function(n,t,r){var e=[];return null==n?e:p&&n.map===p?n.map(t,r):(A(n,function(n,u,i){e[e.length]=t.call(r,n,u,i)}),e)};var O="Reduce of empty array with no initial value";w.reduce=w.foldl=w.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),h&&n.reduce===h)return e&&(t=w.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(A(n,function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)}),!u)throw new TypeError(O);return r},w.reduceRight=w.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduceRight===v)return e&&(t=w.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(i!==+i){var a=w.keys(n);i=a.length}if(A(n,function(o,c,l){c=a?a[--i]:--i,u?r=t.call(e,r,n[c],c,l):(r=n[c],u=!0)}),!u)throw new TypeError(O);return r},w.find=w.detect=function(n,t,r){var e;return E(n,function(n,u,i){return t.call(r,n,u,i)?(e=n,!0):void 0}),e},w.filter=w.select=function(n,t,r){var e=[];return null==n?e:d&&n.filter===d?n.filter(t,r):(A(n,function(n,u,i){t.call(r,n,u,i)&&(e[e.length]=n)}),e)},w.reject=function(n,t,r){return w.filter(n,function(n,e,u){return!t.call(r,n,e,u)},r)},w.every=w.all=function(n,t,e){t||(t=w.identity);var u=!0;return null==n?u:g&&n.every===g?n.every(t,e):(A(n,function(n,i,a){return(u=u&&t.call(e,n,i,a))?void 0:r}),!!u)};var E=w.some=w.any=function(n,t,e){t||(t=w.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,e):(A(n,function(n,i,a){return u||(u=t.call(e,n,i,a))?r:void 0}),!!u)};w.contains=w.include=function(n,t){return null==n?!1:y&&n.indexOf===y?n.indexOf(t)!=-1:E(n,function(n){return n===t})},w.invoke=function(n,t){var r=o.call(arguments,2),e=w.isFunction(t);return w.map(n,function(n){return(e?t:n[t]).apply(n,r)})},w.pluck=function(n,t){return w.map(n,function(n){return n[t]})},w.where=function(n,t,r){return w.isEmpty(t)?r?null:[]:w[r?"find":"filter"](n,function(n){for(var r in t)if(t[r]!==n[r])return!1;return!0})},w.findWhere=function(n,t){return w.where(n,t,!0)},w.max=function(n,t,r){if(!t&&w.isArray(n)&&n[0]===+n[0]&&65535>n.length)return Math.max.apply(Math,n);if(!t&&w.isEmpty(n))return-1/0;var e={computed:-1/0,value:-1/0};return A(n,function(n,u,i){var a=t?t.call(r,n,u,i):n;a>=e.computed&&(e={value:n,computed:a})}),e.value},w.min=function(n,t,r){if(!t&&w.isArray(n)&&n[0]===+n[0]&&65535>n.length)return Math.min.apply(Math,n);if(!t&&w.isEmpty(n))return 1/0;var e={computed:1/0,value:1/0};return A(n,function(n,u,i){var a=t?t.call(r,n,u,i):n;e.computed>a&&(e={value:n,computed:a})}),e.value},w.shuffle=function(n){var t,r=0,e=[];return A(n,function(n){t=w.random(r++),e[r-1]=e[t],e[t]=n}),e};var k=function(n){return w.isFunction(n)?n:function(t){return t[n]}};w.sortBy=function(n,t,r){var e=k(t);return w.pluck(w.map(n,function(n,t,u){return{value:n,index:t,criteria:e.call(r,n,t,u)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(e>r||e===void 0)return-1}return n.index<t.index?-1:1}),"value")};var F=function(n,t,r,e){var u={},i=k(t||w.identity);return A(n,function(t,a){var o=i.call(r,t,a,n);e(u,o,t)}),u};w.groupBy=function(n,t,r){return F(n,t,r,function(n,t,r){(w.has(n,t)?n[t]:n[t]=[]).push(r)})},w.countBy=function(n,t,r){return F(n,t,r,function(n,t){w.has(n,t)||(n[t]=0),n[t]++})},w.sortedIndex=function(n,t,r,e){r=null==r?w.identity:k(r);for(var u=r.call(e,t),i=0,a=n.length;a>i;){var o=i+a>>>1;u>r.call(e,n[o])?i=o+1:a=o}return i},w.toArray=function(n){return n?w.isArray(n)?o.call(n):n.length===+n.length?w.map(n,w.identity):w.values(n):[]},w.size=function(n){return null==n?0:n.length===+n.length?n.length:w.keys(n).length},w.first=w.head=w.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:o.call(n,0,t)},w.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},w.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},w.rest=w.tail=w.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},w.compact=function(n){return w.filter(n,w.identity)};var R=function(n,t,r){return A(n,function(n){w.isArray(n)?t?a.apply(r,n):R(n,t,r):r.push(n)}),r};w.flatten=function(n,t){return R(n,t,[])},w.without=function(n){return w.difference(n,o.call(arguments,1))},w.uniq=w.unique=function(n,t,r,e){w.isFunction(t)&&(e=r,r=t,t=!1);var u=r?w.map(n,r,e):n,i=[],a=[];return A(u,function(r,e){(t?e&&a[a.length-1]===r:w.contains(a,r))||(a.push(r),i.push(n[e]))}),i},w.union=function(){return w.uniq(c.apply(e,arguments))},w.intersection=function(n){var t=o.call(arguments,1);return w.filter(w.uniq(n),function(n){return w.every(t,function(t){return w.indexOf(t,n)>=0})})},w.difference=function(n){var t=c.apply(e,o.call(arguments,1));return w.filter(n,function(n){return!w.contains(t,n)})},w.zip=function(){for(var n=o.call(arguments),t=w.max(w.pluck(n,"length")),r=Array(t),e=0;t>e;e++)r[e]=w.pluck(n,""+e);return r},w.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},w.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return e=w.sortedIndex(n,t),n[e]===t?e:-1;e=0>r?Math.max(0,u+r):r}if(y&&n.indexOf===y)return n.indexOf(t,r);for(;u>e;e++)if(n[e]===t)return e;return-1},w.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(b&&n.lastIndexOf===b)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},w.range=function(n,t,r){1>=arguments.length&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=Array(e);e>u;)i[u++]=n,n+=r;return i},w.bind=function(n,t){if(n.bind===j&&j)return j.apply(n,o.call(arguments,1));var r=o.call(arguments,2);return function(){return n.apply(t,r.concat(o.call(arguments)))}},w.partial=function(n){var t=o.call(arguments,1);return function(){return n.apply(this,t.concat(o.call(arguments)))}},w.bindAll=function(n){var t=o.call(arguments,1);return 0===t.length&&(t=w.functions(n)),A(t,function(t){n[t]=w.bind(n[t],n)}),n},w.memoize=function(n,t){var r={};return t||(t=w.identity),function(){var e=t.apply(this,arguments);return w.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},w.delay=function(n,t){var r=o.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},w.defer=function(n){return w.delay.apply(w,[n,1].concat(o.call(arguments,1)))},w.throttle=function(n,t){var r,e,u,i,a=0,o=function(){a=new Date,u=null,i=n.apply(r,e)};return function(){var c=new Date,l=t-(c-a);return r=this,e=arguments,0>=l?(clearTimeout(u),u=null,a=c,i=n.apply(r,e)):u||(u=setTimeout(o,l)),i}},w.debounce=function(n,t,r){var e,u;return function(){var i=this,a=arguments,o=function(){e=null,r||(u=n.apply(i,a))},c=r&&!e;return clearTimeout(e),e=setTimeout(o,t),c&&(u=n.apply(i,a)),u}},w.once=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments),n=null,t)}},w.wrap=function(n,t){return function(){var r=[n];return a.apply(r,arguments),t.apply(this,r)}},w.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},w.after=function(n,t){return 0>=n?t():function(){return 1>--n?t.apply(this,arguments):void 0}},w.keys=_||function(n){if(n!==Object(n))throw new TypeError("Invalid object");var t=[];for(var r in n)w.has(n,r)&&(t[t.length]=r);return t},w.values=function(n){var t=[];for(var r in n)w.has(n,r)&&t.push(n[r]);return t},w.pairs=function(n){var t=[];for(var r in n)w.has(n,r)&&t.push([r,n[r]]);return t},w.invert=function(n){var t={};for(var r in n)w.has(n,r)&&(t[n[r]]=r);return t},w.functions=w.methods=function(n){var t=[];for(var r in n)w.isFunction(n[r])&&t.push(r);return t.sort()},w.extend=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)n[r]=t[r]}),n},w.pick=function(n){var t={},r=c.apply(e,o.call(arguments,1));return A(r,function(r){r in n&&(t[r]=n[r])}),t},w.omit=function(n){var t={},r=c.apply(e,o.call(arguments,1));for(var u in n)w.contains(r,u)||(t[u]=n[u]);return t},w.defaults=function(n){return A(o.call(arguments,1),function(t){if(t)for(var r in t)null==n[r]&&(n[r]=t[r])}),n},w.clone=function(n){return w.isObject(n)?w.isArray(n)?n.slice():w.extend({},n):n},w.tap=function(n,t){return t(n),n};var I=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof w&&(n=n._wrapped),t instanceof w&&(t=t._wrapped);var u=l.call(n);if(u!=l.call(t))return!1;switch(u){case"[object String]":return n==t+"";case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;r.push(n),e.push(t);var a=0,o=!0;if("[object Array]"==u){if(a=n.length,o=a==t.length)for(;a--&&(o=I(n[a],t[a],r,e)););}else{var c=n.constructor,f=t.constructor;if(c!==f&&!(w.isFunction(c)&&c instanceof c&&w.isFunction(f)&&f instanceof f))return!1;for(var s in n)if(w.has(n,s)&&(a++,!(o=w.has(t,s)&&I(n[s],t[s],r,e))))break;if(o){for(s in t)if(w.has(t,s)&&!a--)break;o=!a}}return r.pop(),e.pop(),o};w.isEqual=function(n,t){return I(n,t,[],[])},w.isEmpty=function(n){if(null==n)return!0;if(w.isArray(n)||w.isString(n))return 0===n.length;for(var t in n)if(w.has(n,t))return!1;return!0},w.isElement=function(n){return!(!n||1!==n.nodeType)},w.isArray=x||function(n){return"[object Array]"==l.call(n)},w.isObject=function(n){return n===Object(n)},A(["Arguments","Function","String","Number","Date","RegExp"],function(n){w["is"+n]=function(t){return l.call(t)=="[object "+n+"]"}}),w.isArguments(arguments)||(w.isArguments=function(n){return!(!n||!w.has(n,"callee"))}),"function"!=typeof/./&&(w.isFunction=function(n){return"function"==typeof n}),w.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},w.isNaN=function(n){return w.isNumber(n)&&n!=+n},w.isBoolean=function(n){return n===!0||n===!1||"[object Boolean]"==l.call(n)},w.isNull=function(n){return null===n},w.isUndefined=function(n){return n===void 0},w.has=function(n,t){return f.call(n,t)},w.noConflict=function(){return n._=t,this},w.identity=function(n){return n},w.times=function(n,t,r){for(var e=Array(n),u=0;n>u;u++)e[u]=t.call(r,u);return e},w.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};var M={escape:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}};M.unescape=w.invert(M.escape);var S={escape:RegExp("["+w.keys(M.escape).join("")+"]","g"),unescape:RegExp("("+w.keys(M.unescape).join("|")+")","g")};w.each(["escape","unescape"],function(n){w[n]=function(t){return null==t?"":(""+t).replace(S[n],function(t){return M[n][t]})}}),w.result=function(n,t){if(null==n)return null;var r=n[t];return w.isFunction(r)?r.call(n):r},w.mixin=function(n){A(w.functions(n),function(t){var r=w[t]=n[t];w.prototype[t]=function(){var n=[this._wrapped];return a.apply(n,arguments),D.call(this,r.apply(w,n))}})};var N=0;w.uniqueId=function(n){var t=++N+"";return n?n+t:t},w.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var T=/(.)^/,q={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},B=/\\|'|\r|\n|\t|\u2028|\u2029/g;w.template=function(n,t,r){var e;r=w.defaults({},r,w.templateSettings);var u=RegExp([(r.escape||T).source,(r.interpolate||T).source,(r.evaluate||T).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,function(t,r,e,u,o){return a+=n.slice(i,o).replace(B,function(n){return"\\"+q[n]}),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=o+t.length,t}),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,w);var c=function(n){return e.call(this,n,w)};return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},w.chain=function(n){return w(n).chain()};var D=function(n){return this._chain?w(n).chain():n};w.mixin(w),A(["pop","push","reverse","shift","sort","splice","unshift"],function(n){var t=e[n];w.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],D.call(this,r)}}),A(["concat","join","slice"],function(n){var t=e[n];w.prototype[n]=function(){return D.call(this,t.apply(this._wrapped,arguments))}}),w.extend(w.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}).call(this);
|
metadata
ADDED
@@ -0,0 +1,658 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: asset_host_core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0.beta
|
5
|
+
prerelease: 6
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Eric Richardson
|
9
|
+
- Bryan Ricker
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2013-11-09 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.2.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 3.2.1
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: paperclip
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - '='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 2.7.0
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - '='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.7.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: cocaine
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.3.2
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.3.2
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: thinking-sphinx
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.0.14
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 2.0.14
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: resque
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.23.0
|
87
|
+
type: :runtime
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 1.23.0
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: mini_exiftool
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.6.0
|
103
|
+
type: :runtime
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.6.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: bcrypt-ruby
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ~>
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 3.0.0
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 3.0.0
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: faraday
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ~>
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 0.8.7
|
135
|
+
type: :runtime
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ~>
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 0.8.7
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: faraday_middleware
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ~>
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 0.9.0
|
151
|
+
type: :runtime
|
152
|
+
prerelease: false
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ~>
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.9.0
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: google-api-client
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
163
|
+
requirements:
|
164
|
+
- - ~>
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.6.3
|
167
|
+
type: :runtime
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ~>
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 0.6.3
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
name: brightcove-api
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ~>
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 1.0.12
|
183
|
+
type: :runtime
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ~>
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 1.0.12
|
191
|
+
- !ruby/object:Gem::Dependency
|
192
|
+
name: bootstrap-sass
|
193
|
+
requirement: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
195
|
+
requirements:
|
196
|
+
- - ~>
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 2.3.1
|
199
|
+
type: :runtime
|
200
|
+
prerelease: false
|
201
|
+
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
203
|
+
requirements:
|
204
|
+
- - ~>
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 2.3.1
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: sass-rails
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
none: false
|
211
|
+
requirements:
|
212
|
+
- - ~>
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 3.2.3
|
215
|
+
type: :runtime
|
216
|
+
prerelease: false
|
217
|
+
version_requirements: !ruby/object:Gem::Requirement
|
218
|
+
none: false
|
219
|
+
requirements:
|
220
|
+
- - ~>
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 3.2.3
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: coffee-rails
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ~>
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 3.2.1
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
none: false
|
235
|
+
requirements:
|
236
|
+
- - ~>
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: 3.2.1
|
239
|
+
- !ruby/object:Gem::Dependency
|
240
|
+
name: eco
|
241
|
+
requirement: !ruby/object:Gem::Requirement
|
242
|
+
none: false
|
243
|
+
requirements:
|
244
|
+
- - ~>
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: 1.0.0
|
247
|
+
type: :runtime
|
248
|
+
prerelease: false
|
249
|
+
version_requirements: !ruby/object:Gem::Requirement
|
250
|
+
none: false
|
251
|
+
requirements:
|
252
|
+
- - ~>
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: 1.0.0
|
255
|
+
- !ruby/object:Gem::Dependency
|
256
|
+
name: simple_form
|
257
|
+
requirement: !ruby/object:Gem::Requirement
|
258
|
+
none: false
|
259
|
+
requirements:
|
260
|
+
- - ~>
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: 2.1.0
|
263
|
+
type: :runtime
|
264
|
+
prerelease: false
|
265
|
+
version_requirements: !ruby/object:Gem::Requirement
|
266
|
+
none: false
|
267
|
+
requirements:
|
268
|
+
- - ~>
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: 2.1.0
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: kaminari
|
273
|
+
requirement: !ruby/object:Gem::Requirement
|
274
|
+
none: false
|
275
|
+
requirements:
|
276
|
+
- - ~>
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: 0.14.1
|
279
|
+
type: :runtime
|
280
|
+
prerelease: false
|
281
|
+
version_requirements: !ruby/object:Gem::Requirement
|
282
|
+
none: false
|
283
|
+
requirements:
|
284
|
+
- - ~>
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: 0.14.1
|
287
|
+
- !ruby/object:Gem::Dependency
|
288
|
+
name: rspec-rails
|
289
|
+
requirement: !ruby/object:Gem::Requirement
|
290
|
+
none: false
|
291
|
+
requirements:
|
292
|
+
- - ~>
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: 2.13.0
|
295
|
+
type: :development
|
296
|
+
prerelease: false
|
297
|
+
version_requirements: !ruby/object:Gem::Requirement
|
298
|
+
none: false
|
299
|
+
requirements:
|
300
|
+
- - ~>
|
301
|
+
- !ruby/object:Gem::Version
|
302
|
+
version: 2.13.0
|
303
|
+
- !ruby/object:Gem::Dependency
|
304
|
+
name: factory_girl
|
305
|
+
requirement: !ruby/object:Gem::Requirement
|
306
|
+
none: false
|
307
|
+
requirements:
|
308
|
+
- - ~>
|
309
|
+
- !ruby/object:Gem::Version
|
310
|
+
version: 4.2.0
|
311
|
+
type: :development
|
312
|
+
prerelease: false
|
313
|
+
version_requirements: !ruby/object:Gem::Requirement
|
314
|
+
none: false
|
315
|
+
requirements:
|
316
|
+
- - ~>
|
317
|
+
- !ruby/object:Gem::Version
|
318
|
+
version: 4.2.0
|
319
|
+
- !ruby/object:Gem::Dependency
|
320
|
+
name: fakeweb
|
321
|
+
requirement: !ruby/object:Gem::Requirement
|
322
|
+
none: false
|
323
|
+
requirements:
|
324
|
+
- - ~>
|
325
|
+
- !ruby/object:Gem::Version
|
326
|
+
version: 1.3.0
|
327
|
+
type: :development
|
328
|
+
prerelease: false
|
329
|
+
version_requirements: !ruby/object:Gem::Requirement
|
330
|
+
none: false
|
331
|
+
requirements:
|
332
|
+
- - ~>
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: 1.3.0
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: capybara
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
none: false
|
339
|
+
requirements:
|
340
|
+
- - ~>
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
version: 2.1.0
|
343
|
+
type: :development
|
344
|
+
prerelease: false
|
345
|
+
version_requirements: !ruby/object:Gem::Requirement
|
346
|
+
none: false
|
347
|
+
requirements:
|
348
|
+
- - ~>
|
349
|
+
- !ruby/object:Gem::Version
|
350
|
+
version: 2.1.0
|
351
|
+
- !ruby/object:Gem::Dependency
|
352
|
+
name: launchy
|
353
|
+
requirement: !ruby/object:Gem::Requirement
|
354
|
+
none: false
|
355
|
+
requirements:
|
356
|
+
- - ! '>='
|
357
|
+
- !ruby/object:Gem::Version
|
358
|
+
version: '0'
|
359
|
+
type: :development
|
360
|
+
prerelease: false
|
361
|
+
version_requirements: !ruby/object:Gem::Requirement
|
362
|
+
none: false
|
363
|
+
requirements:
|
364
|
+
- - ! '>='
|
365
|
+
- !ruby/object:Gem::Version
|
366
|
+
version: '0'
|
367
|
+
description: One-stop-shop for media asset management, designed for a newsroom environment.
|
368
|
+
email:
|
369
|
+
- bricker@kpcc.org
|
370
|
+
executables: []
|
371
|
+
extensions: []
|
372
|
+
extra_rdoc_files: []
|
373
|
+
files:
|
374
|
+
- app/assets/images/asset_host_core/alert-overlay.png
|
375
|
+
- app/assets/images/asset_host_core/arrow-left.gif
|
376
|
+
- app/assets/images/asset_host_core/arrow-right.gif
|
377
|
+
- app/assets/images/asset_host_core/fallback-img-rect.png
|
378
|
+
- app/assets/images/asset_host_core/videoplayer-play.png
|
379
|
+
- app/assets/images/asset_host_core/x.png
|
380
|
+
- app/assets/javascripts/asset_host_core/admin/assets.js.coffee
|
381
|
+
- app/assets/javascripts/asset_host_core/application.js
|
382
|
+
- app/assets/javascripts/asset_host_core/assetadmin.js.coffee
|
383
|
+
- app/assets/javascripts/asset_host_core/assethost.js.coffee.erb
|
384
|
+
- app/assets/javascripts/asset_host_core/browserui.js.coffee
|
385
|
+
- app/assets/javascripts/asset_host_core/chooserui.js.coffee
|
386
|
+
- app/assets/javascripts/asset_host_core/client.js.coffee
|
387
|
+
- app/assets/javascripts/asset_host_core/clients/BrightcoveVideo.js.coffee
|
388
|
+
- app/assets/javascripts/asset_host_core/clients/templates/brightcove_embed.jst.eco
|
389
|
+
- app/assets/javascripts/asset_host_core/clients/templates/vimeo_embed.jst.eco
|
390
|
+
- app/assets/javascripts/asset_host_core/clients/templates/youtube_embed.jst.eco
|
391
|
+
- app/assets/javascripts/asset_host_core/clients/vimeo_video.js.coffee
|
392
|
+
- app/assets/javascripts/asset_host_core/clients/youtube_video.js.coffee
|
393
|
+
- app/assets/javascripts/asset_host_core/cmsplugin.js.coffee
|
394
|
+
- app/assets/javascripts/asset_host_core/models.js.coffee
|
395
|
+
- app/assets/javascripts/asset_host_core/railsCMS.js.coffee
|
396
|
+
- app/assets/javascripts/asset_host_core/slideshow.js.coffee
|
397
|
+
- app/assets/javascripts/asset_host_core/templates/after_upload_button.jst.eco
|
398
|
+
- app/assets/javascripts/asset_host_core/templates/asset_drop_asset.jst.eco
|
399
|
+
- app/assets/javascripts/asset_host_core/templates/asset_modal.jst.eco
|
400
|
+
- app/assets/javascripts/asset_host_core/templates/asset_preview.jst.eco
|
401
|
+
- app/assets/javascripts/asset_host_core/templates/asset_search.jst.eco
|
402
|
+
- app/assets/javascripts/asset_host_core/templates/browser_asset.jst.eco
|
403
|
+
- app/assets/javascripts/asset_host_core/templates/browser_asset_tip.jst.eco
|
404
|
+
- app/assets/javascripts/asset_host_core/templates/edit_modal.jst.eco
|
405
|
+
- app/assets/javascripts/asset_host_core/templates/import_help.jst.eco
|
406
|
+
- app/assets/javascripts/asset_host_core/templates/pagination_link.jst.eco
|
407
|
+
- app/assets/javascripts/asset_host_core/templates/pagination_links.jst.eco
|
408
|
+
- app/assets/javascripts/asset_host_core/templates/queued_file.jst.eco
|
409
|
+
- app/assets/javascripts/asset_host_core/templates/save_and_close_view.jst.eco
|
410
|
+
- app/assets/javascripts/asset_host_core/templates/upload_all_button.jst.eco
|
411
|
+
- app/assets/javascripts/asset_host_core/templates/url_input.jst.eco
|
412
|
+
- app/assets/stylesheets/asset_host_core/application.css.scss
|
413
|
+
- app/assets/stylesheets/asset_host_core/jquery-ui.css
|
414
|
+
- app/assets/stylesheets/asset_host_core/public.css.scss
|
415
|
+
- app/assets/stylesheets/asset_host_core/slidetest.css.scss
|
416
|
+
- app/controllers/asset_host_core/admin/api_users_controller.rb
|
417
|
+
- app/controllers/asset_host_core/admin/assets_controller.rb
|
418
|
+
- app/controllers/asset_host_core/admin/base_controller.rb
|
419
|
+
- app/controllers/asset_host_core/admin/home_controller.rb
|
420
|
+
- app/controllers/asset_host_core/admin/outputs_controller.rb
|
421
|
+
- app/controllers/asset_host_core/api/assets_controller.rb
|
422
|
+
- app/controllers/asset_host_core/api/base_controller.rb
|
423
|
+
- app/controllers/asset_host_core/api/outputs_controller.rb
|
424
|
+
- app/controllers/asset_host_core/application_controller.rb
|
425
|
+
- app/controllers/asset_host_core/public_controller.rb
|
426
|
+
- app/models/asset_host_core/api_user.rb
|
427
|
+
- app/models/asset_host_core/api_user_permission.rb
|
428
|
+
- app/models/asset_host_core/asset.rb
|
429
|
+
- app/models/asset_host_core/asset_output.rb
|
430
|
+
- app/models/asset_host_core/brightcove_video.rb
|
431
|
+
- app/models/asset_host_core/output.rb
|
432
|
+
- app/models/asset_host_core/permission.rb
|
433
|
+
- app/models/asset_host_core/video.rb
|
434
|
+
- app/models/asset_host_core/vimeo_video.rb
|
435
|
+
- app/models/asset_host_core/youtube_video.rb
|
436
|
+
- app/views/asset_host_core/admin/api_users/_form_fields.html.erb
|
437
|
+
- app/views/asset_host_core/admin/api_users/edit.html.erb
|
438
|
+
- app/views/asset_host_core/admin/api_users/index.html.erb
|
439
|
+
- app/views/asset_host_core/admin/api_users/new.html.erb
|
440
|
+
- app/views/asset_host_core/admin/api_users/show.html.erb
|
441
|
+
- app/views/asset_host_core/admin/assets/index.html.erb
|
442
|
+
- app/views/asset_host_core/admin/assets/metadata.html.erb
|
443
|
+
- app/views/asset_host_core/admin/assets/show.html.erb
|
444
|
+
- app/views/asset_host_core/admin/home/chooser.html.erb
|
445
|
+
- app/views/asset_host_core/admin/outputs/_form_fields.html.erb
|
446
|
+
- app/views/asset_host_core/admin/outputs/edit.html.erb
|
447
|
+
- app/views/asset_host_core/admin/outputs/index.html.erb
|
448
|
+
- app/views/asset_host_core/admin/outputs/new.html.erb
|
449
|
+
- app/views/asset_host_core/admin/outputs/show.html.erb
|
450
|
+
- app/views/asset_host_core/shared/_footerjs.html.erb
|
451
|
+
- app/views/asset_host_core/shared/_navbar.html.erb
|
452
|
+
- app/views/kaminari/_first_page.html.erb
|
453
|
+
- app/views/kaminari/_gap.html.erb
|
454
|
+
- app/views/kaminari/_last_page.html.erb
|
455
|
+
- app/views/kaminari/_next_page.html.erb
|
456
|
+
- app/views/kaminari/_page.html.erb
|
457
|
+
- app/views/kaminari/_paginator.html.erb
|
458
|
+
- app/views/kaminari/_prev_page.html.erb
|
459
|
+
- app/views/layouts/asset_host_core/application.html.erb
|
460
|
+
- app/views/layouts/asset_host_core/full_width.html.erb
|
461
|
+
- app/views/layouts/asset_host_core/minimal.html.erb
|
462
|
+
- config/initializers/simple_form.rb
|
463
|
+
- config/initializers/simple_form_bootstrap.rb
|
464
|
+
- config/locales/simple_form.en.yml
|
465
|
+
- config/routes.rb
|
466
|
+
- lib/asset_host_core/config.rb
|
467
|
+
- lib/asset_host_core/engine.rb
|
468
|
+
- lib/asset_host_core/loaders/asset_host.rb
|
469
|
+
- lib/asset_host_core/loaders/base.rb
|
470
|
+
- lib/asset_host_core/loaders/brightcove.rb
|
471
|
+
- lib/asset_host_core/loaders/flickr.rb
|
472
|
+
- lib/asset_host_core/loaders/url.rb
|
473
|
+
- lib/asset_host_core/loaders/vimeo.rb
|
474
|
+
- lib/asset_host_core/loaders/youtube.rb
|
475
|
+
- lib/asset_host_core/loaders.rb
|
476
|
+
- lib/asset_host_core/model_methods.rb
|
477
|
+
- lib/asset_host_core/paperclip/asset_thumbnail.rb
|
478
|
+
- lib/asset_host_core/paperclip/attachment.rb
|
479
|
+
- lib/asset_host_core/paperclip/trimmer.rb
|
480
|
+
- lib/asset_host_core/paperclip.rb
|
481
|
+
- lib/asset_host_core/resque_job.rb
|
482
|
+
- lib/asset_host_core/version.rb
|
483
|
+
- lib/asset_host_core.rb
|
484
|
+
- lib/tasks/asset_host_core_tasks.rake
|
485
|
+
- vendor/assets/images/jquery-ui/ui-bg_diagonals-thick_18_b81900_40x40.png
|
486
|
+
- vendor/assets/images/jquery-ui/ui-bg_diagonals-thick_20_666666_40x40.png
|
487
|
+
- vendor/assets/images/jquery-ui/ui-bg_flat_10_000000_40x100.png
|
488
|
+
- vendor/assets/images/jquery-ui/ui-bg_glass_100_f6f6f6_1x400.png
|
489
|
+
- vendor/assets/images/jquery-ui/ui-bg_glass_100_fdf5ce_1x400.png
|
490
|
+
- vendor/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png
|
491
|
+
- vendor/assets/images/jquery-ui/ui-bg_gloss-wave_35_f6a828_500x100.png
|
492
|
+
- vendor/assets/images/jquery-ui/ui-bg_highlight-soft_100_eeeeee_1x100.png
|
493
|
+
- vendor/assets/images/jquery-ui/ui-bg_highlight-soft_75_ffe45c_1x100.png
|
494
|
+
- vendor/assets/images/jquery-ui/ui-icons_222222_256x240.png
|
495
|
+
- vendor/assets/images/jquery-ui/ui-icons_228ef1_256x240.png
|
496
|
+
- vendor/assets/images/jquery-ui/ui-icons_ef8c08_256x240.png
|
497
|
+
- vendor/assets/images/jquery-ui/ui-icons_ffd27a_256x240.png
|
498
|
+
- vendor/assets/images/jquery-ui/ui-icons_ffffff_256x240.png
|
499
|
+
- vendor/assets/javascripts/backbone.js
|
500
|
+
- vendor/assets/javascripts/backbone.modelbinding.js
|
501
|
+
- vendor/assets/javascripts/exif.js
|
502
|
+
- vendor/assets/javascripts/jquery-ui.js
|
503
|
+
- vendor/assets/javascripts/simplemodal.js
|
504
|
+
- vendor/assets/javascripts/spin.jquery.js
|
505
|
+
- vendor/assets/javascripts/spin.min.js
|
506
|
+
- vendor/assets/javascripts/underscore.min.js
|
507
|
+
- MIT-LICENSE
|
508
|
+
- Rakefile
|
509
|
+
- README.markdown
|
510
|
+
- spec/controllers/admin/api_users_controller_spec.rb
|
511
|
+
- spec/controllers/admin/assets_controller_spec.rb
|
512
|
+
- spec/controllers/admin/home_controller_spec.rb
|
513
|
+
- spec/controllers/admin/outputs_controller_spec.rb
|
514
|
+
- spec/controllers/api/assets_controller_spec.rb
|
515
|
+
- spec/controllers/api/outputs_controller_spec.rb
|
516
|
+
- spec/controllers/public_controller_spec.rb
|
517
|
+
- spec/factories.rb
|
518
|
+
- spec/features/api_users_spec.rb
|
519
|
+
- spec/fixtures/api/brightcove/video.json
|
520
|
+
- spec/fixtures/api/flickr/photos_getInfo.json
|
521
|
+
- spec/fixtures/api/flickr/photos_getSizes.json
|
522
|
+
- spec/fixtures/api/flickr/photos_licenses_getInfo.json
|
523
|
+
- spec/fixtures/api/vimeo/video.json
|
524
|
+
- spec/fixtures/api/youtube/discovery.json
|
525
|
+
- spec/fixtures/api/youtube/video.json
|
526
|
+
- spec/fixtures/images/chipmunk.jpg
|
527
|
+
- spec/fixtures/images/dude.jpg
|
528
|
+
- spec/fixtures/images/ernie.jpg
|
529
|
+
- spec/fixtures/images/fry.png
|
530
|
+
- spec/fixtures/images/hat.jpg
|
531
|
+
- spec/fixtures/images/spongebob.png
|
532
|
+
- spec/fixtures/images/stars.jpg
|
533
|
+
- spec/internal/app/controllers/application_controller.rb
|
534
|
+
- spec/internal/app/controllers/sessions_controller.rb
|
535
|
+
- spec/internal/app/models/user.rb
|
536
|
+
- spec/internal/app/views/sessions/new.html.erb
|
537
|
+
- spec/internal/config/database.yml
|
538
|
+
- spec/internal/config/initializers/assethost_config.rb
|
539
|
+
- spec/internal/config/routes.rb
|
540
|
+
- spec/internal/db/combustion_test.sqlite
|
541
|
+
- spec/internal/db/schema.rb
|
542
|
+
- spec/internal/log/test.log
|
543
|
+
- spec/internal/public/favicon.ico
|
544
|
+
- spec/internal/public/images/1_27f7745237849975ca90591c1fba5934_original.
|
545
|
+
- spec/internal/public/images/1_7d33319deca787d5bb3f62ff06563ad2_original.
|
546
|
+
- spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.
|
547
|
+
- spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.jpg
|
548
|
+
- spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.txt
|
549
|
+
- spec/internal/public/images/1_e179cbd27e07cb55042d0db36cdac095_original.
|
550
|
+
- spec/internal/public/images/1_e669edd3dfd74be66fc38416e82e3a37_original.
|
551
|
+
- spec/lib/asset_host_core/loaders/asset_host_spec.rb
|
552
|
+
- spec/lib/asset_host_core/loaders/brightcove_spec.rb
|
553
|
+
- spec/lib/asset_host_core/loaders/flickr_spec.rb
|
554
|
+
- spec/lib/asset_host_core/loaders/url_spec.rb
|
555
|
+
- spec/lib/asset_host_core/loaders/vimeo_spec.rb
|
556
|
+
- spec/lib/asset_host_core/loaders/youtube_spec.rb
|
557
|
+
- spec/lib/asset_host_core/loaders_spec.rb
|
558
|
+
- spec/lib/asset_host_core/model_methods_spec.rb
|
559
|
+
- spec/lib/asset_host_core/paperclip/asset_thumbnail_spec.rb
|
560
|
+
- spec/lib/asset_host_core/paperclip/attachment_spec.rb
|
561
|
+
- spec/lib/asset_host_core/resque_job_spec.rb
|
562
|
+
- spec/lib/asset_host_core_spec.rb
|
563
|
+
- spec/models/api_user_spec.rb
|
564
|
+
- spec/models/asset_output_spec.rb
|
565
|
+
- spec/models/asset_spec.rb
|
566
|
+
- spec/models/output_spec.rb
|
567
|
+
- spec/models/permission_spec.rb
|
568
|
+
- spec/spec_helper.rb
|
569
|
+
- spec/support/fixture_loader.rb
|
570
|
+
- spec/support/param_helper.rb
|
571
|
+
- spec/support/permission_matcher.rb
|
572
|
+
homepage: http://github.com/SCPR/AssetHost
|
573
|
+
licenses: []
|
574
|
+
post_install_message:
|
575
|
+
rdoc_options: []
|
576
|
+
require_paths:
|
577
|
+
- lib
|
578
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
579
|
+
none: false
|
580
|
+
requirements:
|
581
|
+
- - ! '>='
|
582
|
+
- !ruby/object:Gem::Version
|
583
|
+
version: '0'
|
584
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
585
|
+
none: false
|
586
|
+
requirements:
|
587
|
+
- - ! '>'
|
588
|
+
- !ruby/object:Gem::Version
|
589
|
+
version: 1.3.1
|
590
|
+
requirements: []
|
591
|
+
rubyforge_project:
|
592
|
+
rubygems_version: 1.8.23
|
593
|
+
signing_key:
|
594
|
+
specification_version: 3
|
595
|
+
summary: One-stop-shop for media asset management, designed for a newsroom environment.
|
596
|
+
test_files:
|
597
|
+
- spec/controllers/admin/api_users_controller_spec.rb
|
598
|
+
- spec/controllers/admin/assets_controller_spec.rb
|
599
|
+
- spec/controllers/admin/home_controller_spec.rb
|
600
|
+
- spec/controllers/admin/outputs_controller_spec.rb
|
601
|
+
- spec/controllers/api/assets_controller_spec.rb
|
602
|
+
- spec/controllers/api/outputs_controller_spec.rb
|
603
|
+
- spec/controllers/public_controller_spec.rb
|
604
|
+
- spec/factories.rb
|
605
|
+
- spec/features/api_users_spec.rb
|
606
|
+
- spec/fixtures/api/brightcove/video.json
|
607
|
+
- spec/fixtures/api/flickr/photos_getInfo.json
|
608
|
+
- spec/fixtures/api/flickr/photos_getSizes.json
|
609
|
+
- spec/fixtures/api/flickr/photos_licenses_getInfo.json
|
610
|
+
- spec/fixtures/api/vimeo/video.json
|
611
|
+
- spec/fixtures/api/youtube/discovery.json
|
612
|
+
- spec/fixtures/api/youtube/video.json
|
613
|
+
- spec/fixtures/images/chipmunk.jpg
|
614
|
+
- spec/fixtures/images/dude.jpg
|
615
|
+
- spec/fixtures/images/ernie.jpg
|
616
|
+
- spec/fixtures/images/fry.png
|
617
|
+
- spec/fixtures/images/hat.jpg
|
618
|
+
- spec/fixtures/images/spongebob.png
|
619
|
+
- spec/fixtures/images/stars.jpg
|
620
|
+
- spec/internal/app/controllers/application_controller.rb
|
621
|
+
- spec/internal/app/controllers/sessions_controller.rb
|
622
|
+
- spec/internal/app/models/user.rb
|
623
|
+
- spec/internal/app/views/sessions/new.html.erb
|
624
|
+
- spec/internal/config/database.yml
|
625
|
+
- spec/internal/config/initializers/assethost_config.rb
|
626
|
+
- spec/internal/config/routes.rb
|
627
|
+
- spec/internal/db/combustion_test.sqlite
|
628
|
+
- spec/internal/db/schema.rb
|
629
|
+
- spec/internal/log/test.log
|
630
|
+
- spec/internal/public/favicon.ico
|
631
|
+
- spec/internal/public/images/1_27f7745237849975ca90591c1fba5934_original.
|
632
|
+
- spec/internal/public/images/1_7d33319deca787d5bb3f62ff06563ad2_original.
|
633
|
+
- spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.
|
634
|
+
- spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.jpg
|
635
|
+
- spec/internal/public/images/1_b6d48c8b1286104ce76649731e09645f_original.txt
|
636
|
+
- spec/internal/public/images/1_e179cbd27e07cb55042d0db36cdac095_original.
|
637
|
+
- spec/internal/public/images/1_e669edd3dfd74be66fc38416e82e3a37_original.
|
638
|
+
- spec/lib/asset_host_core/loaders/asset_host_spec.rb
|
639
|
+
- spec/lib/asset_host_core/loaders/brightcove_spec.rb
|
640
|
+
- spec/lib/asset_host_core/loaders/flickr_spec.rb
|
641
|
+
- spec/lib/asset_host_core/loaders/url_spec.rb
|
642
|
+
- spec/lib/asset_host_core/loaders/vimeo_spec.rb
|
643
|
+
- spec/lib/asset_host_core/loaders/youtube_spec.rb
|
644
|
+
- spec/lib/asset_host_core/loaders_spec.rb
|
645
|
+
- spec/lib/asset_host_core/model_methods_spec.rb
|
646
|
+
- spec/lib/asset_host_core/paperclip/asset_thumbnail_spec.rb
|
647
|
+
- spec/lib/asset_host_core/paperclip/attachment_spec.rb
|
648
|
+
- spec/lib/asset_host_core/resque_job_spec.rb
|
649
|
+
- spec/lib/asset_host_core_spec.rb
|
650
|
+
- spec/models/api_user_spec.rb
|
651
|
+
- spec/models/asset_output_spec.rb
|
652
|
+
- spec/models/asset_spec.rb
|
653
|
+
- spec/models/output_spec.rb
|
654
|
+
- spec/models/permission_spec.rb
|
655
|
+
- spec/spec_helper.rb
|
656
|
+
- spec/support/fixture_loader.rb
|
657
|
+
- spec/support/param_helper.rb
|
658
|
+
- spec/support/permission_matcher.rb
|