refinerycms-applicants 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17e694c2ed0072afcb96a138400c8c7cf23f864c
4
- data.tar.gz: a99913659a772f5001ceae31fa509fd80c2de408
3
+ metadata.gz: c1d52a7f9625c16fe70b8431da5b57eb7906573e
4
+ data.tar.gz: a784d50e748521126f0148f3ee382556f6ba95eb
5
5
  SHA512:
6
- metadata.gz: 86aa572516c20d2c908812c8a664ae153df84c79c0daead137241a64796b55db9aa65ca9413f0bbc2ccde2d1435da54b1ab20c76c2b8da8dc9a2355e6280a615
7
- data.tar.gz: 6b46095fad0d6ce29dc22408e4bbbff0ce990dfb8a36532bdda9094de82f1f9097be696c4350ae76184b9831c51b9262d8792633886cc01198152d7023d9d77d
6
+ metadata.gz: b56a55eed5dcd9c5fcc885337c82b65a2e4a42cd9de603b48c9a517228ed3714a481ebca0c80c42453168d83beda7b42d8c888fef600f067af38270427f54a49
7
+ data.tar.gz: f985dac73bea966626674eaab7929b186368bbbfc0cba17988819f50bd0f33fd08af3f07c02cc59d85bded18701b0d86350c3e6243504f039b7731b70a9086b1
@@ -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
@@ -32,3 +32,7 @@ en:
32
32
  applicants:
33
33
  show:
34
34
  other: Other Applicants
35
+ activerecord:
36
+ attributes:
37
+ name: "Your group or company name"
38
+
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Refinery
2
2
  module Applicants
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
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.1
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-08 00:00:00.000000000 Z
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: []