Skip to content

Commit e1d0eba

Browse files
committed
Add missing .dump
1 parent ad1992a commit e1d0eba

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ shared:
7676
# Token auth params
7777
# See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
7878
key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :key_id) %>
79-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key) %>
79+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key).dump %>
8080

8181
team_id: your_apple_team_id
8282
# Your identifier found on https://developer.apple.com/account/resources/identifiers/list
@@ -85,7 +85,7 @@ shared:
8585
google:
8686
# Your Firebase project service account credentials
8787
# See https://firebase.google.com/docs/cloud-messaging/auth-server
88-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key) %>
88+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key).dump %>
8989

9090
# Firebase project_id
9191
project_id: your_project_id
@@ -131,31 +131,31 @@ shared:
131131
# Token auth params
132132
# See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
133133
key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :calendar, :key_id) %>
134-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :calendar, :encryption_key) %>
134+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :calendar, :encryption_key).dump %>
135135
# Your identifier found on https://developer.apple.com/account/resources/identifiers/list
136136
topic: calendar.bundle.identifier
137137
138138
email:
139139
# Token auth params
140140
# See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
141141
key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :email, :key_id) %>
142-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :email, :encryption_key) %>
142+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :email, :encryption_key).dump %>
143143
# Your identifier found on https://developer.apple.com/account/resources/identifiers/list
144144
topic: email.bundle.identifier
145145
146146
google:
147147
calendar:
148148
# Your Firebase project service account credentials
149149
# See https://firebase.google.com/docs/cloud-messaging/auth-server
150-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :calendar, :encryption_key) %>
150+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :calendar, :encryption_key).dump %>
151151
152152
# Firebase project_id
153153
project_id: calendar_project_id
154154
155155
email:
156156
# Your Firebase project service account credentials
157157
# See https://firebase.google.com/docs/cloud-messaging/auth-server
158-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :email, :encryption_key) %>
158+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :email, :encryption_key).dump %>
159159
160160
# Firebase project_id
161161
project_id: email_project_id

lib/generators/action_push_native/install/templates/config/push.yml.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ shared:
44
# Token auth params
55
# See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
66
key_id: <%%= Rails.application.credentials.dig(:action_push_native, :apns, :key_id) %>
7-
encryption_key: <%%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key) %>
7+
encryption_key: <%%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key).dump %>
88

99
team_id: your_apple_team_id
1010
# Your identifier found on https://developer.apple.com/account/resources/identifiers/list
@@ -27,7 +27,7 @@ shared:
2727
google:
2828
# Your Firebase project service account credentials
2929
# See https://firebase.google.com/docs/cloud-messaging/auth-server
30-
encryption_key: <%%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key) %>
30+
encryption_key: <%%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key).dump %>
3131

3232
# Firebase project_id
3333
project_id: your_project_id

test/dummy/config/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ shared:
44
# Token auth params
55
# See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns
66
key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :key_id) %>
7-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key) %>
7+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key).dump %>
88

99
team_id: your_apple_team_id
1010
# Your identifier found on https://developer.apple.com/account/resources/identifiers/list
@@ -27,7 +27,7 @@ shared:
2727
google:
2828
# Your Firebase project service account credentials
2929
# See https://firebase.google.com/docs/cloud-messaging/auth-server
30-
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key) %>
30+
encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key).dump %>
3131

3232
# Set this to the number of threads used to process notifications (default: 5).
3333
# When the pool size is too small a HTTPX::PoolTimeoutError error will be raised.

0 commit comments

Comments
 (0)