surveyor 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/models/response_set.rb +2 -3
- data/script/surveyor/survey_parser.rb +1 -1
- data/surveyor.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.1
|
data/app/models/response_set.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
class ResponseSet < ActiveRecord::Base
|
2
|
-
|
3
|
-
|
2
|
+
|
4
3
|
# Associations
|
5
4
|
belongs_to :survey
|
6
5
|
belongs_to :user
|
@@ -25,7 +24,7 @@ class ResponseSet < ActiveRecord::Base
|
|
25
24
|
|
26
25
|
def default_args
|
27
26
|
self.started_at ||= Time.now
|
28
|
-
self.access_code =
|
27
|
+
self.access_code = Surveyor.make_tiny_code
|
29
28
|
end
|
30
29
|
|
31
30
|
def response_for(question_id, answer_id, group = nil)
|
data/surveyor.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{surveyor}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Brian Chamberlain", "Mark Yoon"]
|
12
|
-
s.date = %q{2009-11-
|
12
|
+
s.date = %q{2009-11-10}
|
13
13
|
s.email = %q{yoon@northwestern.edu}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README.md"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: surveyor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Chamberlain
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-11-
|
13
|
+
date: 2009-11-10 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|