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 +4 -4
- data/ext/bash/app/rvm.sh +1 -1
- data/ext/bash/app/sidekiq.sh +4 -4
- data/ext/bash/lib/node.sh +1 -1
- data/ext/bash/lib/pg.sh +6 -1
- data/ext/bash/lib/redis.sh +1 -1
- data/ext/bash/vagrant/rvm.sh +1 -1
- data/lib/propro/version.rb +1 -1
- data/propro.gemspec +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df004a64911dcf67991fd5295cc29558f1fcd8c0
|
4
|
+
data.tar.gz: 183ceaa8a066f8868577e740e5dc6e0ff6578454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8f1978572ac1481bc6972690508709a8db15e12a6f1dcd5cf8975e4677791df56119e4960595ddedc818de5ba0c23588a0e8c81305f27f8dd30fbd95d993eee
|
7
|
+
data.tar.gz: 97d36999922c14c54757965f3ebf9559a8946e8214c8d6b2b0aab127d186a7012ac503d2a151962c35e9e9beabc27c51fea2dc413e2b5893f24dec5f1628bd41
|
data/ext/bash/app/rvm.sh
CHANGED
data/ext/bash/app/sidekiq.sh
CHANGED
@@ -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
|
data/ext/bash/lib/node.sh
CHANGED
data/ext/bash/lib/pg.sh
CHANGED
@@ -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
|
-
|
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 {
|
data/ext/bash/lib/redis.sh
CHANGED
data/ext/bash/vagrant/rvm.sh
CHANGED
data/lib/propro/version.rb
CHANGED
data/propro.gemspec
CHANGED
@@ -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.
|
22
|
-
spec.add_dependency 'net-scp', '~> 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.
|
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
|
+
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
167
|
+
rubygems_version: 2.2.2
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: A standalone server provisioning tool
|