effective_messaging 0.2.0 → 0.2.2

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: eaebf1e8bccc037bfa5c5234f1c30ea60f454da39dded702004e8048fc440dfb
4
+ data.tar.gz: 95415065976237d4c6008351e79d11f5174ce9671d53b248862eee8b9d3ff190
5
5
  SHA512:
6
- metadata.gz: 8f5522b4cf8939a196f339d95dbb2f5bb61ccd00a4dc07574efa64541ad13120366586c6c772494039ecd66af20d30e1bc61801508b5000f2f68d6eb7d395461
7
- data.tar.gz: c40bcf7fa920670af552585bd7eb0c2ce0de440b5bfd66f990a178d630fb0de5e8c9be2559584b9de5da39550fb5a29e05798537cb093148e076d18d2c01b26b
6
+ metadata.gz: 15919df42267f976f10ffbcf37f2e1314ee904825eb90d22273f10f02de0844b3c42e541827cbb6ca23da33ac961ebe069cbbbd25ac9153dfe7291beff7114a9
7
+ data.tar.gz: 4294c145b19e78868f0f5a000c8f84731093e4cc46f7ceb65c5237a3955f26ad9ab72b72fd8ccf4654d2651c15ab2259cb570572f6355d9e28f6ae021568dd1f
@@ -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.radios :from, froms
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.2'.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.2
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.