ombu_labs-notifications 0.1.1 → 0.1.3

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: 913d0ac0d706b8c2157d31cbb274a8ed385a7674393c6c6608e23a7e47160896
4
- data.tar.gz: 678f64357389b262273cce9d794faf76ef32e8014058f3daacde2d0964273ffc
3
+ metadata.gz: b148ff08f404bafecb769acb5181da3177cc8289aa472aa728e1554b4fa7972f
4
+ data.tar.gz: e293950f2fb6ac0001db7952e8beed68223e8787c2cca25a81acb1cbcf537ada
5
5
  SHA512:
6
- metadata.gz: d4aa7e109cafc80e124bd98c811bfe389835b48e4e93ad522b895125c6ca652283799dc19e65d30c3e4b5dc00460a1bc59db66206c90e766d2947d939f496366
7
- data.tar.gz: e4a13a8b91d15af3cac06875e03dd6ed4b6673830f40c6e5fe7b2dd4f9711b2810f041578ed3f39a9a12977ebd6065bf84f50f45d8457e1589fd565667a30573
6
+ metadata.gz: a8c767d80487c3cee2763767f89847dff9adb95424e5b503a1bd27c7f3a232c17edb2ec7c8c41cb0234b109da3010921ada35f84d409fe5b02e80b9e6b8f54e8
7
+ data.tar.gz: 78882a547e13033000d0176b3b6a3daa899095a54ac0ccfeb26f4bbdad62d4304361b843b81b4c6004edb58752e1703efba0e13026e5ba3421312e08fd2576c4
@@ -15,9 +15,9 @@ class SlackNotifier
15
15
  ```
16
16
  Email: #{contact.email}
17
17
  How they found us: #{contact.found_us}
18
- Request Type: #{contact.request_type&.titleize}\n
19
- In House Developers: #{contact&.in_house_developers}\n
20
- They plan to start at: #{contact&.starting_at}\n
18
+ Request Type: #{contact["request_type"]&.titleize || contact["product"]&.titleize}\n
19
+ In House Developers: #{contact["in_house_developers"]}\n
20
+ They plan to start at: #{contact["starting_at"]}\n
21
21
  Cheers,\nYour OmbuLabs Robot!
22
22
 
23
23
  TEXT
@@ -1,5 +1,5 @@
1
1
  module OmbuLabs
2
2
  module Notifications
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ombu_labs-notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fiona
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-07 00:00:00.000000000 Z
11
+ date: 2023-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubygems_version: 3.1.4
98
+ rubygems_version: 3.3.7
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: A gem to send notifications via email, Slack