turkee 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- turkee (2.0.1)
4
+ turkee (2.0.2)
5
5
  lockfile
6
6
  rails (>= 3.1.1)
7
7
  rturk (>= 2.4.0)
@@ -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(yield(f))
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
- capture do
44
- concat f.label(:feedback, "Feedback?:")
45
- concat f.text_area(:feedback, :rows => 3, :disabled => disabled)
46
- concat f.label(:gold_response, "Enter the fourth word from your above feedback :")
47
- concat f.text_field(:gold_response, :disabled => disabled)
48
- concat f.hidden_field(:turkee_task_id, :value => task.id)
49
- concat '<br/>'.html_safe
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
@@ -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.1"
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.1
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: 509377053887078608
239
+ hash: -4545969663854222286
240
240
  required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  none: false
242
242
  requirements: