refinerycms-applicants 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/question.rb +1 -1
- data/config/locales/en.yml +4 -0
- data/lib/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1d52a7f9625c16fe70b8431da5b57eb7906573e
|
4
|
+
data.tar.gz: a784d50e748521126f0148f3ee382556f6ba95eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b56a55eed5dcd9c5fcc885337c82b65a2e4a42cd9de603b48c9a517228ed3714a481ebca0c80c42453168d83beda7b42d8c888fef600f067af38270427f54a49
|
7
|
+
data.tar.gz: f985dac73bea966626674eaab7929b186368bbbfc0cba17988819f50bd0f33fd08af3f07c02cc59d85bded18701b0d86350c3e6243504f039b7731b70a9086b1
|
data/app/models/question.rb
CHANGED
@@ -9,7 +9,7 @@ class Question < ActiveRecord::Base
|
|
9
9
|
has_many :answers, :foreign_key => :applicant_question_id
|
10
10
|
has_many :applicants, :through => :answers
|
11
11
|
|
12
|
-
scope :current, where('deleted_at IS NULL')
|
12
|
+
scope :current, where('deleted_at IS NULL').order('position ASC')
|
13
13
|
|
14
14
|
validates :name, :presence => true, :uniqueness => true
|
15
15
|
validates :answer_type, :presence => true, :inclusion => ANSWER_TYPES
|
data/config/locales/en.yml
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-applicants
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Plante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: refinerycms
|
@@ -66,8 +66,9 @@ files:
|
|
66
66
|
- app/views/applicants/thank_you.html.erb
|
67
67
|
- README.md
|
68
68
|
- LICENSE
|
69
|
-
homepage:
|
70
|
-
licenses:
|
69
|
+
homepage: http://github.com/zapnap/refinerycms-applicants
|
70
|
+
licenses:
|
71
|
+
- MIT
|
71
72
|
metadata: {}
|
72
73
|
post_install_message:
|
73
74
|
rdoc_options: []
|