zuora_connect_ui 0.11.8 → 0.11.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b75f3d3cf14a7411bdead1cd83dbbc4047ee7666dcb8f345f5d04877cff44da7
4
- data.tar.gz: 6946aab23da7a0b10f7944db7e4a9a94d4e6de6f2e3d1e75665596880c470d06
3
+ metadata.gz: 32d372e496a1170a4795931cb901e98e540527e333c2dbb3962da0155e854e2f
4
+ data.tar.gz: bf6fddc5f49eeebb2ef0171428d86d505eb08ce3fec9bca7ed180850abdade6e
5
5
  SHA512:
6
- metadata.gz: 21f7d99ad494bca3070d15ad2f16aa841744efbb71a2f27887e0983156584fb07e292f2c30c40fb2fd8b2fb14afeae1f9b41e57d0c3b6145470e57994d160a7a
7
- data.tar.gz: b354f52d8864d0d5a232955a095eb93b2669cb8bb2783a94be7a630391825e1e2943cee590c47da56b786ab65c9066e571250704966483a0c991405d7f43759b
6
+ metadata.gz: e2e339ad687a0ec46e9fdba8f72fbd1427e01289cf183ece5383fbefb76a0c6031342059cc728b31b8dd44ff2a533ed013ccc9c56a4e808b8a7b263dc331ff78
7
+ data.tar.gz: 6b59903dbd023b6c88b7f96a293e50d2d7076ad2dfc1529644c0ed8bca4268b4d1bf625139845da2a50aa403c8cc830372f43ad61969ca4c420087207033ad34
@@ -1,6 +1,6 @@
1
1
  const process = {
2
2
  env: {
3
- APP_NAME: "<%= Rails.application.class.parent_name %>",
3
+ APP_NAME: "<%= ZuoraConnectUi.app_parent_name %>",
4
4
  NODE_ENV: "<%= Rails.env %>",
5
5
  ZUORA_CONNECT_UI: true
6
6
  }
@@ -11,4 +11,13 @@ require 'peek/views/connect'
11
11
 
12
12
  # UI for Connect Applications
13
13
  module ZuoraConnectUi
14
+ class << self
15
+ def app_parent_name
16
+ if Rails::VERSION::MAJOR >= 6
17
+ Rails.application.class.module_parent_name
18
+ else
19
+ Rails.application.class.parent_name
20
+ end
21
+ end
22
+ end
14
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZuoraConnectUi
4
- VERSION = '0.11.8'
4
+ VERSION = '0.11.9'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_connect_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.8
4
+ version: 0.11.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connect Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-20 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap-sass