Add GCM gem

This commit is contained in:
leenasn
2015-11-13 19:58:46 +05:30
parent 93e3095925
commit cffea0c31d
3 changed files with 11 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ gem 'pg'
gem 'devise'
gem 'activeadmin', github: 'activeadmin'
gem 'rollbar', '~> 2.5.0'
gem 'gcm'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

View File

@@ -94,11 +94,17 @@ GEM
formtastic (3.1.3)
actionpack (>= 3.2.13)
formtastic_i18n (0.4.1)
gcm (0.1.0)
httparty
json
globalid (0.3.6)
activesupport (>= 4.1.0)
has_scope (0.6.0)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
httparty (0.13.5)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.7.0)
inherited_resources (1.6.0)
actionpack (>= 3.2, < 5)
@@ -127,6 +133,7 @@ GEM
mini_portile (0.6.2)
minitest (5.8.1)
multi_json (1.11.2)
multi_xml (0.5.5)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
orm_adapter (0.5.0)
@@ -246,6 +253,7 @@ DEPENDENCIES
coffee-rails (~> 4.1.0)
devise
factory_girl_rails
gcm
jbuilder (~> 2.0)
jquery-rails
pg

View File

@@ -36,3 +36,4 @@ module OnemdmServer
end
end
STATUS_CLASSES = {active: :ok,missing: :warning,dead: :error}
GCM_KEY = "AIzaSyCZ3lVhV2CbIcZ22f1YI_MvPx3C7sMm_2g"