Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
common aruba timeout hooks
  • Loading branch information
hedgehog committed Sep 1, 2011
1 parent 5b2c87e commit f88f78c
Show file tree
Hide file tree
Showing 12 changed files with 377 additions and 61 deletions.
61 changes: 61 additions & 0 deletions .rvmrc
@@ -0,0 +1,61 @@
#!/usr/bin/env bash

# This is an RVM Project .rvmrc file, used to automatically load the ruby
# development environment upon cd'ing into the directory

# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
ruby_id='ruby-1.9.2-p180'
gemset_id='cuken'
environment_id="${ruby_id}@${gemset_id}"

if rvm list strings | grep -q "${ruby_id}" ; then

#
# First we attempt to load the desired environment directly from the environment
# file. This is very fast and efficicent compared to running through the entire
# CLI and selector. If you want feedback on which environment was used then
# insert the word 'use' after --create as this triggers verbose mode.
#
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"

[[ -s ".rvm/hooks/after_use" ]] && . ".rvm/hooks/after_use"
else
# If the environment file has not yet been created, use the RVM CLI to select.
rvm --create use "$environment_id"
fi

#
# If you use an RVM gemset file to install a list of gems (*.gems), you can have
# it be automatically loaded. Uncomment the following and adjust the filename if
# necessary.
#
filename="#{gemset_id}.gems"
if [[ -s "$filename" ]] ; then
rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
fi

#
# If you use bundler and would like to run bundle each time you enter the
# directory, you can uncomment the following code.
#
# Ensure that Bundler is installed. Install it if it is not.
#
if ! command -v bundle >/dev/null; then
printf "The rubygem 'bundler' is not installed. Installing it now.\n"
gem install bundler
fi

#
# Bundle while reducing excess noise.
#
printf "Bundling your gems. This may take a few minutes on a fresh clone.\n"
bundle | grep -v '^Using ' | grep -v ' is complete' | sed '/^$/d'
else

# Notify the user to install the desired interpreter before proceeding.
echo "${ruby_id} was not found, please run 'rvm install ${ruby_id}' and then cd back into the project directory."

fi

7 changes: 4 additions & 3 deletions Gemfile
Expand Up @@ -4,18 +4,19 @@ group :default do
gem 'childprocess', '>= 0.1.7'
gem 'rspec', '>= 2.5.0'
gem "cucumber", ">= 0"
gem 'chef', "~>0.10.0"
gem 'chef', "~>0.10.1"
gem 'json', "1.5.2"
gem 'grit', "~>2.4.1"
gem 'rvm', "~>1.6.5", :path => '/usr/src/rvm'
gem 'open4'
gem "vagrant", "~>0.7.5"
gem "vagrant", "0.8.6"
end
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "rr", "~> 1.0.2"
gem "yard", "~> 0.6.0"
gem "bundler", "~> 1.0.11"
gem "bundler", "~> 1.0.15"
gem "jeweler", "~> 1.5.2"
gem "rcov", ">= 0"
gem "reek", "~> 1.2.8"
Expand Down
51 changes: 24 additions & 27 deletions Gemfile.lock
Expand Up @@ -6,11 +6,10 @@ PATH
GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
archive-tar-minitar (0.5.2)
builder (3.0.0)
bunny (0.6.0)
chef (0.10.0)
bunny (0.7.2)
chef (0.10.2)
bunny (>= 0.6.0)
erubis
highline
Expand All @@ -26,20 +25,19 @@ GEM
rest-client (< 1.7.0, >= 1.0.4)
treetop (~> 1.4.9)
uuidtools
childprocess (0.1.9)
childprocess (0.2.0)
ffi (~> 1.0.6)
cucumber (0.10.3)
cucumber (1.0.2)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (>= 2.3.8)
gherkin (~> 2.4.5)
json (>= 1.4.6)
term-ansicolor (>= 1.0.5)
diff-lcs (1.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
erubis (2.7.0)
fakefs (0.3.2)
ffi (1.0.9)
gherkin (2.3.9)
gherkin (2.4.5)
json (>= 1.4.6)
git (1.2.5)
grit (2.4.1)
Expand All @@ -51,8 +49,7 @@ GEM
bundler (~> 1.0.0)
git (>= 1.2.5)
rake
json (1.5.1)
mario (0.0.6)
json (1.5.2)
mime-types (1.16)
mixlib-authentication (1.1.4)
mixlib-log
Expand All @@ -74,24 +71,24 @@ GEM
mixlib-log
systemu
yajl-ruby
open4 (1.0.1)
open4 (1.1.0)
polyglot (0.3.1)
rake (0.9.0)
rake (0.9.2)
rcov (0.9.9)
reek (1.2.8)
ruby2ruby (~> 1.2)
ruby_parser (~> 2.0)
sexp_processor (~> 3.0)
rest-client (1.6.1)
rest-client (1.6.3)
mime-types (>= 1.16)
roodi (2.1.0)
ruby_parser
rr (1.0.2)
rr (1.0.3)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.3)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
Expand All @@ -102,43 +99,43 @@ GEM
sexp_processor (~> 3.0)
sexp_processor (3.0.5)
systemu (2.2.0)
term-ansicolor (1.0.5)
term-ansicolor (1.0.6)
thor (0.14.6)
treetop (1.4.9)
polyglot (>= 0.3.1)
uuidtools (2.1.2)
vagrant (0.7.5)
vagrant (0.8.2)
archive-tar-minitar (= 0.5.2)
erubis (~> 2.6.6)
erubis (~> 2.7.0)
i18n (~> 0.5.0)
json (~> 1.5.1)
mario (~> 0.0.6)
net-scp (~> 1.0.4)
net-ssh (~> 2.1.0)
net-ssh (~> 2.1.4)
thor (~> 0.14.6)
virtualbox (~> 0.8.3)
virtualbox (0.8.6)
ffi (~> 1.0)
virtualbox (~> 0.9.1)
virtualbox (0.9.1)
ffi (~> 1.0.9)
yajl-ruby (0.8.2)
yard (0.6.8)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.0.11)
chef (~> 0.10.0)
bundler (~> 1.0.15)
chef (~> 0.10.1)
childprocess (>= 0.1.7)
cucumber
fakefs (~> 0.3.1)
grit (~> 2.4.1)
jeweler (~> 1.5.2)
json (= 1.5.2)
open4
rcov
reek (~> 1.2.8)
roodi (~> 2.1.0)
rr (~> 1.0.2)
rspec (>= 2.5.0)
rvm (~> 1.6.5)!
vagrant (~> 0.7.5)
vagrant (= 0.8.2)
yard (~> 0.6.0)
46 changes: 46 additions & 0 deletions cuken.gems
Expand Up @@ -4,21 +4,30 @@ activesupport -v3.0.5
amqp -v0.6.7
archive-tar-minitar -v0.5.2
arrayfields -v4.7.4
aruba -v0.3.6
aruba -v0.3.5
aruba -v0.3.4
aruba -v0.3.3
aruba -v0.3.2
builder -v3.0.0
bundler -v1.0.11
bundler -v1.0.7
bunny -v0.6.0
chef -v0.10.2
chef -v0.10.0
chef -v0.10.0.rc.1
chef -v0.10.0.rc.0
chef -v0.9.16
chef -v0.9.14
chef -v0.9.12
childprocess -v0.1.9
childprocess -v0.1.8
childprocess -v0.1.7
chronic -v0.2.3
churn -v0.0.13
colored -v1.2
columnize -v0.3.2
cucumber -v0.10.3
cucumber -v0.10.2
cucumber -v0.10.0
cucumber-nagios -v0.9.0
Expand All @@ -27,29 +36,40 @@ cuken -v0.1.4
cuken -v0.1.1
cuken -v0.1.0
diff-lcs -v1.1.2
erubis -v2.7.0
erubis -v2.6.6
eventmachine -v0.12.10
extlib -v0.9.15
fakefs -v0.3.2
fakefs -v0.3.1
fattr -v2.2.0
ffi -v1.0.9
ffi -v1.0.7
ffi -v0.6.3
flay -v1.4.2
flog -v2.5.1
gherkin -v2.3.9
gherkin -v2.3.7
gherkin -v2.3.6
gherkin -v2.3.5
gherkin -v2.3.4
git -v1.2.5
grit -v2.4.1
haml -v3.0.25
highline -v1.6.2
highline -v1.6.1
hirb -v0.4.0
hoe -v2.9.1
i18n -v0.5.0
jeweler -v1.5.2
json -v1.5.2
json -v1.5.1
json -v1.4.6
json_pure -v1.5.1
linecache19 -v0.5.12
linecache19 -v0.5.11
main -v4.4.0
mario -v0.0.6
mechanize -v1.0.0
metric_fu -v2.0.0
mime-types -v1.16
Expand All @@ -59,50 +79,76 @@ mixlib-config -v1.1.2
mixlib-log -v1.3.0
mixlib-log -v1.2.0
moneta -v0.6.0
net-scp -v1.0.4
net-ssh -v2.1.4
net-ssh -v2.1.3
net-ssh -v2.1.0
net-ssh -v2.0.18
net-ssh-gateway -v1.1.0
net-ssh-gateway -v1.0.1
net-ssh-multi -v1.0.1
nokogiri -v1.4.4
ohai -v0.6.4
ohai -v0.6.2
ohai -v0.6.0
ohai -v0.5.8
open4 -v1.0.1
polyglot -v0.3.1
rack -v1.2.2
rack -v1.2.1
rack-test -v0.5.7
rails_best_practices -v0.7.1
rake -v0.9.0
rake -v0.8.7
rcov -v0.9.9
reek -v1.2.8
relish -v0.2.2
relish -v0.0.3
rest-client -v1.6.3
rest-client -v1.6.1
roodi -v2.1.0
rr -v1.0.2
rspec -v2.6.0
rspec -v2.5.0
rspec -v2.3.0
rspec-core -v2.6.3
rspec-core -v2.5.2
rspec-core -v2.5.1
rspec-core -v2.3.1
rspec-expectations -v2.6.0
rspec-expectations -v2.5.0
rspec-expectations -v2.3.0
rspec-mocks -v2.6.0
rspec-mocks -v2.5.0
rspec-mocks -v2.3.0
ruby-debug-base19x -v0.11.27
ruby-debug-base19x -v0.11.26
ruby-debug-base19x -v0.11.25.jb3
ruby-debug-ide -v0.4.17.beta3
ruby-debug-ide -v0.4.17.beta2
ruby-progressbar -v0.0.9
ruby2ruby -v1.2.5
ruby_core_source -v0.1.5
ruby_core_source -v0.1.4
ruby_parser -v2.0.6
rvm -v1.6.5
rvm -v1.5.2
Saikuro -v1.1.0
sexp_processor -v3.0.5
ssh-forever -v0.4.0
systemu -v2.2.0
systemu -v1.2.0
templater -v1.0.0
term-ansicolor -v1.0.5
thor -v0.14.6
treetop -v1.4.9
uuidtools -v2.1.2
vagrant -v0.7.5
vagrant -v0.7.3
virtualbox -v0.8.6
virtualbox -v0.8.3
webrat -v0.7.2
yajl-ruby -v0.8.2
yard -v0.6.8
yard -v0.6.7
yard -v0.6.5

0 comments on commit f88f78c

Please sign in to comment.