refinerycms-jobs 3.0.3 → 3.0.4

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: 459b0125f2bd89787c805200a283d4f85df9ac44
4
- data.tar.gz: e866744d3d90df0bd37f86e79c3f6a34f9c3074e
3
+ metadata.gz: d328a0f47dd50acf473ca8e3ff5349718676f711
4
+ data.tar.gz: 3d59668267227103fb96a2aec2c34255ec41f118
5
5
  SHA512:
6
- metadata.gz: 07b4e0c8cc3bbd7a28768a30d127e0326f675f98fcd5e8bd9c814d119e5db2c375df789f3b56c9ab045f32c43705840795ff77e2098834ca02b4b9d6a675c709
7
- data.tar.gz: e8f4776f5c574be55799cdb1872d7c3b7b5ee30a3aa01248f510a1a15c3cf4e80d821ae0e9867271f99fc98cec3b79595216fe4cf66477aca9b3e9f1facbe8d2
6
+ metadata.gz: 524690d7581b52096c021c74bf6189e983acb4330a9c70cecf664cd181817d7e3d023e40c19e26e13179dd327bc34aa799265891ea43d9710e31e86e00d3e02f
7
+ data.tar.gz: 286dafc5e47ffbc38b821dcdc218b2d4fe34e4aa392afaa5dfd2f7b44499b93adbb3e09c1f1e0ff1e492b097600d89de9b4fe3c72aca00745cb99c06be46593e
@@ -20,7 +20,7 @@ module Refinery
20
20
  validates :email, format: {
21
21
  with: /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
22
22
  }, length: { maximum: 255 }
23
- validates :cover_letter, presence: true, if: :cover_letter?
23
+ validates :cover_letter, presence: true, if: :cover_letter_required?
24
24
  validates :resume, presence: true, if: :resume_required?
25
25
  validates_with Refinery::Jobs::Validators::FileSizeValidator
26
26
 
@@ -28,7 +28,7 @@ module Refinery
28
28
  true
29
29
  end
30
30
 
31
- def cover_letter?
31
+ def cover_letter_required?
32
32
  true
33
33
  end
34
34
  end
@@ -4,7 +4,7 @@ $:.push File.expand_path('../lib', __FILE__)
4
4
  Gem::Specification.new do |s|
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.name = %q{refinerycms-jobs}
7
- s.version = '3.0.3'
7
+ s.version = '3.0.4'
8
8
  s.summary = %q{Ruby on Rails jobs engine for Refinery CMS.}
9
9
  s.description = %q{Open source Ruby on Rails jobs engine designed for integration with Refinery CMS.}
10
10
  s.email = %q{}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Sanchez