station 0.0.136 → 0.0.137
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexmo_developer/app/assets/config/manifest.js +2 -1
- data/lib/nexmo_developer/app/assets/javascripts/digitalData.js +81 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_head.html.erb +3 -3
- data/lib/nexmo_developer/app/views/layouts/partials/_header.html.erb +1 -0
- data/lib/nexmo_developer/lib/tasks/ci.rake +14 -0
- data/lib/nexmo_developer/public/assets/.sprockets-manifest-581357ac3ba229adfc4849f02f2e7a62.json +1 -0
- data/lib/nexmo_developer/public/assets/application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css.gz +0 -0
- data/lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js.gz +0 -0
- data/lib/nexmo_developer/public/assets/digitalData-c8a2b5282d47e7089f7030b9d5e3054b3f8197a394c2b55288ec42941a6c2719.js +81 -0
- data/lib/nexmo_developer/public/assets/digitalData-c8a2b5282d47e7089f7030b9d5e3054b3f8197a394c2b55288ec42941a6c2719.js.gz +0 -0
- data/lib/nexmo_developer/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js +3 -0
- data/lib/nexmo_developer/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz +0 -0
- data/lib/nexmo_developer/version.rb +1 -1
- metadata +8 -5
- data/lib/nexmo_developer/public/assets/.sprockets-manifest-0eca22bebbdaf202e585797eba0999df.json +0 -1
- data/lib/nexmo_developer/public/assets/manifest-a72913f4c604bc8f97dd576fc8777bf029401f6af0e14b6a6c9d3874acfe73e4.js +0 -1
- data/lib/nexmo_developer/public/assets/manifest-a72913f4c604bc8f97dd576fc8777bf029401f6af0e14b6a6c9d3874acfe73e4.js.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20b59953675962a92ab725ca3bee5d0be5efe1e91274001365551b2375cb6520
|
4
|
+
data.tar.gz: 34eaf4ed263c163938d131d9cef43a8ffbed48d53eaee5e3f39adb6951829fcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a751259895aa7059be1503b89d0a748371bd69193eddee446b4262587acb46d6496c91d9acaad0661fb4d00a38e143686fedcd95a5d3c0626d326bf921a0e2c
|
7
|
+
data.tar.gz: 475fa66e46bbfca6d93893244eb40704079173f0188d005b4e56bc5f8111140cf5ef733af1495fde4a6fe74a81cb7cb4e7bb77826af52a13b1e24828c52a13f9
|
@@ -0,0 +1,81 @@
|
|
1
|
+
window.digitalData = {
|
2
|
+
page: {
|
3
|
+
pageInfo: {
|
4
|
+
pageName: '',
|
5
|
+
functionDept: 'biz:api:adp',
|
6
|
+
primaryCategory: 'biz:api:adp:developer',
|
7
|
+
siteIdentifier: 'api:adp:developer',
|
8
|
+
lob: 'biz',
|
9
|
+
subCategory1: '',
|
10
|
+
subCategory2: '',
|
11
|
+
subCategory3: '',
|
12
|
+
appVersion: '',
|
13
|
+
language: '',
|
14
|
+
country: '',
|
15
|
+
pageCategory: '',
|
16
|
+
flowName: '',
|
17
|
+
tokenFLag: '',
|
18
|
+
spaFlag: ''
|
19
|
+
},
|
20
|
+
content: {
|
21
|
+
author: '',
|
22
|
+
businessSize: '',
|
23
|
+
category: '',
|
24
|
+
company: '',
|
25
|
+
industry: '',
|
26
|
+
name: '',
|
27
|
+
product: '',
|
28
|
+
profRole: '',
|
29
|
+
publishDate: '',
|
30
|
+
subCategory: '',
|
31
|
+
topic: '',
|
32
|
+
type: ''
|
33
|
+
}
|
34
|
+
},
|
35
|
+
eventData: {
|
36
|
+
events: '',
|
37
|
+
fCTA: '',
|
38
|
+
fIndustry: '',
|
39
|
+
fLines: '',
|
40
|
+
fName: '',
|
41
|
+
interactionType: '',
|
42
|
+
linesSlider: ''
|
43
|
+
},
|
44
|
+
user: {
|
45
|
+
profile: {
|
46
|
+
profileInfo: {
|
47
|
+
visitorType: '',
|
48
|
+
accountNumber: '',
|
49
|
+
accountStatus: '',
|
50
|
+
userType: '',
|
51
|
+
userName: '',
|
52
|
+
accountPlan: '',
|
53
|
+
UserID: '',
|
54
|
+
responsiveSiteVersion: '',
|
55
|
+
country: '',
|
56
|
+
acctnumLocations: '',
|
57
|
+
acctcontractFlag: ''
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
transaction: [
|
62
|
+
{
|
63
|
+
productInfo: {
|
64
|
+
productID: ''
|
65
|
+
},
|
66
|
+
quantity: '',
|
67
|
+
price: {
|
68
|
+
basePrice: ''
|
69
|
+
}
|
70
|
+
}
|
71
|
+
]
|
72
|
+
}
|
73
|
+
|
74
|
+
document.getElementById('signin').addEventListener('click', function() {
|
75
|
+
updateVisitorType()
|
76
|
+
})
|
77
|
+
|
78
|
+
function updateVisitorType() {
|
79
|
+
const { digitalData } = window
|
80
|
+
digitalData.user.profile.profileInfo.visitorType = 'customer'
|
81
|
+
}
|
@@ -3,7 +3,9 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6
|
-
|
6
|
+
|
7
|
+
<script src="https://assets.adobedtm.com/54d668d6379a/4bfed685397d/launch-029c4ab10638-development.min.js" async></script>
|
8
|
+
|
7
9
|
<% if head.google_site_verification %>
|
8
10
|
<meta name="google-site-verification" content=<%= head.google_site_verification %> />
|
9
11
|
<% end %>
|
@@ -129,6 +131,4 @@
|
|
129
131
|
<meta name="copyright" content="<%= Time.current.year %> <%= head.application_name %>" />
|
130
132
|
|
131
133
|
<%= csrf_meta_tags %>
|
132
|
-
|
133
|
-
|
134
134
|
</head>
|
@@ -3,6 +3,7 @@ require_relative '../common_errors'
|
|
3
3
|
namespace :ci do
|
4
4
|
desc 'Verify all pages to make sure that no exceptions are thrown'
|
5
5
|
task verify_pages: :environment do
|
6
|
+
puts 'ci/verify_pages - Verify all pages to make sure that no exceptions are thrown'
|
6
7
|
document_paths =
|
7
8
|
[
|
8
9
|
"#{Rails.configuration.docs_base_path}/_documentation/en/**/*.md",
|
@@ -25,6 +26,7 @@ namespace :ci do
|
|
25
26
|
|
26
27
|
desc 'Verify side navigation to make sure every page has valid YAML metadata'
|
27
28
|
task verify_navigation: :environment do
|
29
|
+
puts 'ci/verify_navigation - Verify side navigation to make sure every page has valid YAML metadata'
|
28
30
|
session = ActionDispatch::Integration::Session.new(Rails.application)
|
29
31
|
res = session.get '/documentation'
|
30
32
|
|
@@ -36,6 +38,7 @@ namespace :ci do
|
|
36
38
|
|
37
39
|
desc 'Render all OAS based API references'
|
38
40
|
task verify_oas_reference: :environment do
|
41
|
+
puts 'ci/verify_oas_reference - Render all OAS based API references'
|
39
42
|
session = ActionDispatch::Integration::Session.new(Rails.application)
|
40
43
|
OpenApiConstraint.list.each do |name|
|
41
44
|
res = session.get "/api/#{name}"
|
@@ -49,19 +52,24 @@ namespace :ci do
|
|
49
52
|
|
50
53
|
desc 'Ensure all OAS error URLS resolve'
|
51
54
|
task verify_error_urls_resolve: :environment do
|
55
|
+
puts 'ci/verify_error_urls_resolve - Ensure all OAS error URLS resolve'
|
52
56
|
session = ActionDispatch::Integration::Session.new(Rails.application)
|
53
57
|
session.host! 'localhost' unless Rails.env.test?
|
54
58
|
|
55
59
|
errors = []
|
56
60
|
|
57
61
|
OpenApiConstraint.list.each do |name|
|
62
|
+
puts " - Checking #{name}"
|
58
63
|
definition = OpenApiDefinitionResolver.find(name)
|
59
64
|
|
60
65
|
definition.endpoints.each do |endpoint|
|
66
|
+
puts " - #{endpoint.method} #{endpoint.path.path}"
|
61
67
|
endpoint.responses.each do |response|
|
68
|
+
puts " - #{response.code}"
|
62
69
|
next if response.code[0] == '2' # Successes don't have error messages
|
63
70
|
|
64
71
|
response.formats.each do |format|
|
72
|
+
puts " - #{format}"
|
65
73
|
schema = response.schema(format)
|
66
74
|
|
67
75
|
# Turn everything in to an array to simplify things
|
@@ -72,6 +80,10 @@ namespace :ci do
|
|
72
80
|
end
|
73
81
|
|
74
82
|
properties.each do |property|
|
83
|
+
# Workaround for issue when referencing from common errors
|
84
|
+
# eg: 10DLC: - $ref: "common/common_errors.yml#/components/responses/DefaultError/content/application~1json/schema"
|
85
|
+
next if property.blank?
|
86
|
+
|
75
87
|
type = property['type']
|
76
88
|
|
77
89
|
# Skip if it's an old-style error
|
@@ -115,6 +127,7 @@ namespace :ci do
|
|
115
127
|
end
|
116
128
|
|
117
129
|
task check_word_blocklist: :environment do
|
130
|
+
puts 'ci/check_word_blocklist - Check that none words in the word blocklist are in use'
|
118
131
|
markdown_files =
|
119
132
|
[
|
120
133
|
"#{Rails.configuration.docs_base_path}/_documentation/en/**/*.md",
|
@@ -146,6 +159,7 @@ namespace :ci do
|
|
146
159
|
end
|
147
160
|
|
148
161
|
task check_ruby_version: :environment do
|
162
|
+
puts 'ci/check_ruby_version - Check that the current Ruby version is supported'
|
149
163
|
# We treat .ruby-version as the canonical source
|
150
164
|
ruby_version = File.read('.ruby-version').strip
|
151
165
|
|
data/lib/nexmo_developer/public/assets/.sprockets-manifest-581357ac3ba229adfc4849f02f2e7a62.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"files":{"manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js":{"logical_path":"manifest.js","mtime":"2021-12-15T15:06:28+00:00","size":3,"digest":"6a3cf5192354f71615ac51034b3e97c20eda99643fcaf5bbe6d41ad59bd12167","integrity":"sha256-ajz1GSNU9xYVrFEDSz6Xwg7amWQ/yvW75tQa1ZvRIWc="},"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js":{"logical_path":"application.js","mtime":"2021-12-15T15:06:28+00:00","size":3172,"digest":"67f1fd16f949c2794341a44cf839e5436bbef74436e043ead39890d1c3b2e583","integrity":"sha256-Z/H9FvlJwnlDQaRM+DnlQ2u+90Q24EPq05iQ0cOy5YM="},"digitalData-c8a2b5282d47e7089f7030b9d5e3054b3f8197a394c2b55288ec42941a6c2719.js":{"logical_path":"digitalData.js","mtime":"2021-12-15T15:06:28+00:00","size":1572,"digest":"739864c1abc7a9a4e7dbb02cdca187bd314ab0243088212f8d6599a0409af832","integrity":"sha256-c5hkwavHqaTn27As3KGHvTFKsCQwiCEvjWWZoECa+DI="},"application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css":{"logical_path":"application.css","mtime":"2021-12-15T15:06:28+00:00","size":8704,"digest":"99228d4019121f891ee008e4db5fb0ffa736bada427f4996d15c9c95d1af58b3","integrity":"sha256-mSKNQBkSH4ke4Ajk21+w/6c2utpCf0mW0VycldGvWLM="}},"assets":{"manifest.js":"manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js","application.js":"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js","digitalData.js":"digitalData-c8a2b5282d47e7089f7030b9d5e3054b3f8197a394c2b55288ec42941a6c2719.js","application.css":"application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css"}}
|
Binary file
|
Binary file
|
@@ -0,0 +1,81 @@
|
|
1
|
+
window.digitalData = {
|
2
|
+
page: {
|
3
|
+
pageInfo: {
|
4
|
+
pageName: '',
|
5
|
+
functionDept: 'biz:api:adp',
|
6
|
+
primaryCategory: 'biz:api:adp:developer',
|
7
|
+
siteIdentifier: 'api:adp:developer',
|
8
|
+
lob: 'biz',
|
9
|
+
subCategory1: '',
|
10
|
+
subCategory2: '',
|
11
|
+
subCategory3: '',
|
12
|
+
appVersion: '',
|
13
|
+
language: '',
|
14
|
+
country: '',
|
15
|
+
pageCategory: '',
|
16
|
+
flowName: '',
|
17
|
+
tokenFLag: '',
|
18
|
+
spaFlag: ''
|
19
|
+
},
|
20
|
+
content: {
|
21
|
+
author: '',
|
22
|
+
businessSize: '',
|
23
|
+
category: '',
|
24
|
+
company: '',
|
25
|
+
industry: '',
|
26
|
+
name: '',
|
27
|
+
product: '',
|
28
|
+
profRole: '',
|
29
|
+
publishDate: '',
|
30
|
+
subCategory: '',
|
31
|
+
topic: '',
|
32
|
+
type: ''
|
33
|
+
}
|
34
|
+
},
|
35
|
+
eventData: {
|
36
|
+
events: '',
|
37
|
+
fCTA: '',
|
38
|
+
fIndustry: '',
|
39
|
+
fLines: '',
|
40
|
+
fName: '',
|
41
|
+
interactionType: '',
|
42
|
+
linesSlider: ''
|
43
|
+
},
|
44
|
+
user: {
|
45
|
+
profile: {
|
46
|
+
profileInfo: {
|
47
|
+
visitorType: '',
|
48
|
+
accountNumber: '',
|
49
|
+
accountStatus: '',
|
50
|
+
userType: '',
|
51
|
+
userName: '',
|
52
|
+
accountPlan: '',
|
53
|
+
UserID: '',
|
54
|
+
responsiveSiteVersion: '',
|
55
|
+
country: '',
|
56
|
+
acctnumLocations: '',
|
57
|
+
acctcontractFlag: ''
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
transaction: [
|
62
|
+
{
|
63
|
+
productInfo: {
|
64
|
+
productID: ''
|
65
|
+
},
|
66
|
+
quantity: '',
|
67
|
+
price: {
|
68
|
+
basePrice: ''
|
69
|
+
}
|
70
|
+
}
|
71
|
+
]
|
72
|
+
}
|
73
|
+
|
74
|
+
document.getElementById('signin').addEventListener('click', function() {
|
75
|
+
updateVisitorType()
|
76
|
+
})
|
77
|
+
|
78
|
+
function updateVisitorType() {
|
79
|
+
const { digitalData } = window
|
80
|
+
digitalData.user.profile.profileInfo.visitorType = 'customer'
|
81
|
+
};
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: station
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.137
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vonage DevRel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
@@ -717,12 +717,14 @@ files:
|
|
717
717
|
- "./lib/nexmo_developer/public/android-chrome-512x512.png"
|
718
718
|
- "./lib/nexmo_developer/public/apple-touch-icon-precomposed.png"
|
719
719
|
- "./lib/nexmo_developer/public/apple-touch-icon.png"
|
720
|
-
- "./lib/nexmo_developer/public/assets/.sprockets-manifest-
|
720
|
+
- "./lib/nexmo_developer/public/assets/.sprockets-manifest-581357ac3ba229adfc4849f02f2e7a62.json"
|
721
721
|
- "./lib/nexmo_developer/public/assets/application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css"
|
722
722
|
- "./lib/nexmo_developer/public/assets/application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css.gz"
|
723
723
|
- "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js"
|
724
724
|
- "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js.gz"
|
725
725
|
- "./lib/nexmo_developer/public/assets/archives/app-store-badges.zip"
|
726
|
+
- "./lib/nexmo_developer/public/assets/digitalData-c8a2b5282d47e7089f7030b9d5e3054b3f8197a394c2b55288ec42941a6c2719.js"
|
727
|
+
- "./lib/nexmo_developer/public/assets/digitalData-c8a2b5282d47e7089f7030b9d5e3054b3f8197a394c2b55288ec42941a6c2719.js.gz"
|
726
728
|
- "./lib/nexmo_developer/public/assets/fonts/icomoon.eot"
|
727
729
|
- "./lib/nexmo_developer/public/assets/fonts/icomoon.json"
|
728
730
|
- "./lib/nexmo_developer/public/assets/fonts/icomoon.svg"
|
@@ -804,8 +806,8 @@ files:
|
|
804
806
|
- "./lib/nexmo_developer/public/assets/images/workflow_voice_api_call.svg"
|
805
807
|
- "./lib/nexmo_developer/public/assets/images/workflow_voice_api_inbound_conversation.svg"
|
806
808
|
- "./lib/nexmo_developer/public/assets/images/workflow_voice_api_outbound_call.svg"
|
807
|
-
- "./lib/nexmo_developer/public/assets/manifest-
|
808
|
-
- "./lib/nexmo_developer/public/assets/manifest-
|
809
|
+
- "./lib/nexmo_developer/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js"
|
810
|
+
- "./lib/nexmo_developer/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz"
|
809
811
|
- "./lib/nexmo_developer/public/assets/symbol/volta-icons.svg"
|
810
812
|
- "./lib/nexmo_developer/public/browserconfig.xml"
|
811
813
|
- "./lib/nexmo_developer/public/favicon-16x16.png"
|
@@ -1126,6 +1128,7 @@ files:
|
|
1126
1128
|
- lib/nexmo_developer/app/admin/admin_user.rb
|
1127
1129
|
- lib/nexmo_developer/app/assets/config/manifest.js
|
1128
1130
|
- lib/nexmo_developer/app/assets/javascripts/application.js
|
1131
|
+
- lib/nexmo_developer/app/assets/javascripts/digitalData.js
|
1129
1132
|
- lib/nexmo_developer/app/assets/stylesheets/application.css
|
1130
1133
|
- lib/nexmo_developer/app/channels/application_cable/channel.rb
|
1131
1134
|
- lib/nexmo_developer/app/channels/application_cable/connection.rb
|
data/lib/nexmo_developer/public/assets/.sprockets-manifest-0eca22bebbdaf202e585797eba0999df.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"files":{"manifest-a72913f4c604bc8f97dd576fc8777bf029401f6af0e14b6a6c9d3874acfe73e4.js":{"logical_path":"manifest.js","mtime":"2021-12-03T12:36:14+00:00","size":1,"digest":"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b","integrity":"sha256-AbpHGcgLb+kRsJGnwFEktk7uzpZOCcBY74+YBdrKVGs="},"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js":{"logical_path":"application.js","mtime":"2021-12-03T12:36:14+00:00","size":3172,"digest":"67f1fd16f949c2794341a44cf839e5436bbef74436e043ead39890d1c3b2e583","integrity":"sha256-Z/H9FvlJwnlDQaRM+DnlQ2u+90Q24EPq05iQ0cOy5YM="},"application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css":{"logical_path":"application.css","mtime":"2021-12-03T12:36:14+00:00","size":8704,"digest":"99228d4019121f891ee008e4db5fb0ffa736bada427f4996d15c9c95d1af58b3","integrity":"sha256-mSKNQBkSH4ke4Ajk21+w/6c2utpCf0mW0VycldGvWLM="}},"assets":{"manifest.js":"manifest-a72913f4c604bc8f97dd576fc8777bf029401f6af0e14b6a6c9d3874acfe73e4.js","application.js":"application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js","application.css":"application-6e9186f7602070c57b5c60de9b45ad12f1fccdcf83e08ea28c809d7a5a42a232.css"}}
|
@@ -1 +0,0 @@
|
|
1
|
-
|