Sha256: 4c95014bbd57c958040eb9c04bb5b660b92053fad477954ffbb4a29e39aaa813

Contents?: true

Size: 855 Bytes

Versions: 3

Compression:

Stored size: 855 Bytes

Contents

RAILS_ENV = test
BUNDLE = RAILS_ENV=${RAILS_ENV} bundle
BUNDLE_OPTIONS = -j 2
RSPEC = rspec
APPRAISAL = appraisal

all: test

test: config/database bundler/install appraisal/install
	${BUNDLE} exec ${APPRAISAL} ${RSPEC} spec 2>&1

config/database:
	touch spec/internal/config/database.yml
	echo 'test:' >> spec/internal/config/database.yml
	echo '  adapter: postgresql' >> spec/internal/config/database.yml
	echo '  database: docker' >> spec/internal/config/database.yml
	echo '  username: docker' >> spec/internal/config/database.yml
	echo '  host: localhost' >> spec/internal/config/database.yml
	echo '  min_messages: warning' >> spec/internal/config/database.yml

bundler/install:
	if ! gem list bundler -i > /dev/null; then \
	  gem install bundler; \
	fi
	${BUNDLE} install ${BUNDLE_OPTIONS}

appraisal/install:
	${BUNDLE} exec ${APPRAISAL} install

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
redis_counters-dumpers-1.0.0 Makefile
simple_hstore_accessor-0.1.0 Makefile
redis_counters-dumpers-0.1.0 Makefile