thesis_cloudfront 0.1.9 → 0.2.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
  SHA256:
3
- metadata.gz: 16b4b72b112f9fa18a2b1d9c6a42e5d7ff32b97736b390be0bc27fb78d6dbc34
4
- data.tar.gz: 3aaf0b5051e2851188b986c0fafb429d1fbe0bc851f4dd6b613ebf991f61018e
3
+ metadata.gz: e3a2935355f22f904c01cb1d5334579bd70725ea4fc77ed3317bde209a5e2e47
4
+ data.tar.gz: aa46b3d66aaab086ca5b0ebae1f6a640208a8832bff2bf86ec16e16d433bac7d
5
5
  SHA512:
6
- metadata.gz: 580033c89a381457f21258d9eebf151eb65a27978168e0eea3651ad0df5b6da63bcf3ba089fd7ddd0cb48c5b2bdc9433993f17e048bcb14068e89f7c6bc3eb10
7
- data.tar.gz: 76cf2b5d503552692bf46b13d2f9b9b57466b5f15b74ae3c3b5d07821de2c15609b9cef6bc3249c93fd630e74b933a8124f07952ff02beef775e4e86b79a35af
6
+ metadata.gz: bb56fc15d9c745fdc9257c66a9465a8db615d34049777e2c89ace38ed3fd1c822ed6a60170498e445e8c51ca7e23622af68822557b94c4d93a4e7f91b0f0f285
7
+ data.tar.gz: 58907e162be1a1ad87246f3329a7e572cd38a22ed2b665cb81240e537d220faaa6368cc12f1b04ac9ad78ae1541705ffd76f9cd08deff2a99f63de87ee4ab747
@@ -13,12 +13,12 @@ module ThesisCloudfront
13
13
  create_file "config/initializers/rack_cors.rb" do
14
14
  ["Rails.application.config.middleware.insert_before 0, Rack::Cors do",
15
15
  " allow do",
16
- " origins [",
17
- " /https:\\/\\/#{heroku_app_name}.herokuapp.com/,",
18
- " /http:\\/\\/#{heroku_app_name}.herokuapp.com/,",
19
- " /https:\\/\\/#{heroku_app_name}-pr-[0-9]+.herokuapp.com/,",
20
- " /http:\\/\\/#{heroku_app_name}-pr-[0-9]+.herokuapp.com/",
21
- " ]",
16
+ " origins [",
17
+ " /https:\\/\\/#{heroku_app_name}.herokuapp.com/,",
18
+ " /http:\\/\\/#{heroku_app_name}.herokuapp.com/,",
19
+ " /https:\\/\\/#{heroku_app_name}-pr-[0-9]+.herokuapp.com/,",
20
+ " /http:\\/\\/#{heroku_app_name}-pr-[0-9]+.herokuapp.com/",
21
+ " ]",
22
22
  " resource '/assets/*', headers: :any, methods: [:get, :head, :options]",
23
23
  " end",
24
24
  "end"].join("\n")
@@ -1,3 +1,3 @@
1
1
  module ThesisCloudfront
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
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.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Vigil