turkee 2.0.1 → 2.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.
- data/Gemfile.lock +1 -1
- data/lib/helpers/turkee_forms_helper.rb +8 -10
- data/turkee.gemspec +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
|
@@ -19,7 +19,7 @@ module Turkee
|
|
|
19
19
|
concat hidden_field_tag(k, cookies[k]) if !params.has_key?(k) && cookies.has_key?(k)
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
concat(
|
|
22
|
+
concat(capture(f, &proc))
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
25
|
end
|
|
@@ -40,15 +40,13 @@ module Turkee
|
|
|
40
40
|
concat task.hit_description.html_safe
|
|
41
41
|
concat '<hr/>'.html_safe
|
|
42
42
|
concat(turkee_form_for(study, params) do |f|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
concat f.submit('Submit', :disabled => disabled)
|
|
51
|
-
end
|
|
43
|
+
concat f.label(:feedback, "Feedback?:")
|
|
44
|
+
concat f.text_area(:feedback, :rows => 3, :disabled => disabled)
|
|
45
|
+
concat f.label(:gold_response, "Enter the fourth word from your above feedback :")
|
|
46
|
+
concat f.text_field(:gold_response, :disabled => disabled)
|
|
47
|
+
concat f.hidden_field(:turkee_task_id, :value => task.id)
|
|
48
|
+
concat '<br/>'.html_safe
|
|
49
|
+
concat f.submit('Submit', :disabled => disabled)
|
|
52
50
|
end)
|
|
53
51
|
end
|
|
54
52
|
end
|
data/turkee.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = %q{turkee}
|
|
6
|
-
s.version = "2.0.
|
|
6
|
+
s.version = "2.0.2"
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
9
9
|
s.authors = [%q{Jim Jones}]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: turkee
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -236,7 +236,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
236
236
|
version: '0'
|
|
237
237
|
segments:
|
|
238
238
|
- 0
|
|
239
|
-
hash:
|
|
239
|
+
hash: -4545969663854222286
|
|
240
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
241
|
none: false
|
|
242
242
|
requirements:
|