neeto-commons-backend 1.0.104 → 1.0.106

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: ddc7a314a9caf8aaa2b8bcbc34ed5eecf782a2abde5f354aa9903df1bcc394a4
4
- data.tar.gz: 5182c18409a1055f2bb856beffaf91514bbfbb4a159a86525418c72785dbf80d
3
+ metadata.gz: 5437db1f8265db08cf9bc5e775cad67a33cc325e6b411af31b9b58f74e0c5935
4
+ data.tar.gz: 070a34deba11adaa45e15291d41b6a1e501420ac14a98716d2966903a54ba52b
5
5
  SHA512:
6
- metadata.gz: 7e5c3fa4bb231e4c3e6f8e21340219d43e7232e8f56ae4f51ee13404875e231e02ba7101cd442c3851bae1500570a1528b450bf0a1bdbe986ccda9d93551f47d
7
- data.tar.gz: 69993989b507a118e4d9537e66e10db4558bcc26e616b8c79f68455538d1ed193e220179ff92275d1aeddaf989cd32eb1006ef64a1c4a54e33b05c22227af2f8
6
+ metadata.gz: 94290b3544538d71cbe856365df33cde56360dbaafebd0f1e48fef8ed65502a7feb12ff0ca54cb977805b46819c679460da05734453aad86006c2d7b5eb3e7b2
7
+ data.tar.gz: 511e7607d720ccc553bed509f8da429a62acbeab35ae12eb871446e7bde38f30a507301f0dbf4fc40d1c793f9365f2deaccce527a2c4bf51675713cf80bbb6b0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neeto-commons-backend (1.0.104)
4
+ neeto-commons-backend (1.0.106)
5
5
  actionview
6
6
  bullet
7
7
  database_cleaner
@@ -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.#{Rails.application.secrets[:application_name].downcase}",
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.#{Rails.application.secrets[:application_name].downcase}.staging",
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
  }
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/eslint-parser": "7.17.0",
31
- "@bigbinary/eslint-plugin-neeto": "1.0.48",
31
+ "@bigbinary/eslint-plugin-neeto": "1.0.49",
32
32
  "eslint": "8.14.0",
33
33
  "eslint-config-prettier": "8.5.0",
34
34
  "eslint-plugin-cypress": "2.12.1",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NeetoCommonsBackend
4
- VERSION = "1.0.104"
4
+ VERSION = "1.0.106"
5
5
  end
data/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "@babel/plugin-transform-runtime": "7.17.10",
9
9
  "@babel/preset-env": "7.17.10",
10
10
  "@babel/preset-react": "7.16.7",
11
- "@bigbinary/eslint-plugin-neeto": "1.0.48",
11
+ "@bigbinary/eslint-plugin-neeto": "1.0.49",
12
12
  "@bigbinary/neeto-commons-frontend": "2.0.74",
13
13
  "eslint": "8.14.0",
14
14
  "eslint-config-prettier": "8.5.0",
data/yarn.lock CHANGED
@@ -967,10 +967,10 @@
967
967
  "@babel/helper-validator-identifier" "^7.18.6"
968
968
  to-fast-properties "^2.0.0"
969
969
 
970
- "@bigbinary/eslint-plugin-neeto@1.0.48":
971
- version "1.0.48"
972
- resolved "https://registry.yarnpkg.com/@bigbinary/eslint-plugin-neeto/-/eslint-plugin-neeto-1.0.48.tgz#a4003e9653ec0a08c2c9bc0a06c476319dbcc8e0"
973
- integrity sha512-P5DVjX7wy/oLxgEq4ocCWO3UlWHzalya/UtTnEnSezaNSUlanysNfFOClXhLrNv5F+RRHVY5tAMiwo4+7JlGBQ==
970
+ "@bigbinary/eslint-plugin-neeto@1.0.49":
971
+ version "1.0.49"
972
+ resolved "https://registry.yarnpkg.com/@bigbinary/eslint-plugin-neeto/-/eslint-plugin-neeto-1.0.49.tgz#ffccd9d4eeba149a75678443a2b9a61261cbf377"
973
+ integrity sha512-wfw29eDjijitPLZrbIuap6tffwT3ZnZKgQ1ZHJdUIkEiftcpI2DmIMwSqj4tpsoyDdn1KzGzwUpJSKF2q25brw==
974
974
 
975
975
  "@bigbinary/neeto-commons-frontend@2.0.74":
976
976
  version "2.0.74"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neeto-commons-backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.104
4
+ version: 1.0.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prasanth Chaduvula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview