ileitch/rapns

View on GitHub
lib/generators/templates/add_gcm.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method up has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.up
    add_column :rapns_notifications, :type, :string, :null => true
    add_column :rapns_apps, :type, :string, :null => true

    AddGcm::Rapns::Notification.update_all :type => 'Rapns::Apns::Notification'
Severity: Minor
Found in lib/generators/templates/add_gcm.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status