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: 113325ef8d54733dc5532ac60be2f5fb2491f2693bef1acde203af73252f1c22
4
- data.tar.gz: fa246ba4cdbfc45c77edba8fdaa65fac874355417baa6ac9c90e12bb275ec4d3
3
+ metadata.gz: 8535fef62ce3f9a8d0aaad90593d8961e61ba10ede764675c885dead6510a400
4
+ data.tar.gz: 43097fa7e2a6e2ac5ed34670f9adc98d833dff544edb3b93016b5ec73b0963e3
5
5
  SHA512:
6
- metadata.gz: e7ac9f5ee9d73d32e4cfb3f368f3c9b208465e51e7d5d3e6178a0ca163d9bda9a1b3546d1eae0a4004cf8a9bf7af0ac9a7b16d719f0a6fd235f1da9c37a07efc
7
- data.tar.gz: 2792ca70c1b3b0a944df0a8399307d2cae2114172d0292f9845cb28c07b6cd7433b673e056f6aef0156a2567787abfe8218220fdd0fce53a66907247d8934b94
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
@@ -45,10 +45,11 @@ module Cloudfront
45
45
  " }"].join("\n")
46
46
  end
47
47
 
48
- gem "rack-cors"
49
48
  inside Rails.root do
50
49
  run "bundle install"
51
50
  end
51
+
52
+ `heroku config:set CLOUDFRONT_URL=#{cloudfront_url} --app #{heroku_app_name}`
52
53
  end
53
54
  end
54
55
  end
@@ -1,3 +1,3 @@
1
1
  module ThesisCloudfront
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thesis_cloudfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Vigil