push-notification-firebase 0.0.3 → 1.0.0

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: ec2d6dda5de6d35b13f5832b511a1dae6e5122b8eee0cdd91a76b61533b352e2
4
- data.tar.gz: dd8e449537a10ea1b9a7e0e87c747f80367ea55bbb26c24fd072225fb5270cb0
3
+ metadata.gz: 1aea45f2e59e38cd18f34dc97e6f4837ce4926e1fb79465bd7508ac725efff98
4
+ data.tar.gz: 9000d1da4d99f379175abc10bc7ca117e34702d239fe2d08b9f4dbd7b47590e1
5
5
  SHA512:
6
- metadata.gz: 79c53778b366b48812d934dd3fc24fa38ecb39612525b66d363c6558349183426a4a2ae01cef53db6a43cafecad231245db2f24351ba0ab9d42118fc62f6d0cb
7
- data.tar.gz: 5c7c6edbc5cc82a6c81c4999840f8ba66414b325d88a6e4bfb0136343eecc930b72c49186f476b0300bf6d35cb669c2b89474212b2e17a12d86bff08f9dc4ce5
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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/push/notification/firebase`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Delete this and the text above, and describe your gem
8
+ ## Instalacao
6
9
 
7
- ## Installation
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
- And then execute:
16
+ Depois execute:
16
17
 
17
18
  $ bundle install
18
19
 
19
- Or install it yourself as:
20
+ Ou instale:
20
21
 
21
22
  $ gem install push-notification-firebase
22
23
 
23
- ## Usage
24
+ ## Exxemplo
24
25
 
25
- TODO: Write usage instructions here
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
- ## Development
41
+ ## Desenvolvimento
28
42
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
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
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
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
- ## Contributing
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
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/push-notification-firebase. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/push-notification-firebase/blob/master/CODE_OF_CONDUCT.md).
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
- ## License
64
+ ## Licença
39
65
 
40
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
66
+ A gem está disponível como código aberto sob os termos da [MIT License](https://opensource.org/licenses/MIT).
41
67
 
42
- ## Code of Conduct
68
+ ## Código de Conduta
43
69
 
44
- Everyone interacting in the Push::Notification::Firebase project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/push-notification-firebase/blob/master/CODE_OF_CONDUCT.md).
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).
@@ -1,7 +1,7 @@
1
1
  module Push
2
2
  module Notification
3
3
  module Firebase
4
- VERSION = "0.0.3"
4
+ VERSION = "1.0.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push-notification-firebase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Armando Couto