diff --git a/.gitignore b/.gitignore index 05fe0ca..191776d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,14 @@ -SOURCES/rspec-3.7.0.gem +rspec-1.3.0.gem +/rspec-1.3.1.gem +/rspec-2.8.0.gem +/rspec-2.11.0.gem +/rspec-2.12.0.gem +/rspec-2.13.0.gem +/rspec-2.14.1.gem +/rspec-3.1.0.gem +/rspec-3.2.0.gem +/rspec-3.3.0.gem +/rspec-3.4.0.gem +/rspec-3.5.0.gem +/rspec-3.6.0.gem +/rspec-3.7.0.gem diff --git a/rspec-3.7.0.gem b/rspec-3.7.0.gem deleted file mode 100644 index 6ce573a..0000000 Binary files a/rspec-3.7.0.gem and /dev/null differ diff --git a/rspec-related-create-full-tarball.sh b/rspec-related-create-full-tarball.sh new file mode 100644 index 0000000..a847c6c --- /dev/null +++ b/rspec-related-create-full-tarball.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +if [ $# -lt 2 ] +then + echo "$0 " + exit 1 +fi + +set -x +set -e + +CURRDIR=$(pwd) + +TMPDIRPATH=$(mktemp -d /var/tmp/rspec-tar-XXXXXX) +pushd $TMPDIRPATH + +git clone https://github.com/rspec/$1.git +pushd $1 +git reset --hard v$2 +popd + +ln -sf $1 $1-$2 +tar czf ${CURRDIR}/rubygem-$1-$2-full.tar.gz $1-$2/./ + +popd + +rm -rf $TMPDIRPATH