mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 02:04:57 +00:00
Add GCM gem
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -35,4 +35,5 @@ module OnemdmServer
|
||||
config.generators.helper = false
|
||||
end
|
||||
end
|
||||
STATUS_CLASSES ={active: :ok,missing: :warning,dead: :error}
|
||||
STATUS_CLASSES = {active: :ok,missing: :warning,dead: :error}
|
||||
GCM_KEY = "AIzaSyCZ3lVhV2CbIcZ22f1YI_MvPx3C7sMm_2g"
|
||||
|
||||
Reference in New Issue
Block a user