propro 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c502589f40be1481a47fcfe531c1cb52cabd254
4
- data.tar.gz: 471c29f3c8dd302cfd62fe46de730b86f52dce1f
3
+ metadata.gz: df004a64911dcf67991fd5295cc29558f1fcd8c0
4
+ data.tar.gz: 183ceaa8a066f8868577e740e5dc6e0ff6578454
5
5
  SHA512:
6
- metadata.gz: 1bbaf3c00f4dfc501af427bddc3f4c4357995c86549eed9f3a5c0ca5173ad01201d6689b49e9f3735b8cbb20d109d6b131fcfb60e098094c0ff7f4230d4211a5
7
- data.tar.gz: 835a703fe482208a1be310fcc632c3b61c443f73732ce1dbe28c00e9a0f6f0ae4ffa7c7fa0b2f3ed7a4761d32a3fa191916f1a6dcee003664392c1de02bca029
6
+ metadata.gz: f8f1978572ac1481bc6972690508709a8db15e12a6f1dcd5cf8975e4677791df56119e4960595ddedc818de5ba0c23588a0e8c81305f27f8dd30fbd95d993eee
7
+ data.tar.gz: 97d36999922c14c54757965f3ebf9559a8946e8214c8d6b2b0aab127d186a7012ac503d2a151962c35e9e9beabc27c51fea2dc413e2b5893f24dec5f1628bd41
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
2
  # requires app.sh
3
- export APP_RVM_RUBY_VERSION="2.1.1" # @specify
3
+ export APP_RVM_RUBY_VERSION="2.1.2" # @specify
4
4
 
5
5
  function provision-app-rvm {
6
6
  rvm-install-for-user $APP_USER $APP_RVM_RUBY_VERSION
@@ -36,9 +36,9 @@ respawn limit 3 30
36
36
  instance \${app}
37
37
 
38
38
  script
39
- exec /bin/bash <<EOTT
39
+ exec /bin/bash <<'EOTT'
40
40
  export HOME="\$(eval echo ~\$(id -un))"
41
- source \$HOME/.rvm/scripts/rvm
41
+ source "\$HOME/.rvm/scripts/rvm"
42
42
  logger -t sidekiq "Starting worker: \$app"
43
43
  cd \$app
44
44
  exec bundle exec sidekiq -e $APP_ENV -C $APP_SIDEKIQ_CONFIG_FILE_RELATIVE -P $APP_SIDEKIQ_PID_FILE_RELATIVE
@@ -46,9 +46,9 @@ EOTT
46
46
  end script
47
47
 
48
48
  pre-stop script
49
- exec /bin/bash <<EOTT
49
+ exec /bin/bash <<'EOTT'
50
50
  export HOME="\$(eval echo ~\$(id -un))"
51
- source \$HOME/.rvm/scripts/rvm
51
+ source "\$HOME/.rvm/scripts/rvm"
52
52
  logger -t sidekiq "Stopping worker: \$app"
53
53
  cd \$app
54
54
  exec bundle exec sidekiqctl stop $APP_SIDEKIQ_PID_FILE_RELATIVE
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- export NODE_VERSION="0.10.26" # @specify
2
+ export NODE_VERSION="0.10.29" # @specify
3
3
 
4
4
  function get-node-pkg-name {
5
5
  echo "node-v$NODE_VERSION-linux-$(get-archtype)"
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env bash
2
2
  export PG_VERSION="9.3" # @specify
3
+ export PG_INSTALL_POSTGIS="no" # @specify
3
4
  export PG_EXTENSIONS="btree_gin btree_gist fuzzystrmatch hstore intarray ltree pg_trgm tsearch2 unaccent" # @specify see: http://www.postgresql.org/docs/9.3/static/contrib.html
4
5
  export PG_CONFIG_FILE="/etc/postgresql/$PG_VERSION/main/postgresql.conf"
5
6
  export PG_HBA_FILE="/etc/postgresql/$PG_VERSION/main/pg_hba.conf"
@@ -11,7 +12,11 @@ function get-pg-tune-url {
11
12
  }
12
13
 
13
14
  function pg-install-packages {
14
- install-packages postgresql-$PG_VERSION libpq-dev postgresql-contrib-$PG_VERSION
15
+ if is-yes $PG_INSTALL_POSTGIS; then
16
+ install-packages postgresql-$PG_VERSION libpq-dev postgresql-contrib-$PG_VERSION postgresql-$PG_VERSION-postgis
17
+ else
18
+ install-packages postgresql-$PG_VERSION libpq-dev postgresql-contrib-$PG_VERSION
19
+ fi
15
20
  }
16
21
 
17
22
  function pg-tune {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- export REDIS_VERSION="2.8.9" # @specify
2
+ export REDIS_VERSION="2.8.11" # @specify
3
3
  export REDIS_USER="redis"
4
4
  export REDIS_CONF_FILE="/etc/redis.conf"
5
5
  export REDIS_DATA_DIR="/var/lib/redis"
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- export VAGRANT_RVM_RUBY_VERSION="2.0.0" # @specify
2
+ export VAGRANT_RVM_RUBY_VERSION="2.1.2" # @specify
3
3
 
4
4
  function provision-vagrant-rvm {
5
5
  rvm-install-for-user $VAGRANT_USER $VAGRANT_RVM_RUBY_VERSION
@@ -1,3 +1,3 @@
1
1
  module Propro
2
- VERSION = '0.4.3'
2
+ VERSION = '0.5.0'
3
3
  end
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(/^test\//)
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'thor', '~> 0.18'
22
- spec.add_dependency 'net-scp', '~> 1.1'
21
+ spec.add_dependency 'thor', '~> 0.19'
22
+ spec.add_dependency 'net-scp', '~> 1.2'
23
23
 
24
- spec.add_development_dependency 'bundler', '~> 1.5'
24
+ spec.add_development_dependency 'bundler', '~> 1.6'
25
25
  spec.add_development_dependency 'rake'
26
26
  spec.add_development_dependency 'minitest'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Nielsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-25 00:00:00.000000000 Z
11
+ date: 2014-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.18'
19
+ version: '0.19'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.18'
26
+ version: '0.19'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: net-scp
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.1'
33
+ version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.1'
40
+ version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.5'
47
+ version: '1.6'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.5'
54
+ version: '1.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.2.0
167
+ rubygems_version: 2.2.2
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: A standalone server provisioning tool