neeto-commons-backend 1.0.105 → 1.0.106
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/neeto_commons_backend/well_knowns_controller.rb +10 -0
- data/app/views/neeto_commons_backend/well_knowns/apple_app_site_association.json.jbuilder +1 -5
- data/app/views/neeto_commons_backend/well_knowns/assetlinks.json.jbuilder +1 -9
- data/lib/neeto_commons_backend/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5437db1f8265db08cf9bc5e775cad67a33cc325e6b411af31b9b58f74e0c5935
|
4
|
+
data.tar.gz: 070a34deba11adaa45e15291d41b6a1e501420ac14a98716d2966903a54ba52b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94290b3544538d71cbe856365df33cde56360dbaafebd0f1e48fef8ed65502a7feb12ff0ca54cb977805b46819c679460da05734453aad86006c2d7b5eb3e7b2
|
7
|
+
data.tar.gz: 511e7607d720ccc553bed509f8da429a62acbeab35ae12eb871446e7bde38f30a507301f0dbf4fc40d1c793f9365f2deaccce527a2c4bf51675713cf80bbb6b0
|
data/Gemfile.lock
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
module NeetoCommonsBackend
|
4
4
|
class WellKnownsController < ApplicationController
|
5
|
+
before_action :build_app_name
|
6
|
+
|
5
7
|
def assetlinks
|
6
8
|
render
|
7
9
|
end
|
@@ -9,5 +11,13 @@ module NeetoCommonsBackend
|
|
9
11
|
def apple_app_site_association
|
10
12
|
render
|
11
13
|
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def build_app_name
|
18
|
+
@app_name = Rails.env.staging? ?
|
19
|
+
"#{Rails.application.secrets[:application_name].downcase}.staging" :
|
20
|
+
Rails.application.secrets[:application_name].downcase
|
21
|
+
end
|
12
22
|
end
|
13
23
|
end
|
@@ -5,11 +5,7 @@ json.applinks(
|
|
5
5
|
apps: [],
|
6
6
|
details: [
|
7
7
|
{
|
8
|
-
appID: "5V896MVJUP.com.bigbinary.mobile.#{
|
9
|
-
paths: ["*"]
|
10
|
-
},
|
11
|
-
{
|
12
|
-
appID: "5V896MVJUP.com.bigbinary.mobile.#{Rails.application.secrets[:application_name].downcase}.staging",
|
8
|
+
appID: "5V896MVJUP.com.bigbinary.mobile.#{@app_name}",
|
13
9
|
paths: ["*"]
|
14
10
|
}
|
15
11
|
]
|
@@ -5,15 +5,7 @@ json.array! [
|
|
5
5
|
"relation": ["delegate_permission/common.handle_all_urls"],
|
6
6
|
"target": {
|
7
7
|
"namespace": "android_app",
|
8
|
-
"package_name": "com.bigbinary.mobile.#{
|
9
|
-
"sha256_cert_fingerprints": Rails.application.secrets[:sha256_cert_fingerprints_staging]
|
10
|
-
}
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"relation": ["delegate_permission/common.handle_all_urls"],
|
14
|
-
"target": {
|
15
|
-
"namespace": "android_app",
|
16
|
-
"package_name": "com.bigbinary.mobile.#{Rails.application.secrets[:application_name].downcase}",
|
8
|
+
"package_name": "com.bigbinary.mobile.#{@app_name}",
|
17
9
|
"sha256_cert_fingerprints": Rails.application.secrets[:sha256_cert_fingerprints]
|
18
10
|
}
|
19
11
|
}
|