thesis_cloudfront 0.3.3 → 0.3.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8535fef62ce3f9a8d0aaad90593d8961e61ba10ede764675c885dead6510a400
|
4
|
+
data.tar.gz: 43097fa7e2a6e2ac5ed34670f9adc98d833dff544edb3b93016b5ec73b0963e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d6a40c7892605b4ca149c4bd445af7c40360420d6d7865d519220acf6a271a37260a1fe707b3a5834000d7dd24a05319798386e0988e47dba22fad47e82fcef
|
7
|
+
data.tar.gz: 25dfd85996f68f997328a9d48b554b33742e030c8a2f0103620aab37f73e056cfae01f9243aa5c8facd5eeff8b69eabf1d27be9d9db4ba5ddb4d05fa7a960d89
|
@@ -11,6 +11,7 @@ module ThesisCloudfront
|
|
11
11
|
end
|
12
12
|
|
13
13
|
heroku_app_name = ask("whats the name of this heroku app?")
|
14
|
+
cloudfront_url = ask("And the cloudfront URL?")
|
14
15
|
file = `heroku domains -a #{heroku_app_name} --csv`
|
15
16
|
file&.gsub!(/===.+|.+\.herokuapp.com/, '').strip
|
16
17
|
domains = []
|
@@ -49,6 +50,8 @@ module ThesisCloudfront
|
|
49
50
|
inside Rails.root do
|
50
51
|
run "bundle install"
|
51
52
|
end
|
53
|
+
|
54
|
+
`heroku config:set CLOUDFRONT_URL=#{cloudfront_url} --app #{heroku_app_name}`
|
52
55
|
end
|
53
56
|
end
|
54
57
|
end
|