ileitch/rapns — pull request #67 by bongole (2012-08-28 10:37:36+00:00)
Title: Allow same app key in multi environments.

Allow below situations:

app = Rapns::App.new
app.key = "my_app"
app.certificate = File.read("/path/to/development.pem")
app.environment = "development"
app.password = "certificate password"
app.connections = 1
app.save!

app = Rapns::App.new
app.key = "my_app" # use same app key in production.
app.certificate = File.read("/path/to/production.pem")
app.environment = "production"
app.password = "certificate password"
app.connections = 1
app.save!