-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from tilo/feature/yaml-change-config-option
Unified Processing for YAML/Redis; -c option points to YAML file; read certificates from files
- Loading branch information
Showing
9 changed files
with
224 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Configurations for all Pushr Gems | ||
--- | ||
|
||
# Android Messaging: | ||
|
||
- type: Pushr::ConfigurationGcm | ||
app: gcm-development | ||
enabled: true | ||
connections: 1 | ||
api: your-api-key-here | ||
|
||
|
||
# Feedback Service for all APNS Connections: | ||
|
||
- type: Pushr::ConfigurationApnsFeedback | ||
app: apns-feedback | ||
enabled: true | ||
connections: 1 | ||
feedback_poll: 300 # seconds | ||
|
||
# Apple Messaging: | ||
|
||
- type: Pushr::ConfigurationApns | ||
app: ios-development | ||
enabled: true | ||
connections: 1 | ||
skip_check_for_error: false | ||
sandbox: true | ||
certificate: filename.pem | ||
|
||
- type: Pushr::ConfigurationApns | ||
app: ios-development | ||
enabled: true | ||
connections: 1 | ||
# skip_check_for_error: true | ||
sandbox: true | ||
certificate: pushr/ios-development.pem | ||
|
||
- type: Pushr::ConfigurationApns | ||
app: ios-production | ||
enabled: true | ||
connections: 1 | ||
# skip_check_for_error: true | ||
sandbox: false | ||
certificate: pushr/ios-production.pem | ||
|
||
- type: Pushr::ConfigurationApns | ||
app: ios-beta | ||
enabled: true | ||
connections: 1 | ||
# skip_check_for_error: true | ||
sandbox: true | ||
certificate: pushr/ios-beta.pem | ||
|
||
- type: Pushr::ConfigurationApns | ||
app: ios-enterprise | ||
enabled: true | ||
connections: 1 | ||
# skip_check_for_error: true | ||
sandbox: false | ||
certificate: pushr/ios-enterprise.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require 'yaml' | ||
require 'active_model' | ||
require 'multi_json' | ||
require 'pushr/version' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters