forest_liana 1.1.27 → 1.1.28

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
  SHA1:
3
- metadata.gz: 9853ed6e91758c1d12a5af7bb3827b84234936e2
4
- data.tar.gz: 4eb6b8b24f32141852aef9fdae972d7a36e01077
3
+ metadata.gz: 0cacff1cf8cc8776b030d561c5f3fb2fcfca0ffd
4
+ data.tar.gz: 9bab1157945c7ba58a5e7b60509f1e85d493735c
5
5
  SHA512:
6
- metadata.gz: e16e44a4725ed657a44ba00d8f02637df611f27400027757cf9b85369b6c4a7f5915aeac67bd4b161941985260291242ef08a05e593d09a73baaaeab8644f56d
7
- data.tar.gz: e2eb581b8ce70f4974018bed198e114e72fdcc601bea606b8964e92f6813811d1114fae75f4dd439d41c8e4dc586129dc09d810d557997047b1ed59d9552d267
6
+ metadata.gz: bd00d71d1c413cbfd93121f23d2d36cf928f7b5d0233c3870562a957005ee66b171771d69a721f90d1b908225058e01614e9bd723785d451f1e1d12a609b90ca
7
+ data.tar.gz: 9097d120274e73de5cbf254cc6da318db7d91d2b12962913d0adfb5057cc0b75551b483823a0ca1669e0cac5b7a50fef441e795a26f473e9c4b6151ad9f32d63
@@ -13,7 +13,11 @@ module ForestLiana
13
13
 
14
14
  config.middleware.insert_before 0, 'Rack::Cors' do
15
15
  allow do
16
- origins 'localhost:4200', '*.forestadmin.com'
16
+ hostnames = ['localhost:4200', 'app.forestadmin.com',
17
+ 'www.forestadmin.com']
18
+ hostnames += ENV['CORS_ORIGINS'].split(',') if ENV['CORS_ORIGINS']
19
+
20
+ origins hostnames
17
21
  resource '*', headers: :any, methods: :any
18
22
  end
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.1.27"
2
+ VERSION = "1.1.28"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.27
4
+ version: 1.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails