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 AppBuilder < Rails::AppBuilder | |
| include Thor::Actions | |
| include Thor::Shell | |
| def app | |
| create_gemfile | |
| end | |
| def test | |
| rspec |
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 AppBuilder < Rails::AppBuilder | |
| include Thor::Actions | |
| include Thor::Shell | |
| def app | |
| create_gemfile | |
| system("bundle") | |
| end | |
| def test |
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
| * == Currently executing `passenger:restart' | |
| * executing "mkdir -p /var/vhosts/sapphire.tfgdev.com.au/releases/20110504030221/tmp && touch /var/vhosts/sapphire.tfgdev.com.au/releases/20110504030221/tmp/restart.txt" | |
| servers: ["broadside.thefrontiergroup.net.au"] | |
| [[email protected]] executing command | |
| command finished in 578ms | |
| triggering after callbacks for `passenger:restart' | |
| * == Currently executing `deploy:hit_it' | |
| Hitting server sapphire.tfgdev.com.au | |
| triggering after callbacks for `deploy' | |
| * == Currently executing `deploy:migrate' |
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 FixMsfChargeSettings < ActiveRecord::Migration | |
| class SettingDefinition < ActiveRecord::Base; end | |
| class Setting < ActiveRecord::Base; end | |
| def self.up | |
| definition = SettingDefinition.find(:first, :conditions => { :key => "msf_rate_amex_diners" }) | |
| definition.update_attribute(:setting_type, "string") | |
| definition.settings.each do |setting| | |
| setting.update_attribute(:setting_type, "string") |
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 FixMsfChargeSettings < ActiveRecord::Migration | |
| class ::Setting < ActiveRecord::Base; end | |
| class SettingDefinition < ActiveRecord::Base | |
| has_many :settings | |
| 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
| source 'http://rubygems.org' | |
| gem "rails", "~>3.0.7" | |
| gem "mail" | |
| gem "i18n" | |
| # Database | |
| gem "pg" | |
| # Authentication + Authorization |