suspenders-ocs 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/suspenders/adapters/heroku.rb +4 -0
- data/lib/suspenders/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf76b221bc279ae8c3f5eb4690b2c5a816229af2
|
|
4
|
+
data.tar.gz: 1cd11147c44018fde67dcbe74491bce703eb086d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96d7470a40ae49ddf7f6cb35c9d693fb9f11bc32e8654b0d9568569f19b9d0ed370302facd89e65f5b22a40b961cfcb5075d4d1674a63293e9763e4384f0894e
|
|
7
|
+
data.tar.gz: 2bd7163c6abf14e4a8b0f36911a7a4910add537f2f23b9b760861595e231a671e22b5c434e99944bf99b2f5154318d3551b2ad7fa9f4958b7791fabea974491e
|
|
@@ -31,6 +31,8 @@ module Suspenders
|
|
|
31
31
|
run_toolbelt_command "create #{app_name} #{flags}", "staging"
|
|
32
32
|
run_toolbelt_command "config:add #{rack_env}", "staging"
|
|
33
33
|
run_toolbelt_command "config:set #{smtp_config_vars('staging')}", "staging"
|
|
34
|
+
run_toolbelt_command "config:set APPLICATION_HOST=#{app_name}.herokuapp.com"
|
|
35
|
+
run_toolbelt_command "config:set WEB_CONCURRENCY=1"
|
|
34
36
|
end
|
|
35
37
|
|
|
36
38
|
def create_production_heroku_app(flags)
|
|
@@ -38,6 +40,8 @@ module Suspenders
|
|
|
38
40
|
|
|
39
41
|
run_toolbelt_command "create #{app_name} #{flags}", "production"
|
|
40
42
|
run_toolbelt_command "config:set #{smtp_config_vars('production')}", "production"
|
|
43
|
+
run_toolbelt_command "config:set APPLICATION_HOST=#{app_name}.herokuapp.com"
|
|
44
|
+
run_toolbelt_command "config:set WEB_CONCURRENCY=1"
|
|
41
45
|
end
|
|
42
46
|
|
|
43
47
|
def set_heroku_rails_secrets
|
data/lib/suspenders/version.rb
CHANGED