rturk 2.10.0 → 2.10.1

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.
@@ -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: