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
0 info it worked if it ends with ok | |
1 verbose cli [ 'C:\\Program Files (x86)\\Nodist\\v-x64\\nodev6.2.0\\node.exe', | |
1 verbose cli 'C:\\Program Files (x86)\\Nodist\\bin\\node_modules\\npm\\bin\\npm-cli.js', | |
1 verbose cli 'install', | |
1 verbose cli '--verbose' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData |
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') | |
var gulpIf = require('gulp-if') | |
var gulpNgAnnotate = require('gulp-ng-annotate') | |
var gulpPlumber = require('gulp-plumber') | |
var gulpWatch = require('gulp-watch') | |
var lazypipe = require('lazypipe') | |
var processPipe | |
gulp.task('watch-annotate', watch) |
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
1.upto(100){|i|p i%5>0?i%3>0?i:"fis":i%3>0?"bas":"fisbas"} |
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
# make sure there are none | |
Given /^no (.+) exists$/ do |model_name| | |
model_class(model_name).destroy_all | |
end | |
# single model, one attribute of interest | |
Given /^a (?:(.+) )?(.+) with (.+) "(.+)" exists$/ do |blueprint_name, model_name, key, value| | |
model_class(model_name).make blueprint_name, key => value | |
end |
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
/** | |
* The ImageCycle class cycles through a given set of images upon clicking the automatically generated buttons. | |
* | |
* @param Node | |
* This container node is expected to contain at least one 'img' tag. | |
* The first 'img' tag found will be used for displaying the cyled images. | |
* @param Array of Array of String [optional] | |
* Array of Arrays, each of which contains | |
* first the image path, then the title, optionally the caption. | |
* |
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 'machinist/active_record' | |
require 'sham' | |
require 'ffaker' | |
# load all other .rb files in this directory | |
Dir[File.dirname(__FILE__)+'/*.rb'].each {|f| require f} |
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
# streamlines request launching to remove duplication | |
# | |
# enables this setup: | |
# describe SomeController do | |
# describe :index do | |
# it 'works' do | |
# should do_something | |
# launch_request | |
# response.code.should eq('200') | |
# end |