refinerycms-applicants 1.2.0 → 1.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
  SHA1:
3
- metadata.gz: 4895aa64c2713fd958450d577d414460d9b97837
4
- data.tar.gz: 44d44f48f4e8c97e14044985b630272245f0783c
3
+ metadata.gz: 208cf7334654711a5739d5a39eefccc6b6fa6c7e
4
+ data.tar.gz: 6c78f9b0842b7fb572cd3c64d0e9bd382c26c1df
5
5
  SHA512:
6
- metadata.gz: e56bd1a95b98c18256339a7c718db728b884fbfd5be9396a05e9837c3a7290af9b481b7ce0b18d62118a92e60ae730f503429ca7e23c2f483ab6c4eecc1a897d
7
- data.tar.gz: bcc84deed6b028a7447d6c687d9f2b1d75776969ff9d85aabfdb35a947661de9f0db51593bd9490dc29ab77c632ca20375e9728fa2dcc4e238c8d794fd46a1c5
6
+ metadata.gz: c9827e56a47c195e57fd35bf07d4935b9ae41a27a0695368ce549a323cd827be90b2d31424527c470bdc75df8db50ddab2fcd554d70b089e3df066199fefb0b2
7
+ data.tar.gz: 3578724835e1986d604fa39d519c2ff82660e2b29bf0f9fffd1b2dc42d1126714d45fcee1083802eb0c3bff8d2bf0f2b31f6ae5fd37f15994c22d889e74cad0b
data/README.md CHANGED
@@ -32,6 +32,5 @@ Then run the following commands to install the Gem and migrate your database:
32
32
  rake db:migrate
33
33
 
34
34
  If you wish to enable email notifications, log into the Refinery admin and edit
35
- the applicant_recipients setting:
36
-
37
- ['myemail@example.com']
35
+ the applicant_recipients setting. It should be the email address of the
36
+ recipient, or can be a comma-delimited list of addresses.
@@ -14,7 +14,7 @@ class ApplicantsController < ApplicationController
14
14
  def create
15
15
  @applicant = Applicant.new(params[:applicant])
16
16
  if @applicant.save
17
- if RefinerySetting.find_or_set(:applicant_recipients, []).present?
17
+ if RefinerySetting.find_or_set(:applicant_recipients, '').present?
18
18
  ApplicantMailer.notification(@applicant, request).deliver
19
19
  end
20
20
  redirect_to thank_you_applicants_url
@@ -1,5 +1,5 @@
1
1
  module Refinery
2
2
  module Applicants
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-applicants
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Plante