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
| dudley@abra Code/activerecord-jdbc-adapter :> psql --version master// | |
| psql (PostgreSQL) 9.3.5 | |
| dudley@abra Code/activerecord-jdbc-adapter :> rake test_postgres TESTOPTS="--name=/test_model_with_no_id/" | |
| Creating PostgreSQL (test) database: arjdbc_test | |
| Time: 123.353 ms | |
| Time: 0.528 ms | |
| Time: 0.768 ms | |
| Time: 468.316 ms | |
| HINT: specify AR version with `rake appraisal:{version} test_{adapter}' where version=(rails23|rails30|rails31|rails32|rails40|rails41|rails42) (`touch .disable-appraisal-hint' to disable) | |
| Using ActiveRecord::VERSION = 4.1.4 |
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 'date' | |
| TorqueBox.configure do | |
| ... | |
| # Tuesday through Friday, we just run yesterday's report. | |
| job SummaryReportJob do | |
| name 'report.weekday' | |
| cron WEEKDAY_CRON |
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
| APPNAME = 'wh' | |
| require 'json' | |
| require 'rake-pipeline-web-filters' | |
| WebFilters = Rake::Pipeline::Web::Filters | |
| class LoaderFilter < WebFilters::MinispadeFilter | |
| def generate_output(inputs, output) | |
| inputs.each do |input| |
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
| class StylusFilter < Rake::Pipeline::Filter | |
| def initialize(&block) | |
| block ||= proc { |input| input.sub(/\.styl$/, '.css') } | |
| super(&block) | |
| end | |
| def generate_output(inputs, output) | |
| inputs.each do |input| | |
| output.write `stylus #{input.fullpath}` |
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
| source :rubygems | |
| gem "compass" | |
| gem "rake-pipeline", :git => "https://github.com/livingsocial/rake-pipeline.git" | |
| gem "rake-pipeline-web-filters", :git => "https://github.com/wycats/rake-pipeline-web-filters.git" |
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 'rake-pipeline-web-filters' | |
| # package js | |
| input 'packages/emberjs/dist', 'ember.js' | |
| input 'packages/package_A' | |
| input 'packages/package_B' | |
| # project js | |
| input 'lib' |
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 "json" | |
| require "rake-pipeline-web-filters" | |
| input "assets" | |
| output "public" | |
| class HandlebarsFilter < Rake::Pipeline::Filter | |
| def initialize(&block) | |
| block ||= proc { |input| input.sub(/\.handlebars$/, '.js') } | |
| super(&block) |
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 "json" | |
| require "rake-pipeline-web-filters" | |
| # this gives you concat, coffee_script, and minispade methods | |
| require "rake-pipeline-web-filters/helpers" | |
| class HandlebarsFilter < Rake::Pipeline::Filter | |
| def initialize(&block) | |
| block ||= proc { |input| input.sub(/\.handlebars$/, '.js') } | |
| super(&block) |
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 "json" | |
| class HandlebarsFilter < Rake::Pipeline::Filter | |
| def initialize(&block) | |
| block ||= proc { |input| input.sub(/\.handlebars$/, '.js') } | |
| super(&block) | |
| end | |
| def generate_output(inputs, output) | |
| inputs.each do |input| | |
| output.write "return Ember.Handlebars.compile(#{input.read.to_json})" |
NewerOlder