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
| system: | |
| uname: "Darwin Anthony-Edens-MacBook-Pro.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386" | |
| shell: "bash" | |
| version: "3.2.48(1)-release" | |
| ruby: | |
| interpreter: "ruby" | |
| version: "1.8.7" | |
| date: "2009-12-24" | |
| platform: "i686-darwin10.2.0" |
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
| /Users/aeden/.rvm/bin:/Users/aeden/.rvm/bin:/Users/aeden/.rvm/rubies/ruby-1.8.7-p249/bin:/Users/aeden/.rvm/gems/ruby-1.8.7-p249/bin:/Users/aeden/.rvm/gems/ruby-1.8.7-p249%global/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/aeden/.gem/ruby/1.8/bin |
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
| system: | |
| uname: "Darwin Anthony-Edens-MacBook-Pro.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386" | |
| shell: "bash" | |
| version: "3.2.48(1)-release" | |
| ruby: | |
| interpreter: "ruby" | |
| version: "1.8.7" | |
| date: "2010-01-10" | |
| platform: "i686-darwin10.2.0" |
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
| export PATH=$PATH:/Users/aeden/.gem/ruby/1.8/bin | |
| alias gst='git status ' | |
| alias gc='git commit ' | |
| alias gca='git commit -a ' | |
| alias ga='git add ' | |
| alias gco='git checkout ' | |
| alias gb='git branch ' | |
| alias gm='git merge ' | |
| alias gp='git push ' |
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
| Spec::Runner.configure do |config| | |
| config.before do | |
| subscriber = mock(RSpreedly::Subscriber) | |
| subscriber.stub!(:save) | |
| RSpreedly::Subscriber.stub!(:new).and_return(subscriber) | |
| end | |
| 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
| # within the else block in paths.rb: | |
| path_method = page_name.gsub(/^(the|my) /i, '').gsub(/ page$/i, ' path').gsub(/\s+/, '_') | |
| begin | |
| send(path_method.to_sym) | |
| rescue | |
| raise "Can't find mapping from \"#{page_name}\" to a path.\n" + | |
| "Now, go and add a mapping in #{__FILE__}" | |
| 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
| class DubyApp < HttpServlet | |
| def_edb(list, 'com/ribrdb/list.dhtml') | |
| def doGet(request, response) | |
| @posts = Post.all.run | |
| response.getWriter.write(list) | |
| end | |
| def doPost(request, response) | |
| post = Post.new |
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
| package org.jruby.util; | |
| import com.martiansoftware.nailgun.NGContext; | |
| import org.jruby.Main; | |
| import org.jruby.RubyInstanceConfig; | |
| import org.jruby.ast.executable.Script; | |
| import org.jruby.exceptions.MainExitException; | |
| import org.jruby.exceptions.ThreadKill; | |
| public class NailMain { |
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
| <% | |
| rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" | |
| rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}" | |
| std_opts = "#{rerun_opts} --format rerun --out rerun.txt --strict --tags ~@wip --tags ~@pending --color" | |
| all_opts = "--format progress --strict --tags ~@wip --tags ~@pending --color" | |
| %> | |
| autotest: --format pretty --tags @wip --wip --tags ~@spreedly features | |
| autotest-all: --format progress --tags ~@pending --tags ~@spreedly features | |
| default: <%= std_opts %> | |
| all: <%= all_opts %> |
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 "rails", "= 2.3.8" | |
| gem "pg" | |
| gem "acl9" | |
| gem 'authlogic' | |
| gem 'formtastic' | |
| gem 'paperclip' | |
| gem 'httparty' | |
| gem "searchlogic" |