Skip to content

Commit

Permalink
dropping 1.8.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Yoon committed Jul 1, 2013
1 parent 33439f6 commit d27bdda
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ History for Surveyor
(#450)
- Handle `nil` datetime values in `ResponseMethods#to_formatted_s`. (#459)

### Dependencies

- Removing support for Ruby 1.8.7. Applications requiring Ruby 1.8.7 should use Surveyor v1.4.0

1.4.0
-----
### Features
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ without maintaining a fork.

Surveyor works with:

* Ruby 1.8.7, 1.9.2, and 1.9.3
* Ruby 1.9.2, and 1.9.3
* Rails 3.1-3.2

In keeping with the Rails team maintenance [policy] we no longer support Rails 3.0 (stick with v1.3.0 if you need Rails 3.0) or Ruby 1.8.7 (stick with v1.4.0 if you need Ruby 1.8.7).

Some key dependencies are:

* HAML
Expand All @@ -31,6 +33,7 @@ Some key dependencies are:
A more exhaustive list can be found in the [gemspec][].

[gemspec]: https://github.com/NUBIC/surveyor/blob/master/surveyor.gemspec
[policy]: http://weblog.rubyonrails.org/2013/2/24/maintenance-policy-for-ruby-on-rails/

## Install

Expand Down
21 changes: 17 additions & 4 deletions stacktests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ echo ""

# Set the prompt for the select command
PS3="Choose a stack or 'q' to quit: "
export CUCUMBER_OPTS="--format CucumberSpinner::ProgressBarFormatter"
export SPEC_OPTS="--format Fuubar --color spec"
export BUNDLER_VERSION=1.3.1

options=""
rubies=(ree 1.9.3)
rubies=(1.9.3)
rails_versions=(rails_3.1 rails_3.2)

for i in "${rubies[@]}"
Expand All @@ -22,7 +25,6 @@ options+="all"
select combo in $options; do
case $combo in
all)
read -p "Press [Enter] to run tests on all..."
for i in "${rubies[@]}"
do
for j in "${rails_versions[@]}"
Expand All @@ -31,7 +33,13 @@ select combo in $options; do
export RAILS_VERSION=$j
source ~/.rvm/scripts/rvm
rvm use $CI_RUBY@surveyor-$RAILS_VERSION --create
./ci-exec.sh
read -p "Press [Enter] to run tests on $CI_RUBY@$RAILS_VERSION..."
gem list -i bundler -v $BUNDLER_VERSION
if [ $? -ne 0 ]; then
gem install bundler -v $BUNDLER_VERSION
fi
bundle _${BUNDLER_VERSION}_ update
bundle _${BUNDLER_VERSION}_ exec rake testbed spec cucumber cucumber:wip
done
done
;;
Expand All @@ -45,7 +53,12 @@ select combo in $options; do
source ~/.rvm/scripts/rvm
rvm use $CI_RUBY@surveyor-$RAILS_VERSION --create
read -p "Press [Enter] to run tests on $CI_RUBY@$RAILS_VERSION..."
./ci-exec.sh
gem list -i bundler -v $BUNDLER_VERSION
if [ $? -ne 0 ]; then
gem install bundler -v $BUNDLER_VERSION
fi
bundle _${BUNDLER_VERSION}_ update
bundle _${BUNDLER_VERSION}_ exec rake testbed spec cucumber cucumber:wip
;;
esac
break
Expand Down

0 comments on commit d27bdda

Please sign in to comment.