jera_push 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7236749dd21e8caed1678a8e44c9e00b6e034e1198b9049bf5bc36ba5cee605
4
- data.tar.gz: 36f20664f005ad3459f6651ad32ac1094bd1fa9556d198a332005c92363f6138
3
+ metadata.gz: d24c2d105f438186df3d49d8e68a7b6b1728476d6ace7c2315d66dc57ebaed21
4
+ data.tar.gz: ef084a4c6de9df4c9461c325b7a22860cf8a79c0332ee5f2f111aeda26daed73
5
5
  SHA512:
6
- metadata.gz: 03e288ec7ce98901ab70ac41a64df9f607117af92f954357cc383191abe4a970da61764367b324d97fad57c95805fc32a4fc0833ed8980a54bf550acd7418e7c
7
- data.tar.gz: f33ffb817dc6f3f3491415703559cbeff5a3efc3e3f1aebab38f49b818605befe837d3a52538ec0f5c9ea64c4b8b3e8b7a11f0cb2dcb063bae049441045f14c9
6
+ metadata.gz: d113132fff3cbb6d65e12267b3c299c96c447dae7e581c7b24b3136789b097213434df2424255e0fee76ec70ce23374dec9474c2f7aa1f4cdad1cc44a570f40c
7
+ data.tar.gz: a58686a6dd3d64ada7595d792b01c6e81a42a490638e560e14690576e93e9d4f00aaa5ba6990d551129ff9e72c87eb50dcbe4270023742d2ef01ec2c170784db
@@ -5,7 +5,7 @@ JeraPush.setup do |config|
5
5
  config.resources_name = ["<%= file_name.classify %>"]
6
6
  # You need to create a Account Service on google cloud, with editor permission or administrator. Flow this doc: https://cloud.google.com/iam/docs/service-accounts-create?hl=pt-br
7
7
  config.project_id = "YOUR_PROJECT_ID" # inside of the account service json
8
- config.credentials_path = "YOUR_CREDENTIALS_PATH" #https://firebase.google.com/docs/cloud-messaging/migrate-v1?hl=pt-br#provide-credentials-manually
8
+ config.credentials_path = Rails.root.join("YOUR_CREDENTIALS_NAME").to_path #https://firebase.google.com/docs/cloud-messaging/migrate-v1?hl=pt-br#provide-credentials-manually
9
9
  ######################################################
10
10
  # Resource attribute showed in views #
11
11
  # IMPORTANT: All models need to have this attributes #
@@ -1,3 +1,3 @@
1
1
  module JeraPush
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
data/lib/jera_push.rb CHANGED
@@ -30,9 +30,6 @@ module JeraPush
30
30
  mattr_accessor :project_id
31
31
  @@project_id = nil
32
32
 
33
- mattr_accessor :project_id
34
- @@project_id = nil
35
-
36
33
  mattr_accessor :default_topic
37
34
  @@default_topic = 'jera_push_development'
38
35
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jera_push
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails