push-notification-firebase 0.0.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +45 -18
- data/lib/push/notification/firebase/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aea45f2e59e38cd18f34dc97e6f4837ce4926e1fb79465bd7508ac725efff98
|
4
|
+
data.tar.gz: 9000d1da4d99f379175abc10bc7ca117e34702d239fe2d08b9f4dbd7b47590e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '083c630af7a1cda6e5a20d5c545c11d485668ee9bd29a557202aa85267aace92424d1b08cd7e5d550d55e09ea1eddfd2bbc17e0970c7033b552a6370cb7667dd'
|
7
|
+
data.tar.gz: 9dc9da64f0ea25097dd96a9876fbcbe08a9da7d7b49d646985eea6774b1c41501b9dcf6caeaa8ea009cd9d6f1965f5b9728cd3d5252d7eb7567200ae8431c142
|
data/README.md
CHANGED
@@ -1,44 +1,71 @@
|
|
1
1
|
# Push::Notification::Firebase
|
2
2
|
|
3
|
-
|
3
|
+
Esta gem foi especialmente projetada para simplificar a vida dos desenvolvedores que desejam integrar as funcionalidades de Push Notification do Firebase em seus aplicativos. Através de uma interface
|
4
|
+
amigável e uma documentação detalhada, a ferramenta promete eliminar a complexidade inerente ao processo de configuração e envio de notificações. Ela serve como uma ponte eficaz entre o seu código e o
|
5
|
+
Firebase, garantindo que as mensagens sejam enviadas de maneira eficiente e sem erros. A otimização do tempo e a eficácia da comunicação são dois dos principais benefícios dessa gem, tornando-a um
|
6
|
+
recurso indispensável para quem busca excelência em desenvolvimento.
|
4
7
|
|
5
|
-
|
8
|
+
## Instalacao
|
6
9
|
|
7
|
-
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
+
Adicione esta linha ao Gemfile do seu aplicativo:
|
10
11
|
|
11
12
|
```ruby
|
12
13
|
gem 'push-notification-firebase'
|
13
14
|
```
|
14
15
|
|
15
|
-
|
16
|
+
Depois execute:
|
16
17
|
|
17
18
|
$ bundle install
|
18
19
|
|
19
|
-
|
20
|
+
Ou instale:
|
20
21
|
|
21
22
|
$ gem install push-notification-firebase
|
22
23
|
|
23
|
-
##
|
24
|
+
## Exxemplo
|
24
25
|
|
25
|
-
|
26
|
+
```ruby
|
27
|
+
require 'push/notification/firebase'
|
28
|
+
include Push::Notification::Firebase
|
29
|
+
|
30
|
+
# ...
|
31
|
+
logger = Logger.new("development.log")
|
32
|
+
hash = {
|
33
|
+
"title": "Titulo",
|
34
|
+
"token": "TOKEN-DO-DISPOSITIVO",
|
35
|
+
"message": "Mensagem para o usuário",
|
36
|
+
}
|
37
|
+
Push::Notification::Firebase::processing hash, logger
|
38
|
+
# ...
|
39
|
+
```
|
26
40
|
|
27
|
-
##
|
41
|
+
## Desenvolvimento
|
28
42
|
|
29
|
-
|
43
|
+
Após clonar o repositório, execute `bin/setup` para instalar as dependências. Você também pode executar `bin/console` para um prompt interativo que permitirá que você experimente.
|
30
44
|
|
31
|
-
|
45
|
+
Para instalar esta gem na sua máquina local, execute `bundle exec rake install`. Para lançar uma nova versão, atualize o número da versão em `version.rb` e, em seguida,
|
46
|
+
execute `bundle exec rake release`, o que criará uma tag git para a versão, enviará os commits e tags git, e enviará o arquivo `.gem` para [rubygems.org](https://rubygems.org).
|
32
47
|
|
33
|
-
##
|
48
|
+
## Build
|
49
|
+
```shell
|
50
|
+
gem build push-notification-firebase.gemspec
|
51
|
+
```
|
52
|
+
|
53
|
+
Precisa mmudar a versão no arquivo `version.rb`
|
54
|
+
|
55
|
+
```shell
|
56
|
+
gem push push-notification-firebase-1.0.0.gem
|
57
|
+
```
|
34
58
|
|
35
|
-
|
59
|
+
## Contribuindo
|
36
60
|
|
61
|
+
Relatórios de bugs e solicitações de pull são bem-vindos no GitHub em https://github.com/armando-couto/push-notification-firebase. Este projeto tem a intenção de ser um espaço seguro e acolhedor para
|
62
|
+
colaboração, e espera-se que os colaboradores adiram ao [code of conduct](https://github.com/armando-couto/push-notification-firebase/blob/master/CODE_OF_CONDUCT.md).
|
37
63
|
|
38
|
-
##
|
64
|
+
## Licença
|
39
65
|
|
40
|
-
|
66
|
+
A gem está disponível como código aberto sob os termos da [MIT License](https://opensource.org/licenses/MIT).
|
41
67
|
|
42
|
-
##
|
68
|
+
## Código de Conduta
|
43
69
|
|
44
|
-
|
70
|
+
Todos que interagem nas bases de código, rastreadores de problemas, salas de chat e listas de e-mails do projeto Push::Notification::Firebase são esperados a seguir
|
71
|
+
o [código de conduta](https://github.com/armando-couto/push-notification-firebase/blob/main/CODE_OF_CONDUCT.md).
|