rturk 2.10.0 → 2.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,9 @@ module RTurk
62
62
 
63
63
  # memoing
64
64
  def assignments(options={})
65
- @assignments ||= begin
65
+ @assignments ||= {}
66
+
67
+ @assignments[options] ||= begin
66
68
  assignments_options = options.update(:hit_id => self.id)
67
69
 
68
70
  RTurk::GetAssignmentsForHIT(assignments_options).assignments.inject([]) do |arr, assignment|
data/lib/rturk/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RTurk
2
- VERSION = "2.10.0"
2
+ VERSION = "2.10.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rturk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.10.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: