questionable_surveys 0.2.2 → 0.2.3

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: 028b572b41e764a1b83764e681900f0a901b6bd1
4
- data.tar.gz: 709579f406a428437c8290c3dfee4ddafa164666
3
+ metadata.gz: 85e12ad1ec7d3f2142c2b8c8c9c2d8dc9629e80d
4
+ data.tar.gz: 5b2d84d295a58932b5477c622f269fd28c7a7511
5
5
  SHA512:
6
- metadata.gz: 3b3b63dfc6b4f2aedb43a52c2995c9248e4efe7fe0a34574f3fa026be8cb17c570f3d1d390200fc5946157c3ef0b37d502e95fe77ac34c2994df0f67fb4cf6a6
7
- data.tar.gz: 8cce871f1259f4beb35b88172f2949b6d05dcd0a1092f3e8e69e74152ab0169fcfd46040bcfe449f7a7c930bca810b599666d7ddc11fb50ae5b02dc60c9f935a
6
+ metadata.gz: d26baf12f9d0425c3186f3abe131338dcdf00110524e9edf97d61800445078fbd8102bd51412d6a52842c7fb92b28242c02ff8748e1b088078af7e95e1a1334b
7
+ data.tar.gz: cca5d424b683124d612a3db8317ecad4e9ed87e99e71c9d645662cf25513fa37793bd1b5db6e1fe123e625cb48ceb605954b94ea15c353cd68c1a765dcea03ad
@@ -1,7 +1,5 @@
1
1
  module Questionable
2
2
  class Answer < ActiveRecord::Base
3
- attr_accessible :user_id, :assignment_id, :option_id, :message
4
-
5
3
  belongs_to :user
6
4
  belongs_to :assignment
7
5
  belongs_to :option
@@ -1,7 +1,5 @@
1
1
  module Questionable
2
2
  class Assignment < ActiveRecord::Base
3
- attr_accessible :question_id, :subject, :subject_id, :subject_type, :position
4
-
5
3
  belongs_to :question
6
4
  belongs_to :subject, :polymorphic => true
7
5
 
@@ -1,7 +1,5 @@
1
1
  module Questionable
2
2
  class Option < ActiveRecord::Base
3
- attr_accessible :note, :position, :question_id, :title, :position
4
-
5
3
  belongs_to :question
6
4
 
7
5
  validates_presence_of :title, :question_id
@@ -5,8 +5,6 @@ module Questionable
5
5
  has_many :subjects, :through => :assignments
6
6
  has_many :answers, :through => :assignments
7
7
 
8
- attr_accessible :title, :input_type, :note, :category
9
-
10
8
  validates_presence_of :title
11
9
 
12
10
  def accepts_multiple_answers?
@@ -1,3 +1,3 @@
1
1
  module Questionable
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: questionable_surveys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Urban
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-26 00:00:00.000000000 Z
11
+ date: 2013-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  requirements: []
172
172
  rubyforge_project:
173
- rubygems_version: 2.0.2
173
+ rubygems_version: 2.0.3
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: Rails engine that programatically generates surveys.