jera_push 1.1.5 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.rdoc +1 -1
- data/app/assets/styles/jera_push/components/_devices.scss +2 -3
- data/app/assets/styles/jera_push/jera_push.scss +2 -2
- data/app/assets/styles/jera_push/materialize/components/_global.scss +5 -1
- data/app/assets/styles/jera_push/materialize/components/_navbar.scss +13 -1
- data/app/assets/styles/jera_push/materialize/components/_variables.scss +1 -0
- data/app/assets/styles/jera_push/pages/devices/_list.scss +10 -1
- data/app/assets/styles/jera_push/pages/messages/_new.scss +11 -2
- data/app/controllers/jera_push/admin/devices_controller.rb +1 -1
- data/app/controllers/jera_push/admin/messages_controller.rb +6 -3
- data/app/controllers/jera_push/v1/version_controller.rb +0 -3
- data/app/helpers/jera_push/admin/devices_helper.rb +18 -8
- data/app/views/jera_push/admin/devices/_checkbox_list.html.erb +3 -3
- data/app/views/jera_push/admin/devices/_filter.html.erb +4 -4
- data/app/views/jera_push/admin/devices/_list.html.erb +7 -7
- data/app/views/jera_push/admin/messages/index.html.erb +3 -3
- data/app/views/kaminari/_gap.html.erb +3 -2
- data/app/views/layouts/jera_push/_navbar.html.erb +2 -2
- data/config/locale/jera_push.pt-BR.yml +10 -0
- data/lib/generators/active_record/jera_push_generator.rb +16 -3
- data/lib/generators/active_record/templates/create_jera_push_devices.rb +1 -1
- data/lib/generators/active_record/templates/create_jera_push_messages.rb +1 -1
- data/lib/generators/active_record/templates/create_jera_push_messages_devices.rb +1 -1
- data/lib/jera_push/models/message_device.rb +0 -2
- data/lib/jera_push/services/send_message.rb +4 -3
- data/lib/jera_push/version.rb +1 -1
- metadata +46 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e6f63d90cf49a65d29029d1c6597afb8e813537a7b60ed9b045a885eb1799f81
|
4
|
+
data.tar.gz: 57af32466be12fbc0828920abc1f556b9351452f491e4981cf54a93a1dda060e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bfd9f73d69b6650e536549022c378eb34404ff494ff71d718974af27236f3b0cfe56107c130b6149485398675b86b47cc02815e3a0cb487691c86ca0d99b2b9
|
7
|
+
data.tar.gz: 7c6c7e81a5efb2eff4de42167b54d55953d8ac8522e0a74628146b911c6a5cb2de2dbe38df5e13b03d182a7b2df8ada0874c55f89cb8389259f8b8180bc8119a
|
data/README.rdoc
CHANGED
@@ -371,6 +371,10 @@ table {
|
|
371
371
|
width:100%;
|
372
372
|
display: table;
|
373
373
|
|
374
|
+
tbody > tr {
|
375
|
+
word-break: break-all;
|
376
|
+
}
|
377
|
+
|
374
378
|
&.bordered > thead > tr,
|
375
379
|
&.bordered > tbody > tr {
|
376
380
|
border-bottom: 1px solid $table-border-color;
|
@@ -406,7 +410,7 @@ thead {
|
|
406
410
|
}
|
407
411
|
|
408
412
|
td, th{
|
409
|
-
padding:
|
413
|
+
padding: 20px 20px 20px 4px;
|
410
414
|
display: table-cell;
|
411
415
|
text-align: left;
|
412
416
|
vertical-align: middle;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
nav {
|
2
2
|
color: $navbar-font-color;
|
3
3
|
@extend .z-depth-1;
|
4
|
-
background-color: $
|
4
|
+
background-color: $navbar-background-color;
|
5
5
|
width: 100%;
|
6
6
|
height: $navbar-height-mobile;
|
7
7
|
line-height: $navbar-height-mobile;
|
@@ -20,6 +20,12 @@ nav {
|
|
20
20
|
.nav-wrapper {
|
21
21
|
position: relative;
|
22
22
|
height: 100%;
|
23
|
+
|
24
|
+
li {
|
25
|
+
a {
|
26
|
+
font-weight: 500;
|
27
|
+
}
|
28
|
+
}
|
23
29
|
}
|
24
30
|
|
25
31
|
@media #{$large-and-up} {
|
@@ -51,6 +57,12 @@ nav {
|
|
51
57
|
padding: 0;
|
52
58
|
white-space: nowrap;
|
53
59
|
|
60
|
+
img {
|
61
|
+
width: 100px;
|
62
|
+
height: auto;
|
63
|
+
vertical-align: middle;
|
64
|
+
}
|
65
|
+
|
54
66
|
&.center {
|
55
67
|
left: 50%;
|
56
68
|
transform: translateX(-50%);
|
@@ -221,6 +221,7 @@ $navbar-height-mobile: 56px !default;
|
|
221
221
|
$navbar-font-size: 1rem !default;
|
222
222
|
$navbar-font-color: #fff !default;
|
223
223
|
$navbar-brand-font-size: 2.1rem !default;
|
224
|
+
$navbar-background-color: rgba(0, 0, 0, 0.87);
|
224
225
|
|
225
226
|
/* 14. Side Navigation
|
226
227
|
========================================================================== */
|
@@ -1,7 +1,15 @@
|
|
1
1
|
.container-messages-new {
|
2
2
|
|
3
|
+
h3 {
|
4
|
+
margin-left: -14px;
|
5
|
+
}
|
6
|
+
|
3
7
|
.options {
|
4
8
|
margin-bottom: 32px;
|
9
|
+
|
10
|
+
label {
|
11
|
+
margin-left: -4px;
|
12
|
+
}
|
5
13
|
}
|
6
14
|
|
7
15
|
.message-attributes {
|
@@ -12,13 +20,14 @@
|
|
12
20
|
text-decoration: underline;
|
13
21
|
color: #0000EE;
|
14
22
|
cursor: pointer;
|
23
|
+
float: left;
|
15
24
|
}
|
16
25
|
|
17
26
|
.btn-submit {
|
18
|
-
margin-
|
27
|
+
margin-left: -10px;
|
19
28
|
}
|
20
29
|
}
|
21
30
|
|
22
31
|
#message_devices {
|
23
32
|
display: none;
|
24
|
-
}
|
33
|
+
}
|
@@ -3,7 +3,7 @@ module JeraPush
|
|
3
3
|
|
4
4
|
def index
|
5
5
|
@filter = JeraPush::DeviceFilter.new params_filter
|
6
|
-
@devices = @filter.search.order(created_at: :desc).page(params[:page]).per(
|
6
|
+
@devices = @filter.search.order(created_at: :desc).page(params[:page]).per(10)
|
7
7
|
|
8
8
|
respond_to do |format|
|
9
9
|
format.js {}
|
@@ -28,7 +28,7 @@ module JeraPush
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def create
|
31
|
-
push_message = JeraPush::Service::SendMessage.new(
|
31
|
+
push_message = JeraPush::Service::SendMessage.new(message_params).call
|
32
32
|
|
33
33
|
if push_message
|
34
34
|
flash[:notice] = t('jera_push.admin.messages.new.toast.success')
|
@@ -45,12 +45,15 @@ module JeraPush
|
|
45
45
|
def apply_filter
|
46
46
|
@filter = JeraPush::DeviceFilter.new device_filter_params
|
47
47
|
@devices = @filter.search.limit(params[:limit]).order(created_at: :desc)
|
48
|
-
@message_devices = JeraPush::MessageDevice.includes(:
|
48
|
+
@message_devices = JeraPush::MessageDevice.includes(:device).where('message_id = :id and device_id in (:device_ids)', id: params[:id], device_ids: @devices.pluck(:id))
|
49
|
+
end
|
50
|
+
|
51
|
+
def message_params
|
52
|
+
params.permit(:type, devices: [], message: [:key, :value])
|
49
53
|
end
|
50
54
|
|
51
55
|
def device_filter_params
|
52
56
|
params.permit(:value, :field, :resource_name, platform: []).merge({ message_id: params[:id] })
|
53
57
|
end
|
54
|
-
|
55
58
|
end
|
56
59
|
end
|
@@ -2,25 +2,35 @@ module JeraPush::Admin::DevicesHelper
|
|
2
2
|
|
3
3
|
def resource_extras(device)
|
4
4
|
if JeraPush.resource_attributes && JeraPush.resource_attributes.any?
|
5
|
-
return resource_attributes(JeraPush.resource_attributes, device.pushable)
|
5
|
+
return resource_attributes(JeraPush.resource_attributes, device.try(:pushable))
|
6
6
|
end
|
7
|
-
return [device.pushable]
|
7
|
+
return [device.try(:pushable)]
|
8
8
|
end
|
9
9
|
|
10
10
|
def resource_attributes(attributes, resource)
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
return [] unless resource.present?
|
12
|
+
|
13
|
+
attrs = attributes.collect do |attribute|
|
14
|
+
if resource&.send(attribute)
|
15
|
+
"#{I18n.t("activerecord.attributes.#{resource.class.to_s.downcase}.#{attribute}")}: #{resource.send(attribute)}"
|
14
16
|
end
|
15
|
-
|
17
|
+
end
|
18
|
+
attrs.delete_if { |v| v.nil?}
|
19
|
+
end
|
20
|
+
|
21
|
+
def translate_resource_names(resources_name=[])
|
22
|
+
resources_name.collect do |resource|
|
23
|
+
["#{I18n.t("activerecord.models.#{resource.downcase}.one")}", resource]
|
16
24
|
end
|
17
25
|
end
|
18
26
|
|
19
27
|
def devices_fields_for_filter_select
|
20
|
-
fields = [
|
28
|
+
fields = []
|
29
|
+
fields << [I18n.t("jera_push.admin.attributes.token"), "token"]
|
30
|
+
|
21
31
|
if JeraPush.resource_attributes && JeraPush.resource_attributes.any?
|
22
32
|
JeraPush.resource_attributes.each do |attribute|
|
23
|
-
fields << attribute
|
33
|
+
fields << ["#{I18n.t("jera_push.admin.attributes.#{attribute}")}", attribute]
|
24
34
|
end
|
25
35
|
end
|
26
36
|
fields
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<table class="
|
1
|
+
<table class="striped">
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
4
|
<th data-field="checkbox"></th>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<%= label_tag "device_#{device.id}", ''%>
|
23
23
|
</td>
|
24
24
|
<td><%= device.id %></td>
|
25
|
-
<td><%= device.token.truncate(
|
25
|
+
<td><%= device.token.truncate(50) %></td>
|
26
26
|
<td><%= device.platform %></td>
|
27
27
|
<td colspan="4">
|
28
28
|
<% resource_extras(device).each do |attribute| %>
|
@@ -32,4 +32,4 @@
|
|
32
32
|
</tr>
|
33
33
|
<% end %>
|
34
34
|
</tbody>
|
35
|
-
</table>
|
35
|
+
</table>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<%= form_tag filter_path, method: :get, class: 'col s12', remote: true do |f| %>
|
3
3
|
<div class="row">
|
4
4
|
<% JeraPush::Device.platform.values.each do |platform| %>
|
5
|
-
<div class="input-field col s2">
|
5
|
+
<div class="input-field col s2 custom-col">
|
6
6
|
<p>
|
7
7
|
<%= check_box_tag :"platform[]", platform, filter.platform.include?(platform), id: "platform_#{platform}" %>
|
8
8
|
<label for="platform_<%= platform %>"><%= platform %><label>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
</div>
|
13
13
|
<div class="row">
|
14
14
|
<div class="input-field col s12">
|
15
|
-
<%= select_tag :resource_name, options_for_select(JeraPush.resources_name, filter.resource_name) %>
|
15
|
+
<%= select_tag :resource_name, options_for_select(translate_resource_names(JeraPush.resources_name), filter.resource_name) %>
|
16
16
|
</div>
|
17
17
|
</div>
|
18
18
|
<div class="row">
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<div class="input-field col s9">
|
23
23
|
<div class="col s6">
|
24
24
|
<%= text_field_tag :value, filter.value %>
|
25
|
-
<label for="value"><%= t('jera_push.admin.filter.value') %></label>
|
25
|
+
<label class="fix-left-label" for="value"><%= t('jera_push.admin.filter.value') %></label>
|
26
26
|
</div>
|
27
27
|
|
28
28
|
<div class="input-field col s3">
|
@@ -31,4 +31,4 @@
|
|
31
31
|
</div>
|
32
32
|
</div>
|
33
33
|
<% end %>
|
34
|
-
</div>
|
34
|
+
</div>
|
@@ -1,24 +1,24 @@
|
|
1
|
-
<table class="highlight">
|
1
|
+
<table class="highlight bordered">
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
4
|
<th data-field="id"><%= t('jera_push.admin.devices.attributes.id') %></th>
|
5
|
-
<th data-field="token"><%= t('jera_push.admin.devices.attributes.token') %></th>
|
6
5
|
<th data-field="platform"><%= t('jera_push.admin.devices.attributes.platform') %></th>
|
7
6
|
<th data-field="resource"><%= t('jera_push.admin.devices.attributes.resource') %></th>
|
7
|
+
<th data-field="token"><%= t('jera_push.admin.devices.attributes.token') %></th>
|
8
8
|
</tr>
|
9
9
|
</thead>
|
10
10
|
<tbody>
|
11
11
|
<% devices.each do |device| %>
|
12
12
|
<tr>
|
13
|
-
<td><%= device.id %></td>
|
14
|
-
<td><%= device.
|
15
|
-
<td
|
16
|
-
<td>
|
13
|
+
<td class="col s2"><%= device.id %></td>
|
14
|
+
<td class="col s2"><%= device.platform %></td>
|
15
|
+
<td class="col s2">
|
17
16
|
<% resource_extras(device).each do |attribute| %>
|
18
17
|
<div><%= attribute %></div>
|
19
18
|
<% end %>
|
20
19
|
</td>
|
20
|
+
<td class="col s2"><%= device.token %></td>
|
21
21
|
</tr>
|
22
22
|
<% end %>
|
23
23
|
</tbody>
|
24
|
-
</table>
|
24
|
+
</table>
|
@@ -19,9 +19,9 @@
|
|
19
19
|
<% @messages.each do |message| %>
|
20
20
|
<tr>
|
21
21
|
<td width="5%"><%= message.id %></td>
|
22
|
-
<td width="
|
23
|
-
<td width="
|
24
|
-
<td width="
|
22
|
+
<td width="60%"><div class="json-message"><%= message.list_content %></div></td>
|
23
|
+
<td width="15%"><%= message.display_created_at %></td>
|
24
|
+
<td width="25%"><%= message.show_link %></td>
|
25
25
|
</tr>
|
26
26
|
<% end %>
|
27
27
|
</tbody>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<nav>
|
2
2
|
<div class="nav-wrapper">
|
3
3
|
<a href="<%= jera_push_admin_path %>" class="brand-logo">
|
4
|
-
<img src="
|
4
|
+
<img src="https://jera.com.br/images/logo-jera-light.svg" alt="Jera Software Logo">
|
5
5
|
</a>
|
6
6
|
<ul id="nav-mobile" class="right hide-on-med-and-down">
|
7
7
|
<li class="<%= 'active' if current_page?(jera_push_admin_devices_path) %>">
|
@@ -21,4 +21,4 @@
|
|
21
21
|
</li>
|
22
22
|
</ul>
|
23
23
|
</div>
|
24
|
-
</nav>
|
24
|
+
</nav>
|
@@ -27,6 +27,10 @@ pt-BR:
|
|
27
27
|
id: ID
|
28
28
|
platform: Plataforma
|
29
29
|
admin:
|
30
|
+
attributes:
|
31
|
+
id: Identificador
|
32
|
+
name: Nome
|
33
|
+
email: Email
|
30
34
|
navbar:
|
31
35
|
devices: Aparelhos
|
32
36
|
messages: Mensagens
|
@@ -39,6 +43,12 @@ pt-BR:
|
|
39
43
|
send: Enviar
|
40
44
|
send_all: Todos
|
41
45
|
remove_all: Nenhum
|
46
|
+
devices:
|
47
|
+
attributes:
|
48
|
+
id: Identificador
|
49
|
+
token: Token
|
50
|
+
platform: Plataforma
|
51
|
+
resource: Recurso
|
42
52
|
message_devices:
|
43
53
|
attributes:
|
44
54
|
device: Aparelho
|
@@ -6,13 +6,26 @@ module ActiveRecord
|
|
6
6
|
source_root File.expand_path("../templates", __FILE__)
|
7
7
|
|
8
8
|
def create_devices_table
|
9
|
-
migration_template "create_jera_push_devices.rb", "db/migrate/create_jera_push_devices.rb"
|
9
|
+
migration_template "create_jera_push_devices.rb", "db/migrate/create_jera_push_devices.rb", migration_version: migration_version
|
10
10
|
end
|
11
11
|
|
12
12
|
def create_messages_table
|
13
|
-
migration_template "create_jera_push_messages.rb", "db/migrate/create_jera_push_messages.rb"
|
14
|
-
migration_template "create_jera_push_messages_devices.rb", "db/migrate/create_jera_push_messages_devices.rb"
|
13
|
+
migration_template "create_jera_push_messages.rb", "db/migrate/create_jera_push_messages.rb", migration_version: migration_version
|
14
|
+
migration_template "create_jera_push_messages_devices.rb", "db/migrate/create_jera_push_messages_devices.rb", migration_version: migration_version
|
15
15
|
end
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def rails5_and_up?
|
20
|
+
Rails::VERSION::MAJOR >= 5
|
21
|
+
end
|
22
|
+
|
23
|
+
def migration_version
|
24
|
+
if rails5_and_up?
|
25
|
+
"[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
16
29
|
end
|
17
30
|
end
|
18
31
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class CreateJeraPushMessagesDevices < ActiveRecord::Migration
|
1
|
+
class CreateJeraPushMessagesDevices < ActiveRecord::Migration<%= migration_version %>
|
2
2
|
def change
|
3
3
|
create_table :jera_push_messages_devices do |t|
|
4
4
|
t.integer :device_id, index: true, foreign_key: true
|
@@ -3,15 +3,16 @@ module JeraPush
|
|
3
3
|
class SendMessage
|
4
4
|
|
5
5
|
def initialize(*args)
|
6
|
-
args[
|
6
|
+
@type = args.first[:type].to_sym
|
7
|
+
@message = args.first[:message]
|
8
|
+
@devices = args.first[:devices]
|
7
9
|
end
|
8
10
|
|
9
11
|
def call
|
10
12
|
return false unless valid?
|
11
13
|
|
12
14
|
message_content = JeraPush::Message.format_hash @message
|
13
|
-
|
14
|
-
case @type.to_sym
|
15
|
+
case @type
|
15
16
|
when :broadcast
|
16
17
|
JeraPush::Message.send_broadcast(content: message_content)
|
17
18
|
when :specific
|
data/lib/jera_push/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jera_push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: enumerize
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,26 +44,26 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
47
|
+
version: '0.16'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
54
|
+
version: '0.16'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sass-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '5.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '5.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
name: responders
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '2.4'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '2.4'
|
97
97
|
- !ruby/object:Gem::Dependency
|
@@ -317,59 +317,58 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
317
317
|
requirements:
|
318
318
|
- - ">="
|
319
319
|
- !ruby/object:Gem::Version
|
320
|
-
version: 2.
|
320
|
+
version: 2.5.0
|
321
321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
322
|
requirements:
|
323
323
|
- - ">="
|
324
324
|
- !ruby/object:Gem::Version
|
325
325
|
version: '0'
|
326
326
|
requirements: []
|
327
|
-
|
328
|
-
rubygems_version: 2.6.14
|
327
|
+
rubygems_version: 3.1.2
|
329
328
|
signing_key:
|
330
329
|
specification_version: 4
|
331
330
|
summary: Gem to use firebase push messages.
|
332
331
|
test_files:
|
333
|
-
- test/dummy/
|
332
|
+
- test/dummy/db/migrate/20161005121035_create_users.rb
|
333
|
+
- test/dummy/db/schema.rb
|
334
|
+
- test/dummy/db/seeds.rb
|
335
|
+
- test/dummy/README.rdoc
|
336
|
+
- test/dummy/app/helpers/application_helper.rb
|
334
337
|
- test/dummy/app/controllers/application_controller.rb
|
335
338
|
- test/dummy/app/views/layouts/application.html.erb
|
336
339
|
- test/dummy/app/assets/javascripts/application.js
|
337
340
|
- test/dummy/app/assets/stylesheets/application.css
|
338
|
-
- test/dummy/app/
|
339
|
-
- test/dummy/
|
340
|
-
- test/dummy/
|
341
|
-
- test/dummy/
|
342
|
-
- test/dummy/
|
343
|
-
- test/dummy/bin/bundle
|
344
|
-
- test/dummy/bin/rails
|
345
|
-
- test/dummy/config/secrets.yml
|
346
|
-
- test/dummy/config/routes.rb
|
347
|
-
- test/dummy/config/locales/pt-BR.yml
|
348
|
-
- test/dummy/config/locales/en.yml
|
349
|
-
- test/dummy/config/environments/production.rb
|
350
|
-
- test/dummy/config/environments/development.rb
|
351
|
-
- test/dummy/config/environments/test.rb
|
352
|
-
- test/dummy/config/environment.rb
|
353
|
-
- test/dummy/config/application.rb
|
354
|
-
- test/dummy/config/database.yml
|
341
|
+
- test/dummy/app/models/user.rb
|
342
|
+
- test/dummy/public/500.html
|
343
|
+
- test/dummy/public/422.html
|
344
|
+
- test/dummy/public/favicon.ico
|
345
|
+
- test/dummy/public/404.html
|
355
346
|
- test/dummy/config/boot.rb
|
347
|
+
- test/dummy/config/routes.rb
|
348
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
356
349
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
350
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
351
|
+
- test/dummy/config/initializers/assets.rb
|
357
352
|
- test/dummy/config/initializers/mime_types.rb
|
358
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
359
353
|
- test/dummy/config/initializers/session_store.rb
|
360
|
-
- test/dummy/config/initializers/
|
361
|
-
- test/dummy/config/initializers/assets.rb
|
362
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
354
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
363
355
|
- test/dummy/config/initializers/inflections.rb
|
364
|
-
- test/dummy/config.
|
356
|
+
- test/dummy/config/application.rb
|
357
|
+
- test/dummy/config/locales/pt-BR.yml
|
358
|
+
- test/dummy/config/locales/en.yml
|
359
|
+
- test/dummy/config/environment.rb
|
360
|
+
- test/dummy/config/environments/test.rb
|
361
|
+
- test/dummy/config/environments/development.rb
|
362
|
+
- test/dummy/config/environments/production.rb
|
363
|
+
- test/dummy/config/database.yml
|
364
|
+
- test/dummy/config/secrets.yml
|
365
|
+
- test/dummy/test/models/user_test.rb
|
366
|
+
- test/dummy/test/fixtures/users.yml
|
365
367
|
- test/dummy/Rakefile
|
366
|
-
- test/dummy/
|
367
|
-
- test/dummy/
|
368
|
-
- test/dummy/
|
369
|
-
- test/dummy/
|
370
|
-
- test/dummy/
|
371
|
-
- test/dummy/db/seeds.rb
|
372
|
-
- test/dummy/db/migrate/20161005121035_create_users.rb
|
373
|
-
- test/dummy/README.rdoc
|
374
|
-
- test/jera_push_test.rb
|
368
|
+
- test/dummy/config.ru
|
369
|
+
- test/dummy/bin/rails
|
370
|
+
- test/dummy/bin/rake
|
371
|
+
- test/dummy/bin/bundle
|
372
|
+
- test/dummy/bin/setup
|
375
373
|
- test/test_helper.rb
|
374
|
+
- test/jera_push_test.rb
|