markpercival-rturk 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rturk/custom_operations.rb +2 -2
  2. metadata +3 -2
@@ -70,9 +70,9 @@ module RTurk::CustomOperations
70
70
  qualifiers.each_with_index do |qualifier, i|
71
71
  params["QualificationRequirement.#{i+1}.QualificationTypeId"] = qualifier[:QualificationTypeId]
72
72
  params["QualificationRequirement.#{i+1}.Comparator"] = qualifier[:Comparator]
73
- params["QualificationRequirement.#{i+1}.IntegerValue"] = qualifier[:IntegerValue]
73
+ params["QualificationRequirement.#{i+1}.IntegerValue"] = qualifier[:IntegerValue] if qualifier[:IntegerValue]
74
+ params["QualificationRequirement.#{i+1}.LocaleValue.Country"] = qualifier[:Country] if qualifier[:Country]
74
75
  params["QualificationRequirement.#{i+1}.RequiredToPreview"] = qualifier[:RequiredToPreview]
75
- params["QualificationRequirement.#{i+1}.Locale"] = qualifier[:Locale]
76
76
  end
77
77
  params
78
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markpercival-rturk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Percival
@@ -64,6 +64,7 @@ files:
64
64
  - LICENSE
65
65
  has_rdoc: true
66
66
  homepage: http://github.com/markpercival/rturk
67
+ licenses:
67
68
  post_install_message:
68
69
  rdoc_options:
69
70
  - --charset=UTF-8
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  requirements: []
85
86
 
86
87
  rubyforge_project:
87
- rubygems_version: 1.2.0
88
+ rubygems_version: 1.3.5
88
89
  signing_key:
89
90
  specification_version: 2
90
91
  summary: Mechanical Turk API Wrapper