This repository was archived by the owner on Dec 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 22
33class Postgresql < Formula
44 homepage 'http://www.postgresql.org/'
5- url 'http://ftp.postgresql.org/pub/source/v9.3.2 /postgresql-9.3.2 .tar.bz2'
6- sha256 '700da51a71857e092f6af1c85fcd86b46d7d5cd2f2ba343cafb1f206c20232d7 '
7- version '9.3.2 -boxen'
5+ url 'http://ftp.postgresql.org/pub/source/v9.4.1 /postgresql-9.4.1 .tar.bz2'
6+ sha256 '29ddb77c820095b8f52e5455e9c6c6c20cf979b0834ed1986a8857b84888c3a6 '
7+ version '9.4.1 -boxen'
88
99 option '32-bit'
1010 option 'no-perl' , 'Build without Perl support'
Original file line number Diff line number Diff line change 77
88 $bindir = " ${boxen::config::homebrewdir} /bin"
99 $executable = " ${bindir} /postgres"
10- $datadir = " ${boxen::config::datadir} /postgresql-9.3 "
11- $logdir = " ${boxen::config::logdir} /postgresql-9.3 "
10+ $datadir = " ${boxen::config::datadir} /postgresql-9.4 "
11+ $logdir = " ${boxen::config::logdir} /postgresql-9.4 "
1212 $port = 15432
1313
1414 $package = ' boxen/brews/postgresql'
15- $version = ' 9.3.2 -boxen'
15+ $version = ' 9.4.1 -boxen'
1616
1717 $service = ' dev.postgresql'
1818
Original file line number Diff line number Diff line change 66 it do
77 should include_class ( 'boxen::config' )
88
9- %w( data/postgresql-9.3 log/postgresql-9.3 ) . each do |d |
9+ %w( data/postgresql-9.4 log/postgresql-9.4 ) . each do |d |
1010 should contain_file ( "/test/boxen/#{ d } " ) . with_ensure ( :directory )
1111 end
1212
Original file line number Diff line number Diff line change 66 it do
77 should contain_service ( "com.boxen.postgresql" ) . with_ensure ( :stopped )
88
9- should contain_exec ( "init-postgresql-db" ) . with_creates ( "/test/boxen/data/postgresql-9.3 /PG_VERSION" )
9+ should contain_exec ( "init-postgresql-db" ) . with_creates ( "/test/boxen/data/postgresql-9.4 /PG_VERSION" )
1010 should contain_service ( "dev.postgresql" ) . with_ensure ( :running )
1111 should contain_exec ( "wait-for-postgresql" ) . with_unless ( "nc -z 127.0.0.1 15432" )
1212 end
You can’t perform that action at this time.
0 commit comments