This Presentation was built to be viewed with GistDeck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
concat = require('gulp-concat'), | |
plumber = require('gulp-plumber'), | |
server = require('tiny-lr')(), | |
refresh = require('gulp-livereload'), | |
mocha = require('gulp-mocha'), | |
stylus = require('gulp-stylus'), | |
notify = require('gulp-notify'), | |
nodemon = require('gulp-nodemon'), | |
jshint = require('gulp-jshint'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'paperclip' | |
module Paperclip | |
# Mechanize unlinks its Tempfiles immediately after creating them and some | |
# Paperclip functionality relies on an actual file available in the | |
# filesystem; not just a reference. | |
class MechanizeDownloadAdapter < AbstractAdapter | |
def initialize(target) | |
@target = target | |
cache_current_values |