neon_email 0.0.3 → 0.0.9

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: a5e286d9d4ecefa58a9415be6008f581f3d5b6abf1f65b6969a4d7846a07dc5e
4
- data.tar.gz: 7ad5f1c3e351dd56b0a5af7cab062a015e57b01d8971b5b76e8b24eefbda9975
3
+ metadata.gz: ad78eed256499a05d240ba99af40822ec4c985a1623d122e9fede55924ed5a80
4
+ data.tar.gz: f5f653716b812dc9e965f4e5087911c23ee9ed2593c12f71e906e719fe90c5a7
5
5
  SHA512:
6
- metadata.gz: 5c9583551447e6a521dbdcaf8a59e82e49154b3b8f3085dbccb73544e0c6ee1ac552bd8809add1417e7e537490af20ca77f5b0ab53b67f721c0382a799c2be8a
7
- data.tar.gz: 9afd0968eac4c6d4f52afae22bcd683f94616b6f057f19d47f98598ea51530e9d435a72bb815e2829324127cb33efb9dd5418a760e8cbe754b870f862a923ee9
6
+ metadata.gz: d5e47e66cf170397b079d1b24175df6acb3067cb08674a6cc4009c11e080bb906c0491909279dc216c79bc377545ad83a8a58e7d552abbd9e9e9b8cc28869f13
7
+ data.tar.gz: 509b61b13a28d52e03912bb23a2ab3d2457adfcb0dcb6be2de0e27857f4456b57b5cd66618150f7e599d8d33fc01c83ca0bbee826453a0428584a1e2b1c5142c
data/.gcloudignore ADDED
@@ -0,0 +1,17 @@
1
+ # This file specifies files that are *not* uploaded to Google Cloud Platform
2
+ # using gcloud. It follows the same syntax as .gitignore, with the addition of
3
+ # "#!include" directives (which insert the entries of the given .gitignore-style
4
+ # file at that point).
5
+ #
6
+ # For more information, run:
7
+ # $ gcloud topic gcloudignore
8
+ #
9
+ .gcloudignore
10
+ # If you would like to upload your .git directory, .gitignore file or files
11
+ # from your .gitignore file, remove the corresponding line
12
+ # below:
13
+ .git
14
+ .gitignore
15
+
16
+ node_modules
17
+ #!include:.gitignore
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neon_email (0.0.1)
4
+ neon_email (0.0.8)
5
5
  functions_framework (= 0.9.0)
6
6
  neon_schemas (= 0.1.1)
7
7
 
data/app.rb CHANGED
@@ -1,7 +1,11 @@
1
1
  require "functions_framework"
2
2
  require "neon_email"
3
+ require "logger"
3
4
 
4
- FunctionsFramework.cloud_event "neon_law.welcome_email" do |event|
5
- logger.info event
6
- logger.info "I received an event of type #{event.type}!"
5
+ logger = Logger.new($stdout)
6
+
7
+ WELCOME_EMAIL_TOPIC = "com.neon_law.outbound_email.welcome_email".freeze
8
+
9
+ FunctionsFramework.cloud_event WELCOME_EMAIL_TOPIC do |event|
10
+ logger.info event.data
7
11
  end
data/lib/neon_email.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require "neon_email/version"
2
- require "neon_email/handler"
3
2
 
4
3
  module NeonEmail
5
4
  class Error < StandardError; end
@@ -1,3 +1,3 @@
1
1
  module NeonEmail
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neon_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neon Law
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-12 00:00:00.000000000 Z
11
+ date: 2021-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: neon_schemas
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".gcloudignore"
48
49
  - ".gitignore"
49
50
  - ".rspec"
50
51
  - ".ruby-version"