Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
make sure window.promot doesn't get called, fixes #106
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbintz committed Jan 9, 2012
1 parent dfe1bec commit 81f5612
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -14,7 +14,7 @@ require 'jasmine/headless/task'

Jasmine::Headless::Task.new

PLATFORMS = %w{1.8.7 1.9.2 ree 1.9.3-rc1}
PLATFORMS = %w{1.8.7 1.9.2 ree 1.9.3}

def rvm_bundle(command = '')
Bundler.with_clean_env do
Expand Down
4 changes: 4 additions & 0 deletions script/hooks/post-commit
@@ -0,0 +1,4 @@
#!/bin/bash

penchant gemfile remote --switch-back

4 changes: 2 additions & 2 deletions script/hooks/pre-commit
Expand Up @@ -2,9 +2,9 @@

OLD_GIT_DIR=$GIT_DIR

if [ "$(penchant gemfile-env)" != "remote" ]; then
if [ "$(penchant gemfile-env)" != "remote deployment" ]; then
unset GIT_DIR
penchant gemfile remote
penchant gemfile remote --deployment
GIT_DIR=$OLD_GIT_DIR
git add Gemfile*
fi
Expand Down
2 changes: 1 addition & 1 deletion script/initialize-environment
Expand Up @@ -5,7 +5,7 @@ if File.file?('Gemfile.erb')

Dir.chdir '..' do
File.readlines(File.join(pwd, 'Gemfile.erb')).find_all { |line| line[':git'] }.each do |line|
repo = line[%r{:git => (['"])(.*)\1}, 2]
repo = line[%r{:git => (['"])([^'"]+)\1}, 2]

puts "Installing #{repo}"
system %{git clone #{repo}}
Expand Down

0 comments on commit 81f5612

Please sign in to comment.