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.
Files changed (28) hide show
  1. checksums.yaml +5 -5
  2. data/README.rdoc +1 -1
  3. data/app/assets/styles/jera_push/components/_devices.scss +2 -3
  4. data/app/assets/styles/jera_push/jera_push.scss +2 -2
  5. data/app/assets/styles/jera_push/materialize/components/_global.scss +5 -1
  6. data/app/assets/styles/jera_push/materialize/components/_navbar.scss +13 -1
  7. data/app/assets/styles/jera_push/materialize/components/_variables.scss +1 -0
  8. data/app/assets/styles/jera_push/pages/devices/_list.scss +10 -1
  9. data/app/assets/styles/jera_push/pages/messages/_new.scss +11 -2
  10. data/app/controllers/jera_push/admin/devices_controller.rb +1 -1
  11. data/app/controllers/jera_push/admin/messages_controller.rb +6 -3
  12. data/app/controllers/jera_push/v1/version_controller.rb +0 -3
  13. data/app/helpers/jera_push/admin/devices_helper.rb +18 -8
  14. data/app/views/jera_push/admin/devices/_checkbox_list.html.erb +3 -3
  15. data/app/views/jera_push/admin/devices/_filter.html.erb +4 -4
  16. data/app/views/jera_push/admin/devices/_list.html.erb +7 -7
  17. data/app/views/jera_push/admin/messages/index.html.erb +3 -3
  18. data/app/views/kaminari/_gap.html.erb +3 -2
  19. data/app/views/layouts/jera_push/_navbar.html.erb +2 -2
  20. data/config/locale/jera_push.pt-BR.yml +10 -0
  21. data/lib/generators/active_record/jera_push_generator.rb +16 -3
  22. data/lib/generators/active_record/templates/create_jera_push_devices.rb +1 -1
  23. data/lib/generators/active_record/templates/create_jera_push_messages.rb +1 -1
  24. data/lib/generators/active_record/templates/create_jera_push_messages_devices.rb +1 -1
  25. data/lib/jera_push/models/message_device.rb +0 -2
  26. data/lib/jera_push/services/send_message.rb +4 -3
  27. data/lib/jera_push/version.rb +1 -1
  28. metadata +46 -47
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8f7190ed7d4d195bd1be7507def4c2241bb3bac3
4
- data.tar.gz: 7ecc8a712f1b4e73afb6f50acd233f63e95e9e21
2
+ SHA256:
3
+ metadata.gz: e6f63d90cf49a65d29029d1c6597afb8e813537a7b60ed9b045a885eb1799f81
4
+ data.tar.gz: 57af32466be12fbc0828920abc1f556b9351452f491e4981cf54a93a1dda060e
5
5
  SHA512:
6
- metadata.gz: 075ab4957c61b8479e5da78623e1b8e5e7d52d31ede32e931fb8ee2ed2be0f06ae3e48a5d0507d95deac38e159c58d5a124c21a561ec19452b958309d4ee4076
7
- data.tar.gz: 8cf5010e1aa458071da21aa81ff5bfed8db0bbf1e49dee6c7fd63e665afd144c35bfb92007dd69c881da43bed9e7eb249174d3d3289087d271e603602dc255c5
6
+ metadata.gz: 7bfd9f73d69b6650e536549022c378eb34404ff494ff71d718974af27236f3b0cfe56107c130b6149485398675b86b47cc02815e3a0cb487691c86ca0d99b2b9
7
+ data.tar.gz: 7c6c7e81a5efb2eff4de42167b54d55953d8ac8522e0a74628146b911c6a5cb2de2dbe38df5e13b03d182a7b2df8ada0874c55f89cb8389259f8b8180bc8119a
@@ -1,4 +1,4 @@
1
- ![Jera Logo](http://jera.com.br/images/logo-jera-header.png)
1
+ ![Jera Logo](https://raw.github.com/jera/jera-push/master/update-compatibility-rails/logo_jera.png)
2
2
 
3
3
  JeraPush is a easy tool to work with push messages and firebase API.
4
4
 
@@ -1,6 +1,5 @@
1
1
  .devices-list {
2
- overflow-y: scroll;
3
- height: 500px;
2
+ overflow: hidden;
4
3
  width: 100%;
5
4
  margin-bottom: 40px;
6
5
 
@@ -13,4 +12,4 @@
13
12
  font-size: 14px;
14
13
  font-weight: 400;
15
14
  }
16
- }
15
+ }
@@ -13,5 +13,5 @@
13
13
  @import "pages/messages/new";
