push-notification-firebase 0.0.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a6bc8e77a4c753f6140a818e6479f044a512492a826ff66b96178d168a4a758
4
- data.tar.gz: 5eb1a920ee8011a92984483a2aba593bde097342d6aa7ee206d2c4ddb74920e8
3
+ metadata.gz: 1aea45f2e59e38cd18f34dc97e6f4837ce4926e1fb79465bd7508ac725efff98
4
+ data.tar.gz: 9000d1da4d99f379175abc10bc7ca117e34702d239fe2d08b9f4dbd7b47590e1
5
5
  SHA512:
6
- metadata.gz: a7f20556ede4e3bf9de3cda1dcdbd5f5db9206451f85491ffa9f9ad962f2983c2271c7b634704f32e4eee8e01b05220d9fed7cd8fba16dfd64e354557845691d
7
- data.tar.gz: c3805dac6d48cb76c0677bb0dd63f8a52ee7f641705712ade3346921aa0112014d7fe1149000670caa4db73979dddd43259833aa6768b184f1d1f83c9eded388
6
+ metadata.gz: '083c630af7a1cda6e5a20d5c545c11d485668ee9bd29a557202aa85267aace92424d1b08cd7e5d550d55e09ea1eddfd2bbc17e0970c7033b552a6370cb7667dd'
7
+ data.tar.gz: 9dc9da64f0ea25097dd96a9876fbcbe08a9da7d7b49d646985eea6774b1c41501b9dcf6caeaa8ea009cd9d6f1965f5b9728cd3d5252d7eb7567200ae8431c142
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .idea/
data/Gemfile CHANGED
@@ -3,6 +3,8 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in push-notification-firebase.gemspec
4
4
  gemspec
5
5
 
6
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
7
+
6
8
  gem "rake", "~> 12.0"
7
9
  gem "jwt"
8
10
  gem 'yaml', '~> 0.2.1'
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.2"
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.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Armando Couto