effective_messaging 0.2.0 → 0.2.1

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: ca64445b74c99e0eac989eb22c606a4fa588d05cbfefdd7401432266ab201b06
4
- data.tar.gz: 0b25f92b272fd9f9903d7757a383983224de064ff9aae4dd6c56fa6b48187246
3
+ metadata.gz: be48cb89363c5dd4146206380ab6c0debf9a846d92d617237d9efd38ab7ea77c
4
+ data.tar.gz: '014369c2395911329879c116344837106cb6722ceb70f6e7413e71bff527fe52'
5
5
  SHA512:
6
- metadata.gz: 8f5522b4cf8939a196f339d95dbb2f5bb61ccd00a4dc07574efa64541ad13120366586c6c772494039ecd66af20d30e1bc61801508b5000f2f68d6eb7d395461
7
- data.tar.gz: c40bcf7fa920670af552585bd7eb0c2ce0de440b5bfd66f990a178d630fb0de5e8c9be2559584b9de5da39550fb5a29e05798537cb093148e076d18d2c01b26b
6
+ metadata.gz: f60c2115c09f7237c2a9d1ddcf0109e2f728d615d0ac364344692c0fea0872c3ce53a1960f8d801223d9deebc5f6d8e8f6037e92bab11bfcedc39ef9c7b6f4ce
7
+ data.tar.gz: c68ce9e88599ad0267615e43f860d13cce6c0f65f3ef799277923b100211648923abecedfd7496402101581b1c3749a168a3364e3bc32f41143eb615a60e1904
@@ -35,7 +35,6 @@
35
35
  %p Send notification on the following scheduled dates:
36
36
  = f.select :scheduled_dates, f.object.scheduled_dates, label: false, multiple: true, tags: true, hint: 'Add one or more dates by pressing enter. Please input in the format YYYY-MM-DD'
37
37
 
38
-
39
38
  %h2 Report
40
39
  .row
41
40
  .col-md-6
@@ -51,11 +50,10 @@
51
50
  %h2 Notification
52
51
  %p The following email notification will be sent
53
52
 
54
- - froms = Array(EffectiveMessaging.froms)
53
+ - froms = Array(EffectiveMessaging.froms) - [nil, '']
55
54
 
56
55
  - if froms.present?
57
- - f.object.from ||= froms.first
58
- = f.select :from, Array(froms)
56
+ = f.select :from, Array(froms).map { |from| [from, from] }
59
57
  - else
60
58
  = f.email_field :from
61
59
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveMessaging
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-25 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
274
  - !ruby/object:Gem::Version
275
275
  version: '0'
276
276
  requirements: []
277
- rubygems_version: 3.1.2
277
+ rubygems_version: 3.3.7
278
278
  signing_key:
279
279
  specification_version: 4
280
280
  summary: Centralize the communication between one or more users.