14
14
 
15
15
  .brand-logo{
16
- margin: 10px 0 0 22px;
17
- }
16
+ margin: 0px 0 0 22px;
17
+ }
@@ -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: 15px 5px;
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: $primary-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,3 +1,12 @@
1
1
  .devices-list-container {
2
2
  padding-bottom: 40px;
3
- }
3
+
4
+ .custom-col {
5
+ width: auto !important;
6
+ margin-left: -9px !important;
7
+ }
8
+
9
+ .fix-left-label {
10
+ left: 22px !important;
11
+ }
12
+ }
@@ -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-right: 24px;
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(params[: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(params).call
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(:pushable, :device).where('message_id = :id and device_id in (:device_ids)', id: params[:id], device_ids: @devices.pluck(:id))
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
@@ -1,7 +1,4 @@
1
1
  module JeraPush
2
2
  class V1::VersionController < JeraPush::JeraPushController
3
-
4
-
5
-
6
3
  end
7
4
  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
- if resource
12
- attrs = attributes.collect do |attribute|
13
- "#{attribute}: #{resource.send(attribute)}"
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
- return attrs.delete_if { |v| v.nil?}
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 = [:token]
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="highlight">
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(40) %></td>
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.token.truncate(50) %></td>
15
- <td><%= device.platform %></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="75%"><div class="json-message"><%= message.list_content %></div></td>
23
- <td width="20%"><%= message.display_created_at %></td>
24
- <td width="10%"><%= message.show_link %></td>
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,3 +1,4 @@
1
- <li class="disabled">
2
- <%= content_tag :a, raw(t 'views.pagination.truncate') %>
1
+ <!-- <li class="disabled">
2
+ < %= content_tag :a, raw(t 'views.pagination.truncate') %>
3
3
  </li>
4
+ -->
@@ -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="http://jera.com.br/images/logo-jera-header.png" alt="Jera Software Logo">
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 CreateJeraPushDevices < ActiveRecord::Migration[5.2]
1
+ class CreateJeraPushDevices < ActiveRecord::Migration<%= migration_version %>
2
2
  def change
3
3
  create_table :jera_push_devices do |t|
4
4
  t.string :token, index: true
@@ -1,4 +1,4 @@
1
- class CreateJeraPushMessages < ActiveRecord::Migration[5.2]
1
+ class CreateJeraPushMessages < ActiveRecord::Migration<%= migration_version %>
2
2
  def change
3
3
  create_table :jera_push_messages do |t|
4
4
  t.text :content
@@ -1,4 +1,4 @@
1
- class CreateJeraPushMessagesDevices < ActiveRecord::Migration[5.2]
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
@@ -7,6 +7,4 @@ class JeraPush::MessageDevice < ActiveRecord::Base
7
7
  belongs_to :message
8
8
 
9
9
  enumerize :status, in: [:error, :success], predicate: true
10
-
11
- has_one :pushable, through: :device
12
10
  end
@@ -3,15 +3,16 @@ module JeraPush
3
3
  class SendMessage
4
4
 
5
5
  def initialize(*args)
6
- args[0].map { |attr_name, value| instance_variable_set("@#{attr_name}", value) }
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
@@ -1,3 +1,3 @@
1
1
  module JeraPush
2
- VERSION = "1.1.5"
2
+ VERSION = "1.2.4"
3
3
  end
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.1.5
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: 2018-09-24 00:00:00.000000000 Z
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: '5.0'
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: '5.0'
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.14'
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.14'
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.3.7
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
- rubyforge_project:
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/app/models/user.rb
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/helpers/application_helper.rb
339
- - test/dummy/test/models/user_test.rb
340
- - test/dummy/test/fixtures/users.yml
341
- - test/dummy/bin/rake
342
- - test/dummy/bin/setup
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/wrap_parameters.rb
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.ru
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/public/favicon.ico
367
- - test/dummy/public/422.html
368
- - test/dummy/public/500.html
369
- - test/dummy/public/404.html
370
- - test/dummy/db/schema.rb
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